Repository navigation
feat(resolve): prepare local resolutions before publication - #567
Conversation
|
Implemented #504 and published the result on Verification uses The single code-host check snapshot for head Documentation updated: |
[CCR-20261202-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2CHANGES_REQUESTED for head
Security: not a sensitive change, so the audit was skipped after triage. CI: 1 passed, 5 in progress (parallel policy, not waited for). Details, evidence, verification, CIScope: accumulated diff [REV-001] · medium · open · - · blocks:yes — Local branch accepts any completed resolve status as LOCAL_PREPAREDPath: [REV-002] · high · open · - · blocks:yes — Acceptance criteria 4-8 have no implementation or test evidencePath:
[REV-003] · low · open · - · blocks:no — Local-only resolve registers a publication that can never happenPath: Verification (executed here, foreground):
Criteria linked to a check: AC-1 (via Security triage: no changed path matches the mandatory minimum or the plan's CI (parallel policy, read once): Residual risk: runtime behaviour of local-only resume and publication was not run end to end, because it needs a live pull request and remote. |
[CCT-20261202-001] · cheap_coder · openai/gpt-6-luna→? · high · triaged:76f4e83cf3b00a528585d13c3b90909272bdd60b · schema:2RESOLVED on
CI snapshot on Review history, full findings, verification and receiptsEarlier review run: [CCR-20261202-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2[REV-001] · medium · resolved · valid · blocks:yes — Local branch accepts any completed resolve status as LOCAL_PREPAREDPath: [REV-002] · high · resolved · valid · blocks:yes — Acceptance criteria 4-8 have no implementation or test evidencePath: [REV-003] · low · resolved · valid · blocks:no — Local-only resolve registers a publication that can never happenPath: Verification (agent-reported, tests.version=2){
"version": 2,
"conclusion": "verified",
"boundary": "required",
"checks": [
{"id":"configured-test","command":"python3 -m unittest discover -s tests","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":["AC-1","AC-2","AC-3","AC-4","AC-5","AC-6","AC-7","AC-8"],"level":"test","provenance":"project","reason":"configured test command","head_sha":"6eb2cbe3b562884025450d9afa119e058365bfbf","result":"pass","evidence":[{"command":"python3 -m unittest discover -s tests","exit_code":0,"executed":2899}],"attempts":[]},
{"id":"package-validator","command":"python3 scripts/validate-package.py","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"static","provenance":"project","reason":"configured verification command","head_sha":"6eb2cbe3b562884025450d9afa119e058365bfbf","result":"pass","evidence":[{"command":"python3 scripts/validate-package.py","exit_code":0,"executed":null}],"attempts":[]},
{"id":"unittest","command":"python3 -m unittest","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"test","provenance":"project","reason":"configured verification command","head_sha":"6eb2cbe3b562884025450d9afa119e058365bfbf","result":"pass","evidence":[{"command":"python3 -m unittest","exit_code":0,"executed":0}],"attempts":[]},
{"id":"basedpyright","command":"basedpyright","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"static","provenance":"project","reason":"configured verification command","head_sha":"6eb2cbe3b562884025450d9afa119e058365bfbf","result":"pass","evidence":[{"command":"basedpyright","exit_code":0,"executed":null}],"attempts":[]},
{"id":"cli-help-boundary","command":"python3 scripts/run_cycle.py --help","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"boundary","provenance":"project","reason":"CLI boundary verification","head_sha":"6eb2cbe3b562884025450d9afa119e058365bfbf","result":"pass","evidence":[{"command":"python3 scripts/run_cycle.py --help","exit_code":0,"executed":null}],"attempts":[]}
]
}Documentation reviewed: |
[CCR-20261202-002] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2CHANGES_REQUESTED for head
Security: not a sensitive change, audit skipped after triage. CI: 1 passed, 5 in progress (parallel policy, not waited for). Details, evidence, verification, CIScope: accumulated diff [REV-001] · medium · resolved · valid · blocks:yes — Local branch accepts any completed resolve status as LOCAL_PREPAREDPath: [REV-002] · high · open · - · blocks:yes — Acceptance criteria 4-8 have no implementation or test evidencePath:
[REV-003] · low · resolved · valid · blocks:no — Local-only resolve registers a publication that can never happenPath: [REV-004] · low · open · - · blocks:no — Existing resume-attribution test now covers only the local-only pathPath: Verification (executed here, foreground; agent-reported, {"version": 2, "conclusion": "not_verified", "checks": [
{"id":"configured-test","command":"python3 -m unittest discover -s tests","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":["AC-1","AC-2","AC-3","AC-4","AC-5","AC-6","AC-7","AC-8"],"level":"test","provenance":"project","reason":"configured test command","head_sha":"6eb2cbe3b562884025450d9afa119e058365bfbf","result":"pass","evidence":{"exit_code":0,"executed":2899},"cause":null,"attempts":[]},
{"id":"package-validator","command":"python3 scripts/validate-package.py","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"static","provenance":"project","reason":"configured verification command","head_sha":"6eb2cbe3b562884025450d9afa119e058365bfbf","result":"pass","evidence":{"exit_code":0,"executed":null},"cause":null,"attempts":[]},
{"id":"unittest","command":"python3 -m unittest","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"test","provenance":"project","reason":"configured verification command","head_sha":"6eb2cbe3b562884025450d9afa119e058365bfbf","result":"pass","evidence":{"exit_code":0,"executed":0},"cause":null,"attempts":[]},
{"id":"basedpyright","command":"basedpyright","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"static","provenance":"project","reason":"configured verification command","head_sha":"6eb2cbe3b562884025450d9afa119e058365bfbf","result":"pass","evidence":{"exit_code":0,"executed":null},"cause":null,"attempts":[]},
{"id":"cli-help-boundary","command":"python3 scripts/run_cycle.py --help","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"boundary","provenance":"project","reason":"CLI boundary verification","head_sha":"6eb2cbe3b562884025450d9afa119e058365bfbf","result":"unverified","evidence":{"exit_code":null,"executed":null},"cause":"the rereview command table refused python3 scripts/run_cycle.py --help ([layer=toolkit_hook], not in the table); no authorized path remained","attempts":["ran the command once; refused"]}
]}
Security triage: no changed path matches the mandatory minimum, and the plan's CI (parallel policy, read once, not waited for): Residual risk: the local-only success path was not run end to end here, because it needs a live pull request and remote. |
[CCR-20261202-003] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2BLOCKED for head
Security: not a sensitive change, audit skipped after triage. CI: all 7 checks passed on this head. Details, evidence, verification, CIScope: accumulated diff [REV-001] · medium · resolved · valid · blocks:yes — Local branch accepts any completed resolve status as LOCAL_PREPAREDNo change since the previous round; the guards in [REV-002] · high · resolved · - · blocks:yes — Acceptance criteria 4-8 have no implementation or test evidencePath: [REV-003] · low · resolved · valid · blocks:no — Local-only resolve registers a publication that can never happenNo change; the outbox stays empty in the local-only tests. [REV-004] · low · resolved · - · blocks:no — Existing resume-attribution test now covers only the local-only pathFix: [REV-005] · low · open · - · blocks:no — AC-4 and the server-rejection race have no dedicated evidencePath: Verification (executed here, foreground; agent-reported, {"version": 2, "conclusion": "not_verified", "checks": [
{"id":"configured-test","command":"python3 -m unittest discover -s tests","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":["AC-1","AC-2","AC-3","AC-4","AC-5","AC-6","AC-7","AC-8"],"level":"test","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"unverified","evidence":{"exit_code":null,"executed":null},"cause":"the run outlasted the 600 s foreground limit, moved to the background and had not printed its summary when this stage ended; the first 600 s showed no failure","attempts":["ran once in the foreground","polled its output while it ran in the background"]},
{"id":"package-validator","command":"python3 scripts/validate-package.py","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"static","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"pass","evidence":{"exit_code":0,"executed":null},"cause":null,"attempts":[]},
{"id":"unittest","command":"python3 -m unittest","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"test","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"pass","evidence":{"exit_code":0,"executed":0},"cause":null,"attempts":[]},
{"id":"basedpyright","command":"basedpyright","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"static","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"pass","evidence":{"exit_code":0,"executed":null},"cause":null,"attempts":[]},
{"id":"cli-help-boundary","command":"sha256:641d5dc8b8060ca85743b85279f312c5a47fd4c0d4a6b0ad2df131a6eb01683e","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"boundary","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"unverified","evidence":{"exit_code":null,"executed":null},"cause":"the check's command is an opaque digest the rereview command table does not map; the implementer reported `python3 scripts/run_cycle.py --help` passing","attempts":["did not run an unmapped command"]}
]}Focused run (not a replacement for Security triage: no changed path matches the mandatory minimum, and CI (parallel policy, read once): Residual risk: the local-only success path ran only against fixtures; resume publication was not run against a live pull request and remote. |
[CCR-20261202-004] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2APPROVED for head
Security: not a sensitive change, audit skipped after triage. CI: all 7 checks passed on this head. Details, evidence, verification, CIScope: accumulated diff [REV-001] · medium · resolved · valid · blocks:yes — Local branch accepts any completed resolve status as LOCAL_PREPAREDNo change; guards in [REV-002] · high · resolved · - · blocks:yes — Acceptance criteria 4-8 have no implementation or test evidenceNo change. Tests drive the [REV-003] · low · resolved · valid · blocks:no — Local-only resolve registers a publication that can never happenNo change; the outbox stays empty in the local-only tests. [REV-004] · low · resolved · - · blocks:no — Existing resume-attribution test now covers only the local-only pathNo change; the original test and the local-only variant both exist. [REV-005] · low · open · - · blocks:no — AC-4 and the server-rejection race have no dedicated evidencePath: Verification (executed here; agent-reported, {"version": 2, "conclusion": "not_verified", "checks": [
{"id":"configured-test","command":"python3 -m unittest discover -s tests","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":["AC-1","AC-2","AC-3","AC-4","AC-5","AC-6","AC-7","AC-8"],"level":"test","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"pass","evidence":{"exit_code":0,"executed":2906},"cause":null,"attempts":["outlasted the 600 s foreground limit, moved to the background and finished: Ran 2906 tests in 1147 s, OK (skipped=1)"]},
{"id":"package-validator","command":"python3 scripts/validate-package.py","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"static","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"pass","evidence":{"exit_code":0,"executed":null},"cause":null,"attempts":[]},
{"id":"unittest","command":"python3 -m unittest","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"test","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"pass","evidence":{"exit_code":0,"executed":0},"cause":null,"attempts":[]},
{"id":"basedpyright","command":"basedpyright","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"static","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"pass","evidence":{"exit_code":0,"executed":null},"cause":null,"attempts":[]},
{"id":"cli-help-boundary","command":"sha256:641d5dc8b8060ca85743b85279f312c5a47fd4c0d4a6b0ad2df131a6eb01683e","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"boundary","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"unverified","evidence":{"exit_code":null,"executed":null},"cause":"the check's command is an opaque digest the rereview command table does not map; `python3 scripts/run_cycle.py --help` was refused by the command table ([layer=toolkit_hook])","attempts":["ran python3 scripts/run_cycle.py --help once; refused"]}
]}Focused run (in addition to Security triage: no changed path matches the mandatory minimum, and CI (parallel policy, read once): Residual risk: the local-only success path ran only against fixtures; resume publication was not run against a live pull request and remote. Earlier run lines: |
[CCR-20261202-005] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2APPROVED for head
Security: not a sensitive change, audit skipped after triage. CI: all 7 checks passed on this head. Details, evidence, verification, CIScope: accumulated diff [REV-001] · medium · resolved · valid · blocks:yes — Local branch accepts any completed resolve status as LOCAL_PREPAREDNo change; guards in [REV-002] · high · resolved · - · blocks:yes — Acceptance criteria 4-8 have no implementation or test evidenceNo change. Tests drive the [REV-003] · low · resolved · valid · blocks:no — Local-only resolve registers a publication that can never happenNo change; the outbox stays empty in the local-only tests. [REV-004] · low · resolved · - · blocks:no — Existing resume-attribution test now covers only the local-only pathNo change; the original test and the local-only variant both exist. [REV-005] · low · open · - · blocks:no — AC-4 and the server-rejection race have no dedicated evidencePath: Verification (executed here; agent-reported, {"version": 2, "conclusion": "not_verified", "checks": [
{"id":"configured-test","command":"python3 -m unittest discover -s tests","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":["AC-1","AC-2","AC-3","AC-4","AC-5","AC-6","AC-7","AC-8"],"level":"test","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"pass","evidence":{"exit_code":0,"executed":2906},"cause":null,"attempts":["outlasted the 600 s foreground limit, moved to the background and finished: Ran 2906 tests in 686 s, OK (skipped=1)"]},
{"id":"package-validator","command":"python3 scripts/validate-package.py","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"static","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"pass","evidence":{"exit_code":0,"executed":null},"cause":null,"attempts":[]},
{"id":"unittest","command":"python3 -m unittest","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"test","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"pass","evidence":{"exit_code":0,"executed":0},"cause":null,"attempts":[]},
{"id":"basedpyright","command":"basedpyright","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"static","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"pass","evidence":{"exit_code":0,"executed":null},"cause":null,"attempts":[]},
{"id":"cli-help-boundary","command":"sha256:641d5dc8b8060ca85743b85279f312c5a47fd4c0d4a6b0ad2df131a6eb01683e","executor":"codex","profile":"cheap_coder","context":"project","required":true,"criteria":[],"level":"boundary","provenance":"runtime","reason":"runtime","head_sha":"0f8ad3dc8dc4c410aad37cda8b84dc2bfe8831b0","result":"unverified","evidence":{"exit_code":null,"executed":null},"cause":"the check's command is an opaque digest the rereview command table does not map; `python3 scripts/run_cycle.py --help` was refused by the command table ([layer=toolkit_hook]) in an earlier round","attempts":["did not run an unmapped command"]}
]}Security triage: no changed path matches the mandatory minimum, and CI (parallel policy, read once): Residual risk: the local-only success path ran only against fixtures; resume publication was not run against a live pull request and remote. |
Summary
Implements #504 by adding an explicit local-only resolve preparation path. It records a
LOCAL_PREPAREDcandidate only after required local verification and runtime checks bind its commit SHA, tree SHA, and execution-plan receipt to the clean linked worktree. The durable candidate record includes frozen checks/results and safe runtime environment metadata. A normal resume reconciles the pull request and candidate before retrying publication.Diagnosis
This is a feature request. The issue's hypothesis is confirmed: before this change,
--local-onlywas restricted to implementation rehearsal, while resolve completion required publication. The invariant is that local preparation must remain distinguishable from remotely appliedRESOLVEDand merge readiness, with evidence bound to the exact candidate and plan. Reproduction does not apply to a requested capability.Related work: #503 (durable checkpoints), #284 (in-sandbox publication recovery), and #491 (frozen verification) are closed and provide the foundations reused here. The related-symbol search was widened across the cycle, recovery, verification, and publication paths; no duplicate implementation was found.
Work units
WU-1scripts/,tests/,skills/cc-resolve-comments/SKILL.md,docs/Verification (agent-reported)
Checks were frozen before execution. The required configured test command covers AC-1 through AC-8 in the issue's listed order.
configured-testpython3 -m unittest discover -s testspackage-validatorpython3 scripts/validate-package.pyunittestpython3 -m unittestbasedpyrightbasedpyrightcli-help-boundarypython3 scripts/run_cycle.py --helpThe focused change is covered by the full local suite, and the real CLI entry point loaded successfully. Boundary verification was required and passed. These results are agent-reported, not code-host CI results. CI policy is
parallel; checks of the pushed head are reported separately below.Documentation reviewed
Updated
docs/execution-plan.md,docs/review-cycle.md,docs/role-workspace-policy.md,docs/workflows.md,docs/instrumentation.md, anddocs/skills.md. Also revieweddocs/README.md,README.md,CONTRIBUTING.md,AGENTS.md,SECURITY.md, the issue template, and relevant skill pages. No pull-request template exists, and no other page required a change.Refs #504.