open-research-protocol 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/AGENT_INTEGRATION.md +94 -0
- package/INSTALL.md +159 -0
- package/LICENSE +22 -0
- package/PROTOCOL.md +140 -0
- package/README.md +312 -0
- package/bin/orp.js +38 -0
- package/cli/orp.py +3595 -0
- package/cone/CONTEXT_LOG.md +33 -0
- package/docs/AGENT_LOOP.md +63 -0
- package/docs/CHOOSING_OR_IGNORING_INSTRUMENTS.md +128 -0
- package/docs/CODA_ORP_CONTRACT.md +222 -0
- package/docs/CORE_ABILITY_REFOCUS_CHECKLIST.md +62 -0
- package/docs/DISCOVER.md +69 -0
- package/docs/EXTERNAL_CONTRIBUTION_GOVERNANCE.md +275 -0
- package/docs/MATHLIB_COLLABORATION_FLOW_PROMPT.md +112 -0
- package/docs/NPM_RELEASE_CHECKLIST.md +55 -0
- package/docs/ORP_V1_ATOMIC_DISCOVERY_EVOLUTION.md +186 -0
- package/docs/OSS_CONTRIBUTION_AGENT_LOOP.md +69 -0
- package/docs/PRESENTATION_BOW.md +100 -0
- package/docs/PROFILE_PACKS.md +227 -0
- package/docs/SUNFLOWER_CODA_PR_GOVERNANCE_MAPPING.md +77 -0
- package/docs/WHY_INSTRUMENTS.md +118 -0
- package/examples/README.md +21 -0
- package/examples/example_claim.md +33 -0
- package/examples/example_failed.md +24 -0
- package/examples/example_verification.md +36 -0
- package/examples/orp.erdos-problems.catalog.yml +88 -0
- package/examples/orp.external-pr-governance.yml +223 -0
- package/examples/orp.sunflower-coda.atomic.yml +144 -0
- package/examples/orp.sunflower-coda.live-compare.yml +181 -0
- package/examples/orp.sunflower-coda.pr-governance.yml +253 -0
- package/examples/packet.problem_scope.example.json +123 -0
- package/examples/reports/README.md +16 -0
- package/examples/reports/sunflower_live_compare_20.RUN_SUMMARY.md +37 -0
- package/examples/reports/sunflower_live_compare_367.RUN_SUMMARY.md +37 -0
- package/examples/reports/sunflower_live_compare_857.RUN_SUMMARY.md +37 -0
- package/llms.txt +58 -0
- package/modules/instruments/ADVERSARIAL/README.md +109 -0
- package/modules/instruments/ADVERSARIAL/TEMPLATE.md +27 -0
- package/modules/instruments/COMPRESSION/README.md +112 -0
- package/modules/instruments/COMPRESSION/TEMPLATE.md +27 -0
- package/modules/instruments/INSTRUMENT_TEMPLATE.md +30 -0
- package/modules/instruments/ORBIT/README.md +124 -0
- package/modules/instruments/ORBIT/TEMPLATE.md +28 -0
- package/modules/instruments/README.md +179 -0
- package/package.json +54 -0
- package/packs/README.md +16 -0
- package/packs/erdos-open-problems/README.md +287 -0
- package/packs/erdos-open-problems/data/README.md +43 -0
- package/packs/erdos-open-problems/data/erdos_open_problems.md +697 -0
- package/packs/erdos-open-problems/data/erdos_problems.active.json +15561 -0
- package/packs/erdos-open-problems/data/erdos_problems.all.json +26289 -0
- package/packs/erdos-open-problems/data/erdos_problems.closed.json +10760 -0
- package/packs/erdos-open-problems/data/erdos_problems.open.json +15561 -0
- package/packs/erdos-open-problems/docs/SUNFLOWER_ADAPTER_DEPENDENCIES.md +63 -0
- package/packs/erdos-open-problems/pack.yml +131 -0
- package/packs/erdos-open-problems/profiles/erdos-problems-catalog-sync.yml.tmpl +99 -0
- package/packs/erdos-open-problems/profiles/sunflower-live-compare.yml.tmpl +188 -0
- package/packs/erdos-open-problems/profiles/sunflower-mathlib-pr-governance.yml.tmpl +253 -0
- package/packs/erdos-open-problems/profiles/sunflower-problem857-discovery-public-repo.yml.tmpl +152 -0
- package/packs/erdos-open-problems/profiles/sunflower-problem857-discovery.yml.tmpl +154 -0
- package/packs/external-pr-governance/README.md +116 -0
- package/packs/external-pr-governance/adapters/formal-conjectures/README.md +35 -0
- package/packs/external-pr-governance/adapters/mathlib/README.md +37 -0
- package/packs/external-pr-governance/pack.yml +146 -0
- package/packs/external-pr-governance/profiles/oss-feedback-hardening.yml.tmpl +92 -0
- package/packs/external-pr-governance/profiles/oss-pr-governance.yml.tmpl +233 -0
- package/packs/issue-smashers/README.md +92 -0
- package/packs/issue-smashers/adapters/formal-conjectures/README.md +17 -0
- package/packs/issue-smashers/adapters/generic-github/README.md +16 -0
- package/packs/issue-smashers/adapters/mathlib/README.md +32 -0
- package/packs/issue-smashers/bootstrap/README.md +19 -0
- package/packs/issue-smashers/bootstrap/setup-issue-smashers.sh +18 -0
- package/packs/issue-smashers/examples/issue-smashers.workspace.yml +24 -0
- package/packs/issue-smashers/pack.yml +178 -0
- package/packs/issue-smashers/profiles/issue-smashers-feedback-hardening.yml.tmpl +102 -0
- package/packs/issue-smashers/profiles/issue-smashers.yml.tmpl +258 -0
- package/scripts/npm-postinstall-check.js +31 -0
- package/scripts/orp +11 -0
- package/scripts/orp-agent-integrate.sh +197 -0
- package/scripts/orp-checkpoint.sh +184 -0
- package/scripts/orp-erdos-problems-sync.py +580 -0
- package/scripts/orp-init.sh +50 -0
- package/scripts/orp-pack-fetch.py +155 -0
- package/scripts/orp-pack-install.py +2273 -0
- package/scripts/orp-pack-render.py +188 -0
- package/spec/v1/LIFECYCLE_MAPPING.md +40 -0
- package/spec/v1/orp.config.schema.json +385 -0
- package/spec/v1/packet.schema.json +552 -0
- package/spec/v1/profile-pack.schema.json +95 -0
- package/templates/CLAIM.md +33 -0
- package/templates/FAILED_TOPIC.md +19 -0
- package/templates/ISSUE_TEMPLATE.md +22 -0
- package/templates/VERIFICATION_RECORD.md +34 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
version: "1"
|
|
2
|
+
|
|
3
|
+
project:
|
|
4
|
+
name: erdos-problems-catalog-sync
|
|
5
|
+
repo_root: .
|
|
6
|
+
canonical_paths:
|
|
7
|
+
erdos_all_json: /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.all.json
|
|
8
|
+
erdos_open_json: /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.open.json
|
|
9
|
+
erdos_closed_json: /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.closed.json
|
|
10
|
+
erdos_active_json: /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.active.json
|
|
11
|
+
|
|
12
|
+
runtime:
|
|
13
|
+
shell: /bin/bash
|
|
14
|
+
default_timeout_sec: 1200
|
|
15
|
+
artifacts_root: orp/artifacts
|
|
16
|
+
|
|
17
|
+
packet:
|
|
18
|
+
default_kind: problem_scope
|
|
19
|
+
output_dir: orp/packets
|
|
20
|
+
write_markdown: true
|
|
21
|
+
deterministic_mode: true
|
|
22
|
+
|
|
23
|
+
lifecycle:
|
|
24
|
+
claim_status_map:
|
|
25
|
+
Draft: draft
|
|
26
|
+
In review: ready
|
|
27
|
+
Verified: reviewed
|
|
28
|
+
Blocked: blocked
|
|
29
|
+
Retracted: retracted
|
|
30
|
+
atom_status_map:
|
|
31
|
+
todo: draft
|
|
32
|
+
in_progress: ready
|
|
33
|
+
blocked: blocked
|
|
34
|
+
done: reviewed
|
|
35
|
+
claim_level_values:
|
|
36
|
+
- Exact
|
|
37
|
+
- Verified
|
|
38
|
+
- Heuristic
|
|
39
|
+
- Conjecture
|
|
40
|
+
|
|
41
|
+
gates:
|
|
42
|
+
- id: erdos_catalog_sync
|
|
43
|
+
description: Sync all Erdos problems from erdosproblems.com and publish open/closed/active snapshots.
|
|
44
|
+
phase: scope_lock
|
|
45
|
+
command: >
|
|
46
|
+
python3 /path/to/orp/scripts/orp-erdos-problems-sync.py
|
|
47
|
+
--source-url https://erdosproblems.com/range/1-end
|
|
48
|
+
--timeout-sec 90
|
|
49
|
+
--active-status open
|
|
50
|
+
--out-all /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.all.json
|
|
51
|
+
--out-open /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.open.json
|
|
52
|
+
--out-closed /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.closed.json
|
|
53
|
+
--out-active /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.active.json
|
|
54
|
+
--out-open-list /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_open_problems.md
|
|
55
|
+
working_dir: /path/to/orp
|
|
56
|
+
timeout_sec: 1200
|
|
57
|
+
pass:
|
|
58
|
+
exit_codes: [0]
|
|
59
|
+
stdout_must_contain:
|
|
60
|
+
- parsed_total=
|
|
61
|
+
- summary.open=
|
|
62
|
+
- summary.closed=
|
|
63
|
+
- active_status=open
|
|
64
|
+
- out_open_list=
|
|
65
|
+
file_must_exist:
|
|
66
|
+
- /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.all.json
|
|
67
|
+
- /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.open.json
|
|
68
|
+
- /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.closed.json
|
|
69
|
+
- /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.active.json
|
|
70
|
+
- /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_open_problems.md
|
|
71
|
+
evidence:
|
|
72
|
+
include_stdout: true
|
|
73
|
+
include_stderr: true
|
|
74
|
+
paths:
|
|
75
|
+
- /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.all.json
|
|
76
|
+
- /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.open.json
|
|
77
|
+
- /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.closed.json
|
|
78
|
+
- /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_problems.active.json
|
|
79
|
+
- /path/to/sunflower-coda/repo/analysis/erdos_problems/erdos_open_problems.md
|
|
80
|
+
on_fail: stop
|
|
81
|
+
|
|
82
|
+
profiles:
|
|
83
|
+
erdos_catalog_sync_active:
|
|
84
|
+
description: Sync Erdos problem catalog with open-default active status (override via ERDOS_ACTIVE_STATUS).
|
|
85
|
+
mode: discovery
|
|
86
|
+
packet_kind: problem_scope
|
|
87
|
+
gate_ids:
|
|
88
|
+
- erdos_catalog_sync
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
version: "1"
|
|
2
|
+
|
|
3
|
+
project:
|
|
4
|
+
name: external-pr-governance-example
|
|
5
|
+
repo_root: .
|
|
6
|
+
canonical_paths:
|
|
7
|
+
target_repo_root: /path/to/working/repo
|
|
8
|
+
default_pr_body_file: /path/to/working/repo/analysis/PR_DRAFT_BODY.md
|
|
9
|
+
|
|
10
|
+
runtime:
|
|
11
|
+
shell: /bin/bash
|
|
12
|
+
default_timeout_sec: 1200
|
|
13
|
+
artifacts_root: orp/artifacts
|
|
14
|
+
|
|
15
|
+
packet:
|
|
16
|
+
default_kind: pr
|
|
17
|
+
output_dir: orp/packets
|
|
18
|
+
write_markdown: true
|
|
19
|
+
deterministic_mode: true
|
|
20
|
+
|
|
21
|
+
lifecycle:
|
|
22
|
+
claim_status_map:
|
|
23
|
+
Draft: draft
|
|
24
|
+
In review: ready
|
|
25
|
+
Verified: reviewed
|
|
26
|
+
Blocked: blocked
|
|
27
|
+
Retracted: retracted
|
|
28
|
+
atom_status_map:
|
|
29
|
+
todo: draft
|
|
30
|
+
in_progress: ready
|
|
31
|
+
blocked: blocked
|
|
32
|
+
done: reviewed
|
|
33
|
+
claim_level_values:
|
|
34
|
+
- Exact
|
|
35
|
+
- Verified
|
|
36
|
+
- Heuristic
|
|
37
|
+
- Conjecture
|
|
38
|
+
|
|
39
|
+
gates:
|
|
40
|
+
- id: watch_select
|
|
41
|
+
description: Example watch/select gate.
|
|
42
|
+
phase: scope_lock
|
|
43
|
+
command: printf 'selection=PASS\n'
|
|
44
|
+
working_dir: /path/to/working/repo
|
|
45
|
+
pass:
|
|
46
|
+
exit_codes: [0]
|
|
47
|
+
stdout_must_contain:
|
|
48
|
+
- selection=PASS
|
|
49
|
+
evidence:
|
|
50
|
+
include_stdout: true
|
|
51
|
+
include_stderr: true
|
|
52
|
+
on_fail: mark_blocked
|
|
53
|
+
|
|
54
|
+
- id: viability_gate
|
|
55
|
+
description: Example viability gate.
|
|
56
|
+
phase: scope_lock
|
|
57
|
+
command: printf 'decision=PASS\n'
|
|
58
|
+
working_dir: /path/to/working/repo
|
|
59
|
+
pass:
|
|
60
|
+
exit_codes: [0]
|
|
61
|
+
stdout_must_contain:
|
|
62
|
+
- decision=PASS
|
|
63
|
+
evidence:
|
|
64
|
+
include_stdout: true
|
|
65
|
+
include_stderr: true
|
|
66
|
+
on_fail: mark_blocked
|
|
67
|
+
|
|
68
|
+
- id: overlap_gate
|
|
69
|
+
description: Example overlap gate.
|
|
70
|
+
phase: scope_lock
|
|
71
|
+
command: printf 'overlap=PASS\n'
|
|
72
|
+
working_dir: /path/to/working/repo
|
|
73
|
+
pass:
|
|
74
|
+
exit_codes: [0]
|
|
75
|
+
stdout_must_contain:
|
|
76
|
+
- overlap=PASS
|
|
77
|
+
evidence:
|
|
78
|
+
include_stdout: true
|
|
79
|
+
include_stderr: true
|
|
80
|
+
on_fail: mark_blocked
|
|
81
|
+
|
|
82
|
+
- id: local_gate
|
|
83
|
+
description: Example local verification gate.
|
|
84
|
+
phase: verification
|
|
85
|
+
command: printf 'gate=PASS\n'
|
|
86
|
+
working_dir: /path/to/working/repo
|
|
87
|
+
pass:
|
|
88
|
+
exit_codes: [0]
|
|
89
|
+
stdout_must_contain:
|
|
90
|
+
- gate=PASS
|
|
91
|
+
evidence:
|
|
92
|
+
include_stdout: true
|
|
93
|
+
include_stderr: true
|
|
94
|
+
on_fail: stop
|
|
95
|
+
|
|
96
|
+
- id: ready_to_draft
|
|
97
|
+
description: Example ready-to-draft gate.
|
|
98
|
+
phase: verification
|
|
99
|
+
command: printf 'ready_to_draft=PASS\n'
|
|
100
|
+
working_dir: /path/to/working/repo
|
|
101
|
+
pass:
|
|
102
|
+
exit_codes: [0]
|
|
103
|
+
stdout_must_contain:
|
|
104
|
+
- ready_to_draft=PASS
|
|
105
|
+
evidence:
|
|
106
|
+
include_stdout: true
|
|
107
|
+
include_stderr: true
|
|
108
|
+
on_fail: stop
|
|
109
|
+
|
|
110
|
+
- id: pr_body_preflight
|
|
111
|
+
description: Example PR body preflight.
|
|
112
|
+
phase: verification
|
|
113
|
+
command: printf 'gate=PASS\n'
|
|
114
|
+
working_dir: /path/to/working/repo
|
|
115
|
+
pass:
|
|
116
|
+
exit_codes: [0]
|
|
117
|
+
stdout_must_contain:
|
|
118
|
+
- gate=PASS
|
|
119
|
+
evidence:
|
|
120
|
+
include_stdout: true
|
|
121
|
+
include_stderr: true
|
|
122
|
+
paths:
|
|
123
|
+
- /path/to/working/repo/analysis/PR_DRAFT_BODY.md
|
|
124
|
+
on_fail: mark_blocked
|
|
125
|
+
|
|
126
|
+
- id: draft_pr_transition
|
|
127
|
+
description: Example draft PR open/update gate.
|
|
128
|
+
phase: verification
|
|
129
|
+
command: printf 'draft_pr=PASS\n'
|
|
130
|
+
working_dir: /path/to/working/repo
|
|
131
|
+
pass:
|
|
132
|
+
exit_codes: [0]
|
|
133
|
+
stdout_must_contain:
|
|
134
|
+
- draft_pr=PASS
|
|
135
|
+
evidence:
|
|
136
|
+
include_stdout: true
|
|
137
|
+
include_stderr: true
|
|
138
|
+
paths:
|
|
139
|
+
- /path/to/working/repo/analysis/PR_DRAFT_BODY.md
|
|
140
|
+
on_fail: stop
|
|
141
|
+
|
|
142
|
+
- id: draft_ci
|
|
143
|
+
description: Example draft CI gate.
|
|
144
|
+
phase: verification
|
|
145
|
+
command: printf 'draft_ci=PASS\n'
|
|
146
|
+
working_dir: /path/to/working/repo
|
|
147
|
+
pass:
|
|
148
|
+
exit_codes: [0]
|
|
149
|
+
stdout_must_contain:
|
|
150
|
+
- draft_ci=PASS
|
|
151
|
+
evidence:
|
|
152
|
+
include_stdout: true
|
|
153
|
+
include_stderr: true
|
|
154
|
+
on_fail: mark_blocked
|
|
155
|
+
|
|
156
|
+
- id: ready_for_review
|
|
157
|
+
description: Example ready-for-review gate.
|
|
158
|
+
phase: verification
|
|
159
|
+
command: printf 'ready_for_review=PASS\n'
|
|
160
|
+
working_dir: /path/to/working/repo
|
|
161
|
+
pass:
|
|
162
|
+
exit_codes: [0]
|
|
163
|
+
stdout_must_contain:
|
|
164
|
+
- ready_for_review=PASS
|
|
165
|
+
evidence:
|
|
166
|
+
include_stdout: true
|
|
167
|
+
include_stderr: true
|
|
168
|
+
on_fail: mark_blocked
|
|
169
|
+
|
|
170
|
+
profiles:
|
|
171
|
+
external_watch_select:
|
|
172
|
+
description: Example watch/select profile.
|
|
173
|
+
mode: collaboration
|
|
174
|
+
packet_kind: pr
|
|
175
|
+
gate_ids:
|
|
176
|
+
- watch_select
|
|
177
|
+
|
|
178
|
+
external_pre_open:
|
|
179
|
+
description: Example pre-open profile.
|
|
180
|
+
mode: collaboration
|
|
181
|
+
packet_kind: pr
|
|
182
|
+
gate_ids:
|
|
183
|
+
- viability_gate
|
|
184
|
+
- overlap_gate
|
|
185
|
+
|
|
186
|
+
external_local_readiness:
|
|
187
|
+
description: Example local-readiness profile.
|
|
188
|
+
mode: collaboration
|
|
189
|
+
packet_kind: pr
|
|
190
|
+
gate_ids:
|
|
191
|
+
- local_gate
|
|
192
|
+
- ready_to_draft
|
|
193
|
+
- pr_body_preflight
|
|
194
|
+
|
|
195
|
+
external_draft_transition:
|
|
196
|
+
description: Example draft transition profile.
|
|
197
|
+
mode: collaboration
|
|
198
|
+
packet_kind: pr
|
|
199
|
+
gate_ids:
|
|
200
|
+
- draft_pr_transition
|
|
201
|
+
|
|
202
|
+
external_draft_lifecycle:
|
|
203
|
+
description: Example draft lifecycle profile.
|
|
204
|
+
mode: collaboration
|
|
205
|
+
packet_kind: pr
|
|
206
|
+
gate_ids:
|
|
207
|
+
- draft_ci
|
|
208
|
+
- ready_for_review
|
|
209
|
+
|
|
210
|
+
external_full_flow:
|
|
211
|
+
description: Example full-flow profile.
|
|
212
|
+
mode: collaboration
|
|
213
|
+
packet_kind: pr
|
|
214
|
+
gate_ids:
|
|
215
|
+
- watch_select
|
|
216
|
+
- viability_gate
|
|
217
|
+
- overlap_gate
|
|
218
|
+
- local_gate
|
|
219
|
+
- ready_to_draft
|
|
220
|
+
- pr_body_preflight
|
|
221
|
+
- draft_pr_transition
|
|
222
|
+
- draft_ci
|
|
223
|
+
- ready_for_review
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
version: "1"
|
|
2
|
+
|
|
3
|
+
project:
|
|
4
|
+
name: sunflower-coda
|
|
5
|
+
repo_root: .
|
|
6
|
+
canonical_paths:
|
|
7
|
+
code: sunflower_lean/
|
|
8
|
+
analysis: analysis/
|
|
9
|
+
docs: docs/
|
|
10
|
+
board_json: analysis/problem857_counting_gateboard.json
|
|
11
|
+
board_md: docs/PROBLEM857_COUNTING_OPS_BOARD.md
|
|
12
|
+
scope_config: orchestrator/v2/scopes/problem_857.yaml
|
|
13
|
+
|
|
14
|
+
runtime:
|
|
15
|
+
shell: /bin/bash
|
|
16
|
+
default_timeout_sec: 900
|
|
17
|
+
artifacts_root: orp/artifacts
|
|
18
|
+
|
|
19
|
+
packet:
|
|
20
|
+
default_kind: problem_scope
|
|
21
|
+
output_dir: orp/packets
|
|
22
|
+
write_markdown: true
|
|
23
|
+
deterministic_mode: true
|
|
24
|
+
|
|
25
|
+
lifecycle:
|
|
26
|
+
claim_status_map:
|
|
27
|
+
Draft: draft
|
|
28
|
+
In review: ready
|
|
29
|
+
Verified: reviewed
|
|
30
|
+
Blocked: blocked
|
|
31
|
+
Retracted: retracted
|
|
32
|
+
atom_status_map:
|
|
33
|
+
todo: draft
|
|
34
|
+
in_progress: ready
|
|
35
|
+
blocked: blocked
|
|
36
|
+
done: reviewed
|
|
37
|
+
claim_level_values:
|
|
38
|
+
- Exact
|
|
39
|
+
- Verified
|
|
40
|
+
- Heuristic
|
|
41
|
+
- Conjecture
|
|
42
|
+
|
|
43
|
+
atomic_board:
|
|
44
|
+
enabled: true
|
|
45
|
+
board_path: analysis/problem857_counting_gateboard.json
|
|
46
|
+
refresh_command: python3 scripts/problem857_ops_board.py refresh --write-md --sync-json
|
|
47
|
+
ready_command: python3 scripts/problem857_ops_board.py ready
|
|
48
|
+
set_atom_command_template: python3 scripts/problem857_ops_board.py set-atom {atom_id} --status {status}
|
|
49
|
+
|
|
50
|
+
gates:
|
|
51
|
+
- id: board_refresh
|
|
52
|
+
description: Refresh board snapshot before reading ready/dependency state.
|
|
53
|
+
phase: scope_lock
|
|
54
|
+
command: python3 scripts/problem857_ops_board.py refresh --write-md --sync-json
|
|
55
|
+
pass:
|
|
56
|
+
exit_codes: [0]
|
|
57
|
+
evidence:
|
|
58
|
+
include_stdout: true
|
|
59
|
+
include_stderr: false
|
|
60
|
+
paths:
|
|
61
|
+
- analysis/problem857_counting_gateboard.json
|
|
62
|
+
- docs/PROBLEM857_COUNTING_OPS_BOARD.md
|
|
63
|
+
on_fail: stop
|
|
64
|
+
|
|
65
|
+
- id: board_ready_queue
|
|
66
|
+
description: Confirm atomic ready queue can be computed from dependency graph.
|
|
67
|
+
phase: structure_kernel
|
|
68
|
+
command: python3 scripts/problem857_ops_board.py ready
|
|
69
|
+
pass:
|
|
70
|
+
exit_codes: [0]
|
|
71
|
+
stdout_must_contain:
|
|
72
|
+
- ready_atoms=
|
|
73
|
+
evidence:
|
|
74
|
+
include_stdout: true
|
|
75
|
+
include_stderr: true
|
|
76
|
+
on_fail: mark_blocked
|
|
77
|
+
|
|
78
|
+
- id: spec_faithfulness
|
|
79
|
+
description: Enforce theorem-cycle semantic completeness contract.
|
|
80
|
+
phase: quant_assembly
|
|
81
|
+
command: python3 orchestrator/problem857_public_spec_check.py --run-id {run_id} --expect-starter-scaffold true
|
|
82
|
+
pass:
|
|
83
|
+
exit_codes: [0]
|
|
84
|
+
evidence:
|
|
85
|
+
include_stdout: true
|
|
86
|
+
include_stderr: true
|
|
87
|
+
paths:
|
|
88
|
+
- orchestrator/logs/{run_id}/SPEC_CHECK.json
|
|
89
|
+
on_fail: mark_blocked
|
|
90
|
+
|
|
91
|
+
- id: lean_build_balance
|
|
92
|
+
description: Verify deterministic Lean build for Balance module.
|
|
93
|
+
phase: interface_lift
|
|
94
|
+
command: lake build SunflowerLean.Balance
|
|
95
|
+
working_dir: sunflower_lean
|
|
96
|
+
timeout_sec: 1200
|
|
97
|
+
pass:
|
|
98
|
+
exit_codes: [0]
|
|
99
|
+
evidence:
|
|
100
|
+
include_stdout: true
|
|
101
|
+
include_stderr: true
|
|
102
|
+
on_fail: stop
|
|
103
|
+
|
|
104
|
+
- id: route_frontier
|
|
105
|
+
description: Verify strict/loose route status visibility for problem scope.
|
|
106
|
+
phase: verification
|
|
107
|
+
command: python3 scripts/frontier_status.py --problem 857
|
|
108
|
+
pass:
|
|
109
|
+
exit_codes: [0]
|
|
110
|
+
stdout_must_contain:
|
|
111
|
+
- strict
|
|
112
|
+
evidence:
|
|
113
|
+
include_stdout: true
|
|
114
|
+
include_stderr: true
|
|
115
|
+
on_fail: mark_blocked
|
|
116
|
+
|
|
117
|
+
profiles:
|
|
118
|
+
sunflower_problem857_discovery:
|
|
119
|
+
description: Atomic problem-scope discovery loop for Problem 857.
|
|
120
|
+
mode: discovery
|
|
121
|
+
packet_kind: problem_scope
|
|
122
|
+
gate_ids:
|
|
123
|
+
- board_refresh
|
|
124
|
+
- board_ready_queue
|
|
125
|
+
- spec_faithfulness
|
|
126
|
+
- lean_build_balance
|
|
127
|
+
- route_frontier
|
|
128
|
+
|
|
129
|
+
sunflower_collaborator:
|
|
130
|
+
description: Optional PR prep flow while preserving same canonical gates.
|
|
131
|
+
mode: collaboration
|
|
132
|
+
packet_kind: pr
|
|
133
|
+
gate_ids:
|
|
134
|
+
- spec_faithfulness
|
|
135
|
+
- lean_build_balance
|
|
136
|
+
- route_frontier
|
|
137
|
+
|
|
138
|
+
sunflower_reviewer:
|
|
139
|
+
description: Optional artifact triage and validation flow.
|
|
140
|
+
mode: review
|
|
141
|
+
packet_kind: verification
|
|
142
|
+
gate_ids:
|
|
143
|
+
- board_refresh
|
|
144
|
+
- route_frontier
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
version: "1"
|
|
2
|
+
|
|
3
|
+
project:
|
|
4
|
+
name: sunflower-coda-live-compare
|
|
5
|
+
repo_root: .
|
|
6
|
+
canonical_paths:
|
|
7
|
+
board_857_json: /path/to/sunflower-coda/repo/analysis/problem857_counting_gateboard.json
|
|
8
|
+
board_20_json: /path/to/sunflower-coda/repo/analysis/problem20_k3_gateboard.json
|
|
9
|
+
board_367_json: /path/to/sunflower-coda/repo/analysis/problem367_sharp_gateboard.json
|
|
10
|
+
|
|
11
|
+
runtime:
|
|
12
|
+
shell: /bin/bash
|
|
13
|
+
default_timeout_sec: 1200
|
|
14
|
+
artifacts_root: orp/artifacts
|
|
15
|
+
|
|
16
|
+
packet:
|
|
17
|
+
default_kind: problem_scope
|
|
18
|
+
output_dir: orp/packets
|
|
19
|
+
write_markdown: true
|
|
20
|
+
deterministic_mode: true
|
|
21
|
+
|
|
22
|
+
lifecycle:
|
|
23
|
+
claim_status_map:
|
|
24
|
+
Draft: draft
|
|
25
|
+
In review: ready
|
|
26
|
+
Verified: reviewed
|
|
27
|
+
Blocked: blocked
|
|
28
|
+
Retracted: retracted
|
|
29
|
+
atom_status_map:
|
|
30
|
+
todo: draft
|
|
31
|
+
in_progress: ready
|
|
32
|
+
blocked: blocked
|
|
33
|
+
done: reviewed
|
|
34
|
+
claim_level_values:
|
|
35
|
+
- Exact
|
|
36
|
+
- Verified
|
|
37
|
+
- Heuristic
|
|
38
|
+
- Conjecture
|
|
39
|
+
|
|
40
|
+
gates:
|
|
41
|
+
- id: p857_board_show
|
|
42
|
+
description: Problem 857 board show snapshot.
|
|
43
|
+
phase: verification
|
|
44
|
+
command: python3 scripts/problem857_ops_board.py show
|
|
45
|
+
working_dir: /path/to/sunflower-coda/repo
|
|
46
|
+
pass:
|
|
47
|
+
exit_codes: [0]
|
|
48
|
+
stdout_must_contain:
|
|
49
|
+
- route=counting_uniform
|
|
50
|
+
- route=container_v2
|
|
51
|
+
- ticket=T6
|
|
52
|
+
- ready_atoms=
|
|
53
|
+
|
|
54
|
+
- id: p857_board_ready
|
|
55
|
+
description: Problem 857 ready queue snapshot.
|
|
56
|
+
phase: verification
|
|
57
|
+
command: python3 scripts/problem857_ops_board.py ready
|
|
58
|
+
working_dir: /path/to/sunflower-coda/repo
|
|
59
|
+
pass:
|
|
60
|
+
exit_codes: [0]
|
|
61
|
+
stdout_must_contain:
|
|
62
|
+
- ready_atoms=
|
|
63
|
+
|
|
64
|
+
- id: p857_frontier
|
|
65
|
+
description: Problem 857 strict/loose route status.
|
|
66
|
+
phase: verification
|
|
67
|
+
command: python3 scripts/frontier_status.py --problem 857
|
|
68
|
+
working_dir: /path/to/sunflower-coda/repo
|
|
69
|
+
pass:
|
|
70
|
+
exit_codes: [0]
|
|
71
|
+
stdout_must_contain:
|
|
72
|
+
- "== Strict Routes (857) =="
|
|
73
|
+
- counting_uniform
|
|
74
|
+
- container
|
|
75
|
+
|
|
76
|
+
- id: p20_board_show
|
|
77
|
+
description: Problem 20 board show snapshot.
|
|
78
|
+
phase: verification
|
|
79
|
+
command: python3 scripts/problem20_ops_board.py show
|
|
80
|
+
working_dir: /path/to/sunflower-coda/repo
|
|
81
|
+
pass:
|
|
82
|
+
exit_codes: [0]
|
|
83
|
+
stdout_must_contain:
|
|
84
|
+
- route=uniform_prize
|
|
85
|
+
- route=uniform_prize_final_k3
|
|
86
|
+
- ticket=T6
|
|
87
|
+
- ready_atoms=
|
|
88
|
+
|
|
89
|
+
- id: p20_board_ready
|
|
90
|
+
description: Problem 20 ready queue snapshot.
|
|
91
|
+
phase: verification
|
|
92
|
+
command: python3 scripts/problem20_ops_board.py ready
|
|
93
|
+
working_dir: /path/to/sunflower-coda/repo
|
|
94
|
+
pass:
|
|
95
|
+
exit_codes: [0]
|
|
96
|
+
stdout_must_contain:
|
|
97
|
+
- ready_atoms=
|
|
98
|
+
|
|
99
|
+
- id: p20_frontier
|
|
100
|
+
description: Problem 20 strict/loose route status.
|
|
101
|
+
phase: verification
|
|
102
|
+
command: python3 scripts/frontier_status.py --problem 20
|
|
103
|
+
working_dir: /path/to/sunflower-coda/repo
|
|
104
|
+
pass:
|
|
105
|
+
exit_codes: [0]
|
|
106
|
+
stdout_must_contain:
|
|
107
|
+
- "== Strict Routes (20) =="
|
|
108
|
+
- uniform_prize
|
|
109
|
+
|
|
110
|
+
- id: p367_board_show
|
|
111
|
+
description: Problem 367 board show snapshot.
|
|
112
|
+
phase: verification
|
|
113
|
+
command: python3 scripts/problem367_ops_board.py show
|
|
114
|
+
working_dir: /path/to/sunflower-coda/repo
|
|
115
|
+
pass:
|
|
116
|
+
exit_codes: [0]
|
|
117
|
+
stdout_must_contain:
|
|
118
|
+
- route=sieve_weighted_tail
|
|
119
|
+
- route=full
|
|
120
|
+
- ticket=T5
|
|
121
|
+
- ready_atoms=
|
|
122
|
+
|
|
123
|
+
- id: p367_board_ready
|
|
124
|
+
description: Problem 367 ready queue snapshot.
|
|
125
|
+
phase: verification
|
|
126
|
+
command: python3 scripts/problem367_ops_board.py ready --allow-no-go
|
|
127
|
+
working_dir: /path/to/sunflower-coda/repo
|
|
128
|
+
pass:
|
|
129
|
+
exit_codes: [0]
|
|
130
|
+
stdout_must_contain:
|
|
131
|
+
- no_go_active=
|
|
132
|
+
- ready_atoms=
|
|
133
|
+
|
|
134
|
+
- id: p367_frontier
|
|
135
|
+
description: Problem 367 strict/loose route status.
|
|
136
|
+
phase: verification
|
|
137
|
+
command: python3 scripts/frontier_status.py --problem 367
|
|
138
|
+
working_dir: /path/to/sunflower-coda/repo
|
|
139
|
+
pass:
|
|
140
|
+
exit_codes: [0]
|
|
141
|
+
stdout_must_contain:
|
|
142
|
+
- "== Strict Routes (367) =="
|
|
143
|
+
- sieve_weighted_tail
|
|
144
|
+
- "full:"
|
|
145
|
+
|
|
146
|
+
profiles:
|
|
147
|
+
sunflower_live_compare_857:
|
|
148
|
+
description: Side-by-side compare profile for Problem 857.
|
|
149
|
+
mode: discovery
|
|
150
|
+
packet_kind: problem_scope
|
|
151
|
+
atomic_board:
|
|
152
|
+
enabled: true
|
|
153
|
+
board_path: /path/to/sunflower-coda/repo/analysis/problem857_counting_gateboard.json
|
|
154
|
+
gate_ids:
|
|
155
|
+
- p857_board_show
|
|
156
|
+
- p857_board_ready
|
|
157
|
+
- p857_frontier
|
|
158
|
+
|
|
159
|
+
sunflower_live_compare_20:
|
|
160
|
+
description: Side-by-side compare profile for Problem 20.
|
|
161
|
+
mode: discovery
|
|
162
|
+
packet_kind: problem_scope
|
|
163
|
+
atomic_board:
|
|
164
|
+
enabled: true
|
|
165
|
+
board_path: /path/to/sunflower-coda/repo/analysis/problem20_k3_gateboard.json
|
|
166
|
+
gate_ids:
|
|
167
|
+
- p20_board_show
|
|
168
|
+
- p20_board_ready
|
|
169
|
+
- p20_frontier
|
|
170
|
+
|
|
171
|
+
sunflower_live_compare_367:
|
|
172
|
+
description: Side-by-side compare profile for Problem 367.
|
|
173
|
+
mode: discovery
|
|
174
|
+
packet_kind: problem_scope
|
|
175
|
+
atomic_board:
|
|
176
|
+
enabled: true
|
|
177
|
+
board_path: /path/to/sunflower-coda/repo/analysis/problem367_sharp_gateboard.json
|
|
178
|
+
gate_ids:
|
|
179
|
+
- p367_board_show
|
|
180
|
+
- p367_board_ready
|
|
181
|
+
- p367_frontier
|