erdos-problems 0.2.9 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -13
- package/data/upstream/erdosproblems/SYNC_MANIFEST.json +4 -4
- package/docs/CANONICAL_REPO_MIGRATION_PLAN.md +279 -0
- package/docs/DEEP_RESEARCH_BUNDLE_SPEC.md +129 -0
- package/docs/ERDOS_PROBLEMS_PROBLEM_SCHEMA.md +27 -20
- package/docs/ERDOS_PROBLEMS_REPO_SPEC.md +35 -11
- package/docs/PAPER_WRITER_MODE.md +118 -0
- package/package.json +1 -1
- package/packs/sunflower/compute/20/u3_uniform_transfer_window_v0.yaml +2 -1
- package/problems/1/AGENT_START.md +1 -1
- package/problems/1/EVIDENCE.md +1 -1
- package/problems/1/FORMALIZATION.md +2 -2
- package/problems/1/problem.yaml +6 -6
- package/problems/1008/problem.yaml +5 -5
- package/problems/18/problem.yaml +5 -5
- package/problems/19/AGENT_START.md +1 -1
- package/problems/19/EVIDENCE.md +1 -1
- package/problems/19/FORMALIZATION.md +2 -2
- package/problems/19/problem.yaml +6 -6
- package/problems/2/AGENT_START.md +1 -1
- package/problems/2/EVIDENCE.md +1 -1
- package/problems/2/FORMALIZATION.md +2 -2
- package/problems/2/problem.yaml +6 -6
- package/problems/20/problem.yaml +5 -5
- package/problems/21/AGENT_START.md +1 -1
- package/problems/21/EVIDENCE.md +1 -1
- package/problems/21/FORMALIZATION.md +2 -2
- package/problems/21/problem.yaml +6 -6
- package/problems/22/AGENT_START.md +1 -1
- package/problems/22/EVIDENCE.md +1 -1
- package/problems/22/FORMALIZATION.md +2 -2
- package/problems/22/problem.yaml +6 -6
- package/problems/3/AGENT_START.md +1 -1
- package/problems/3/EVIDENCE.md +1 -1
- package/problems/3/FORMALIZATION.md +2 -2
- package/problems/3/problem.yaml +6 -6
- package/problems/4/AGENT_START.md +1 -1
- package/problems/4/EVIDENCE.md +1 -1
- package/problems/4/FORMALIZATION.md +2 -2
- package/problems/4/problem.yaml +6 -6
- package/problems/5/AGENT_START.md +1 -1
- package/problems/5/EVIDENCE.md +1 -1
- package/problems/5/FORMALIZATION.md +2 -2
- package/problems/5/problem.yaml +6 -6
- package/problems/536/problem.yaml +5 -5
- package/problems/542/problem.yaml +5 -5
- package/problems/6/AGENT_START.md +1 -1
- package/problems/6/EVIDENCE.md +1 -1
- package/problems/6/FORMALIZATION.md +2 -2
- package/problems/6/problem.yaml +6 -6
- package/problems/7/AGENT_START.md +1 -1
- package/problems/7/EVIDENCE.md +1 -1
- package/problems/7/FORMALIZATION.md +2 -2
- package/problems/7/problem.yaml +6 -6
- package/problems/856/problem.yaml +5 -5
- package/problems/857/problem.yaml +5 -5
- package/problems/89/problem.yaml +5 -5
- package/src/atlas/catalog.js +6 -5
- package/src/cli/index.js +10 -5
- package/src/commands/bootstrap.js +1 -1
- package/src/commands/dossier.js +1 -1
- package/src/commands/maintainer.js +2 -2
- package/src/commands/paper.js +147 -0
- package/src/commands/problem.js +9 -9
- package/src/commands/pull.js +8 -8
- package/src/commands/scaffold.js +1 -1
- package/src/commands/seed.js +1 -1
- package/src/commands/upstream.js +33 -21
- package/src/runtime/maintainer-seed.js +12 -12
- package/src/runtime/paper.js +720 -0
- package/src/runtime/paths.js +16 -0
- package/src/runtime/problem-artifacts.js +2 -2
- package/src/runtime/state.js +1 -1
- package/src/upstream/sync.js +18 -18
package/problems/3/problem.yaml
CHANGED
|
@@ -5,7 +5,7 @@ source:
|
|
|
5
5
|
site: erdosproblems.com
|
|
6
6
|
url: https://www.erdosproblems.com/3
|
|
7
7
|
external_id: "3"
|
|
8
|
-
|
|
8
|
+
external_source:
|
|
9
9
|
repo: https://github.com/teorth/erdosproblems
|
|
10
10
|
data_file: data/problems.yaml
|
|
11
11
|
number: "3"
|
|
@@ -13,14 +13,14 @@ provenance:
|
|
|
13
13
|
seeded_at: 2026-03-26T04:41:25.280Z
|
|
14
14
|
seeded_from:
|
|
15
15
|
kind: pull_bundle
|
|
16
|
-
|
|
16
|
+
imported_record_included: true
|
|
17
17
|
site_snapshot_included: true
|
|
18
18
|
status:
|
|
19
19
|
site_status: open
|
|
20
20
|
site_badge: OPEN
|
|
21
21
|
repo_status: cataloged
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
imported_status: open
|
|
23
|
+
imported_last_update: 2025-08-31
|
|
24
24
|
cluster: number-theory
|
|
25
25
|
prize:
|
|
26
26
|
display: $5000
|
|
@@ -40,5 +40,5 @@ evidence_path: EVIDENCE.md
|
|
|
40
40
|
formalization_path: FORMALIZATION.md
|
|
41
41
|
formalization:
|
|
42
42
|
status: planned
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
imported_state: yes
|
|
44
|
+
imported_last_update: 2025-08-31
|
|
@@ -14,4 +14,4 @@ Working assumptions:
|
|
|
14
14
|
- Harness depth: dossier
|
|
15
15
|
|
|
16
16
|
First honest move:
|
|
17
|
-
- tighten the local dossier for problem 4 against its pull bundle, references, and
|
|
17
|
+
- tighten the local dossier for problem 4 against its pull bundle, references, and import provenance before widening claims.
|
package/problems/4/EVIDENCE.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Formalization
|
|
2
2
|
|
|
3
3
|
- Local status: planned
|
|
4
|
-
-
|
|
5
|
-
-
|
|
4
|
+
- Imported formalized state: yes
|
|
5
|
+
- Imported formalized last update: 2025-08-31
|
|
6
6
|
|
|
7
7
|
Seed note:
|
|
8
8
|
- this file was created automatically from a pull bundle and should be upgraded as local formal work begins.
|
package/problems/4/problem.yaml
CHANGED
|
@@ -5,7 +5,7 @@ source:
|
|
|
5
5
|
site: erdosproblems.com
|
|
6
6
|
url: https://www.erdosproblems.com/4
|
|
7
7
|
external_id: "4"
|
|
8
|
-
|
|
8
|
+
external_source:
|
|
9
9
|
repo: https://github.com/teorth/erdosproblems
|
|
10
10
|
data_file: data/problems.yaml
|
|
11
11
|
number: "4"
|
|
@@ -13,14 +13,14 @@ provenance:
|
|
|
13
13
|
seeded_at: 2026-03-26T04:41:25.574Z
|
|
14
14
|
seeded_from:
|
|
15
15
|
kind: pull_bundle
|
|
16
|
-
|
|
16
|
+
imported_record_included: true
|
|
17
17
|
site_snapshot_included: true
|
|
18
18
|
status:
|
|
19
19
|
site_status: proved
|
|
20
20
|
site_badge: PROVED
|
|
21
21
|
repo_status: cataloged
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
imported_status: proved
|
|
23
|
+
imported_last_update: 2025-08-31
|
|
24
24
|
cluster: number-theory
|
|
25
25
|
prize:
|
|
26
26
|
display: $10000
|
|
@@ -40,5 +40,5 @@ evidence_path: EVIDENCE.md
|
|
|
40
40
|
formalization_path: FORMALIZATION.md
|
|
41
41
|
formalization:
|
|
42
42
|
status: planned
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
imported_state: yes
|
|
44
|
+
imported_last_update: 2025-08-31
|
|
@@ -14,4 +14,4 @@ Working assumptions:
|
|
|
14
14
|
- Harness depth: dossier
|
|
15
15
|
|
|
16
16
|
First honest move:
|
|
17
|
-
- tighten the local dossier for problem 5 against its pull bundle, references, and
|
|
17
|
+
- tighten the local dossier for problem 5 against its pull bundle, references, and import provenance before widening claims.
|
package/problems/5/EVIDENCE.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Formalization
|
|
2
2
|
|
|
3
3
|
- Local status: planned
|
|
4
|
-
-
|
|
5
|
-
-
|
|
4
|
+
- Imported formalized state: no
|
|
5
|
+
- Imported formalized last update: 2025-08-31
|
|
6
6
|
|
|
7
7
|
Seed note:
|
|
8
8
|
- this file was created automatically from a pull bundle and should be upgraded as local formal work begins.
|
package/problems/5/problem.yaml
CHANGED
|
@@ -5,7 +5,7 @@ source:
|
|
|
5
5
|
site: erdosproblems.com
|
|
6
6
|
url: https://www.erdosproblems.com/5
|
|
7
7
|
external_id: "5"
|
|
8
|
-
|
|
8
|
+
external_source:
|
|
9
9
|
repo: https://github.com/teorth/erdosproblems
|
|
10
10
|
data_file: data/problems.yaml
|
|
11
11
|
number: "5"
|
|
@@ -13,14 +13,14 @@ provenance:
|
|
|
13
13
|
seeded_at: 2026-03-26T04:41:25.800Z
|
|
14
14
|
seeded_from:
|
|
15
15
|
kind: pull_bundle
|
|
16
|
-
|
|
16
|
+
imported_record_included: true
|
|
17
17
|
site_snapshot_included: true
|
|
18
18
|
status:
|
|
19
19
|
site_status: open
|
|
20
20
|
site_badge: OPEN
|
|
21
21
|
repo_status: cataloged
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
imported_status: open
|
|
23
|
+
imported_last_update: 2025-08-31
|
|
24
24
|
cluster: number-theory
|
|
25
25
|
prize:
|
|
26
26
|
display: no
|
|
@@ -39,5 +39,5 @@ evidence_path: EVIDENCE.md
|
|
|
39
39
|
formalization_path: FORMALIZATION.md
|
|
40
40
|
formalization:
|
|
41
41
|
status: planned
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
imported_state: no
|
|
43
|
+
imported_last_update: 2025-08-31
|
|
@@ -5,7 +5,7 @@ source:
|
|
|
5
5
|
site: erdosproblems.com
|
|
6
6
|
url: https://www.erdosproblems.com/536
|
|
7
7
|
external_id: "536"
|
|
8
|
-
|
|
8
|
+
external_source:
|
|
9
9
|
repo: https://github.com/teorth/erdosproblems
|
|
10
10
|
data_file: data/problems.yaml
|
|
11
11
|
number: "536"
|
|
@@ -13,8 +13,8 @@ status:
|
|
|
13
13
|
site_status: open
|
|
14
14
|
site_badge: OPEN
|
|
15
15
|
repo_status: active
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
imported_status: open
|
|
17
|
+
imported_last_update: 2025-08-31
|
|
18
18
|
cluster: sunflower
|
|
19
19
|
prize:
|
|
20
20
|
display: no
|
|
@@ -35,8 +35,8 @@ evidence_path: EVIDENCE.md
|
|
|
35
35
|
formalization_path: FORMALIZATION.md
|
|
36
36
|
formalization:
|
|
37
37
|
status: planned
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
imported_state: yes
|
|
39
|
+
imported_last_update: 2025-11-12
|
|
40
40
|
research_state:
|
|
41
41
|
open_problem: true
|
|
42
42
|
active_route: natural_density_lcm_bridge
|
|
@@ -5,7 +5,7 @@ source:
|
|
|
5
5
|
site: erdosproblems.com
|
|
6
6
|
url: https://www.erdosproblems.com/542
|
|
7
7
|
external_id: "542"
|
|
8
|
-
|
|
8
|
+
external_source:
|
|
9
9
|
repo: https://github.com/teorth/erdosproblems
|
|
10
10
|
data_file: data/problems.yaml
|
|
11
11
|
number: "542"
|
|
@@ -13,8 +13,8 @@ status:
|
|
|
13
13
|
site_status: solved
|
|
14
14
|
site_badge: SOLVED
|
|
15
15
|
repo_status: historical
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
imported_status: solved
|
|
17
|
+
imported_last_update: 2025-08-31
|
|
18
18
|
cluster: number-theory
|
|
19
19
|
prize:
|
|
20
20
|
display: no
|
|
@@ -34,5 +34,5 @@ evidence_path: EVIDENCE.md
|
|
|
34
34
|
formalization_path: FORMALIZATION.md
|
|
35
35
|
formalization:
|
|
36
36
|
status: unstarted
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
imported_state: no
|
|
38
|
+
imported_last_update: 2025-08-31
|
|
@@ -14,4 +14,4 @@ Working assumptions:
|
|
|
14
14
|
- Harness depth: dossier
|
|
15
15
|
|
|
16
16
|
First honest move:
|
|
17
|
-
- tighten the local dossier for problem 6 against its pull bundle, references, and
|
|
17
|
+
- tighten the local dossier for problem 6 against its pull bundle, references, and import provenance before widening claims.
|
package/problems/6/EVIDENCE.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Formalization
|
|
2
2
|
|
|
3
3
|
- Local status: planned
|
|
4
|
-
-
|
|
5
|
-
-
|
|
4
|
+
- Imported formalized state: yes
|
|
5
|
+
- Imported formalized last update: 2025-09-18
|
|
6
6
|
|
|
7
7
|
Seed note:
|
|
8
8
|
- this file was created automatically from a pull bundle and should be upgraded as local formal work begins.
|
package/problems/6/problem.yaml
CHANGED
|
@@ -5,7 +5,7 @@ source:
|
|
|
5
5
|
site: erdosproblems.com
|
|
6
6
|
url: https://www.erdosproblems.com/6
|
|
7
7
|
external_id: "6"
|
|
8
|
-
|
|
8
|
+
external_source:
|
|
9
9
|
repo: https://github.com/teorth/erdosproblems
|
|
10
10
|
data_file: data/problems.yaml
|
|
11
11
|
number: "6"
|
|
@@ -13,14 +13,14 @@ provenance:
|
|
|
13
13
|
seeded_at: 2026-03-26T04:41:26.097Z
|
|
14
14
|
seeded_from:
|
|
15
15
|
kind: pull_bundle
|
|
16
|
-
|
|
16
|
+
imported_record_included: true
|
|
17
17
|
site_snapshot_included: true
|
|
18
18
|
status:
|
|
19
19
|
site_status: proved
|
|
20
20
|
site_badge: PROVED
|
|
21
21
|
repo_status: cataloged
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
imported_status: proved
|
|
23
|
+
imported_last_update: 2025-08-31
|
|
24
24
|
cluster: number-theory
|
|
25
25
|
prize:
|
|
26
26
|
display: $100
|
|
@@ -39,5 +39,5 @@ evidence_path: EVIDENCE.md
|
|
|
39
39
|
formalization_path: FORMALIZATION.md
|
|
40
40
|
formalization:
|
|
41
41
|
status: planned
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
imported_state: yes
|
|
43
|
+
imported_last_update: 2025-09-18
|
|
@@ -14,4 +14,4 @@ Working assumptions:
|
|
|
14
14
|
- Harness depth: dossier
|
|
15
15
|
|
|
16
16
|
First honest move:
|
|
17
|
-
- tighten the local dossier for problem 7 against its pull bundle, references, and
|
|
17
|
+
- tighten the local dossier for problem 7 against its pull bundle, references, and import provenance before widening claims.
|
package/problems/7/EVIDENCE.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Formalization
|
|
2
2
|
|
|
3
3
|
- Local status: planned
|
|
4
|
-
-
|
|
5
|
-
-
|
|
4
|
+
- Imported formalized state: no
|
|
5
|
+
- Imported formalized last update: 2025-08-31
|
|
6
6
|
|
|
7
7
|
Seed note:
|
|
8
8
|
- this file was created automatically from a pull bundle and should be upgraded as local formal work begins.
|
package/problems/7/problem.yaml
CHANGED
|
@@ -5,7 +5,7 @@ source:
|
|
|
5
5
|
site: erdosproblems.com
|
|
6
6
|
url: https://www.erdosproblems.com/7
|
|
7
7
|
external_id: "7"
|
|
8
|
-
|
|
8
|
+
external_source:
|
|
9
9
|
repo: https://github.com/teorth/erdosproblems
|
|
10
10
|
data_file: data/problems.yaml
|
|
11
11
|
number: "7"
|
|
@@ -13,14 +13,14 @@ provenance:
|
|
|
13
13
|
seeded_at: 2026-03-26T04:41:26.332Z
|
|
14
14
|
seeded_from:
|
|
15
15
|
kind: pull_bundle
|
|
16
|
-
|
|
16
|
+
imported_record_included: true
|
|
17
17
|
site_snapshot_included: true
|
|
18
18
|
status:
|
|
19
19
|
site_status: verifiable
|
|
20
20
|
site_badge: VERIFIABLE
|
|
21
21
|
repo_status: cataloged
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
imported_status: verifiable
|
|
23
|
+
imported_last_update: 2025-08-31
|
|
24
24
|
cluster: number-theory
|
|
25
25
|
prize:
|
|
26
26
|
display: no
|
|
@@ -38,5 +38,5 @@ evidence_path: EVIDENCE.md
|
|
|
38
38
|
formalization_path: FORMALIZATION.md
|
|
39
39
|
formalization:
|
|
40
40
|
status: planned
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
imported_state: no
|
|
42
|
+
imported_last_update: 2025-08-31
|
|
@@ -5,7 +5,7 @@ source:
|
|
|
5
5
|
site: erdosproblems.com
|
|
6
6
|
url: https://www.erdosproblems.com/856
|
|
7
7
|
external_id: "856"
|
|
8
|
-
|
|
8
|
+
external_source:
|
|
9
9
|
repo: https://github.com/teorth/erdosproblems
|
|
10
10
|
data_file: data/problems.yaml
|
|
11
11
|
number: "856"
|
|
@@ -13,8 +13,8 @@ status:
|
|
|
13
13
|
site_status: open
|
|
14
14
|
site_badge: OPEN
|
|
15
15
|
repo_status: active
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
imported_status: open
|
|
17
|
+
imported_last_update: 2025-08-31
|
|
18
18
|
cluster: sunflower
|
|
19
19
|
prize:
|
|
20
20
|
display: no
|
|
@@ -35,8 +35,8 @@ evidence_path: EVIDENCE.md
|
|
|
35
35
|
formalization_path: FORMALIZATION.md
|
|
36
36
|
formalization:
|
|
37
37
|
status: planned
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
imported_state: no
|
|
39
|
+
imported_last_update: 2025-08-31
|
|
40
40
|
research_state:
|
|
41
41
|
open_problem: true
|
|
42
42
|
active_route: harmonic_density_lcm_bridge
|
|
@@ -5,7 +5,7 @@ source:
|
|
|
5
5
|
site: erdosproblems.com
|
|
6
6
|
url: https://www.erdosproblems.com/857
|
|
7
7
|
external_id: "857"
|
|
8
|
-
|
|
8
|
+
external_source:
|
|
9
9
|
repo: https://github.com/teorth/erdosproblems
|
|
10
10
|
data_file: data/problems.yaml
|
|
11
11
|
number: "857"
|
|
@@ -13,8 +13,8 @@ status:
|
|
|
13
13
|
site_status: open
|
|
14
14
|
site_badge: OPEN
|
|
15
15
|
repo_status: active
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
imported_status: open
|
|
17
|
+
imported_last_update: 2025-08-31
|
|
18
18
|
cluster: sunflower
|
|
19
19
|
prize:
|
|
20
20
|
display: no
|
|
@@ -36,8 +36,8 @@ evidence_path: EVIDENCE.md
|
|
|
36
36
|
formalization_path: FORMALIZATION.md
|
|
37
37
|
formalization:
|
|
38
38
|
status: active
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
imported_state: no
|
|
40
|
+
imported_last_update: 2025-08-31
|
|
41
41
|
research_state:
|
|
42
42
|
open_problem: true
|
|
43
43
|
active_route: anchored_selector_linearization
|
package/problems/89/problem.yaml
CHANGED
|
@@ -5,7 +5,7 @@ source:
|
|
|
5
5
|
site: erdosproblems.com
|
|
6
6
|
url: https://www.erdosproblems.com/89
|
|
7
7
|
external_id: "89"
|
|
8
|
-
|
|
8
|
+
external_source:
|
|
9
9
|
repo: https://github.com/teorth/erdosproblems
|
|
10
10
|
data_file: data/problems.yaml
|
|
11
11
|
number: "89"
|
|
@@ -13,8 +13,8 @@ status:
|
|
|
13
13
|
site_status: open
|
|
14
14
|
site_badge: OPEN
|
|
15
15
|
repo_status: cataloged
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
imported_status: open
|
|
17
|
+
imported_last_update: 2025-08-31
|
|
18
18
|
cluster: geometry
|
|
19
19
|
prize:
|
|
20
20
|
display: $500
|
|
@@ -33,5 +33,5 @@ evidence_path: EVIDENCE.md
|
|
|
33
33
|
formalization_path: FORMALIZATION.md
|
|
34
34
|
formalization:
|
|
35
35
|
status: statement-formalized
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
imported_state: yes
|
|
37
|
+
imported_last_update: 2025-10-24
|
package/src/atlas/catalog.js
CHANGED
|
@@ -14,6 +14,7 @@ function toCatalogProblem(problemDir, record, sourceKind) {
|
|
|
14
14
|
const referencesRelative = record.references_path ?? 'REFERENCES.md';
|
|
15
15
|
const evidenceRelative = record.evidence_path ?? 'EVIDENCE.md';
|
|
16
16
|
const formalizationRelative = record.formalization_path ?? 'FORMALIZATION.md';
|
|
17
|
+
const externalSource = record.external_source ?? record.upstream ?? null;
|
|
17
18
|
|
|
18
19
|
return {
|
|
19
20
|
problemId: String(record.problem_id),
|
|
@@ -24,8 +25,8 @@ function toCatalogProblem(problemDir, record, sourceKind) {
|
|
|
24
25
|
siteStatus: record.status?.site_status ?? 'unknown',
|
|
25
26
|
siteBadge: record.status?.site_badge ?? String(record.status?.site_status ?? 'unknown').toUpperCase(),
|
|
26
27
|
repoStatus: record.status?.repo_status ?? 'cataloged',
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
importedStatus: record.status?.imported_status ?? record.status?.upstream_status ?? null,
|
|
29
|
+
importedLastUpdate: record.status?.imported_last_update ?? record.status?.upstream_last_update ?? null,
|
|
29
30
|
cluster: record.cluster ?? 'uncategorized',
|
|
30
31
|
prize: record.prize?.display ?? null,
|
|
31
32
|
familyTags: record.family_tags ?? [],
|
|
@@ -33,10 +34,10 @@ function toCatalogProblem(problemDir, record, sourceKind) {
|
|
|
33
34
|
harnessDepth: record.harness?.depth ?? 'dossier',
|
|
34
35
|
shortStatement: record.statement?.short ?? '',
|
|
35
36
|
formalizationStatus: record.formalization?.status ?? 'unstarted',
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
importedFormalizedState: record.formalization?.imported_state ?? record.formalization?.upstream_state ?? null,
|
|
38
|
+
importedFormalizedLastUpdate: record.formalization?.imported_last_update ?? record.formalization?.upstream_last_update ?? null,
|
|
38
39
|
researchState: record.research_state ?? null,
|
|
39
|
-
|
|
40
|
+
externalSource,
|
|
40
41
|
statementPath: path.join(problemDir, statementRelative),
|
|
41
42
|
referencesPath: path.join(problemDir, referencesRelative),
|
|
42
43
|
evidencePath: path.join(problemDir, evidenceRelative),
|
package/src/cli/index.js
CHANGED
|
@@ -8,6 +8,7 @@ import { runGraphTheoryCommand } from '../commands/graph-theory.js';
|
|
|
8
8
|
import { runMaintainerCommand } from '../commands/maintainer.js';
|
|
9
9
|
import { runNumberTheoryCommand } from '../commands/number-theory.js';
|
|
10
10
|
import { runOrpCommand } from '../commands/orp.js';
|
|
11
|
+
import { runPaperCommand } from '../commands/paper.js';
|
|
11
12
|
import { runPreflightCommand } from '../commands/preflight.js';
|
|
12
13
|
import { runProblemCommand } from '../commands/problem.js';
|
|
13
14
|
import { runPullCommand } from '../commands/pull.js';
|
|
@@ -45,6 +46,8 @@ function printUsage() {
|
|
|
45
46
|
console.log(' erdos workspace show [--json]');
|
|
46
47
|
console.log(' erdos orp show [--json]');
|
|
47
48
|
console.log(' erdos orp sync [--json]');
|
|
49
|
+
console.log(' erdos paper init [<id>] [--dest <path>] [--json]');
|
|
50
|
+
console.log(' erdos paper show [<id>] [--dest <path>] [--json]');
|
|
48
51
|
console.log(' erdos state sync [--json]');
|
|
49
52
|
console.log(' erdos state show [--json]');
|
|
50
53
|
console.log(' erdos continuation show [--json]');
|
|
@@ -63,10 +66,10 @@ function printUsage() {
|
|
|
63
66
|
console.log(' erdos sunflower atom <problem-id> <atom-id> [--json]');
|
|
64
67
|
console.log(' erdos sunflower compute run [<id>] [--json]');
|
|
65
68
|
console.log(' erdos dossier show <id>');
|
|
66
|
-
console.log(' erdos
|
|
67
|
-
console.log(' erdos
|
|
68
|
-
console.log(' erdos
|
|
69
|
-
console.log(' erdos
|
|
69
|
+
console.log(' erdos import show');
|
|
70
|
+
console.log(' erdos import sync [--write-package-snapshot]');
|
|
71
|
+
console.log(' erdos import diff [--write-package-report]');
|
|
72
|
+
console.log(' erdos import drift [<id>] [--include-site] [--json]');
|
|
70
73
|
console.log(' erdos scaffold problem <id> [--dest <path>]');
|
|
71
74
|
console.log(' erdos bootstrap problem <id> [--dest <path>] [--sync-upstream]');
|
|
72
75
|
console.log(' erdos seed problem <id> [--include-site|--no-site] [--include-public-search|--no-public-search] [--refresh-upstream] [--cluster <name>] [--repo-status <status>] [--harness-depth <depth>] [--title <title>] [--family-tag <tag>] [--related <id>] [--formalization-status <status>] [--active-route <route>] [--route-breakthrough] [--problem-solved] [--allow-non-open] [--dest-root <path>] [--no-activate] [--no-loop-sync] [--force] [--json]');
|
|
@@ -98,6 +101,8 @@ if (!command || command === 'help' || command === '--help') {
|
|
|
98
101
|
exitCode = runWorkspaceCommand(rest);
|
|
99
102
|
} else if (command === 'orp') {
|
|
100
103
|
exitCode = runOrpCommand(rest);
|
|
104
|
+
} else if (command === 'paper') {
|
|
105
|
+
exitCode = runPaperCommand(rest);
|
|
101
106
|
} else if (command === 'state') {
|
|
102
107
|
exitCode = runStateCommand(rest);
|
|
103
108
|
} else if (command === 'continuation') {
|
|
@@ -110,7 +115,7 @@ if (!command || command === 'help' || command === '--help') {
|
|
|
110
115
|
exitCode = runSunflowerCommand(rest);
|
|
111
116
|
} else if (command === 'dossier') {
|
|
112
117
|
exitCode = runDossierCommand(rest);
|
|
113
|
-
} else if (command === 'upstream') {
|
|
118
|
+
} else if (command === 'upstream' || command === 'import') {
|
|
114
119
|
exitCode = await runUpstreamCommand(rest);
|
|
115
120
|
} else if (command === 'scaffold') {
|
|
116
121
|
exitCode = runScaffoldCommand(rest);
|
|
@@ -84,7 +84,7 @@ export async function runBootstrapCommand(args) {
|
|
|
84
84
|
console.log(`Scaffold dir: ${result.destination}`);
|
|
85
85
|
console.log(`Artifacts copied: ${result.copiedArtifacts.length}`);
|
|
86
86
|
console.log(`ORP protocol: ${orp.protocolPath}`);
|
|
87
|
-
console.log(`
|
|
87
|
+
console.log(`Imported record included: ${result.inventory.upstreamRecordIncluded ? 'yes' : 'no'}`);
|
|
88
88
|
console.log(`Checkpoint shelf: ${checkpoints.indexPath}`);
|
|
89
89
|
console.log(`Next honest move: ${state.nextHonestMove}`);
|
|
90
90
|
return 0;
|
package/src/commands/dossier.js
CHANGED
|
@@ -49,7 +49,7 @@ export function runDossierCommand(args) {
|
|
|
49
49
|
console.log(`- cluster: ${problem.cluster}`);
|
|
50
50
|
console.log(`- repo status: ${problem.repoStatus}`);
|
|
51
51
|
console.log(`- harness depth: ${problem.harnessDepth}`);
|
|
52
|
-
console.log(`-
|
|
52
|
+
console.log(`- external source number: ${problem.externalSource?.number ?? '(unset)'}`);
|
|
53
53
|
if (fs.existsSync(problem.statementPath)) {
|
|
54
54
|
console.log('');
|
|
55
55
|
console.log('Statement preview:');
|
|
@@ -168,7 +168,7 @@ export function runMaintainerCommand(args) {
|
|
|
168
168
|
console.log(`Review checklist: ${result.reviewPath}`);
|
|
169
169
|
console.log(`Proposed destination: ${result.destinationDir}`);
|
|
170
170
|
console.log(`Title: ${result.title}`);
|
|
171
|
-
console.log(`
|
|
171
|
+
console.log(`Imported record used: ${result.usedUpstreamRecord ? 'yes' : 'no'}`);
|
|
172
172
|
console.log(`Site snapshot used: ${result.usedSiteSnapshot ? 'yes' : 'no'}`);
|
|
173
173
|
console.log(`Public status review used: ${result.usedPublicStatusReview ? 'yes' : 'no'}`);
|
|
174
174
|
return 0;
|
|
@@ -196,7 +196,7 @@ export function runMaintainerCommand(args) {
|
|
|
196
196
|
console.log(`Title: ${result.record.title}`);
|
|
197
197
|
console.log(`Cluster: ${result.record.cluster}`);
|
|
198
198
|
console.log(`Harness depth: ${result.record.harness.depth}`);
|
|
199
|
-
console.log(`
|
|
199
|
+
console.log(`Imported record used: ${result.usedUpstreamRecord ? 'yes' : 'no'}`);
|
|
200
200
|
console.log(`Site snapshot used: ${result.usedSiteSnapshot ? 'yes' : 'no'}`);
|
|
201
201
|
console.log(`Public status review used: ${result.usedPublicStatusReview ? 'yes' : 'no'}`);
|
|
202
202
|
return 0;
|