Repository navigation
fix(publication): route GitHub operations through gh - #96
Conversation
Code Cycle initial review — PR #96[CCR-20260925-001] · manual · anthropic/?→claude-opus-5-5 · ? · schema:1Verdict: Summary and scopeThis PR implements issue #76. When the code host is GitHub and Reviewed diff:
Every acceptance criterion in #76 is met: the rule is in all four skills, the validator passes, a test asserts that the prompt names Findings[REV-001] · low · open · - · blocks:no — No
|
| Command | Result |
|---|---|
python3 scripts/validate-package.py (PR head) |
VALID: 14 skills (6 cycle, 8 supporting), shared sections in sync, cross-agent manifests aligned |
python3 -m unittest discover -s tests (PR head) |
OK |
python3 -m unittest -v tests.test_cycle, publication and policy tests |
all 6 ok, including test_each_stage_is_told_its_publication_policy |
PR head merged with the current origin/main (29ad33d) in a temporary worktree, then validator + full suite |
merges cleanly; VALID; Ran 699 tests … OK |
Verification was by execution for the runtime prompt (cycle.py) and for the validator's shared-section checks.
Unverified
- Whether agents follow the skill text: the four
SKILL.mdparagraphs are instructions to agents, not code, so this was checked by reading only. Confirming it would need a real Codex publishing stage in which a connector returns a 403, which this environment cannot run. - The Codex connector scenario from Allow Claude in read-only roles via isolated worktrees #74 was not reproduced.
CI
gh pr checks 96 → 4 passed, 0 failed, 0 pending. The checks are the two Validate package workflow runs, each with the jobs Skills, manifests, and Bash installer and PowerShell installer. The PR's check rollup shows no expected check missing. release.yml runs only on main, so it does not apply to this PR. The PR is not a draft. Merge state is BEHIND main by one commit (#95); it is mergeable, and the merged tree passed the validator and the full test suite locally.
Residual risks
- The 403/404 fallback trusts that
gh's identity is allowed to perform the operation the connector was refused. That holds under the runtime preflight, but in a manual run nothing checks it before the retry. TheBLOCKEDreport that names the failed tool is what makes the retry auditable. - The rule is enforced by the prompt, not by the runtime. The
publication_policy()docstring already says this, and it applies to the new rule as well. - REV-002 leaves directly invoked passes exposed to the Allow Claude in read-only roles via isolated worktrees #74 failure mode.
Verdict
APPROVED: the reviewed head equals the current head, every check passed, and no open finding has blocks:yes. REV-001 and REV-002 are optional follow-ups.
Code Cycle rereview — PR #96[CCR-20260925-002] · manual · anthropic/?→claude-opus-5-5 · ? · schema:1Previous run: Verdict: What changed since the previous reviewThere is one new commit,
I re-read the whole accumulated diff. The review from Previous findings[REV-001] · low · open · - · blocks:no — No
|
| Command | Result |
|---|---|
Compare the +/- lines of 73508f5..11de737 with those of 29ad33d..24cd982 |
identical |
python3 scripts/validate-package.py |
VALID: 14 skills (6 cycle, 8 supporting), shared sections in sync, cross-agent manifests aligned |
python3 -m unittest discover -s tests |
Ran 699 tests … OK |
python3 -m unittest tests.test_cycle.RoleWorkspacePolicyTests.test_each_stage_is_told_its_publication_policy |
OK |
Unverified
These are unchanged from the previous review:
- The four
SKILL.mdparagraphs are instructions to agents, not code, so they were checked by reading only. - The Codex connector 403 from Allow Claude in read-only roles via isolated worktrees #74 was not reproduced.
CI
gh pr checks 96 at 24cd982: 4 passed, 0 failed, 0 pending. The checks are the two Validate package runs, each with the jobs Skills, manifests, and Bash installer and PowerShell installer. The PR is not a draft, and mergeStateStatus is CLEAN. Right after the update, the state briefly read BLOCKED while those checks were still pending.
Residual risks
These are unchanged:
- The 403/404 fallback to
ghis checked by the runtime preflight only, not in manual runs. - The rule is enforced by the prompt, not by the runtime.
- REV-002 leaves directly invoked passes exposed to the Allow Claude in read-only roles via isolated worktrees #74 failure mode.
Verdict
APPROVED: the reviewed head equals the current head (24cd982), every check passed, every previous finding was classified, and no open finding has blocks:yes.
Summary
ghacross the four publishing skills and runtime prompts.gh, and name the failed tool if blocked.Issue: #76
Verification
python3 scripts/validate-package.pypython3 -m unittest discover -s tests -v