erdos-problems 0.1.4 → 0.1.5

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.
@@ -4,120 +4,48 @@ Last updated: 2026-03-25
4
4
 
5
5
  ## Purpose
6
6
 
7
- This document defines a new public-facing sibling repository:
7
+ This document defines the public-facing `erdos-problems` repository and npm package.
8
8
 
9
- - repo name target: `erdos-problems`
10
- - npm package target: `erdos-problems`
11
- - CLI executable target: `erdos`
9
+ Targets:
10
+ - repo name: `erdos-problems`
11
+ - npm package: `erdos-problems`
12
+ - CLI executable: `erdos`
12
13
 
13
- This repo is meant to be the polished atlas and harness for Paul Erdős problems.
14
+ `sunflower-coda` remains the experimental lab.
15
+ `erdos-problems` is the clean public atlas and harness surface.
14
16
 
15
- `sunflower-coda` remains the experimental proving ground.
16
-
17
- `erdos-problems` becomes the clean published surface.
18
-
19
- ## Product Position
20
-
21
- `erdos-problems` should be:
17
+ ## Product position
22
18
 
19
+ `erdos-problems` is:
23
20
  - a problem atlas for Paul Erdős problems
24
- - a research harness with staged workflows for selected problem families
25
- - CLI-first
26
- - dossier-first
27
- - evidence-linked
21
+ - a dossier-first CLI research harness
22
+ - provenance-aware
28
23
  - formalization-aware
24
+ - agent-friendly from first install
29
25
 
30
- It should not be:
31
-
32
- - a clone of `sunflower-coda`
33
- - a raw mirror of every internal experiment
26
+ It is not:
27
+ - a raw mirror of `sunflower-coda`
34
28
  - a generic research framework
29
+ - a place where local route state silently overwrites public upstream truth
35
30
 
36
- ## Core Product Model
31
+ ## Core model
37
32
 
38
- The repo should have two layers.
33
+ The repo has three layers.
39
34
 
40
35
  ### 1. Atlas layer
41
36
 
42
- All Erdős problems live here, including:
43
-
44
- - open problems
45
- - solved problems
46
- - prize information
47
- - source links
48
- - tags
49
- - references
50
- - dossier links
51
- - formalization status
52
-
53
- Every problem gets a documented home.
54
-
55
- ### 2. Harness layer
56
-
57
- Selected problem families get deeper staged research machinery.
58
-
59
- The first deep harness should be:
60
-
61
- - `sunflower`
62
-
63
- Later families can be added only if they earn it.
64
-
65
- ## Naming Recommendation
66
-
67
- Recommended repo and package name:
68
-
69
- - `erdos-problems`
70
-
71
- Reason:
72
-
73
- - broader than “conjectures”
74
- - matches the actual scope better
75
- - includes solved entries naturally
76
- - leaves room for atlas + dossiers + harnesses
77
-
78
- As of 2026-03-25, the following npm names appeared open when checked:
79
-
80
- - `erdos-problems`
81
- - `erdos-conjectures`
82
- - `erdos-conjecture`
83
-
84
- Recommended binary name:
85
-
86
- - `erdos`
87
-
88
- ## Relationship To Existing Repos
89
-
90
- ### `sunflower-coda`
91
-
92
- Role:
93
-
94
- - experimental lab
95
- - theorem-engine proving ground
96
- - route-design incubator
97
- - UI/app experimentation
98
-
99
- ### `erdos-problems`
100
-
101
- Role:
37
+ All seeded Erdős problems live here with canonical local dossiers.
102
38
 
103
- - public atlas
104
- - clean CLI surface
105
- - curated problem dossiers
106
- - stable research harness for selected families
39
+ ### 2. Upstream truth layer
107
40
 
108
- ### `ode-to-erdos`
41
+ The package ships a bundled snapshot of `teorth/erdosproblems` and can refresh a workspace-local snapshot.
109
42
 
110
- Role:
43
+ ### 3. Harness layer
111
44
 
112
- - narrower theorem-work CLI
113
- - can either remain a focused sibling or be absorbed as an internal package inside `erdos-problems`
45
+ Selected problem families get deeper pack-specific context.
46
+ The first pack is `sunflower`.
114
47
 
115
- Current recommendation:
116
-
117
- - keep `ode-to-erdos` as a focused implementation seed
118
- - let `erdos-problems` become the broader public shell above it
119
-
120
- ## Repository Shape
48
+ ## Repository shape
121
49
 
122
50
  ```text
123
51
  erdos-problems/
@@ -129,94 +57,76 @@ erdos-problems/
129
57
  cli/
130
58
  commands/
131
59
  atlas/
132
- dossiers/
133
- packs/
134
- reporting/
135
- adapters/
60
+ runtime/
61
+ upstream/
136
62
  problems/
137
- 20/
138
- 536/
139
- 856/
140
- 857/
63
+ <id>/
141
64
  packs/
142
65
  sunflower/
143
- schemas/
144
- templates/
66
+ README.md
67
+ problems/<id>/
68
+ compute/<id>/
69
+ data/upstream/erdosproblems/
145
70
  docs/
146
71
  ```
147
72
 
148
- ## Runtime Model
149
-
150
- Local runtime folder:
151
-
152
- - `.erdos/`
73
+ ## Runtime model
153
74
 
154
- Suggested shape:
75
+ Local workspace runtime:
155
76
 
156
77
  ```text
157
78
  .erdos/
158
- config.json
159
79
  state.json
160
80
  current-problem.json
161
- problems.json
162
- runs/
81
+ upstream/erdosproblems/
82
+ scaffolds/<id>/
83
+ pulls/<id>/
84
+ artifacts/
85
+ literature/
163
86
  registry/
164
- checkpoints/
165
- literature/
166
87
  ```
167
88
 
168
- ## Problem Entry Model
89
+ ## Dossier model
169
90
 
170
- Every problem directory should contain:
171
-
172
- ```text
173
- problems/<id>/
174
- problem.yaml
175
- STATEMENT.md
176
- REFERENCES.md
177
- EVIDENCE.md
178
- FORMALIZATION.md
179
- CHECKPOINTS/
180
- ```
91
+ Each canonical seeded dossier contains:
92
+ - `problem.yaml`
93
+ - `STATEMENT.md`
94
+ - `REFERENCES.md`
95
+ - `EVIDENCE.md`
96
+ - `FORMALIZATION.md`
181
97
 
182
- Not every problem needs a deep route board immediately.
98
+ ## Pull model
183
99
 
184
- But every problem should have:
100
+ `erdos pull problem <id>` creates a root pull bundle with two sub-lanes:
101
+ - `artifacts/`
102
+ - `literature/`
185
103
 
186
- - source URL
187
- - normalized statement
188
- - status
189
- - tags
190
- - references
191
- - evidence links
104
+ `erdos pull artifacts <id>` and `erdos pull literature <id>` target those lanes directly.
192
105
 
193
- ## Harness Model
106
+ ## Maintainer model
194
107
 
195
- The first harness pack should be:
108
+ `erdos maintainer seed problem <id>` promotes a pulled bundle into a canonical local dossier.
196
109
 
197
- - `packs/sunflower/`
110
+ This is the disciplined bridge from:
111
+ - public upstream/site truth
112
+ - to local canonical dossier truth
198
113
 
199
- That pack should preserve:
114
+ ## Sunflower pack model
200
115
 
201
- - open problem
202
- - active route
203
- - route breakthrough
204
- - problem solved
116
+ The sunflower pack now explicitly covers the quartet:
117
+ - `20`: strong sunflower core
118
+ - `857`: weak sunflower core
119
+ - `536`: natural-density LCM analogue
120
+ - `856`: harmonic-density LCM analogue
205
121
 
206
- And also:
122
+ Pack assets may include:
123
+ - pack README context
124
+ - per-problem context files
125
+ - compute packets for deep problems
207
126
 
208
- - tickets
209
- - gates
210
- - atoms
211
- - ready queue
212
- - compute lane awareness
213
- - generated checkpoints
214
- - literature mapping
215
-
216
- ## CLI Shape
217
-
218
- ### Atlas commands
127
+ ## CLI shape
219
128
 
129
+ Atlas:
220
130
  ```bash
221
131
  erdos problem list
222
132
  erdos problem show 857
@@ -225,70 +135,43 @@ erdos cluster list
225
135
  erdos cluster show sunflower
226
136
  ```
227
137
 
228
- ### Dossier commands
229
-
138
+ Workspace and artifacts:
230
139
  ```bash
231
- erdos dossier show 857
232
- erdos dossier build 857
233
- erdos checkpoints sync 857
234
- erdos report build 857
140
+ erdos workspace show
141
+ erdos problem artifacts 857 --json
142
+ erdos scaffold problem 857
143
+ erdos bootstrap problem 857
235
144
  ```
236
145
 
237
- ### Sunflower harness commands
238
-
146
+ Pull and maintainer flow:
239
147
  ```bash
240
- erdos sunflower setup 857
241
- erdos sunflower warnings 857
242
- erdos sunflower pass 857
243
- erdos sunflower frontier 857
244
- erdos sunflower status 857
148
+ erdos pull problem 1
149
+ erdos pull artifacts 857
150
+ erdos pull literature 857 --include-site
151
+ erdos maintainer seed problem 1 --from-pull .erdos/pulls/1 --cluster number-theory
245
152
  ```
246
153
 
247
- `erdos sunflower status` should be the public-shell place where route state and
248
- compute posture meet:
249
-
250
- - active route
251
- - breakthrough state
252
- - packaged compute lane
253
- - next compute action
254
- - whether paid approval is required
255
-
256
- ## Content Policy
257
-
258
- The repo should not blindly mirror `erdosproblems.com` text.
259
-
260
- Safer default:
261
-
262
- - source URL
263
- - citation
264
- - normalized summary of the problem
265
- - our own dossier and evidence materials
266
-
267
- This keeps the repo publishable and reduces licensing ambiguity.
268
-
269
- ## Launch Strategy
270
-
271
- ### Phase 1
272
-
273
- - create repo
274
- - scaffold CLI
275
- - add core schema
276
- - seed sunflower cluster
277
- - ship atlas-only read commands
278
-
279
- ### Phase 2
280
-
281
- - add dossier generation
282
- - add checkpoint shelf
283
- - add sunflower harness commands
284
-
285
- ### Phase 3
154
+ Sunflower pack:
155
+ ```bash
156
+ erdos sunflower status 20
157
+ erdos sunflower status 536
158
+ erdos sunflower status 857 --json
159
+ ```
286
160
 
287
- - deepen route-level automation for sunflower family
288
- - expand to other Erdős clusters carefully
161
+ ## Canonical truth split
289
162
 
290
- ## First Public Promise
163
+ Public upstream truth:
164
+ - `teorth/erdosproblems`
165
+ - `data/problems.yaml`
166
+ - `erdosproblems.com`
291
167
 
292
- The first public promise should be:
168
+ Local atlas truth:
169
+ - `problems/<id>/problem.yaml`
170
+ - dossier markdown files beside it
293
171
 
294
- > `erdos-problems` is a CLI atlas and staged research harness for Paul Erdős problems, with the sunflower family as the first deeply integrated pack.
172
+ Local harness truth:
173
+ - research state
174
+ - checkpoints
175
+ - pack context
176
+ - compute packets
177
+ - workspace pull/scaffold artifacts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erdos-problems",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "CLI atlas and staged research harness for Paul Erdos problems.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -2,12 +2,14 @@
2
2
 
3
3
  The first deep harness pack in `erdos-problems`.
4
4
 
5
- Current seed cluster:
5
+ Sunflower core quartet:
6
6
  - `20`
7
7
  - `536`
8
8
  - `856`
9
9
  - `857`
10
10
 
11
- Deep-harness problems now:
12
- - `20`
13
- - `857`
11
+ Profiles:
12
+ - `20`: deep harness, strong / uniform core
13
+ - `857`: deep harness, weak / non-uniform core
14
+ - `536`: dossier bridge, natural-density LCM analogue
15
+ - `856`: dossier bridge, harmonic-density LCM analogue
@@ -0,0 +1,9 @@
1
+ # Problem 20 Sunflower Context
2
+
3
+ Role in family:
4
+ - strong / uniform sunflower core
5
+ - deep-harness sibling to the weak sunflower program on 857
6
+
7
+ Bootstrap focus:
8
+ - start from the uniform k=3 lane
9
+ - keep explicit bridges back to 857 whenever a route or method transfers cleanly
@@ -0,0 +1,18 @@
1
+ problem_id: "20"
2
+ family_role: strong_sunflower_core
3
+ harness_profile: deep
4
+ default_active_route: uniform_k3_frontier
5
+ bootstrap_focus: Frame the strong or uniform k=3 sunflower lane as the direct sibling frontier to the weak 857 route.
6
+ related_core_problems:
7
+ - "857"
8
+ - "536"
9
+ - "856"
10
+ literature_focus:
11
+ - strong sunflower problem
12
+ - k-uniform families
13
+ - k=3
14
+ - Erdos-Rado sunflower
15
+ artifact_focus:
16
+ - uniform-family reductions
17
+ - k=3 active route notes
18
+ - bridge notes to 857
@@ -0,0 +1,9 @@
1
+ # Problem 536 Sunflower Context
2
+
3
+ Role in family:
4
+ - natural-density LCM analogue inside the sunflower quartet
5
+ - dossier-first bridge problem rather than a deep theorem harness today
6
+
7
+ Bootstrap focus:
8
+ - keep the combinatorial relation to 857 explicit
9
+ - collect number-theoretic translations, references, and bridge artifacts
@@ -0,0 +1,17 @@
1
+ problem_id: "536"
2
+ family_role: natural_density_lcm_analogue
3
+ harness_profile: dossier_bridge
4
+ default_active_route: natural_density_lcm_bridge
5
+ bootstrap_focus: Treat 536 as the number-theoretic natural-density analogue that should stay tightly linked to weak sunflower progress.
6
+ related_core_problems:
7
+ - "857"
8
+ - "856"
9
+ - "20"
10
+ literature_focus:
11
+ - lcm analogue
12
+ - natural density
13
+ - weak sunflower transfer
14
+ artifact_focus:
15
+ - analogue statements
16
+ - bridge notes to 857
17
+ - number-theoretic translation artifacts
@@ -0,0 +1,9 @@
1
+ # Problem 856 Sunflower Context
2
+
3
+ Role in family:
4
+ - harmonic-density LCM analogue inside the sunflower quartet
5
+ - dossier-first bridge problem with direct implications for 857-style exponents
6
+
7
+ Bootstrap focus:
8
+ - keep the exponent-transfer story explicit
9
+ - collect references and structured bridge artifacts for future deepening
@@ -0,0 +1,17 @@
1
+ problem_id: "856"
2
+ family_role: harmonic_density_lcm_analogue
3
+ harness_profile: dossier_bridge
4
+ default_active_route: harmonic_density_lcm_bridge
5
+ bootstrap_focus: Treat 856 as the harmonic-density LCM analogue whose exponent behavior should stay synchronized with weak sunflower progress.
6
+ related_core_problems:
7
+ - "857"
8
+ - "536"
9
+ - "20"
10
+ literature_focus:
11
+ - harmonic density
12
+ - lcm analogue
13
+ - exponent transfer to 857
14
+ artifact_focus:
15
+ - analogue statements
16
+ - density bridge notes
17
+ - exponent-comparison artifacts
@@ -0,0 +1,9 @@
1
+ # Problem 857 Sunflower Context
2
+
3
+ Role in family:
4
+ - weak / non-uniform sunflower core
5
+ - current deep-harness flagship problem in the public atlas
6
+
7
+ Bootstrap focus:
8
+ - preserve the live route framing in the scaffold
9
+ - keep literature, artifact, and compute packets aligned with the active frontier rather than generic sunflower chatter
@@ -0,0 +1,18 @@
1
+ problem_id: "857"
2
+ family_role: weak_sunflower_core
3
+ harness_profile: deep
4
+ default_active_route: anchored_selector_linearization
5
+ bootstrap_focus: Start from the weak sunflower asymptotic route and preserve the active export/compression frontier in the scaffold.
6
+ related_core_problems:
7
+ - "20"
8
+ - "536"
9
+ - "856"
10
+ literature_focus:
11
+ - weak sunflower problem
12
+ - m(n,3)
13
+ - asymptotic routes
14
+ - container and export methods
15
+ artifact_focus:
16
+ - active route notes
17
+ - formal frontier checkpoints
18
+ - compute lane packets when frozen
@@ -20,14 +20,15 @@ prize:
20
20
  display: $1000
21
21
  related_problems:
22
22
  - "857"
23
+ - "536"
24
+ - "856"
23
25
  family_tags:
24
26
  - sunflower
25
27
  - uniform-families
26
28
  harness:
27
29
  depth: deep
28
30
  statement:
29
- short: Determine the strong sunflower threshold for k-uniform set systems, with
30
- the k=3 lane as the immediate active frontier.
31
+ short: Determine the strong sunflower threshold for k-uniform set systems, with the uniform k=3 lane as the immediate active frontier.
31
32
  normalized_md_path: STATEMENT.md
32
33
  references_path: REFERENCES.md
33
34
  evidence_path: EVIDENCE.md
@@ -36,3 +37,8 @@ formalization:
36
37
  status: active
37
38
  upstream_state: yes
38
39
  upstream_last_update: 2025-08-31
40
+ research_state:
41
+ open_problem: true
42
+ active_route: uniform_k3_frontier
43
+ route_breakthrough: false
44
+ problem_solved: false
@@ -12,7 +12,7 @@ upstream:
12
12
  status:
13
13
  site_status: open
14
14
  site_badge: OPEN
15
- repo_status: cataloged
15
+ repo_status: active
16
16
  upstream_status: open
17
17
  upstream_last_update: 2025-08-31
18
18
  cluster: sunflower
@@ -20,14 +20,15 @@ prize:
20
20
  display: no
21
21
  related_problems:
22
22
  - "857"
23
+ - "856"
24
+ - "20"
23
25
  family_tags:
24
26
  - sunflower-analogue
25
27
  - number-theory
26
28
  harness:
27
29
  depth: dossier
28
30
  statement:
29
- short: Number-theoretic analogue of the sunflower problem framed through least
30
- common multiples.
31
+ short: Number-theoretic analogue of the sunflower problem framed through least common multiples and natural-density structure.
31
32
  normalized_md_path: STATEMENT.md
32
33
  references_path: REFERENCES.md
33
34
  evidence_path: EVIDENCE.md
@@ -36,3 +37,8 @@ formalization:
36
37
  status: planned
37
38
  upstream_state: yes
38
39
  upstream_last_update: 2025-11-12
40
+ research_state:
41
+ open_problem: true
42
+ active_route: natural_density_lcm_bridge
43
+ route_breakthrough: false
44
+ problem_solved: false
@@ -12,7 +12,7 @@ upstream:
12
12
  status:
13
13
  site_status: open
14
14
  site_badge: OPEN
15
- repo_status: cataloged
15
+ repo_status: active
16
16
  upstream_status: open
17
17
  upstream_last_update: 2025-08-31
18
18
  cluster: sunflower
@@ -20,14 +20,15 @@ prize:
20
20
  display: no
21
21
  related_problems:
22
22
  - "857"
23
+ - "536"
24
+ - "20"
23
25
  family_tags:
24
26
  - sunflower-analogue
25
27
  - number-theory
26
28
  harness:
27
29
  depth: dossier
28
30
  statement:
29
- short: A harmonic or density-shaped LCM analogue whose exponents are explicitly
30
- linked to progress on the weak sunflower problem.
31
+ short: A harmonic or density-shaped LCM analogue whose exponent behavior is explicitly linked to progress on the weak sunflower problem.
31
32
  normalized_md_path: STATEMENT.md
32
33
  references_path: REFERENCES.md
33
34
  evidence_path: EVIDENCE.md
@@ -36,3 +37,8 @@ formalization:
36
37
  status: planned
37
38
  upstream_state: no
38
39
  upstream_last_update: 2025-08-31
40
+ research_state:
41
+ open_problem: true
42
+ active_route: harmonic_density_lcm_bridge
43
+ route_breakthrough: false
44
+ problem_solved: false
package/src/cli/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { runBootstrapCommand } from '../commands/bootstrap.js';
2
2
  import { runClusterCommand } from '../commands/cluster.js';
3
3
  import { runDossierCommand } from '../commands/dossier.js';
4
+ import { runMaintainerCommand } from '../commands/maintainer.js';
4
5
  import { runProblemCommand } from '../commands/problem.js';
5
6
  import { runPullCommand } from '../commands/pull.js';
6
7
  import { runScaffoldCommand } from '../commands/scaffold.js';
@@ -28,6 +29,9 @@ function printUsage() {
28
29
  console.log(' erdos scaffold problem <id> [--dest <path>]');
29
30
  console.log(' erdos bootstrap problem <id> [--dest <path>] [--sync-upstream]');
30
31
  console.log(' erdos pull problem <id> [--dest <path>] [--include-site] [--refresh-upstream]');
32
+ console.log(' erdos pull artifacts <id> [--dest <path>] [--refresh-upstream]');
33
+ console.log(' erdos pull literature <id> [--dest <path>] [--include-site] [--refresh-upstream]');
34
+ console.log(' erdos maintainer seed problem <id> [--from-pull <path>] [--dest-root <path>] [--cluster <name>]');
31
35
  }
32
36
 
33
37
  const args = process.argv.slice(2);
@@ -55,6 +59,8 @@ if (!command || command === 'help' || command === '--help') {
55
59
  exitCode = await runBootstrapCommand(rest);
56
60
  } else if (command === 'pull') {
57
61
  exitCode = await runPullCommand(rest);
62
+ } else if (command === 'maintainer') {
63
+ exitCode = runMaintainerCommand(rest);
58
64
  } else {
59
65
  console.error(`Unknown command: ${command}`);
60
66
  printUsage();