All notable changes to ccmagic are documented here. The format follows Keep a Changelog, and the project follows Semantic Versioning.
- A change follow-up's acceptance criteria check only what its
## Changechanges. On reeve-dashboard PR #161 (RD-136) the review step filed RD-145 fortest/web/me.test.tsxand RD-146 fortest/web/stepper-review.test.tsx, each with the criterion "The test passes on 20 consecutive runs of the fullnpm testsuite" and the other file out of scope. Neither criterion could be met while the other flaky test was still in the suite, so RD-145's session fixedstepper-review.test.tsxtoo (commit 703e37e on PR #165), and RD-146, working on that file at the same time, hit a merge conflict./ccmagic:auto-ticketStep 6 now says a criterion never requires something## Out of scopeexcludes or a whole-suite result other known failures can block; a flaky test's criterion names the test and its file ("<test name>in<file>passes on N consecutive runs of the full suite; failures in other tests are reported in the PR, not fixed"), and follow-ups filed in one run are checked against each other so no ticket's criteria depend on a file another of them changes. ccm-followup-checkhas a new rule,criteria-whole-suite: an acceptance criterion of a change follow-up that asks for a whole-suite result fails unless it names a test file in backticks, with a message giving the scoped form. A whole-suite result is a phrase ("full ... suite", "whole suite", "entire suites", "all tests", "all unit tests", "all of the tests", "every test") with a pass word (pass, passes, green, succeed, ...), with the item's continuation lines joined. A test file has atest,tests,spec, or__tests__path segment or a test file name (a.test.ts,a_test.go,test_a.py,ATest.java); any other file does not scope the criterion, and a backticked command such asnpm testis not a file, so RD-145's criterion fails. With--carried-overthe rule is a warning, whatever the shape, so a draft an earlier run kept is still filed as it is. The cross-ticket check stays a rule in the skill./ccmagic:work-ticketStep 6: when meeting a criterion would mean changing something the ticket's out of scope section excludes, the work step does not make that change. It meets the criterion as far as the ticket's own change can, names the other failures in the PR body by test name, and in autonomous mode reports them as a follow-up. Such a criterion counts as addressed, so it is not aneeds-humanreason./ccmagic:review-ticketdoes not report it as missing or ask for the excluded change. A PR body that does not name the other failures yet gets a note that does not block, since a fix pass cannot edit the PR body; orchestrated, the work step reports them as afollow_ups:item startingother failures:, and Step 4g adds the line.- The PR description stays true after a later push. PR #165's description, written when the PR opened, still said the stepper-review failures "are left for a follow-up" after commit 703e37e fixed them, since no step read the description again.
/ccmagic:auto-ticketkeepsdescribed_head, the PR head the description was written for, only when the PR was created in this run (otherwise it compares fromorigin/{base}). A new Step 4g runs once after the feedback loop, before the finish step, whenever the PR head has moved past it or a step reported other failures: it reads the PR's head and base withgh pr view --json body,headRefOid,baseRefName, lists the commits up to that head withgit log --first-parent --no-merges(a conflict-resolving merge counts only for files the PR itself changes), and when one makes a line false or adds a change the description does not mention (a file outside the ticket's scope, a test touched, a follow-up no longer needed), or an other failure has no line, reads the body again and edits only those lines withgh pr edit --body-file -. An edit can restart checks throughpull_request.edited, so the run waits for CI once more as Step 4c does before finishing. Route-and-stop runs the same check before the parked note (contract §4 step 5). A failed read or edit is never a park: "Key autonomous decisions" says the description may be stale. The rules are inskills/pr/refresh-description.md, beside the PR skill that writes the description, and/ccmagic:prfollows them in place of creating a second PR when the branch already has one open.
- A change follow-up (one with no open decision) now carries what an intake grader needs to pass it (RV-175). Reeve's retro rule 3 counted 60 tickets that failed intake for a missing goal, scope, done check, or context, follow-ups among them (AIE-319: approximate line numbers and no clear done check). The description now has a
Goal: <one sentence>line right after the "Raised by ..." opener, a## Changesection with the one chosen approach that names the file in backticks (and the symbol), a## Out of scopesection with at least one line, and the## Acceptance criterialist as before; the opener's PR and the named file are its context./ccmagic:auto-ticketStep 6 states the shape, and its example follows it. The decision shape is unchanged. ccm-followup-checkrequires the new parts of a change description, with the rulesgoal-missing(the line after the opener is notGoal: ...),scope-missing,scope-empty, andchange-file-missing(no backticked file in## Change: a path with a/, a name with a known file extension such asbuild.gradle,application.properties, orMain.svelte, a dot name such as.gitignore, or a known extensionless name such asMakefileorLICENSE, each with an optional:linesuffix). A dotted symbol such asuser.idorconfig.getis not a file, and a bare*.jsonname counts only as a well-known root file (package.json,tsconfig.json, ...), sores.jsondoes not. Its output gainsold_shapeandwarnings. A change description with noGoal:line and no## Out of scopesection is in the shape before this release (old_shape: true): it fails ongoal-missingandscope-missing, unless the new flag--carried-overis given, when it passes with anold-shapewarning and the file is not required. Step 6 passes the flag only for a carried-over item whose earlier draft it reuses as kept, so an item a run before 3.31.0 left unfiled is still filed as it is, and itsFollow-up key:still matches for the duplicate search. A description with either new part is checked in full, with or without the flag.
/ccmagic:work-ticket,/ccmagic:pr-feedback, and/ccmagic:finish-ticketrun on their own no longer finish or hand off on a stale review (RV-178). Reeve's retro rule 18 counted 7 parks asreview-not-cleanbecause the review report covered an older head than the PR head after new commits landed (RD-97, RD-71, RD-28, AIE-351)./ccmagic:auto-tickethas re-reviewed after a late push since 3.15.0 (its Step 4e and 4f), but the three skills run standalone reviewed once and never compared heads. The rule is now inskills/work-ticket/review-head.md: after any push to the PR branch that followed the review (a fix of a finding, a fix for PR feedback, a merge of the base), read the PR head withgh pr view --json headRefOid, rerun/ccmagic:review-ticketon it (a delta report withreview_pass:andprevious_findings:when an earlier review exists), and confirm the new report'shead:equals the PR head and itsstatus:isclean. Afixable-findingsreview gets a fix loop bounded bymax_review_fix_passesinwork-ticketandpr-feedback, and is a stop infinish-ticket, which fixes nothing. A review of uncommitted changes covers the first push when that push committed exactly what it read, whatever its handshakehead:says, so a standalonework-ticketdoes not review the same changes twice. The checkout is brought to the PR head withgit checkout {headRefName},git fetch origin {headRefName}, andgit merge --ff-only FETCH_HEAD, never a baregit pull, which fails on a branch a sandbox pushed with no upstream; a failed fetch and a real divergence are reported separately.finish-ticketreads the newest posted review only from the login the run posts as, and falls back to the commit the report names when its block has nohead:.work-ticketruns the check after it opens the PR and after each later push, before it moves the ticket to In Review;pr-feedbackruns it on a top-level autonomous pass that pushed, before its handshake, and lists it in the interactive next steps;finish-ticketruns it in Step 3d before Step 5b, the merge, or the hand-off, and again after it pushes a conflict merge in Step 6, and reports aReview head:line under Reviews in its sanity check. An orchestratedfinish-ticketthat pushes a conflict merge used to merge a head no review had read, since Step 3d skips itself when orchestrated; it now returnsneeds-humaninstead of merging. To keepfinish-ticket/SKILL.mdunder 500 lines, its conflict handling and error table moved toskills/finish-ticket/merge-conflicts.mdandskills/finish-ticket/errors.md. In autonomous mode a review that cannot be brought to the PR head isneeds-human; interactively the skill names both commits and offers the rerun. Orchestrated runs (orchestrator:in the grounding block) skip the check, since the orchestrator already does it.
/ccmagic:auto-ticketfiles follow-ups on every outcome, a park included (RV-198). On cclens CCL-20 the run parked at its finish step with seven follow-ups from its review, and the PR and Linear comments listed them under "to file" without filing any: route-and-stop (contract §4) let a park only list them, although Step 6 said a parked run files them too. Route-and-stop now has a step 4, File the follow-ups, before it comments: it runs Step 6's follow-up routine, with the same duplicate search byFollow-up key:in open team tickets and earlier run summaries and the same "Also raised by run ..." comment on a match (RV-89), so the parked note's Follow-ups line and the run record'sfollow_upsgive each item's filed id, or a reason it was not filed. "To file" appears only under prompt-relay, which has no create API; those items carry the record reasonto file: no create API under prompt-relay. A failed create is still not a park: the item gets the reasoncreate failed: {error}and the run ends as it would have.- Every run, a rerun that does not review again included, also files the items an earlier run on the same ticket or PR left unfiled: those listed under "To file" in an earlier summary or parked note, or a run record
follow_upsentry withticket: nullwhosereasonstarts withto fileorcreate failed(Step 6, Carried over from earlier runs), with the same deduplication. A rerun that skipped review used to raise no items, so a parked run's list was never filed. A carried-over item is first checked at the current PR head (ororigin/{base}once the PR has merged) and dropped asfixed since run {earlier run_id}when the defect is gone. An entry withticket: nulland a reason that is none of the known don't-file reasons (already filed,already a ticket,duplicate of,fixed later in this run,fixed since run,too minor) is carried over too, since runs before 3.30.1 recorded a failed create's raw error. - A carried-over item that is already a ticket is dropped with no comment; "Also raised by run ..." is posted only for an item a step of this run raised. An item counts as filed when a ticket related to or mentioned on the ticket or PR carries its key or clearly matches it, so a ticket a human filed by hand retires it. Under prompt-relay a carried-over item is listed again only when no later note has listed it, so it repeats once at most.
- Every item without a ticket shows its
Follow-up key:in the summary and the parked note, and an item left for a human (to file, or create failed) gets its draft description in a<details>block, ready to paste. Run recordfollow_upsentries gainkey, and such entries alsodescription; a later run reuses both, so the key matches andccm-followup-checkpasses. Both keys are additive (Reeve's schema already acceptskeyand ignores keys it does not know).bin/ccm-followup-checkis unchanged. - A parked run runs the follow-up routine once, at route-and-stop step 4: its final status skips Step 6's routine, and a re-entry within one run reuses the ids it already filed.
/ccmagic:auto-ticketbrings the run's branch up to date with its base before it loads config. On 2026-11-21 two runs Reeve dispatched to Cyrus parked on stale checkouts, since Cyrus reuses a ticket's worktree (one a read-only refinement session made hours earlier, for one). On cclens CCL-20 the checkout predated the commit that added.claude/ccmagic.local.mdwithmerge_owner: reeve, so the run used the defaultmerge_owner: self, triedgh pr merge, and parked on the PreToolUse hook's refusal although the PR was clean. On CCL-39 the branch was two commits behind main and the PR conflicted with it. Step 0 now first runsccm-base-sync sync --push, which fetches the base (the PR's base branch, else the default branch) and, when the branch's history does not containorigin/{base}, merges it in: a merge, never a rebase or a force push, since the branch may back an open PR. A clean merge is kept, and pushed at once when origin already has the branch (a resumed run with an open PR, where the work step may push nothing new); a new branch gets it with the work's first push. A merge that conflicts is aborted, so config is never read from a half-merged tree; the run reads its project config fromorigin/{base}(ccm-context --config-ref), and a new Step 0b starts the merge again, runs one conflict fix pass on the work step (fix_source: conflict, rules inskills/work-ticket/base-conflict.md), and commits the merge, or undoes it and parks with the conflicted files named. The undo (abort) resets the tree to the HEAD from before the merge and removes files added since, whatever the fix pass edited, and fails loudly when it cannot verify a clean tree. A run never works on top of a merge in progress: the nextsyncundoes one an earlierbeginleft (a run stopped during its fix pass), and returnsin-progress, which parks the run, for any other merge, rebase, cherry-pick, or revert.- With no
.claude/ccmagic.local.mdin the checkout, the project config is read from the base branch's copy (origin/<base>, elseorigin/HEAD,origin/main, ororigin/master, local refs only), inccm-contextand every script and hook that reads config throughbin/ccm-lib.sh, so settings never fall back to the defaults because of an old checkout.merge_ownerandmerge_handoff_state, the keys that decide who merges, always come from the base branch's copy when it has one, whatever the checkout's copy says, so a branch (or a work step steered by ticket text) cannot setmerge_owner: selfand merge past Reeve: the PreToolUse merge guard,ccm-merge-gate,ccm-context, andccm-validateall read them that way. Every other key keeps the checkout's precedence. The base branch is resolved in one place,ccm_base_branchinbin/ccm-lib.sh(the PR's base, the default branch from gh,origin/HEAD,develop,main), whichccm-contextandccm-base-syncboth use.ccm-contextreports where it read the file in a newproject_configkey (working-tree, a ref, or null), and--config-ref REFreads REF's copy ahead of the checkout's. - A PR that conflicts with its base at the CI wait (Step 4c,
ccm-ci-statussaysconflicting) is no longer parked at once. The first time in a run, the orchestrator mergesorigin/{base}into the branch withccm-base-sync sync; a conflicting merge gets one conflict fix pass. Either way the merged head is validated (with Step 4b's fix attempts) and pushed. CI is then waited for again, and the moved head gets the 4f re-review. Only a secondconflicting, or a merge that cannot be made, parks.merge_owner: reevehand-offs are unchanged.ccm-finish-guardnow counts abase-syncentry as a code change, likework-ticketandpr-feedback, so a validate must follow every merge of the base, and a conflict fix pass is awork-ticketentry. - The run record names the step that parked the run. On CCL-39 the run parked at the CI wait while every entry in
stepssaiddone, so Reeve could not tell the park was a merge conflict. Every route-and-stop the orchestrator decides itself (a CI timeout, a conflict, unreadable CI, a pass cap, a stale head, a fix-pass check, the finish guard, a missing hand-off state) now appends one needs-human entry with a fixed step name (contract §4, The step that parked the run), for example{"step": "ci-wait", "status": "needs-human", "reason": "PR has merge conflicts with its base, so CI cannot run: ..."}. The CI wait's name contains none ofvalidate,review, orfeedback, so Reeve maps a conflict park there tomerge-conflict. Each merge of the base adds abase-syncentry with statusdone.
bin/ccm-base-syncwith modessync(mergeorigin/{base}when the branch lacks it; on the base branch itself, fast-forward only; abort a conflicting merge;--pushpushes HEAD, also when already up to date),begin(start the merge and leave its conflicts for a fix pass, recording the branch, HEAD, base commit, each conflicted file's content, and the untracked files in the git dir),conclude(commit that merge once no conflicted file keeps a conflict marker line or is unchanged sincebegin, which catches a binary conflict, and the pass added no file git does not ignore; stages tracked changes only),push(never forced, to the upstream's branch name on origin or the local branch's, and only to a branch origin already has), andabort(reset to the recorded HEAD and verify, described above)./auto-ticketgrants it, anddocs/cyrus-deployment.mdlistsBash(ccm-base-sync *).
- A Cyrus session needs a git committer identity for the merge commit, which it already has for its own commits. Add
Bash(ccm-base-sync *)to a harness that grants Bash narrowly.
draft_until_finish(defaultfalse): withtruein.claude/ccmagic.local.md, the work step opens the PR as a draft (gh pr create --draft), and only the finish step marks it ready for review, so a reviewer that triggers on GitHub'sready_for_reviewevent runs once, on the head the run finishes with (RV-106, question 5)./ccmagic:auto-ticketpassesdraft_until_finish: truein the grounding block when config sets it.finish-ticketStep 5b runs after the merge gate passes and before the merge or the Reeve hand-off: it readsisDraft, runsgh pr readywhen the PR is a draft, and readsisDraftagain. A failed command, a failed read, or a PR still a draft stops the finish withneeds-human(draft_until_finish: could not mark PR #N ready for review: ...), so a draft is never merged or handed off. Withmerge_owner: selfthe merge gate runs once more aftergh pr ready, since marking the PR ready can start checks; withmerge_owner: reeveit does not, since Reeve checks CI on the head again. A run that parks leaves the PR a draft.gh pr readyis covered by the existingBash(gh:*)grant.
/ccmagic:review PR #43reviewed the current branch instead of PR 43, because the skill's argument table listed only a bare number and an unmatched argument fell through to branch mode. The table now accepts42,#42,PR 42,PR #42,PR#42,pr42, and PR URLs ending in/pull/42, all normalized to the bare number, and an argument that matches no form stops the review with an error instead of falling back to branch mode.
- A failed
testcheck runs once more before validate reports it (RV-166). On 2026-10-28 RD-115's second attempt parked at validate:npm run testfailed twice inside the Cyrus container, each time in a different set of timing-sensitive polling tests unrelated to the change, while CI passed every check on the same head (reeve-dashboard#138,6796ea0).ccm-validatenow reruns a failed test check (not a timed-out one), with output intest-rerun.log. In a plain run the rerun gets only the time the first run left ofvalidate_timeout_seconds, so the check and its rerun still fit in one Bash call, and it is skipped (rerun.status: skipped, with a reason; the check stays failed) with under 30 seconds left; a--startworker gives it a full limit. When the test command, or thepackage.jsonscript it runs, is one plainvitestorjestcall, the first run'sFAILlines name test files that exist, and the run's summary counts exactly those files as failed (vitestTest Files N failed, jestTest Suites: N failed) with no unhandled error, coverage threshold, or crashed worker reported, only those files run again, one file at a time and without coverage (vitest--no-file-parallelismfrom 1.1 on and--coverage.enabled=false; jest--runInBand --coverage=false --runTestsByPath). Any other runner, Gradle and Maven included, a compound script, or a run whose failures those files do not account for (a path outside the repository root, an unhandled rejection in another file), reruns the whole command unchanged. Gradle gets the whole command because its--testsfilter fails every module of a multi-project build where it matches nothing, and itsFAILEDlines do not name the module. A rerun that passes makes the checkpassedwithpassed_on_rerun: true,first_exit_code, and arerunobject; one that fails leaves itfailedwithrerun. A step 2L run'slimit_scounts one more check limit whentestis planned, for the rerun. ccm-validate --ci-confirm: whether CI passed onHEAD. It answersnot-applicablewhen the working tree has uncommitted or untracked changes, when no pull request can be read, or whenHEADis not the pull request's head (not pushed yet, as before a run's first push), since CI never ran on that code. Otherwise it waits throughccm-ci-status --watch(so checks.reeve/policy.ymllists underci.ignoreare set aside, as the finish step does), with the wait keyvalidate-ci-<HEAD>and a deadline ofvalidate_timeout_secondsacross calls, and answersci-green(exit 0),ci-pendingwithcall_again: true(exit 6), orci-not-green(failed, timed out,no-ci, unreadable, green only by setting aside a failedci.ignorecheck, which may be the test job, or with every counted check skipped; exit 1).- In autonomous mode
/ccmagic:validatehas a step 2C: when the only failed check istestand its rerun failed too, it calls--ci-confirmuntil it settles, andci-greenmakes the stepdonewith the reasonlocal tests failed, CI passed on <sha7>: <files>and nofailures:section. A test check that passed only on rerun isdonewithvalidation passed; test passed only on rerun: <files>./ccmagic:auto-ticketStep 4b continues on both and lists them under "Key autonomous decisions"; Step 4d's red-CI hand-off does not count either reason as validate passing locally, so a test that is flaky locally and red in CI is not handed off. A test failure that repeats with CI red, absent, still running at the bound, or not yet run on the head still gets the fix passes and parks as before.
- With
merge_owner: reeve,/ccmagic:auto-tickethands a red-CI PR to Reeve when the failure is not the PR's, instead of parking it (RV-165). On 2026-10-26 RD-115 and RD-125 parked ontest (ubuntu-latest), a flaky test thatmainfailed too: the session's token could not read the job log or rerun the job, and local validate had passed on the same head. Step 4d now finds a pass clean with red CI when the final CI status isfailed, no thread is open, this pass's validate returneddoneon the head CI failed on, andccm-ci-statuswith--attributefinds every counted failed check not attributable to the PR: a GitHub Actions job whose log cannot be read (GET actions/jobs/ID/logsfails), or a check the base branch's tip fails too. Local validate passing is required but never enough on its own, since every pass that reaches CI has it. Such a pass goes on to Step 5 as a clean one does (with the 4f re-review after a late push), and the finish step, givenci_handoff: true, runsccm-merge-gatewith--red-ci-handoff, which checks the rule again, keeps every other blocker, and accepts it only undermerge_owner: reeve. The run endshanded-offwith the ticket inmerge_handoff_state, the finish reason goes on; CI red, {why}, and the run record carries"ci": {"status": "failed", "handed_off": true, "checks": [...], "reason": "..."}as its last key. No step status records the red CI, so Reeve'srun-overrode-verdictrule does not apply, and Reeve's parser drops keys it does not know. A failure the session can read and the base does not share still gets the feedback passes and parks at the cap.merge_owner: selfis unchanged, and the PreToolUse merge guard never passes the flag, so a red PR never merges. ccm-ci-status --attribute: on afailedsnapshot, anattributionobject withverdict(not-attributableorattributable),base_sha,reason, and per counted failurename,kind(actionsorother),job_id,log(readable,unreadable, orn/a),base(red,pending,green,absent, orunreadable), andattributable. The job comes from the check run's details URL (only a job of this repository on github.com counts), or on the Actions fallback from the failed run's jobs; the base tip's checks come from its check runs, or its runs' jobs when check runs are hidden, plus its commit statuses. On the Actions fallback, a run broken into its jobs forci.ignorenow keeps each job'sjob_id.ccm-merge-gate --red-ci-handoff, described above. It addsci_handoff: {reason, checks}when it takes the red CI, orci_handoff: nullandci_handoff_refusedwhen CI is red and the rule does not hold.
- Pull this into Cyrus only after Reeve's RV-160 (devondragon/reeve PR #277) is deployed and its GitHub App has the
actions: writepermission. Before that, Reeve's gate parks a red PRci-redat once, so the hand-off only moves the park from ccmagic to Reeve. No new Bash grant is needed: both flags go through scripts Cyrus already grants.
- The three long background
--attachcalls now passtimeout: 7200000(validatestep 2L,test, and theauto-visualharnessup). Claude Code 2.1.310 stops a background Bash command after itstimeout, 1800000 ms (30 minutes) by default and 7200000 ms (2 hours) at most, so a run past 30 minutes lost its heartbeat,--waitreportedstatus: fail, andauto-validateturned that intoneeds-humanwith a misleading failure reason.--waitstill enforces ccmagic's own limit (validate_timeout_seconds). Foreground--waitcalls are unchanged.
/ccmagic:reviewreads a per-repositoryREVIEW.md, else.claude/REVIEW.md(issue 109). Code owners write it to tell the reviewer what matters in their code;CLAUDE.mdandcontext/conventions.mdstay the rules the code must follow. The file goes into every reviewer and verifier prompt as{REVIEW_GUIDANCE}, separate from{PROJECT_CONVENTIONS}, on both the QUICK and DEEP paths. Four sections take effect:## Failure modes(a finding that is one is raised to the severity the entry names, or one level),## Skip(globs whose paths no reviewer reads, and whose findings are dropped),## Nit cap(at most that many Low or INFO findings, highest confidence kept, the rest listed as dismissed), and## Evidence(a finding missing the evidence asked for at its severity is tagged and its confidence capped at 69). Other sections pass through as guidance. The file is read from the merge base of the change (git show <merge-base>:<path>), never from the checkout when a merge base is known, so a PR cannot editREVIEW.mdto soften its own review; the report says when the change edits it. Template:docs/REVIEW.md.example; this repository now has its ownREVIEW.md.- Findings carry
pre_existing(finding schema). At fan-in the review tags each finding by whether any of its lines is an added line, or next to removed lines, in the diff under review. A pre-existing finding never makes the verdict FAIL, and never makes areview-ticketverdictfixable-findings, on its own; a pre-existing Critical security finding still blocks, since merging ships it again: FAIL in a standalone review, andneeds-humanfromreview-ticket, so/ccmagic:auto-ticketparks the run with the finding named and never tries to fix it in the PR. Pre-existing findings get their own report section,--fixleaves them alone,review-ticketlists them underfollow_ups:one entry per systemic group so/ccmagic:auto-ticketfiles them instead of running a fix pass for them, and a re-review reports one verified unchanged in one line. The report summary now starts with the introduced counts by severity and the pre-existing count ("Nothing to fix." when both are zero), and the DEEP report has a verdict line (PASS, PASS WITH WARNINGS, FAIL) like QUICK. bin/ccm-review-guidewith modesload(find and parseREVIEW.mdfrom the merge base, the checkout, or--file -),skip(which paths the## Skipglobs match, with.gitignore-style*,**, and trailing/), andlocate(whether eachfile:lineis on a changed line of--range,--pr, or--diff-file).reviewgrants it, anddocs/cyrus-deployment.mdlistsBash(ccm-review-guide *).- Eval cases 08 to 12 for a skipped path, a nit cap of 2, a failure mode raising severity, a pre-existing finding on an untouched line (PASS WITH WARNINGS), and a pre-existing Critical security finding (FAIL).
- Reeve acceptance tests (RV-134, ccmagic issue 111). On a tests ticket, whose description carries a
reeve:acceptanceblock,work-ticketwrites only under the block's directory<path>/<PARENT>/plus the marker<pending>/<PARENT>, starts each test title with theAC-<n>it checks, treats "Criteria to test" as input rather than scope (Step 6,review-ticket, and auto-ticket's visual criteria read only the block's own criteria), and checks the branch withccm-acceptance tests. On a build whose acceptance directory exists at the base, it deletes the marker, runs the acceptance tests, never edits them, checks the branch withccm-acceptance build, and stops asneeds-humannaming a test that cannot pass. The rules are inskills/work-ticket/acceptance.mdand contract §10. bin/ccm-acceptancewith modesfind(a ticket's tests and marker at the base, fromacceptance_pathandacceptance_pendingor found by the ticket's name),build(tests-changed,still-pending), andtests(exists,scope,marker-missing,tests-missing, and with--idsthe criteria no added test names), mirroring the file rules of Reeve's gate.ccm-spec-delta record HEAD BASEreports thespec_deltaa run record carries for a PR head: the one archive folder the head adds against the base, whichever run made it.bin/ccm-followup-checkreads a follow-up description on stdin and reports itsshape(decisionorchange) and each rule it breaks (extra-findings,options-too-few,recommended-unknown,criteria-missing,key-not-last, and the rest); exit 0 only when it passes./auto-ticketruns it on each description before filing, rewrites on a failure, and files anyway with the remaining rules named in the summary if the second check fails.docs/cyrus-deployment.mdgrants it by bare name.
- The main work path, not only the fix pass, now says never to disable, skip, or loosen a test or check to make it pass.
- A version 2 run record for a PR that changes anything under
openspec/always carriesspec_delta, set from the archive folder the PR head carries. auto-ticket's Step 6 runsccm-spec-delta recordbefore writing the record, and the work step reports a folder an earlier run archived on the branch. Before, a redispatched run that resumed a branch whose archive an earlier, parked attempt made archived nothing itself and wrote a record withoutspec_delta, which Reeve's gate parked asspec-mismatch(RD-42). - work-ticket's plain-ticket spec delta rules moved from
SKILL.mdtoskills/work-ticket/spec-delta.md, which theSKILL.mdblocks point to, to keepSKILL.mdunder 500 lines. The rules are unchanged apart from the resume case above. /auto-ticketfiles each follow-up in one of two description shapes, so a decision is not hidden in prose and a tracker's intake grader can take the ticket as written (issue 112). A follow-up holds one finding; extras are filed separately or dropped with a reason, never appended as "Low-priority also". One that needs a decision lists each question as**q1.** <question>, its options as- A: ... (for: ...; against: ...), andRecommended: X. <why>, and is filed in the tracker's decision state instead of Backlog (LinearNeeds Decisionwhen the team has that state, a JIRA status of that name when the workflow has one). Any other has a## Changesection naming the file and what to do and a## Acceptance criterialist with at least one checkable item. TheFollow-up key:line stays last. Before, RD-107 went to Backlog with its four options in one sentence, and Reeve's intake failed RD-108 for an either/or, three unrelated extras, and no acceptance criteria.
- The archive ticket of a Reeve requirements approval (RV-136, ccmagic issue 113) runs the archive instead of the plain-ticket spec delta. Reeve's
archiveTicketwrites it with noreeve:specblock and the step lineRun `openspec archive <change> --yes` at the repository root.; since RV-136 Reeve's gate judges its PR by the archive rules withouttasks-unchecked, and requires the run record'sspec_deltato name the archive folder. Before,ccm-spec-delta scopefailed it ondelta-activeanddelta-name, so the session parked or recordedspec_delta: none, which the gate parks asspec-mismatch. Now, on a repository withopenspec/specs/, when the description containsopenspec archive,work-ticketpasses it toccm-spec-delta approval; when that finds the step line naming an active change at the base tip, it runsopenspec archive <change> --yes,openspec validate --all --strict --no-interactive, andccm-openspec-scope --worktree --approval <change> archive <base>, leaves every task unchecked, changes nothing else, and reports the archive folder asspec_delta. The run record carries thatspec_deltaand noopenspeckey.review-ticketandfinish-ticketrun the same--approvalcheck in place ofccm-spec-delta scope. A description that mentionsopenspec archivein any other form keeps the plain-delta path. ccm-spec-delta approval BASEreads a ticket description on stdin and reportsapproval(true only for one or more lines that are exactly the step line, after optional indentation and a*,-, or+marker, all naming one kebab-case change that is a folder underopenspec/changes/at BASE's tip) andchange.ccm-openspec-scope --approval(archive scope check only) applies the archive rules withouttasks-unchecked, as Reeve's gate does for an approval's archive ticket, and addsapprovalandfolder(the archive folder's path) to its output. Without the flag the output is unchanged.review-ticketgrantsccm-openspec-scope.
ccm-ci-status(and soccm-merge-gate,finish-ticket, the merge guard hook, and auto-ticket's CI wait) applies the advisory-check listci.ignorefrom a repository's.reeve/policy.yml, the rule Reeve's merge gate follows since RV-74. When a check is not passing, it reads the policy from the PR's base branch (never the working tree, which is the PR head) and sets aside each check the list names by exact name (a check run'sname, a status'scontext): a listed check that failed or is still running neither fails nor holds the result, and an unlisted failure still does. An entry'sapporcreatoris checked against the check-runs or statuses API; when that read is refused (HTTP 403 for a fine-grained token) the check is set aside by name and markedowner_unverified, since Reeve checks the App again before it merges. On the Actions fallback, which Cyrus sessions use because their fine-grained token gets HTTP 403 on check runs, a run that is not passing is replaced by its jobs (actions/runs/{id}/jobs, readable with Actions: read), whose names are the check-run names and whose App isgithub-actions, so an entry such as{ name: copilot-pull-request-reviewer, app: github-actions }sets aside only that job and never a whole workflow. Set-aside checks that had not passed are listed in a newadvisoryfield and named inreason. A repository without the policy is unaffected, and a policy whoseciblock cannot be read or parsed (only the block form is read), or that lists a check under bothci.requiredandci.ignore(which Reeve refuses), sets nothing aside and says why inpolicy_note. With only advisory checks left, the result is decided as if no check had reported. A run whose only red check was GitHub's Copilot code review used to park on it (RV-74).bin/ccm-lib.shhasccm_policy_ci_json, which reads a policy'sci.requiredandci.ignore.
/ccmagic:spec-polish <change>reviews an OpenSpec change in rounds before Reeve plans it (RV-90). Each round dispatches a fresh read-only reviewer (opus) that reads the proposal,tasks.md, the delta specs, the current specs, and the code, and lists every problem it finds (coverage of each requirement by a task, section order, Why against What Changes, MODIFIED blocks that drop a scenario, vague tasks, claims the code contradicts); findings the owner rejected are passed to later rounds so they are not raised again. You accept or reject each finding, the session applies the accepted ones inside the change folder, andopenspec validate --strict --no-interactive,ccm-propose-check, andreeve openspec render --grademust pass. It stops after two consecutive rounds with nothing accepted, or at--max-rounds(default 6), writes the polish recordopenspec/changes/<change>/.reeve.yml(rounds,clean_rounds,files_hash,rubric_hash), confirms withreeve openspec renderthat Reeve reads it as polished, and commits after a final stop. It never merges. Reeve carries the record onspec-planned, splitsreeve statsby it, and withopenspec.require_polishplans only a change whose record matches its files. Standalone: no ticket workflow runs it.bin/ccm-spec-polishwith modeshash(the files hash, matching Reeve'spolishFilesHash, which the tests hold with a vector computed by Reeve),write,check(none,malformed,unconverged,stale, orpolished, exit 0 only forpolished), andpreflight(Reeve's change-name rule, the folder and itstasks.md, andplannedfor a change already on the default branch).ccm-propose-checkreports ametafinding for a.openspec.yamllarger than 64 KB (65536 bytes), andccm-openspec-scopestops at exit 3 (unreadable) in archive mode when the base.openspec.yamlis that large, mirroring Reeve, which parses no repository YAML over 64 KB: its planner rejects the file and its gate parks the archive PR as unreadable (RV-90).ccm-spec-polishnever covers a symlinked kept file (tasks.md,proposal.md,.openspec.yaml, orspecs/<capability>/spec.md), as Reeve, whose planner lists one as a blob of its target's path, never counts such a change as polished:hashlists them inlinks,writerefuses with exit 3, andcheckreportsmalformed("a kept file is a symlink: "). A symlinked capability folder is still ignored (RV-90).
- A plain ticket (one without a Reeve
spec:section) on a repository whose base branch hasopenspec/specs/<capability>/spec.mdcarries its own spec delta when it changes specified behavior, archived in the same PR as the code (RV-100). After implementing,work-ticketdecides whether a requirement or scenario that held for the base code is now false, or new observable behavior inside a capability went unspecified; a refactor, a fix toward what a requirement already says, and behavior no capability covers need no delta. When one is needed it names the change<ticket>-<slug>, writesproposal.mdand the delta specs (never a new or retired capability), stops when an active change at the base names the same requirement, checks the folder, runsopenspec archiveandopenspec validate --all --strict --no-interactive, and checks the result before the push, correcting its own delta at most twice before it parks. The PR body gets a## OpenSpecsection, the work step's handshake aspec_delta:line, and the run record a"spec_delta"key ("none"oropenspec/changes/archive/<folder>).review-ticketreports a missing delta, a delta that does not match the code, and main specs that do not match the delta as fixable findings, and a collision asneeds-human; a fix pass reopens the archive to correct it.finish-ticketchecks the branch again before the merge or hand-off. On a repository withoutopenspec/specs/every ticket runs as before: the new lines sit in<!-- ccmagic:plain-delta -->blocks, which the baseline regression test strips like the spec-only blocks. bin/ccm-spec-deltawith modesapplies,name,collision,check,scope, andreopen.scopeapplies the file rules of Reeve's gate for plain deltas (delta-active,delta-outside,delta-folders,delta-name,delta-content,delta-specs,delta-collision) and thendelta-not-applied, which replaysopenspec archiveon the merge base's OpenSpec tree in amktemp -ddirectory under$TMPDIRand compares each capability'sspec.mdwith the branch's. It writes nothing to the repository's.gitand creates no worktree.docs/cyrus-deployment.mdgrantsBash(ccm-spec-delta *).
ccm-propose-check's change-name rule, delta reader, requirement-name reader, and dash and email checks moved tobin/ccm-lib.shunchanged, soccm-spec-deltashares them.- The SubagentStop handshake check accepts a
spec_delta:line afterfollow_ups:, without requiring it.
/ccmagic:propose <input>turns a sentence, a ticket identifier, or a document such as a BRD into work split for building one PR at a time (RV-99). It reads the repository first (on an OpenSpec repository, every current spec and active change, so a new change never collides with a planned one), asks only what the code cannot settle, one question at a time, and stops for approval of the split: increments, each with two or three one-PR sections. On a repository withopenspec/specs/oropenspec/changes/it writes each change folder underopenspec/changes/<name>/(its only write grant), runsopenspec validate --strict --no-interactive,ccm-propose-check, andreeve openspec render --dir . --change <name> --gradewhen the Reeve CLI (reeveon PATH, or aREEVE_CLIcommand) and its config are available, fixing and repeating until they pass, stops again, and opens one PR per change. It never merges. On a repository without OpenSpec it drafts tickets in the form Reeve's intake grades well (the five rubric dimensions, testable acceptance criteria, context with paths), and after confirmation creates them in Backlog on the repository's Linear team and project with blocking relations, printing their identifiers. For a document input it records which of the document's requirements each change or ticket covers and lists the ones nothing covers. It is standalone: no ticket workflow runs it.bin/ccm-propose-checkchecks those change folders without a model: only the new folders changed; each name is kebab-case, avoids the words Reeve refuses in a change name, and matches no active change or archive folder;proposal.md,tasks.md, and.openspec.yamlexist, the last withschema: spec-drivenand only keys OpenSpec 1.14.1 knows;tasks.mdpasses Reeve's task parser with every box empty and at most three sections; a delta for a capability with no current spec has## Purpose(Reeve'snew-capability-purpose); every MODIFIED, REMOVED, and RENAMED FROM requirement name is in the current spec; and no em or en dash or written email address.--probe-reevereports whether the Reeve CLI, its config, and the two API keys are present, without printing a value.- New config keys
linear_teamandlinear_project, read by/ccmagic:proposein ticket mode.
ccm-openspec-scope's port of Reeve's task parser and archive-name rule, andccm-baseline-check's diff base and email patterns, moved tobin/ccm-lib.shunchanged so the new check shares them.
- An autonomous review no longer leaves
context/review-stats.jsonmodified. The session then committed the file after the review, which moved the PR head off the commit the review names, so Reeve parked the PR (AIE-321 asmerge-conflict, AIE-351 asreview-not-clean).ccm-review-route --record ... --localwrites the counts toccmagic/review-stats.jsonin the git common directory, outside the working tree and shared by every worktree of the clone. Routing and--recordsum both files. The review skill and theauto-reviewagent pass--localin autonomous runs, and the PreToolUse guard denies an autonomous--recordwithout it.
ccm-ci-statusreports a new status,conflicting(exit 6), when nothing has registered for the head commit and the PR conflicts with its base. GitHub runs nopull_requestworkflows on a conflicting PR, so--watchused to wait out the wholeci_timeout_minutesandauto-ticketthen parked with "CI never registered", which named the symptom and not the cause (AIE-351).auto-ticketnow stops at once with the conflict as the reason, andfinish-ticketandmergetreat it as the conflict blocker the merge gate already reports.
- The guard hook's force-push message now tells agents to run
git pull --rebase origin <branch>instead of a baregit pull --rebase, which fails in a sandboxed session whose branch has no upstream (Cyrus worktrees are created with--no-track).
docs/harness.mdnotes that, inside a sandboxed session, a harness Dockerfile'sFROMimages (including the# syntax=frontend image) can come only from registries whose token host is on the session's egress allowlist. On the Cyrus deployment that is Docker Hub'sauth.docker.iotoday.
ccm-harness checkrefuses (ruleservice-name) anapp.servicenamed like a top-level domain on Chromium's HSTS preload list, such asappordev. A bare name likehttp://app:9030is upgraded to HTTPS by Chromium, so every navigation failed withERR_SSL_PROTOCOL_ERRORand the screenshots were blank (AIE-354). Rename the service, for example toweb. The docs example and test fixtures now useweb.
ccm-harnessnow passes the proxy variables (HTTP_PROXY,HTTPS_PROXY,NO_PROXY,ALL_PROXY, and their lowercase forms) and the CA bundle paths (SSL_CERT_FILE,SSL_CERT_DIR) through to Docker and Compose. Inside the Claude Code sandbox, where outbound traffic goes through a proxy and direct DNS is refused,ccm-harness upfailed fetching the registry's anonymous pull token. None of these variables hold secrets.
bin/ccm-harnessbrings a repository's UI harness (.ccmagic/harness.compose.yml,docs/harness.md) up for one ticket in Docker, seeds it, takes screenshots in a runner container, and pushes them as evidence. Compose runs with an emptied environment, and the file's rules refuse interpolation, env files, bare environment keys, published ports, privileged settings, and (withCCM_HARNESS_NO_BIND_MOUNTS=1) bind mounts.- auto-ticket's new Step 2b runs the
auto-visualstep when a ticket has visual criteria and the repository has a harness: it judges each screenshot, sends unmet criteria to a fix pass, and repeats up to three rounds. The run summary gains a Visual check section.
- A visual criterion (a screenshot or a visible UI state in the acceptance criteria) never parks an autonomous run by itself. The run summary lists the criteria it could not check under a new
### UAT checklistsection, posted on the PR and the ticket.visual_checklist: offdrops them instead.
ccm-pr-reply --disposition fixedrefused every fix in a Cyrus session with "is not pushed yet (not in the upstream branch)". It proved the push only through@{upstream}, and a Cyrus branch has none: Cyrus creates worktrees withgit worktree add --no-track -b, and its bubblewrap sandbox keeps a read-only.git/config.lockin the shared git dir while a Bash call runs, sogit push -upushes and exits 0 but prints "unable to write upstream branch configuration" and records no upstream. The push still updatesrefs/remotes/origin/<branch>. The check now passes when the commit is an ancestor of any of@{upstream},@{push}(which resolves without an upstream only underpush.defaultcurrentormatching), orrefs/remotes/origin/<branch>, so an upstream on another branch (a worktree created trackingorigin/main) no longer hides the push either. It fails, naming the refs it checked, when the commit is in none of them, and says the branch has no upstream and noorigin/<branch>ref when none resolves./ccmagic:pushin autonomous mode now pulls withgit pull --rebase origin {branch}, since a baregit pull --rebaseneeds an upstream, and says the upstream-configuration error after a landed push is not a failure, and/ccmagic:prsays a failed--set-upstream-toin a sandbox can be ignored.
ccm-validate --startruns died in a sandboxed Claude Code session. Under Cyrus the Bash tool runs in a bubblewrap sandbox that ends every process a call started when the call returns, detached or not, and appears to give each call its own PID namespace. On 2026-10-08 the worker that--startlaunched withnohup setsid ... &recorded pid 110, began./gradlew test, and died when the--startcall returned: the check log stopped mid-download, and the next--waitreported "the validate run (pid 110) ended without a result". A pid recorded in one call also means nothing in a later one, so--wait'skill -0and/procchecks could see another process or none, and its TERM and KILL to the recorded process groups could hit an unrelated process. The fix has three parts.ccm-validate --start --attacheddoes the same setup, writes the new run'srun.json, and launches nothing, printingstatus: preparedwith the run id;ccm-validate --attach RUNthen runs the worker in the foreground of that invocation, so whatever launched it owns its lifetime, and prints the final result and exits with its code. The two are separate calls because a background Bash call returns before its command has done anything: had one background call both prepared and ran the run, a--waitmade at once in a checkout that still held a finished run (a fix-and-retry pass, or a reused Cyrus worktree) could print that earlier run's result, a stalepassincluded. After the ordinary prepare call,run.jsonnames the new run with no result, so--waitreports it running until the worker writes one.--attachrefuses (exit 4) a run that is not the prepared one or that a worker or another--attachalready started, deciding under the state file's lock so two racing calls start one worker. The worker now proves it is alive by a heartbeat: a loop in the worker writesheartbeat_attorun.jsonevery 10 seconds (and the worker on each check transition), and--waittreats a run as dead when the heartbeat is more than 90 seconds old, or missing 60 seconds after the start (for an attached run, the prepare, so the grace covers the model's turn before the--attachcall), never by pid (CCM_VALIDATE_HEARTBEAT_STALE_SECONDSreplaces the 90 for tests).--waitsends no signal: on a dead heartbeat or pastlimit_sit records the failed result withabandoned: true, and a live worker that sees a result it did not write stops its own check and exits without overwriting it; a killed worker's heartbeat loop stops the check it left running. Writes torun.jsontake a lock, so the worker, its loop, and--waitdo not lose each other's updates./ccmagic:validatestep 2L,/ccmagic:test, and the autonomous validate agent now prepare the run with--start --attachedin an ordinary Bash call and start it with--attach RUNas a Bash call withrun_in_background: true(harness background tasks survive across calls in the same sandbox) and poll--waitin ordinary calls until a result, never ending the turn in between; a harness with no background option falls back to the detached--start, which the report must say does not survive such a sandbox. A plainccm-validatecall is unchanged.
ccm-validate --startcould not start a run on a host withoutps. The worker read its process group withpsunderset -o pipefail, so a missingpsended it before it recorded its pid, and--startreported "the validate run did not start";--wait's liveness check also usedps, so a live run would have read as dead. Both now usepswhere it works and/procotherwise. Found on the Cyrus container, which has nops, on the first autonomous run with a long validate (AIE-282, 2026-10-08).
ccm-validate --startandccm-validate --wait [SECONDS]run checks that take longer than one Bash tool call. A Spring Boot repository whose./gradlew testruns Testcontainers integration tests for about 19 minutes timed out (exit 124) on every autonomous run, and raisingvalidate_timeout_secondsdid not help, since the Bash call that ran the check stopped at 10 minutes.--startresolves the checks as a plain run does and runs the whole plain run, the Node install included, in a detached process in its own session (setsid, else Perl'sPOSIX::setsid), so it outlives the call, and records its progress and result inrun.jsonunder the git dir. It prints{status: "started", run, pid, timeout_seconds, limit_s, checks}, and while a run is live it starts nothing and reports that run (exit 6).--wait(default 480 seconds, at most 570) prints the plain run's JSON and exit code once the run finishes, or{status: "running", elapsed_s, limit_s, done, running, pending}with the new exit code 6. A run whose process is gone without a result, or still running pastlimit_s(the planned checks' limits, one more for an install, plus 120 seconds), is stopped, its check's process group included, and reported asfailwith a top-levelreason.validate_timeout_secondsmay now be at most 7200./ccmagic:validate(and so the autonomous validate step) uses--startand repeated--waitcalls whenvalidate_timeout_secondsis above 540, and/ccmagic:testdoes the same for the test check; at 540 or less, the default, it runs one check per call as before, and a plainccm-validatecall is unchanged.
/ccmagic:auto-ticketStep 6 no longer files the same follow-up again on a retry or on a sibling ticket (RV-89). On a real repo one finding became three tickets (the first run, the run after a park, and the archive ticket of the same OpenSpec change), and one of them was filed as a sub-issue of the change's parent, which then went to Done with an open child. Before filing, the orchestrator now collects follow-ups already filed on this PR and ticket (and, on a spec ticket, on the change's other tickets) and searches open tickets for the item's key. Every filed follow-up ends with oneFollow-up key: <key>line naming the file and symbol, config key, or route. A match gets a comment ("Also raised by run ...") instead of a new ticket and is listed as "already filed". Follow-ups are filed in the ticket's project with no parent issue. A failed search is not a park: the follow-up is filed and the summary says so.
ccm-validatereportedenvironmentand ran no check in a Gradle project that also has apackage.jsondeclaring dependencies with no lockfile, though every resolved check was./gradlew testor./gradlew build. A real auto-ticket run parked on it (2026-10-07). The cause was 3.16.2's install rule, which applied to every check: it planned the Node install, or failed withenvironment, whenever the rootpackage.json's dependencies were not installed, whatever the checks were. The install is now planned, andenvironmentreported, only when a check that will run goes through Node: its command hasnpm,npx,pnpm,yarn,bun,bunx, ornodeas a command word (at the start, or after&&,||,;,|, or an env assignment), which covers every detectedpackage.jsonscript. Skipped,none, and--only-excluded checks do not count,--listshows noinstallobject when no Node check is planned, and--installbehaves as before.
/ccmagic:spec-baselinecloses four gaps a review of the first real baseline found (RV-88). The extraction prompt now receives the repository's doc list ({docs}, recorded in Step 2) and must confirm each doc claim about the capability or reportDocs disagreewith both citations. Step 5 and the quality checklist require the session to read every check on the path from the entry point itself before writing a scenario about an input variant or a refusal or error status, instead of verifying only "unreachable" claims. "Never write a secret" now covers personal email addresses, phone numbers, and account identifiers, andbin/ccm-baseline-checkhas apersonal-identifierrule for an email address written asuser@domain.tldor spelled "word at domain.tld" in a spec or the evidence file (documented limits in the script header andevidence-format.md). The PR description's counts come from the final checker JSON, which now also reportsuntested.
- The OpenSpec stack moves from CLI 1.13.2 to 1.14.1 (RV-87). Archive output was checked byte-identical against 1.13.2 on ADDED, MODIFIED, and REMOVED deltas, and strict validation is unchanged on existing trees. CI installs 1.14.1.
/ccmagic:spec-baselineand the archive procedure of/ccmagic:work-ticketnow accept 1.14.1 or any newer 1.x release through the newbin/ccm-openspec-version, which holds the tested version in one place. A newer release continues with a one-line warning that the format rules were checked against 1.14.1; an older one, 2.0 or later, unparseable output, or a missing CLI stops with the required minimum andnpm i -g @fission-ai/openspec@1.14.1.
/ccmagic:spec-baseline [--capability <name>] [--check], a standalone interactive skill that writes OpenSpec baseline specs for an existing codebase:openspec/specs/<capability>/spec.mdfiles stating current behavior, bugs included, so later changes can MODIFY them andopenspec archiveapplies cleanly. It proposes a capability map and stops for confirmation, runs one read-onlysonnetExplore agent per capability (at most four at once, waiting for each batch to return) with a fixed extraction template, verifies every extraction claim that code is unreachable or has no effect by searching for its callers itself, writes the specs and the evidence filedocs/openspec-baseline.mditself against a quality checklist, checks after each capability, stops again with every flagged finding, then commits on a branch and runs/ccmagic:pr.--capabilityspecifies one capability in a repository that already has specs, adds anot yet specifiedmap row for each neighbor it leaves behavior to, and lists that behavior under the neighbor in the evidence file's### Not specified, so nothing drops out of every spec;--checkwrites nothing and reports citations gone stale. ItsWriteandEditgrants cover onlyopenspec/**and the evidence file. No ticket workflow runs it, anddocs/cyrus-deployment.mdis unchanged (RV-84).bin/ccm-baseline-checkchecks a baseline against its evidence file and the working tree: every requirement and scenario has its evidence line, everypath:linecitation resolves, every cited test exists, names are unique; names, requirement bodies, and scenario lines hold none of the characters Reeve rewrites, requirement bodies stay under 500 bytes and under five scenarios, each spec has a Purpose of at least 50 characters,openspec/config.yamlhas a top-levelcontext:block, no em or en dash, and no path outsideopenspec/and the evidence file changed since the merge base of HEAD with the default branch (or--base REF). Every rule is a finding; there is no warning level.--staleskips the changed-paths rule and reports each citation whose lines a commit after the evidence file's baseline commit touched, grouped by requirement, naming the scenario or the flag line (kind,flag) it sits on. JSON output; exit 0 clean, 1 findings, 3 unreadable, 4 usage (RV-84).tests/fixtures/baseline/, the first checked-in test fixture: a tiny invented project with one passing spec and its evidence file. CI installs@fission-ai/openspec@1.13.2so the fixture's strict validation runs there; locally the test is skipped with a notice when the CLI is absent.tests/run.shleaves the directories inSTANDALONE_SKILLS_SINCE_BASELINEout of the RV-75 comparison, andskills_standalone_not_on_ticket_pathfails when a ticket-path skill, agent, hook, script, or the Cyrus deployment doc names one of them (RV-84).
One change applies to every ticket: skills and agents call the bin/ccm-* scripts by their ${CLAUDE_PLUGIN_ROOT}/bin/ path. The other fixes are in bin/ccm-spec-block and bin/ccm-openspec-scope and in spec-only sentences, so a ticket without a well-formed Reeve spec block runs as before.
ccm-spec-blockundid Linear's markdown escapes before it looked for code fences, and Reeve (since RV-77) looks for fences on the line as written. A rendered spec ticket whose body held an odd number of escaped fence lines, such as a Why section cut inside a code block, read as no block here, so the session ran as an ordinary ticket, wrote a run record without theopenspeckey, and Reeve parked itno-run-record. Fences are now found on the raw line, by Reeve's rule (three or more backticks or tildes, indented at most three spaces, closed by at least as many of the same character, or open to the end), and the escapes are undone only for the delimiter and metadata tests (RV-82).ccm-openspec-scopecould pass a branch that Reeve's gate parks. A lone carriage return intasks.mdnow ends a line, as in Reeve'sparseTasks, and then any difference from the base failstasks-textwithout naming a task, as the gate does. Theskip_specsandretire_capabilitiesflags were read with agrep, where the gate parses.openspec.yamlas YAML; the script now reads only the plain form OpenSpec writes (blank lines, comments, one leading---, and unindentedkey: valuelines with a plain word or a quoted string, no key twice) and takestrue,True, orTRUEas the yaml package does, and a file in any other form (a flow mapping, an indented or tab-separated line, a second document, a repeated key) exits 3 as unreadable instead of being guessed. Submodule entries (gitlinks) no longer count as files innot-movedandfolder-content, or as archive folders, since the gate compares blobs and trees only (RV-82).- Sessions called
ccm-openspec-scope,ccm-context,ccm-validate, and the other scripts by bare name first, because theauto-*agents said to, and in a Cyrus session pluginbin/is not onPATH, so every such call failed withcommand not foundbefore the retry by path. The agents and every skill command now use the${CLAUDE_PLUGIN_ROOT}/bin/path and fall back to the bare name only when the path form is not found or is denied;docs/cyrus-deployment.mdsays why the narrow-Bash rules still grant the bare names (RV-82). - The parked record of a hand-queued parent spec ticket copied
section: "parent"into theopenspeckey, which Reeve's schema rejects, so Reeve dropped the whole record. A parent's record now carries noopenspeckey (RV-82).
ccm-validatetook anynode_modulesdirectory as an install, so it planned no install for a checkout whosenode_modulesheld only a tool's cache. In Reeve's RS-193 (2026-10-06, on 3.16.2) the work step rannpx vitest runwith nothing installed, which leavesnode_modules/.vite, and the validate step then failedtypes,test, andbuildontsc: not found; the finish guard parked the run, as it should. A dependency now counts as installed only when every name underdependenciesanddevDependenciesis present innode_modules; apackage.jsonthat declares only optional or peer dependencies, or workspaces, still checks for the directory, since those packages may be absent on purpose (RV-86).
These changes apply to every ticket, not only Reeve spec tickets. ccm-validate now installs missing Node dependencies; a repository without a root package.json that declares dependencies, or one whose node_modules is already there, validates exactly as before. Every auto-ticket run's finish step now carries a steps: section and passes the finish guard below.
ccm-validateran the checks of a checkout with nonode_modules, so they failed for a reason that was not the code. An OpenSpec archive worktree never installs dependencies (only section sessions do), and Reeve's RS-175 run reportedfailed: types, test, build. When the rootpackage.jsondeclares dependencies (or workspaces) and there is neithernode_modulesnor a Yarn Plug'n'Play map, the first check is now preceded by the install its lockfile calls for:npm ciforpackage-lock.jsonornpm-shrinkwrap.json, andpnpm install --frozen-lockfile,yarn install --frozen-lockfile(--immutablewith.yarnrc.yml), orbun install --frozen-lockfileonly when that tool is installed. It runs undervalidate_timeout_secondswith its output ininstall.log, and the JSON'sinstallobject says what happened;--installruns only the install, and thevalidateskill calls it before the checks so the install and a check never share one Bash call's time limit. With no lockfile, a missing tool, or an install that fails or times out, nothing is guessed: no check runs, the status isenvironment(exit 5), and the validate step reportsneeds-humanwith a reason startingenvironment:, whichauto-ticketStep 4b parks without a fix pass. This is Node only; no other ecosystem is installed (RV-86).auto-ticketcould reachfinish-ticketpast a failed validate. In RS-175 the validate step returnedneeds-humanwith afailed:reason, and the orchestrator judged the failure environmental, skipped Step 4b's fix passes, and handed the PR off; undermerge_owner: selfit would have merged. The newbin/ccm-finish-guardreads the run's step history, the run record'sstepsso far, which the orchestrator now puts in asteps:section at the end of the finish step's grounding block, and passes only when the latest validate isdone, the latest review-ticket isclean, and no work-ticket or pr-feedback step ran after that validate; a missing or malformed history fails. A new PreToolUse hook,hooks/pre-tool-use-finish-guard.sh, runs it on everyAgentorTaskcall that startsccmagic:auto-finishand denies the call when it fails, telling the orchestrator to route-and-stop, so the check does not depend on the orchestrator choosing to run it. Theauto-finishagent runs it again as its first action and returnsneeds-humanwhen it fails, for a harness that does not run plugin hooks. Step 4b, its error table, the contract, thevalidateskill, and theauto-validateagent now name theenvironment:reason and say that afailed:reason is always a check failure.docs/cyrus-deployment.mdaddsBash(ccm-finish-guard *)to the narrow-Bash grants (RV-86).tests/run.shcompares the skill and agent files with the RV-75 baseline plus the every-ticket changes recorded intests/every-ticket-since-baseline.diff, so a change meant for every ticket is a reviewed edit of that file instead of a moved baseline.
Nothing changes for a ticket without a well-formed Reeve spec block: every fix below is in bin/ccm-openspec-scope, which only spec tickets run, and in the spec-only Step 6 sentence of work-ticket and the README tools table.
ccm-openspec-scope --worktreecould not run inside a sandboxed Claude Code session. The sandbox masks dotfiles in the working directory (such as.bash_profileand.bashrc) with bind mounts that show as untracked device files, and the scratch index was built withgit add -A, which refuses them, so the check exited 3 and a section or archive session stopped.git add -Aalso took untracked session files such as.claude/settings.local.json, which the archive'soutside-archiverule would reject. The scratch index is now HEAD plus changes and deletions of tracked files, new files already staged, and untracked, non-ignored files underopenspec/, staging only regular files and symlinks; a tracked file the sandbox masks keeps its committed content. Thework-ticketStep 6 sentence and the README tools table say what--worktreenow includes (#71). Found in Reeve's OpenSpec live check on 2026-10-01.- The scope check read
git diff --name-statuswithout-z, so a path holding a double quote, a backslash, or a control character reached the rules C-quoted andoutside-sectionmissed it underopenspec/. It now reads the diff NUL-separated; a touched path holding a tab or newline exits 3, since no OpenSpec file has one, and a failinggit diffnow reportsunreadable(exit 3) instead of exiting with no JSON (#72). - A
tasks.mdwith no## N.section heading made the scope check exit 5 with no JSON (an empty field collapsed in a tab-separated read). It now reportstasks-unreadablewith exit 1, as the rules say (#73). - The archive listings read
git ls-treewithout-z, so a capability name holding a double quote, a backslash, a control character, or a non-ASCII character dropped out of the capability list, and a correct archive that rewrote its spec failedoutside-archive. Capability names also reached awk through-v, which reads backslash escapes, and were matched as substrings of a space-joined list, so a capability nameds plet the archive writeopenspec/specs/s/spec.md. The listings are now NUL-separated, capability names are matched whole, and a failinggit ls-treereportsunreadable(exit 3) instead of exiting with no JSON (#74).
Nothing changes for a ticket without a well-formed Reeve spec block: the OpenSpec build contract below applies only to a ticket whose description carries one. The one behavior change for every auto-ticket run is the orchestrator guard under Fixed (its SubagentStop hook runs on every subagent stop and exits at once unless the stopping agent is general-purpose). The handshake validator also accepts a tasks_done: line from any step, which has no effect when the line is absent.
- Reeve spec tickets (RV-75). A ticket whose description carries a well-formed
<!-- reeve:spec v1 -->block (the exact delimiter lines outside a code fence, no otherreeve:specin the text, and validrepo:,change:,section:,tasks:, andsource:metadata) is a spec ticket.auto-ticketStep 0 detects it with the newbin/ccm-spec-blockand adds aspec:section to the grounding block. The work step then checks the checkout (ccm-openspec-scope --precheck: the repo,tasks.md, the section, no existing archive, and a refusal forsection: parent), implements only the section's tasks fromtasks.mdand ticks only their boxes, and for the archive ticket runs a fixed procedure:openspec --versionmust print 1.13.2, every task must be checked, thenopenspec archive <change> --yes,openspec validate --all --strict --no-interactive, and the scope check, restoringopenspec/withgit checkout -- openspecandgit clean -fd -- openspecon any failure and opening no PR. bin/ccm-openspec-scopeapplies the file rules of Reeve'sopenspecmerge gate check to a branch (section:outside-section,tasks-unreadable,section-missing,tasks-text,tasks-unchecked; archive:not-moved,folder-content,tasks-unreadable,tasks-unchecked,outside-archive,specs-unchanged,specs-changed,spec-deleted) and prints JSON naming the first that fails. The work step runs it before the first push, andfinish-ticketruns it again in its Step 3 sanity check before the merge or hand-off.work-ticketandfinish-ticketgrant it, anddocs/cyrus-deployment.mdlists it andBash(openspec:*)for narrow-Bash harnesses. The skills do not grantopenspecinallowed-tools, so an interactive run in any OpenSpec repository still asks before anopenspeccommand.- On a spec ticket the work step's handshake carries
tasks_done: [<ids>]afterfollow_ups:, which the handshake validator accepts without requiring, and the run record gains"openspec": {"change", "section", "tasks_done"}as its last key. The record stays atversion: 2; readers that don't know the key ignore it. - A ticket without a well-formed spec block runs exactly as before RV-75. Every added line in the skill and agent files sits in a
<!-- ccmagic:spec-only -->block, andtests/run.shchecks that removing those blocks and the new grants gives the previous files byte for byte.
auto-ticketnow refuses to act as the implementer. The skill opens with a guard: the orchestrator's first call is the contract read, thenccm-context, then Step 0, a trivial ticket changes nothing, and an orchestrator about to edit files, commit, push, or open a PR itself goes to Step 0 instead. A new SubagentStop hook,hooks/subagent-stop-orchestrator.sh, sends the forked orchestrator back once when it spawned noccmagic:auto-*step agent at all and still made an Edit or Write call or rangit commit,git push,gh pr create, orgh pr mergeitself, and its last message has no run summary or final-message block. It is told to continue from Step 0 without redoing finished work, or, when it merged the PR itself, to park with a run record saying the steps were skipped. A run that spawned any step agent is never sent back. Before, a run that did the work itself ended with no review, no finish, and no run record (RV-80).tests/run.shchecks no longer pipe intogrep -q, which underpipefailmade a check fail at random on Linux when its producer got SIGPIPE (#69).
- A version 1 fallback run record carries
"fallback_reason": "<one line>", naming theghcommand that failed and the first line of its error, and the run's final message says the record fell back and why. Readers that don't know the key ignore it; Reeve's version 1 schema accepts it (RV-60).
auto-ticketre-reviews the pushed head (new Step 4f) when a PR-feedback pass pushed after the last clean review, frompr-feedbackfixes in 4a or validate fixes in 4b. Before, the run finished on a review of an older commit, and a merge gate that binds the review to the PR head (Reeve, RV-1) parked it asreview-not-clean. Findings from that re-review go through the Step 3 fix loop and then another feedback pass.max_review_fix_passesandmax_feedback_passesnow count across the whole run, and a run that hits either limit while the PR head is ahead of the last clean review parks instead of finishing (RV-60).
review-ticketwriteshead: <sha>in its handshake, right afterstatus:: the full 40-character SHA fromgit rev-parse HEADat review time, on every pass, verdict, and transport. A merge gate can bind the verdict to the commit the review read instead of comparing timestamps; Reeve's gate accepts a report whose head is the PR head and parks any other head (RV-1, #63).- The
auto-ticketrun record moves to"version": 2and addsrepo(owner/name),pr(a number, ornullbefore a PR exists), andhead_sha(the PR head as GitHub reports it,nullwith no PR), keeping every version 1 key. Whenrepoor the PR head can't be read, the run writes a version 1 record instead (RV-1, #63).
ccm-post-reviewrequires exactly onehead:line in the handshake, a full SHA equal to the checkout's HEAD, and names the SHA to use when it refuses. It exits 3 without posting when HEAD is unreadable or is not a 40-character SHA-1 (so a SHA-256 repository can't post). Its success JSON adds aheadfield. The shared handshake validator accepts ahead:line, so the SubagentStop hook still passes the review agent's handshake (RV-1, #63).
- Skills call the
bin/ccm-*scripts as${CLAUDE_PLUGIN_ROOT}/bin/ccm-<name>instead of${CLAUDE_SKILL_DIR}/../../bin/ccm-<name>, and grant both that path and the bare name (Bash(ccm-<name> *)) inallowed-tools(#59). - The
auto-*step agents callccm-*scripts by bare name, each as its own Bash call. Inside a plugin agent only the session's permission rules apply, not the preloaded skill'sallowed-tools.docs/cyrus-deployment.mdlists the rules a harness without plainBashmust grant (#59). tests/relay-smoke.sh --narrow-bashruns with that rule set instead of plainBash, and fails on any deniedccm-*orrmcall, including subagents' calls (#59).
- In a session without plain
Bash, everyccm-*call was denied: the path rule matched only the literal../..text, and the model called the bare name or the normalized path. A narrow-rulesauto-ticketrun stalled on its firstccm-contextcall (#59). - Comment, reply, and PR bodies (
ccm-post-review,ccm-pr-reply,gh pr comment,gh pr create,gh issue comment) go on stdin through a quoted heredoc. This drops the${TMPDIR}prefix and temp files that narrow grants refuse, and keeps backticks or$(...)in accm-pr-replybody that quotes a review comment from running as commands (#59). auto-ticketmintsrun_idwithdate +%sinstead ofopenssl, and deletes the prompt-relay handoff file with an unchainedrm(#59).
tests/relay-smoke.sh: a manual end-to-end test of the prompt-relay flow. It runs/ccmagic:auto-ticketwith the Cyrus prompt template against a private sandbox repo, with no Linear MCP, and checks the handoff file, the PR, and that the final message reproduces the relay block verbatim. Seedocs/cyrus-deployment.md(#58).
auto-ticketno longer edits code. Review findings (Step 3) and failed local checks (Step 4b) go back to the work step's agent (auto-work, on opus) as a fix pass, withfix_pass:,fix_source:, and afindings_to_fix:section in the grounding block. The fix pass applies only the listed items, fixes asystemic:finding as a class, applies contract §9 to security and invariant findings, and leaves its changes uncommitted. It reportsapplied_findings:, which becomes the re-review'sprevious_findings:, and optionalcommit_notes:lines (- {file}: {note}), whichpushwrites into the commit body.auto-ticketdropsEdit,Write, andBash(timeout:*, gtimeout:*)fromallowed-tools;work-ticketgainsBash(timeout:*, gtimeout:*)(#57).
- A finding still open after a fix pass is resent with its full text from the report that first raised it, including its Reproduction. Delta reports list surviving findings as one-liners only (#57).
- The orchestrator checks the git state around each fix pass and parks a pass that committed, switched branch, or changed no files (#57).
validatereports afailures:section (command, exit code, log path, and the relevant output lines) for the fix pass. A validateneeds-humanthat isn't a check failure, such as a crash, parks instead of starting a fix pass (#57).- The SubagentStop hook's send-back asks for the full report, so a restated fix pass keeps its
applied_findings:section (#57). - A parked run lists any uncommitted files it left in the working tree in the parked comment (#57).
auto-ticketgrantsBash(rm -f .ccmagic-ticket.md), so it can delete the prompt-relay handoff file as Step 0 says (#58).
Fixes from the AIE-303 /ccmagic:auto-ticket run, which spent about 17 minutes of a 31-minute review pass on hung or oversized repro programs, two extra fix and review cycles on a security fix, and about 5 minutes on compile-only Gradle runs.
- Review and verification agents run every scratch program (repro script, test harness, benchmark) under
timeout -k 5 60(gtimeout -k 5 60on macOS, or a perlalarmfallback), report a timeout as evidence instead of retrying with a longer limit, keep inputs to the smallest size that shows the behavior (for a complexity claim, time two or three small sizes and extrapolate), and cite a measurement another agent already made in the same pass instead of re-measuring. The rules live in## Scratch programsinskills/review/agent-instructions.md(#50). - A fix for a security finding, or for any finding whose correctness depends on an invariant over untrusted input, now reruns the verifier's triggering inputs and any fuzzed or enumerated corpus against the fix within the scratch-program limits, and commits a property or parameterized test stating the invariant. A fix that still fails is not pushed as fixed: the orchestrator's review-fix loop route-and-stops, and
pr-feedbackreturnsneeds-humanwithout afixedreply. The procedure is contract §9 (#51). - Review findings carry an optional
reproduction:field (the invariant, the escaped triggering inputs, and any fuzz or enumeration rule, corpus size, and failure count). The verifier fills it and the report prints it as Reproduction, so the fix step has the inputs to rerun (#51). auto-ticketandpr-feedbackgrantWrite(*)andBash(timeout:*, gtimeout:*), so the fix step can add the invariant test and run bounded scratch programs (#51).- On JVM projects,
work-ticketandauto-workskip separate compile-only runs (compileJava,compileTestJava,mvn compile) when a test run follows, go straight to the narrowest./gradlew test --tests <pattern>ormvn test -Dtest=<pattern>, batch related test classes into one run, and use a compile-only run at most once, only while scaffolding (#52).
- Natural-language review requests now show the full
/ccmagic:reviewreport, including the routing line and the severity sections, because the skill no longer runs undercontext: fork. In eval cases 02 and 04, every run where the skill fired showed the routing line in its final message, against 0/3 with the fork; seeevals/README.md. ccm-review-routeno longer writes a temp file, and the skills' heredocs (review's pasted diff, review-ticket'sccm-post-reviewcall, finish-ticket's GitHub comment) setTMPPREFIXunder$TMPDIR. zsh, the default macOS shell, writes heredoc temp files to/tmpregardless ofTMPDIR, so under a sandbox that allows only$TMPDIRthe heredoc failed before the script ran and the review improvised its routing line.- The review's final report starts with the routing line. Running inline, the early announcement can sit several tool calls above the report.
evals/run.shruns the eval suite withHOMEset to a temporary directory, so the eval tool's refusal of Bash-granting runs when~/.dockerholds symlinks (Docker Desktop always creates some) no longer blocks cases 01 to 05. It authenticates with aclaude setup-tokentoken from the keychain or environment. Reached through the Skill tool, the forked review returned its report to the parent conversation, which wrote its own summary and dropped the routing line, the report structure, and the confidence percentages. The skill now runs inline and its report is the user-facing message; the DEEP path still isolates the heavy reading in its Explore agents. The QUICK path now reads only the lines around a finding instead of whole files, and the skill says that "stop" returns to the calling skill when/ccmagic:review-ticketor/ccmagic:work-ticketinvoked it (issue #35).
/ccmagic:reviewdid not trigger on natural-language requests such as "can you review this before I open the PR?" or "can you code review this?"; only the slash command ran it. The skill'sdescriptionnow says when to use it, including a diff pasted inline. In the eval suite,review-firedon those two cases went from 0/3 to 3/3, and the negative cases still do not fire (issue #35, trigger half).
Fixes from the first /ccmagic:auto-ticket field run.
- Step agents that returned their report through a
SubagentHandbacktool call, or wrote a<SubagentHandback>tag as text, were sent back by the SubagentStop hook, and one retry delivered a report without the handshake. The agents and the contract (§3) now say how to hand back: the handshake ends the report, aSubagentHandbackmessage carries the full report ending with the handshake (never an empty message), the final text ends with the handshake too, tool-call tags are never written as text, and helpers run in the foreground instead of the agent ending its turn to wait. The hook's send-back message says the same. The hook still rejects any text after the handshake, including a trailing</SubagentHandback>tag. - Step agents could not reach the tracker (their tool lists carry no MCP tools), so they spawned helper agents to fetch or update the ticket, and the finish step could not move it. The orchestrator now fetches the ticket once and passes its title, description, and acceptance criteria in the grounding block's
ticket_content:on every transport, and it does every tracker write itself: In Progress, In Review, Done or the hand-off state, the PR link, and follow-up tickets. Steps report state changes inrequested_state:and items to file infollow_ups:(contract §8).work-ticket,review-ticket,pr-feedback, andfinish-ticketdo no tracker I/O when orchestrated; their interactive and standalone paths are unchanged. ccm-validatedid not detect Gradle or Maven, so a Gradle repo with apackage.jsonvalidated only its JS tests. It now detectsbuild.gradle*/settings.gradle*(./gradleworgradle) andpom.xml(./mvnwormvn). A JVM build suppliestestandbuild(gradle testandbuild;mvn -B testand-B verify) ahead ofpackage.jsonand the Makefile, which still supplyformat,lint, andtypes; Gradle'sspotlessCheckis used forformatwhen the root build file applies Spotless and nothing earlier supplied it.- A
follow_upsitem from acleanreview was left out of the run summary. The orchestrator now collects every non-emptyfollow_upsitem from every step and either files it or lists it in the summary's Follow-ups section with the reason it wasn't filed.
- The run record JSON gains an additive
follow_upsarray ({item, step, ticket, reason}per item). Existing keys are unchanged. requested_state:in the handshake is no longer prompt-relay only: every orchestrated step uses it to ask the orchestrator for a state change.
/ccmagic:auto-ticketlost its review and its run summary when the review step's analysis agents ran in the background. Claude Code launches agents in the background by default, andauto-reviewis a subagent, so it returned as soon as it ended its turn to wait for them: the orchestrator got no verdict, improvised the remaining steps, and never posted the run summary, so the merge gate found no run record (reeve RS-22, 2026-09-24; the same failure as RD-5 on 2026-09-21). The review skill now dispatches every agent batch in the foreground in one message (run_in_background: false), which still runs them in parallel, and runs the Codex pass in the foreground when autonomous.auto-ticketand everyauto-*agent keep allTaskand Bash calls in the foreground.
bin/ccm-review-route: applies/ccmagic:reviewStep 0.5 in code (at most 2 files, at most 50 changed lines, no risk-path match, no new types, no error-flow change, otherwise DEEP) for a branch range, PR, or pasted diff, and prints{route, reason, line, files, lines, risk_matches, ...}. It also reads and updatescontext/review-stats.json(--record name=N,...) and reports which specialists are gated.bin/ccm-post-review:/ccmagic:review-ticketposts its report through it. It refuses, with exit 1 and a list of problems, a report that doesn't start with the# Ticket-Grounded Review: {TICKET-ID}heading or doesn't end with the fenced handshake the merge gate reads (the format #40 and #41 fixed).bin/ccm-external-review: runs the Codex and Gemini passes in parallel undertimeout --kill-after=30 300, writes each pass's output and exit status to a run directory under the git dir (the 10 most recent are kept), and classifies each asfindings,empty,timed-out,auth-failed,unavailable, orfailed.bin/ccm-doctor: the doctor checks for context files, config, plugin hooks and scripts, git, branch and ticket ID, and skills run as a script that prints JSON lines{level, area, message, fix}, plus theccm-validate --listplan under a Validation area.hooks/lib-handshake.sh: the status-handshake validation, shared by the SubagentStop hook andccm-post-review.
/ccmagic:reviewprints the routing line fromccm-review-routeand records specialist stats with--recordinstead of editingcontext/review-stats.json. Theauto-reviewagent no longer has Write./ccmagic:reviewStep 3.5 and/ccmagic:codex-reviewcallccm-external-reviewinstead of runningcodexandgeminiby hand; Claude triage stays in the skills. The dimension prompts moved into the script unchanged, and codex-review's per-pass limit drops from 600 to 300 seconds./ccmagic:doctorrenders its report fromccm-doctorand keeps the MCP andghtracker checks. It warns when a skill listed in/ccmagic:helpis missing, and a missingjqis now FAIL.- Eval cases 01 to 05 assert that the routing line matches
ccm-review-route, and allow Bash so the skill can run it. - The routing line uses commas instead of dashes:
Routing → QUICK, reason: ....
bin/ccm-validate: runsformat,lint,types,test, andbuild, one command per check, and uses the command's exit code as the verdict, with no||fallbacks. Commands come fromvalidate_<check>config keys (nonedisables a check) or are detected frompackage.jsonscripts (with the lockfile's package manager),Makefiletargets,go.mod,Cargo.toml, or configuredpyproject.tomltools. Each check runs undertimeout(orgtimeout) withvalidate_timeout_seconds(default 540, so a timed-out check still reports before the Bash tool's 10-minute limit).--onlyruns a subset and--listprints the plan. Exit 0 pass, 1 fail, 2 nothing to run.- Config keys
validate_format,validate_lint,validate_types,validate_test,validate_build, andvalidate_timeout_seconds.
/ccmagic:validaterunsccm-validate --list, then oneccm-validate --only <check>call per check, and fills its report from the JSON. The autonomous handshake isdoneexactly when every check that ran passed (or nothing was configured) and otherwise names the failed checks. Coverage, security, and docs checks stay optional and interactive and never affect the verdict. The unimplemented.validation.jsonfile is gone in favor of thevalidate_*keys./ccmagic:testruns the full suite withccm-validate --only test; pattern,--affected, and coverage runs still useframework-commands.md.work-ticket,review-ticket,pr,pr-feedback, andauto-ticketStep 0 read config, ticket ID, and base branch fromccm-contextinstead of copies of that logic in prose. MCP probing and prompt-relay transport detection stay in the skills.prnow diffs against the target branch instead of a hard-codedmain.doctorchecks forbin/ccm-validateand reports whether atimeoutbinary is available.
tests/run.shran each test inside anifcondition, where bash ignoresset -e, so a test passed whenever its last command did, even if an earliercheckfailed. Tests now run withset -ein effect, and the output capture inrunand the hook helpers no longer aborts on a non-zero exit.
bin/ccm-pr-threads: review threads (grouped, with resolved/outdated state and anopenflag), reviews, and conversation comments from one GraphQL call.--since-id Hmarks reviewer comments above a high-water mark. A thread is handled when resolved, or when the author's last reply carries a disposition marker; afixedmarker counts only when its commit is on the branch, newer than the review comment, and touches the thread's file. A bare "will fix" reply leaves the thread open.bin/ccm-pr-reply: posts a thread reply with a disposition marker (fixed,declined,answered,deferred), refuses afixedreply citing an unpushed commit, and resolves the thread forfixed.- SubagentStop hook (
hooks/subagent-stop-handshake.sh): accmagic:auto-*step agent whose final message doesn't end with a valid status handshake is sent back once to add it, instead of the run parking with "produced no handshake". Plugin agents ignorehooks:in their own frontmatter, so it runs fromhooks/hooks.jsonand filters onagent_type.
auto-ticketStep 4 reads the high-water mark and new/open threads withccm-pr-threads, and waits for CI withccm-ci-status --watch --wait-key {run_id}-pass{n}. The wait's total is bounded by a deadline file, which replaces the instruction to count 10-minute watch cycles in working notes. "Clean" is nowopen_thread_count == 0plus agreenorno-ciCI status.pr-feedbackStep 2 usesccm-pr-threadsinstead of three REST calls plus thread reconstruction byin_reply_to_id. Autonomouspr-feedbacknow pushes before replying, and replies throughccm-pr-reply.
- The PreToolUse guard now also denies force pushes (any in autonomous runs; to
main,master,develop,release/*, or the default branch interactively),git add/git commitof secret-shaped files (.env, private keys, credential files; interactively the user can confirm withCCMAGIC_ALLOW_SENSITIVE=1, and## Always Includeincontext/commit-preferences.mdis honored), and, in autonomous runs, commits whose subject isn't in conventional-commit format.
- Interactive behavior change: staging or committing a secret-shaped file is now refused until the user confirms, and force-pushing to a shared branch is refused. Previously only
/ccmagic:pushasked about sensitive files, and nothing stopped a force push. - The commit-subject parser and pattern moved to
hooks/lib-commit.sh, shared by both commit hooks. The PostToolUse warning now also fires forgit commitinside a chained command (git add -A && git commit -m ...),-m '...',--message=, and-F -heredocs.
bin/ccm-context,bin/ccm-ci-status, andbin/ccm-merge-gate: bash scripts that print JSON for the questions skills used to answer from prose (ticket ID from the branch, resolved config, "is CI green", "may this PR merge").ccm-ci-status --watch --wait-keybounds the total CI wait with a deadline file under the git dir, so the caller no longer counts watch cycles.PreToolUseguard hook: in autonomous runs,gh pr mergeis denied whileccm-merge-gatefails, and always whenmerge_owner: reeve. Interactive merging is unchanged unlessmerge_guard: onis set.merge_guardconfig key (defaultoff).tests/run.shand a GitHub Actions workflow running it with shellcheck.
finish-ticketSteps 1 and 3 and the autonomous merge gate callccm-contextandccm-merge-gateinstead of parsingghoutput. The PR lookup no longer requestsstatusCheckRollup, which a fine-grained PAT cannot read.mergerunsccm-merge-gatebefore merging, and no longer suggests checking for conflicts withgit merge --no-commitin the working checkout or merging by hand into the target branch.
review-ticket: every report posted to the PR, full or delta, begins with the# Ticket-Grounded Review:heading and, in autonomous mode, ends with the fenced verdict handshake with the actual status filled in. The merge gate (Reeve) selects the comment by that heading and reads only a fencedstatus:line; a run on 2026-09-20 posted the handshake as bare text after a---and the ticket parked withreview-not-clean.
merge_owner: reeveandmerge_handoff_stateinccmagic.local.md. Withmerge_owner: reeve,finish-ticketruns its merge gate as a preflight and then hands the open PR off instead of merging (a tracker state move on Linear/JIRA, theawaiting-mergelabel on GitHub Issues, a requested state under prompt-relay);auto-ticketreports the run as handed-off. Absent the key, nothing changes.auto-ticketrun summaries end with a fenced JSON run record (ccmagic.version1): outcome, classification, pass counts, findings counts, and every step's handshake status, plus its reason when the sub-skill emitted one. Emitted on every outcome and transport, including parked.
Field report: /ccmagic:review — a skill whose whole job is to report — was editing source, committing, and pushing.
-
The review skill told itself to fix and commit (
skills/review/SKILL.mdStep 7, frontmatter, Step 6 report template) — Step 7a read "Apply each fix directly in source code" and "Commit each fix atomically:git commit -m \"fix(review): FINDING-NNN — description\"", with no flag guarding it and no line anywhere forbidding a push. Three things compounded it: the frontmatter grantedBash(git:*, gh:*), which matchesgit commit,git push, andgh pr create; the Step 6 report template required a Fixes Applied section whose example rows are commit hashes, so even a reviewer inclined to only report had an output slot it could not fill without committing; and the push itself was never written down at all — it is what a model does next once it has commits on a branch. Reviewing and landing are now separate: fixes are opt-in behind a new--fixflag,--fixstops at the working tree, and commit/push/PR are prohibited in every mode.reviewfrontmatter now grants read-only subcommands only (git diff|log|status|branch|show|rev-parse|merge-base|ls-files|blame,gh pr view|diff|list,gh repo view) instead ofgit:*, gh:*, so a write is refused by the permission layer rather than discouraged by prose.- Step 7 defaults to no writes: without
--fix, 7a and 7b are skipped entirely and the review must not offer to apply anything. With--fix, fixes require a clean working tree, are reported as[FIXED] file:line, and are left uncommitted for the user to review withgit diff. - The report's Fixes Applied section is omitted unless
--fixran, and listsfile:lineinstead of commit hashes. finding-schema.mdandtriage-instructions.mdno longer describefixable: trueas meaning "auto-applied" — it is a classification, and only a--fixrun acts on it.
-
review-ticketsaid it never mutates code while delegating to a skill that did (skills/review-ticket/SKILL.md) — line 204 has always read "This skill still only reports and verdicts — it does not mutate code; the caller applies fixes", andagents/auto-review.mdships without anEdittool for the same reason, but thereviewpipeline it runs inline carried the Step 7 fix-and-commit instructions with it. It now dropsEdit(*), narrows itsgit/ghgrants to read-only plus the two comment-posting subcommands it needs (gh pr comment,gh issue comment), and states explicitly that it invokesreviewwithout--fix.The autonomous path is unchanged and was already correct: on
fixable-findings,/ccmagic:auto-ticketStep 3 applies the findings itself, pushes via/ccmagic:push, and re-invokesreview-ticketwithreview_pass: {n}for a delta pass. Keeping the fix out of the reviewer is what makes that re-review meaningful — a reviewer that fixes its own findings and then verifies them is self-certifying.
Field report: a live /ccmagic:review DEEP run produced zero Codex findings and died at CODEX_EXIT=124. The 3.6.3/3.6.4 work made that timeout observable and non-blocking; this fixes what was actually eating the 5 minutes.
-
Codex CLI was loading someone else's review skill and following it instead of ccmagic's prompt (
skills/review/codex-pass.md,skills/codex-review/codex-prompts.md,skills/codex-review/SKILL.md§4) — Codex runs its own skill auto-matcher: at the start of a run it matches the prompt against thedescriptionof every~/.codex/skills/*/SKILL.mdand silently loads the best match. ccmagic's prompts open with "Review the changes on this branch … bugs, security issues, code quality", which is a near-verbatim match for GSD'sgsd-code-review("Review source files changed during a phase for bugs, security issues, and code quality problems"). Two seconds into the failing run — before touching the diff — Codex read thatSKILL.mdand its 838-line companion workflow, then followed those instructions: tracing risky changes into surrounding code, running tests, exploring files unrelated to the diff. It was still exploring whentimeoutkilled it. Every ccmagic prompt fed tocodexnow opens withDo not load, consult, or follow any installed skill, plugin, or workflow definition. This is a standalone review, not part of any phase-based workflow.— thereviewskill's adversarial pass and all sixcodex-reviewdimension prompts (security, architecture, correctness, errors, tests, deps), which are also fed to Gemini and are unaffected by the extra line there.Measured against
codex-cli 0.146.1with the skill installed: without the guard the hijack fired in 4 of 5 runs, with the first tool calls of the run beingsedon~/.codex/skills/gsd-code-review/SKILL.mdand~/.codex/gsd-core/workflows/code-review.md; with the guard prepended, 0 of 11 runs read any skill file. It is intermittent rather than deterministic, which is why the sentence must stay even when a run looks healthy. There is no flag to switch the matcher off —codex exec --disable skillserrors withUnknown feature flag: skills— so the suppression has to be textual, and each file carries a note saying so, because it otherwise reads like a redundant line to clean up.
3.6.3 fixed the fan-in deadlock in review and codex-review and named four other skills as still exposed. Two of them actually were.
-
debugcould treat an uninvestigated hypothesis as disproven (skills/debug/SKILL.md§5) — Step 5 launches up to 3 Explore agents, one per independent hypothesis, and Step 6 evaluates the results as though all of them arrived. An agent that never reports produces no verdict, and a missing verdict read as a negative result is worse here than in a review: a review loses findings, but a debugging session that silently rules out the correct hypothesis follows the wrong branch for the rest of its life. Step 5 now follows the shared fan-in protocol and records a silent agent's hypothesis asnot tested — agent did not report, keeping it on the candidate list as the first thing to re-run when the others fail. -
analyze-impactcould report a missing dependency scan as a clean one (skills/analyze-impact/SKILL.md§2) — Step 2 fans out three Explore agents (outward dependencies, inward dependencies, test coverage) and Step 3 consumes their results directly. If the outward-dependency agent goes silent and its silence renders as "no dependents found", the report declares a change safe at exactly the moment there is least evidence for that. Blast radius is the one output where a gap and a clean result look identical and mean opposite things. Missing directions are now labelledunknown — agent did not reportand the summary must say the assessment is partial.allowed-toolsgaineddate:*, echo:*for the deadline stamp, which itsBash(git:*)allowlist didn't cover. -
The 3.6.3 entry overstated who was affected — it said
debug,design-qa,browser-qa, andanalyze-impact"dispatch parallel agents".design-qaandbrowser-qadeclareAgent(*)inallowed-toolsbut neither SKILL.md body ever instructs launching one, so there is no join to protect and nothing to fix. The exposure was real fordebugandanalyze-impactonly.
Field report: a live /ccmagic:review-ticket DEEP run deadlocked and never produced a report. Six dimension agents ran and five reported; the sixth's completion notification never arrived, and Codex — launched in the background — was still working. With no deadline it could observe and no sanctioned way to ship an incomplete review, the orchestrator waited indefinitely, burning turns on echo waiting for correctness agent and codex. It was killed and the review was redone by hand. The recovered agent reports contained a High-severity finding the manual review had missed, so the cost of stalling was real findings lost, not just time.
-
reviewdiscarded the stderr its own error handling matches on (skills/review/SKILL.md§3.5) — the Codex invocation ended in2>/dev/null, while the Error handling block immediately below classifies failures by testing whether stderr containsauth/login/unauthorized. That branch was therefore unreachable, and an auth failure surfaced as an indistinguishable empty result. Codex output now goes to{RUN_DIR}/codex-output.txtwith2>&1, and the error handling reads that file. -
review's 5-minute Codex timeout was documented but never enforced (skills/review/SKILL.md§3.5) — the step said "use a 5-minute timeout (timeout: 300000)" while also specifyingrun_in_background: true. A backgrounded Bash task is detached and runs across turns, so a tool-level timeout does not stop it, and nothing gave the model a way to observe the 5-minute mark; the documented "Codex timed out after 5 minutes — continuing" branch had no trigger. The bound now lives in the command (timeout --kill-after=30 300 codex exec …), where it holds regardless of how the call is launched. Added atimeout --kill-after=30 600to each ofcodex-review's three external review passes (Codex in branch mode, Codex per-module in full mode, Gemini), which had no deadline at all.--kill-afteris what makes the bound hard rather than advisory: plaintimeoutsends onlySIGTERM, which the child is free to trap or ignore. -
The timeout signal was thrown away by the pipeline that carried it (
skills/review/SKILL.md§3.5,skills/codex-review/SKILL.md§4) — the enforced deadline above was first written astimeout N cmd 2>&1 | tee out.txt, but a pipeline reports the exit status of its last command, so$?wastee's0and nevertimeout's124. The "Codex timed out after 5 minutes" branch it was meant to trigger stayed unreachable — the same class of bug, at the command that replaced it. External CLI calls now redirect (> out.txt 2>&1) instead of piping totee, which buys nothing whencodex execbuffers its output anyway, and append the real status as aCODEX_EXIT=/CLI_EXIT=line that the error handling reads. Where the pipeline is structural —codex-reviewfeeds its prompt viacat … | codex—timeoutis already the last element and its status does survive, butset -o pipefailwas added there so a failingcatcan't feed the model an empty prompt and still report success. -
reviewcouldn't run its own timeout command (skills/review/SKILL.mdfrontmatter) —allowed-toolspermittedBash(git:*, gh:*, codex:*, which:*), but the new command's first token istimeout, matching none of them. It would have hit a permission prompt with nobody there to answer it, since/ccmagic:auto-ticket'sauto-reviewagent invokes this skill unattended. Allowlist extended tocommand:*, timeout:*, gtimeout:*, echo:*, date:*, mktemp:*— covering every command the reworked step now runs. (codex-reviewusesBash(*)and was unaffected.) -
timeoutwas assumed present, but it isn't on macOS (skills/review/SKILL.md§3.5,skills/codex-review/SKILL.md§1) — it's GNU coreutils; stock macOS ships neithertimeoutnorgtimeout, so on a Mac withoutbrew install coreutilsevery deadline-protected call would have failed withcommand not found— worse than the hang being fixed. Both skills now probe fortimeout, thengtimeout, alongside the existing CLI-availability checks, and skip the external pass with an install hint if neither resolves. Running unbounded is explicitly not offered as a fallback: that is the stall this deadline exists to prevent. -
An empty output file was being read as failure (
skills/review/SKILL.md§3.5,skills/codex-review/SKILL.md§5a) —codex execbuffers and writes nothing until it finishes, so a 0-byte file means "still working" exactly as often as "died"; in the field report this ambiguity led to Codex being declared dead while it was still running normally. Both skills now state that an empty file, an emptyBashOutput, or absence frompsis not evidence of failure — only a reported completion, a recordedCODEX_EXIT=/CLI_EXIT=status, or an error in the output file is. -
No fan-in protocol existed for the parallel agents (
skills/review/SKILL.md, new §3.9) — Step 3 dispatched up to 7 agents and Step 5 deduplicated as though every result were in hand; nothing anywhere covered an agent that never reports, which is what deadlocked the run. New Collect agent results step: stamp a deadline at dispatch (date +%s+ 600), and when it passes, produce the report with what arrived. The deadline is deliberately absolute rather than majority-conditional — the failure being defended against is several agents going quiet at once, and a countdown that only starts once a majority has landed never starts at all in exactly that case. It governs every fan-out in the skill, not just Step 3: full mode's module agents and Cross-Module agent, the Codex pass, and Step 5c's Critical/High verification agents were all separate joins where one silent agent could stall the run. A finding whose verifier never reports is now kept at its original severity as[Unverified]rather than being dropped or promoted. It also bans the three things that run did — polling with no-opechocommands, fabricating a missing dimension, andSendMessage-ing a completed agent to ask for findings it already produced (resuming a finished agent restarts it from its transcript and it may answer as if fresh, overwriting the report it already wrote — recover the result by reading its output file instead). -
A degraded review was indistinguishable from a clean one (
skills/review/SKILL.md§6,skills/codex-review/SKILL.md§8) — the report metadata listed which agents ran but had nowhere to record which ones didn't, so a silently omitted dimension read as "came back clean". Both report templates now carry a Coverage line marking any dimension asunavailable — did not report/timed out, and each external CLI asfindings | completed — 0 findings | timed out | unparseable | unavailable | auth failed | failed (exit N). -
The exit status was recorded but never consulted, and keyword matching stood in for it (
skills/review/SKILL.md§3.5,skills/codex-review/SKILL.md§5a) —reviewclassified an auth failure by searching its Codex output for the substringsauth,login,unauthorized. Once stderr was merged into that file it also held Codex's findings, and review findings routinely discuss authentication, login flows, and unauthorized access — so a successful review that happened to find an auth bug was discarded as an authentication failure, and the more it found, the likelier the misfire.codex-reviewwas worse: it wrote aCLI_EXIT=line that nothing read, and Step 5acat-ed every output file with no success/failure branching at all. Both skills now branch on the recorded exit status first and only then look for an anchored auth diagnostic (not logged in,run codex login), never a bare substring. A clean run with zero findings is now its own reportable state rather than being indistinguishable from a crash. -
Fixed
/tmppaths let runs contaminate each other (skills/review/SKILL.md§3.5,skills/codex-review/SKILL.md§3) — every intermediate file was a hardcoded/tmpname, andcodex-reviewaggregates results withcat /tmp/codex-*-output.txt. That glob matchescodex-review-output.txt, the file written by the separatereviewskill, so a leftover from any earlier run was silently ingested as a dimension nobody ran this time — and then fed the multi-model agreement boost, inflating confidence on the strength of a stale file. Concurrent runs were worse:codex-review-diff.txtis opened with>, so one run could truncate the diff another was mid-way through piping to Codex. Since/ccmagic:review-ticketand/ccmagic:auto-ticketboth reach these skills without anyone typing their names, concurrent runs are ordinary. Both skills nowmktemp -da per-run directory and scope every intermediate to it. -
codex-reviewfed its models a file it never wrote (skills/codex-review/SKILL.md§4) — all three CLI invocations read the dimension prompt from/tmp/codex-{dimension}-prompt.txt, but nothing anywhere created it; Step 4 only said to load the prompt templates into context. Thecatwould fail, and the Gemini pass — which interpolates the file with$(cat …)— would have sent an empty prompt and returned a confidently useless review. Step 4 now states explicitly that each selected dimension's filled-in prompt must be written to{RUN_DIR}/codex-{dimension}-prompt.txtbefore any CLI runs. -
codex-reviewwas told to use a tool it wasn't allowed to use (skills/codex-review/SKILL.mdfrontmatter) — the new "write the dimension prompt to disk" step said to use the Write tool, butallowed-toolslisted onlyRead/Bash/Glob/Grep/Task/TodoWrite/AskUserQuestion. The one step that had just been made non-optional was the one the skill couldn't perform. AddedWrite(*). -
codex-review's own agent fan-outs were left unbounded (skills/codex-review/SKILL.md§6, §7) — this release bounds every external CLI call in the skill, but its parallel Explore agents and Critical/High verification agents are the same join-on-an-agent-that-never-reports pattern the fan-in protocol exists for. Both now follow${CLAUDE_PLUGIN_ROOT}/skills/review/fan-in-protocol.md. Without this the stall survived incodex-review, one step over from where it was fixed. -
Two skills had frontmatter that isn't valid YAML (
skills/merge/SKILL.md:6,skills/pr/SKILL.md:6) —argument-hint: [PR-number] (optional)parses[…]as a flow sequence and then fails on the trailing text, so the whole block errors out in a strict parser. Both are now quoted, andanalyze-impact's unquoted hint — valid, but parsed as a list rather than a string — was quoted for consistency. Pre-existing, unrelated to the deadlock work, but a release is the right time. -
reviewreferenced a check that didn't exist (skills/review/SKILL.md§7) — auto-fix was to be skipped "if the working tree was dirty at the start of the review (detected in Step 0)", but Step 0 parses arguments and nothing in the skill ever rangit status. The precondition could never be established, so the guard never applied. It now says to rungit status --porcelainand skip auto-fix if anything comes back.
These additions pushed skills/review/SKILL.md past the 500-line ceiling in .claude/CLAUDE.md, so Step 3.5 and Step 3.9 were extracted to skills/review/codex-pass.md and skills/review/fan-in-protocol.md, following the pattern the skill already uses for agent-instructions.md and triage-instructions.md. Both steps keep a short summary inline and load the detail via ${CLAUDE_SKILL_DIR}. Also bumped .claude-plugin/marketplace.json to 3.6.3, which the original version bump missed — it had been left at 3.6.2 while plugin.json moved.
Scoped to review and codex-review deliberately, because they are where the field report's stall occurred and the only skills that background a CLI with run_in_background. debug, design-qa, browser-qa, and analyze-impact dispatch parallel agents too and remain exposed to the agent-fan-in half of this bug; extending the §3.9 collection protocol to them is follow-up work, not something this entry claims to have done.
validatecatalogued broken commands and could mask real failures (skills/validate/SKILL.md) — two illustrative commands didn't work as written:python -m ast **/*.py(§2) errors on more than one file (theastCLI accepts a single file, andpy_compileon the line above already covers multi-file syntax checking), andnpx eslint --no-eslintrc --parser espree --no-config(§2) uses flags that don't coexist (--no-eslintrcwas removed in ESLint 9) with no target path. Removed the former and replaced the latter withnode --check. Also reframed the||command chains: a check tool exiting non-zero usually means a real failure (lint errors, failing tests), so chaining past it with||masked that failure by falling through to the next tool. Added a note under Implementation Steps clarifying that||denotes "whichever tool this project uses" — pick one per detected stack, don't shell-fallback — split the cross-stack test chain (§6) into per-language lines, and hardened the autonomous-mode handshake (§10) to state that a non-zero exit from any selected check is a failure and must never be converted to a pass, since it gates the/ccmagic:auto-ticketmerge decision.
doctorran two dead checks and under-reported config (skills/doctor/SKILL.md) — the commit-hook (§4) and skill-inventory (§7) checks located the plugin viaclaude plugins show ccmagic --path, which is not a real CLI subcommand; wrapped in$(… 2>/dev/null)the failure was swallowed and the substitution returned empty, so the hook check always rantest -f "/hooks/…"against the filesystem root (always "missing") and the inventory checkls-ed a nonexistent/skills(always skipped). Both now resolve via$CLAUDE_PLUGIN_ROOT(the variable already used byhooks/hooks.json), degrading to anINFOline when it is unset rather than emitting a false failure. Additionally, the project-config section (§2) now parses.claude/ccmagic.local.mdfrontmatter and echoes the resolvedtracker,ticket_url_base,ticket_id_regex,default_qa_workflow,github_repo,autonomous, andneeds_human_labelvalues (falling back to documented defaults for absent/commented keys) instead of only describing what it would report.
Field hardening from the FullAuto smoke test on the live Cyrus instance: a run implemented a ticket, opened and reviewed the PR, then — unable to read the PR's checks — ended by asking a human to confirm CI was green instead of merging or parking. The root cause is not the pipeline but the token: Cyrus authenticates with a fine-grained PAT, and fine-grained PATs cannot read check runs authored by a GitHub App (GitHub Actions, and bot reviewers like Copilot/Claude, are Apps), so gh pr checks / statusCheckRollup return Resource not accessible by personal access token (HTTP 403) even with Checks: read granted. The Actions API (gh run …) and the Status API stay readable with Actions: read + Commit statuses: read.
- CI reads are permission-robust; an autonomous run never ends by asking about CI (
skills/auto-ticket/SKILL.mdStep 4c,skills/finish-ticket/SKILL.md§3b + merge gate,skills/auto-ticket/autonomous-contract.md) — whengh pr checks/gh pr view --json statusCheckRollupfail with a permissions 403 (a fine-grained PAT cannot read App-authored check runs), the CI wait and the merge gate now fall back to the Actions + Status APIs:gh run list --commit <sha>/gh run watch <id>for GitHub Actions runs (green = every runcompletedwith conclusion in {success, skipped, neutral}) plusgh api …/commits/<sha>/statusfor legacy statuses, instead of treating CI as unreadable. CI is parked as "cannot read CI status" only when both the Checks API and the Actions/Status APIs are unreadable, and the merge gate now states explicitly that an autonomous run ends by merging or route-and-stop — never by emitting a question. The fallback sees GitHub Actions runs and legacy commit statuses; a repo whose required checks are third-party-App check runs (unreadable by any fine-grained token) is treated as unreadable and parked, never a false green.
Hardens Linear transport selection after end-to-end validation on a live self-hosted Cyrus instance disproved the founding assumption of the prompt-relay work: Cyrus does provide the official hosted Linear MCP (https://mcp.linear.app/mcp), connecting in ~450 ms with the full toolset. mcp is the primary transport on Cyrus; prompt-relay is the fallback for the connect-window and for genuinely MCP-less harnesses. See docs/mcp-transport-detection-hardening-design.md.
- Transport detection misread a still-connecting Linear MCP as absent (
skills/auto-ticket/autonomous-contract.md§7) — §7 condition (b) tested instantaneous tool discoverability, so at cold start on Cyrus (where the MCP connects non-blocking with ToolSearch-deferred tools) a registered-but-connecting server read as "no MCP" and the run fell to prompt-relay. Detection now keys on Linear MCP server availability — amcp__*[Ll]inear*__*tool that is directly callable, present in the deferred/loadable list, or a server reported "still connecting" all count as present — with the pattern made explicitly case-insensitive so Cyrus's lowercasemcp__linear__*matches. Loading is a bounded, non-blocking ToolSearch attempt (nosleep: the raw MCP client log showed the server connects in well under a second; the real gap is a per-context tool-discovery lag a wait cannot bridge), falling through to prompt-relay when the tools genuinely aren't reachable. - A forked
auto-ticketcould get neither the MCP nor the ticket content, and stall (skills/auto-ticket/SKILL.md,skills/auto-ticket/autonomous-contract.md§7fetch_ticket,docs/cyrus-deployment.md) —auto-ticketrunscontext: fork, so it sees only its own invocation args; a harness that injects the ticket into the parent prompt (as the Cyrus FullAuto template did) never reaches the fork, which then had neither MCP tools (discovery lag) nor content and got stuck. Added a fork-safe working-directory handoff file: the harness writes the ticket title + description to.ccmagic-ticket.mdin the working directory before invokingauto-ticket, which reads it (thenrms it, so it is never committed) when content isn't inline and no MCP is reachable — making prompt-relay an always-available floor regardless of the MCP-discovery race. The documented Cyrus prompt template is updated to write the handoff file.
- Sub-skills trust the orchestrator's resolved transport (
skills/work-ticket/SKILL.md,skills/review-ticket/SKILL.md,skills/finish-ticket/SKILL.md,skills/pr-feedback/SKILL.md) — when invoked with a grounding block that carriestransport:, a sub-skill now uses that value instead of re-detecting, so transport is resolved once per run and per-step decisions can't diverge (a real inconsistency observed in testing, where one cold-start fork leaned prompt-relay while its siblings usedmcp). Standalone invocations (no grounding block) still detect via §7. - Docs corrected (
docs/cyrus-deployment.md,docs/cyrus-prompt-relay-transport-design.md,skills/doctor/SKILL.md) — the earlier "Cyrus has no Linear MCP" framing was wrong; Cyrus provides a hosted Linear MCP,mcpis primary and prompt-relay the fallback. Documents the two in-container prerequisites found in testing: each repo'sallowedToolsmust includemcp__linear(a verbatim override drops it), and the plugin directory must be readable by the session.doctornow notes that a registered-but-still-connecting server is present, not missing.
Field-run hardening from two real-world /ccmagic:auto-ticket retrospectives — one run stalled silently at the CI wait, the other merged safely but only just, because its review-fix loop reasoned about instances of a bug rather than the defect class. See docs/auto-ticket-field-hardening-design.md for the full incident analysis.
- The Step 4c CI wait (
skills/auto-ticket/SKILL.md,skills/auto-ticket/autonomous-contract.md§5) — previously specced as a sleep-based poll loop ("poll everyci_poll_interval_seconds"), which no orchestrator toolset could actually execute and produced a field-observed silent stall. Replaced with a bounded blocking watch:gh pr checks --watchinvoked as a single Bash call at the maximum tool timeout, budgeted by invocation count rather than shell state (CYCLES = ceil(ci_timeout_minutes / 10), since nothing persists across Bash calls), plus an evidence-based no-checks guard: an empty check set counts as "no CI configured" only when the repo has no workflow files and no required status checks; CI that exists but hasn't registered its checks yet is waited on via the head SHA's workflow run (gh run watch) or parked — never treated as a vacuous green.finish-ticket's merge gate applies the same rule to an emptystatusCheckRollupand still re-verifies CI status before merging, so it remains the backstop if the wait is ever skipped or misconfigured. finish-ticketbranch cleanup in linked worktrees (skills/finish-ticket/SKILL.md) —--delete-branchwas failing noisily on a worktree-per-ticket checkout. Linked-worktree detection now comparesgit rev-parse --path-format=absolute --git-diragainst--git-common-dir; in a worktree, the merge runs without--delete-branch, the remote branch is deleted best-effort only once the merge is confirmedMERGED, and the local worktree is left in place without error — a normal solo-dev setup, not a failure. A second new error-handling path covers conflict resolution hitting "is already used by worktree at": re-run the conflict-resolution commands from that worktree path instead of failing.
- Systemic-finding enumeration (
skills/review/finding-schema.md,skills/review/agent-instructions.md,skills/review-ticket/SKILL.md,skills/auto-ticket/SKILL.md) — an optionalsystemic:field on review findings for when an issue is one instance of a repeatable pattern; the reporting agent states the defect class and enumerates every instance across all reference mechanisms that could carry it (template attributes, ES-module imports, CSS@import/url(), manifests, config files, etc.), not just the mechanism of the first hit. The scoped all-clear rule is now universal across all review agents — an unscoped "no other instances" claim must be downgraded to name its search scope, since an unscoped claim is more dangerous than silence in a loop that acts on verdicts.auto-ticket's Step 3 fix loop fixes asystemic-tagged finding as a whole class (fix every enumerated instance, re-run the enumeration search, then re-review) instead of point-fixing the reported line. work-ticketinvariant self-check and risk-ordered scoping (skills/work-ticket/SKILL.md) — scope validation now requires identifying any invariant the change's safety depends on (especially one the change itself asserts in comments, docs, or the PR body) and verifying it holds repo-wide before shipping; a violated invariant is a gap to close, orneeds-humanin autonomous mode. Complex Feature scoping guidance now also prefers shipping the lower-risk slice first and requires flagging any new latent-failure mode the retained slice introduces (aggressive caching, destructive migrations, auth changes) explicitly in the PR body.- Delta re-reviews (
skills/auto-ticket/autonomous-contract.md§2,skills/review-ticket/SKILL.md) — the grounding block gains an optionalreview_pass: {n}field, set whenauto-ticketre-invokesreview-ticketfrom the Step 3 fix loop, plus aprevious_findings:section listing what was just fixed. A fresh review subagent has no memory of the prior pass, so onreview_pass≥ 2 it verifies each prior finding fixed/not-fixed as a one-liner and posts a delta report — net-new findings in full, the prior report referenced rather than repeated — instead of a full fresh review. Review passes post their report as a PR comment viagh pr commentwhen a PR exists, so each pass leaves an artifact the next one can reference. - Idempotent run summary (
skills/auto-ticket/SKILL.mdStep 6) — the run-summary template gains a**Run:** {run_id}line, and posting is skipped if a summary comment carrying thatrun_idalready exists on the PR, so a same-run re-execution of Step 6 never double-posts.
- All six
agents/auto-*.mdnow declare explicittools:allowlists instead of relying on prose alone to describe their capability boundary. Notably,auto-reviewstructurally losesEdit— review can no longer mutate code, only report on it. max_review_fix_passesdefault raised 2 → 3 (skills/auto-ticket/autonomous-contract.md§5,skills/auto-ticket/SKILL.md,docs/ccmagic.local.md.example) — deliberate headroom so a systemic defect class is never left half-fixed for lack of a remaining pass.
- Prompt-relay transport (
skills/auto-ticket/autonomous-contract.md§7) — supports headless harnesses (e.g. Cyrus) that inject a Linear ticket directly into the prompt with no Linear MCP in the environment. Detection is content-presence — tracker resolves tolinear, nomcp__*Linear*__*tool is present, and ticket content was passed in the invocation/grounding block — zero new config keys, and behavior is unchanged whenever an MCP is present. Under this transport, the contract's tracker-I/O ops branch:fetch_ticketreads title + description from the grounding block'sticket_content:section instead of calling the MCP; everyset_statecall becomes a no-op — the harness/tracker automation owns the transition, with the non-trivial moves (In Review/Done/needs-human) additionally reported as an intent via the handshake instead of performed directly; tracker writes collapse into a single consolidated final message (delimited by=== FINAL MESSAGE TO RELAY (reproduce verbatim) ===) rather than per-step comments; and follow-up tickets, which can't be created without an API, are listed under "Follow-ups to file" for a human to file manually. A park (needs-human) skips the state move entirely — that's never treated as a failure. The GitHub/PR half of the cycle (branch, push, PR, CI, merge viagh) is unaffected. Seedocs/cyrus-deployment.mdfor deployment prerequisites and the required prompt template.
- Grounding block (contract §2) — now carries a
transport: {mcp | prompt-relay}field on every sub-skill invocation, and under prompt-relay, a fencedticket_content:section (title + description) since there's no MCP to fetch the ticket from. - Status handshake (contract §3) — gains an optional
requested_state:field, prompt-relay only: a sub-skill that would have transitioned ticket state reports the intended state here instead of performing the transition; the orchestrator folds it into the final summary as aRequested state: {X}intent line. skills/auto-ticket/SKILL.mdNotes — corrected a stale note that claimed the autonomous cycle was already safe to run unmodified "from Cyrus's Dockerized worker" (which implicitly assumed a Linear MCP that doesn't exist in that container); it now documents the prompt-relay transport as the actual mechanism headless harnesses use, pointing todocs/cyrus-deployment.md.
- Per-step subagents for
/ccmagic:auto-ticket— each lifecycle step (work / review / pr-feedback / validate / finish / push) now runs in its own forked subagent on a best-fit model, keeping the orchestrator's context lean on long unattended runs. New thin wrapper agents live inagents/auto-*.md; the lifecycle skills' logic is reused unchanged (only three of them have theirmodel:line tuned (work/review →inherit, push →haiku) — see Changed). Each step always runs in its own forked subagent. - Per-step model selection — Balanced defaults (
opusfor work/review,sonnetfor pr-feedback/finish/validate,haikufor push), overridable per repo withmodel_<step>keys.auto-ticketitself is nowcontext: fork.
skills/auto-ticket/SKILL.md— nowcontext: fork; every step routes through arun_stephelper (forked-per-step or inline). The handshake contract is unchanged; it now returns across the subagent boundary.- Lifecycle-skill default models tuned (part of the per-step model strategy, which removes the model-clobber risk at the source so per-step models are correct by construction):
work-ticketandreview-ticketnow usemodel: inherit(scale to the session model instead of a pinnedsonnet), andpushnow usesmodel: haiku. This also changes interactive use of those three skills — e.g. a human running/ccmagic:pushnow getshaiku.pr-feedback,finish-ticket, andvalidatestaysonnet.
/ccmagic:auto-ticket [TICKET-ID]— an autonomous end-to-end ticket driver. Given a ticket ID (or the current branch), it runs the full lifecycle unattended —work-ticket → review-ticket → pr-feedback (looped) → finish-ticket— invoking each sub-skill in autonomous mode, parsing its status handshake, and owning the single merge-or-park decision. Built for solo-dev projects and headless runners (e.g. Cyrus, Linear-triggered, Dockerized): auto-merge with no human in the loop is intended. The safety property is not "avoid merging" — it's that genuinely uncertain work is parked (moved to a needs-human state, commented, not merged) instead of guessed or stalled. Every run ends merged or parked-needs-human; it never hangs waiting for input.skills/auto-ticket/autonomous-contract.md— the shared contract the driver and sub-skills agree on: the autonomous signal, the grounding block, the status handshake vocabulary, and the singleroute-and-stopparking routine.- Autonomous mode (opt-in, additive) on five lifecycle skills —
work-ticket,review-ticket,pr-feedback,finish-ticket, andpusheach gained an "Autonomous mode" section describing what happens at every existing human-gate when an autonomous signal is set. Highlights:work-ticket— proceeds with its own classification (recorded in the PR body), creates the PR without pausing, and treats a missing acceptance criterion as not done (keeps working, or parks — never commits a partial). Material implementation ambiguity → needs-human.review-ticket— uses the inferred acceptance criteria without asking, applies drift rules automatically (out-of-scope stays but is flagged; missing AC = not-done; CRITICAL findings must be fixed), and emits aclean | fixable-findings | needs-humanverdict.pr-feedback— now executes its triage instead of only planning it: applies address-now fixes, replies to declined/question threads, files a follow-up ticket per deferred/out-of-scope item, and pushes. Conventions decide reviewer conflicts automatically; a genuine tie → needs-human.finish-ticket— the Step 3 sanity check becomes a hard merge gate (mergeable + CI green + no unaddressed change-requests); anything short of that parks the ticket instead of merging. Trivial merge conflicts auto-resolve; business-logic conflicts → needs-human.push— never commits a sensitive file unattended (skips it, or parks if it's genuinely required), and resolves the pre-push prompts (no upstream, behind remote) with safe defaults so an unattended run never hangs.
- New
ccmagic.local.mdkeys (documented indocs/ccmagic.local.md.example):autonomous(bool, defaultfalse),needs_human_state(parked-ticket state),needs_human_label(fallback label, defaultneeds-human),max_feedback_passes(int, default3), plus the other autonomous loop boundsmax_review_fix_passes(2),max_validate_attempts(2),ci_timeout_minutes(30), andci_poll_interval_seconds(60) — each has a built-in skill default and only needs setting to override. - User-level config file — ccmagic config now resolves by precedence: an explicit arg / orchestrator grounding-block value → the project file
.claude/ccmagic.local.md→ the user file~/.claude/ccmagic.local.md→ the built-in default. Personal defaults (e.g. a longerci_timeout_minutes, orautonomous: true) can live once in the user file and be overridden per-repo. README.md→ Autonomous mode section and adocs/ccmagic.local.md.exampleexplainer covering the flow, the merge-or-park safety property, and how to turn it on.
pr-feedback— addedSkill(*)toallowed-toolsso its autonomous path can invoke/ccmagic:push. The interactive plan-only path is unchanged./ccmagic:helpand the README skill tables now listauto-ticket(24 skills total) and include an autonomous-workflow example.- Autonomous behavior is strictly additive — every interactive path across the five modified skills is untouched; the new defaults are gated behind an explicit autonomous signal (
--autonomousarg → orchestrator grounding block →autonomous:config, in that priority order).
- Add
user-invocable: trueto the three skills that omitted it (browser-qa,design-explore,design-qa), so all 23 skills consistently match the documented "all skills are user-invocable" convention.
- Stop tracking
.claude/settings.local.json(a personal, machine-local Claude Code settings file) and add a.gitignorecovering it plus editor swap/backup files. It should never have shipped in the repo or the plugin bundle.
- Add the required
timeoutfield (10s) to the PostToolUse hook entry inhooks/hooks.json. Claude Code treats the field as optional, but the marketplace/sandbox validator requirestimeout(ortimeoutMs) on every hook, which caused ahook timeout or timeoutMs is requirederror and a cascading plugin-manifest rejection.
- Add the required
namefield to the YAML frontmatter of all 23 skills. The field matches each skill's kebab-case directory (e.g.name: finish-ticket). Claude Code's plugin loader infers the name from the directory, so the omission was silent locally, but the marketplace/sandbox validator requires an explicitnamestring — its absence causedfront matter must include a string nameerrors and a cascading plugin-manifest rejection.
Breaking change. ccmagic refocuses from project management to dev workflow. 23 planning/state-management skills have been removed; 3 new tracker-aware skills have been added; a non-blocking commit-format hook now ships with the plugin.
ccmagic v1–v2 grew into a 40-skill project-management surface: epics, features, tasks, spikes, backlogs, sessions, daily standups, checkpoints, handoffs, sync, status, progress. It worked, but in practice the maintainer ended up using other tools for the project-planning side of the loop:
- GSD for milestone planning, roadmaps, phase-based execution, and the structured workflow side of large projects.
- Superpowers for shorter-lived feature work, brainstorming, plan execution, and test-driven discipline.
Both tools were doing the planning job better than ccmagic, but ccmagic kept its planning skills around for backward-compatibility. The result was a plugin pulling in two directions: half of the surface was duplicating what GSD/Superpowers already did, and the half that was genuinely useful (code review, push/pr/merge, debug, design QA, research) was buried under the planning verbs.
v3 strips the planning side and goes all-in on the dev workflow loop: pick up a ticket → branch → implement → review → PR → merge → close. The skills that survived are the ones that earned their keep on every single workday regardless of how the planning was being done.
The intent is that ccmagic v3 + your planning tool of choice covers the full loop:
| If you used… | Now use… |
|---|---|
/ccmagic:plan, /ccmagic:create-features, /ccmagic:create-tasks |
GSD /gsd:plan-phase or Superpowers brainstorming skill |
/ccmagic:start-task, /ccmagic:current-task, /ccmagic:complete-task |
GSD /gsd:execute-phase, or use /ccmagic:work-ticket {ID} if work is tracker-driven |
/ccmagic:checkpoint, /ccmagic:handoff, /ccmagic:context-save, /ccmagic:context-load |
GSD /gsd:pause-work + /gsd:resume-work, or rely on Claude Code's native context management |
/ccmagic:status, /ccmagic:progress, /ccmagic:daily-standup |
GSD /gsd:progress + /gsd:stats |
/ccmagic:discuss-feature |
GSD /gsd:discuss-phase or Superpowers brainstorming |
/ccmagic:add-backlog, /ccmagic:blockers |
GSD backlog system, or your tracker (Linear, GitHub, JIRA) |
/ccmagic:verify |
/ccmagic:review-ticket (now checks AC against the diff), or GSD /gsd:verify-work |
/ccmagic:sync, /ccmagic:quick-start, /ccmagic:resume, /ccmagic:create-spike, /ccmagic:start-spike |
GSD equivalents, or drop them |
If you weren't using GSD or Superpowers, v3 is still useful — the tracker-aware skills (work-ticket, review-ticket, finish-ticket) and the dev verbs (push, pr, review, debug, etc.) cover most day-to-day work. You'll just lose ccmagic's own project-management story.
/ccmagic:work-ticket {ID}— End-to-end ticket workflow. Detects your tracker (Linear / GitHub Issues / JIRA), looks up the ticket, classifies the work (Quick Fix / Complex Feature / Debugging), creates a branch, runs the right execution path, validates scope against the ticket, and opens a PR. Replaces the JIRA-only version that lived in thegeneral-dev-claude-plugin./ccmagic:review-ticket [ID]— Code review grounded in the ticket's stated scope. Fetches the ticket and acceptance criteria, runs/ccmagic:reviewwith the ticket as the primary intent source, and adds an explicit Ticket-scope drift section: in-scope changes, out-of-scope changes (need justification), missing-from-ticket AC items./ccmagic:finish-ticket [--qa]— Closes a ticket end-to-end after the PR is ready. Sanity-checks the PR (CI, reviews, scope alignment), confirms disposition (Done by default, QA opt-in), merges with the right strategy, and posts the merge back to the tracker.- Multi-tracker support for the three skills above. Linear (via Linear MCP), GitHub Issues (via
ghCLI), JIRA (via Atlassian MCP). Auto-detection cascade based on MCP availability, CLI availability, branch hints, and.claude/ccmagic.local.mdconfiguration. - Commit-format hook (
hooks/post-tool-use-commit.sh) — Non-blocking PostToolUse hook that validates every commit's subject line against the conventional-commit format. Warns but never rejects, so it's safe on repos with non-conventional commit history. .claude/ccmagic.local.md— Per-project tracker config (which tracker, URL base, ticket ID regex, QA workflow toggle, GitHub repo). Template indocs/ccmagic.local.md.example. Created by/ccmagic:initand edited by/ccmagic:settings.
/ccmagic:reviewnow has adaptive QUICK/DEEP routing. QUICK is an inline checklist pass; DEEP is the full multi-agent pipeline (4 core agents + conditional specialists + Codex CLI + MCP fallback + Critical/High verification). Default routing is biased toward DEEP — QUICK only fires for clearly trivial diffs (≤2 files, ≤50 lines, no risk paths, no new types, no error-handling changes). Override with--quickor--deep./ccmagic:initis heavily slimmed. v2 created an epic/feature/task/spike/session/backlog directory tree. v3 creates onlycontext/conventions.md,context/branching.md,context/knowledge/, and.claude/ccmagic.local.md. No planning state./ccmagic:doctorrewritten to check the new surface: project config files, tracker integration availability, commit hook installation, branch convention compliance. v2 checked epic/feature/task directory health, which is no longer relevant./ccmagic:helprewritten around the new 23-skill surface./ccmagic:settingstrimmed to tracker-related knobs (default tracker, QA workflow, ticket-ID regex override). Removed knobs for the deleted planning skills..claude/CLAUDE.mdconsolidated. Now contains two parts: (1) ccmagic conventions documented for consuming projects (commit format, branch naming, ticket-ID regex), and (2) plugin-development notes for anyone editing ccmagic itself. The conventions live here (not at the plugin root) so they don't leak into consuming-project context.- Plugin description and keywords updated to reflect the dev-workflow focus.
- 23 project-management skills:
add-backlog,blockers,checkpoint,complete-task,context-load,context-save,create-features,create-spike,create-tasks,current-feature,current-task,daily-standup,discuss-feature,handoff,plan,progress,quick-start,resume,start-spike,start-task,status,sync,verify. skills/init/full-template.md(the full-mode template that built the epic/feature/task tree).- Planning-state references throughout the kept skills:
/ccmagic:statusfollow-ups inpr/merge/validate/test,context/working-state.mdupdates inpush,context/backlog.mdoffers indebug,context/features/*/tasks/lookups inanalyze-impact/test/review/codex-review,/ccmagic:init//ccmagic:plannext-step pointers inmap-codebase.
Existing v2.x project directories (context/features/, context/tasks/, etc.) aren't auto-migrated — they're harmless if left in place but no v3 skill reads them. You can delete them, archive them, or leave them.
Kept files:
context/conventions.md— coding standards (read byreview,codex-review,pr-feedback,push,quick)context/branching.md— branch strategy (read bypr,merge)context/knowledge/*.md— architecture/stack/conventions (produced bymap-codebase; read byreview,codex-review,analyze-impact)
New files:
.claude/ccmagic.local.md— tracker config (created by/ccmagic:init)
The recommended migration path:
- Back up your v2
context/directory if you want to preserve historical planning data. - Run
/ccmagic:init— it's idempotent and won't touch existingconventions.md/branching.md/knowledge/files; it'll just add.claude/ccmagic.local.mdand any missing files. - Run
/ccmagic:doctorto confirm the setup is healthy. - If you used
/ccmagic:map-codebasebefore, you can re-run it to refreshcontext/knowledge/against the current state of the code.
ccmagic/
├── .claude-plugin/
│ ├── plugin.json
│ └── marketplace.json
├── skills/
│ └── <name>/SKILL.md # 23 skills
├── hooks/
│ ├── hooks.json
│ └── post-tool-use-commit.sh
├── docs/
│ └── ccmagic.local.md.example
├── .claude/
│ └── CLAUDE.md # Conventions + dev notes (not auto-loaded)
├── README.md
├── CHANGELOG.md
└── LICENSE
See git history. v2.x was a 40-skill project-management plugin centered on epics/features/tasks/spikes/sessions, with code-review and design-QA verbs alongside. The planning surface was the headline feature; v3 inverts that.