Skip to content

Latest commit

 

History

History
807 lines (487 loc) · 148 KB

CHANGELOG.md

File metadata and controls

807 lines (487 loc) · 148 KB

Changelog

All notable changes to ccmagic are documented here. The format follows Keep a Changelog, and the project follows Semantic Versioning.

[3.32.0] - 2026-11

Fixed

  • A change follow-up's acceptance criteria check only what its ## Change changes. On reeve-dashboard PR #161 (RD-136) the review step filed RD-145 for test/web/me.test.tsx and RD-146 for test/web/stepper-review.test.tsx, each with the criterion "The test passes on 20 consecutive runs of the full npm test suite" 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 fixed stepper-review.test.tsx too (commit 703e37e on PR #165), and RD-146, working on that file at the same time, hit a merge conflict. /ccmagic:auto-ticket Step 6 now says a criterion never requires something ## Out of scope excludes 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-check has 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 a test, 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 as npm test is not a file, so RD-145's criterion fails. With --carried-over the 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-ticket Step 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 a needs-human reason. /ccmagic:review-ticket does 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 a follow_ups: item starting other 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-ticket keeps described_head, the PR head the description was written for, only when the PR was created in this run (otherwise it compares from origin/{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 with gh pr view --json body,headRefOid,baseRefName, lists the commits up to that head with git 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 with gh pr edit --body-file -. An edit can restart checks through pull_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 in skills/pr/refresh-description.md, beside the PR skill that writes the description, and /ccmagic:pr follows them in place of creating a second PR when the branch already has one open.

[3.31.0] - 2026-11

Added

  • 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 ## Change section with the one chosen approach that names the file in backticks (and the symbol), a ## Out of scope section with at least one line, and the ## Acceptance criteria list as before; the opener's PR and the named file are its context. /ccmagic:auto-ticket Step 6 states the shape, and its example follows it. The decision shape is unchanged.
  • ccm-followup-check requires the new parts of a change description, with the rules goal-missing (the line after the opener is not Goal: ...), scope-missing, scope-empty, and change-file-missing (no backticked file in ## Change: a path with a /, a name with a known file extension such as build.gradle, application.properties, or Main.svelte, a dot name such as .gitignore, or a known extensionless name such as Makefile or LICENSE, each with an optional :line suffix). A dotted symbol such as user.id or config.get is not a file, and a bare *.json name counts only as a well-known root file (package.json, tsconfig.json, ...), so res.json does not. Its output gains old_shape and warnings. A change description with no Goal: line and no ## Out of scope section is in the shape before this release (old_shape: true): it fails on goal-missing and scope-missing, unless the new flag --carried-over is given, when it passes with an old-shape warning 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 its Follow-up key: still matches for the duplicate search. A description with either new part is checked in full, with or without the flag.

Fixed

  • /ccmagic:work-ticket, /ccmagic:pr-feedback, and /ccmagic:finish-ticket run on their own no longer finish or hand off on a stale review (RV-178). Reeve's retro rule 18 counted 7 parks as review-not-clean because 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-ticket has 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 in skills/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 with gh pr view --json headRefOid, rerun /ccmagic:review-ticket on it (a delta report with review_pass: and previous_findings: when an earlier review exists), and confirm the new report's head: equals the PR head and its status: is clean. A fixable-findings review gets a fix loop bounded by max_review_fix_passes in work-ticket and pr-feedback, and is a stop in finish-ticket, which fixes nothing. A review of uncommitted changes covers the first push when that push committed exactly what it read, whatever its handshake head: says, so a standalone work-ticket does not review the same changes twice. The checkout is brought to the PR head with git checkout {headRefName}, git fetch origin {headRefName}, and git merge --ff-only FETCH_HEAD, never a bare git pull, which fails on a branch a sandbox pushed with no upstream; a failed fetch and a real divergence are reported separately. finish-ticket reads 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 no head:. work-ticket runs the check after it opens the PR and after each later push, before it moves the ticket to In Review; pr-feedback runs it on a top-level autonomous pass that pushed, before its handshake, and lists it in the interactive next steps; finish-ticket runs 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 a Review head: line under Reviews in its sanity check. An orchestrated finish-ticket that pushes a conflict merge used to merge a head no review had read, since Step 3d skips itself when orchestrated; it now returns needs-human instead of merging. To keep finish-ticket/SKILL.md under 500 lines, its conflict handling and error table moved to skills/finish-ticket/merge-conflicts.md and skills/finish-ticket/errors.md. In autonomous mode a review that cannot be brought to the PR head is needs-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.

[3.30.1] - 2026-11

Fixed

  • /ccmagic:auto-ticket files 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 by Follow-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's follow_ups give 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 reason to file: no create API under prompt-relay. A failed create is still not a park: the item gets the reason create 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_ups entry with ticket: null whose reason starts with to file or create 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 (or origin/{base} once the PR has merged) and dropped as fixed since run {earlier run_id} when the defect is gone. An entry with ticket: null and 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 record follow_ups entries gain key, and such entries also description; a later run reuses both, so the key matches and ccm-followup-check passes. Both keys are additive (Reeve's schema already accepts key and ignores keys it does not know). bin/ccm-followup-check is 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.

[3.30.0] - 2026-11

Fixed

  • /ccmagic:auto-ticket brings 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.md with merge_owner: reeve, so the run used the default merge_owner: self, tried gh 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 runs ccm-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 contain origin/{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 from origin/{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 in skills/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 next sync undoes one an earlier begin left (a run stopped during its fix pass), and returns in-progress, which parks the run, for any other merge, rebase, cherry-pick, or revert.
  • With no .claude/ccmagic.local.md in the checkout, the project config is read from the base branch's copy (origin/<base>, else origin/HEAD, origin/main, or origin/master, local refs only), in ccm-context and every script and hook that reads config through bin/ccm-lib.sh, so settings never fall back to the defaults because of an old checkout. merge_owner and merge_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 set merge_owner: self and merge past Reeve: the PreToolUse merge guard, ccm-merge-gate, ccm-context, and ccm-validate all read them that way. Every other key keeps the checkout's precedence. The base branch is resolved in one place, ccm_base_branch in bin/ccm-lib.sh (the PR's base, the default branch from gh, origin/HEAD, develop, main), which ccm-context and ccm-base-sync both use. ccm-context reports where it read the file in a new project_config key (working-tree, a ref, or null), and --config-ref REF reads REF's copy ahead of the checkout's.
  • A PR that conflicts with its base at the CI wait (Step 4c, ccm-ci-status says conflicting) is no longer parked at once. The first time in a run, the orchestrator merges origin/{base} into the branch with ccm-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 second conflicting, or a merge that cannot be made, parks. merge_owner: reeve hand-offs are unchanged. ccm-finish-guard now counts a base-sync entry as a code change, like work-ticket and pr-feedback, so a validate must follow every merge of the base, and a conflict fix pass is a work-ticket entry.
  • The run record names the step that parked the run. On CCL-39 the run parked at the CI wait while every entry in steps said done, 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 of validate, review, or feedback, so Reeve maps a conflict park there to merge-conflict. Each merge of the base adds a base-sync entry with status done.

Added

  • bin/ccm-base-sync with modes sync (merge origin/{base} when the branch lacks it; on the base branch itself, fast-forward only; abort a conflicting merge; --push pushes 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 since begin, 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), and abort (reset to the recorded HEAD and verify, described above). /auto-ticket grants it, and docs/cyrus-deployment.md lists Bash(ccm-base-sync *).

Deploy

  • 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.

[3.29.0] - 2026-11

Added

  • draft_until_finish (default false): with true in .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's ready_for_review event runs once, on the head the run finishes with (RV-106, question 5). /ccmagic:auto-ticket passes draft_until_finish: true in the grounding block when config sets it. finish-ticket Step 5b runs after the merge gate passes and before the merge or the Reeve hand-off: it reads isDraft, runs gh pr ready when the PR is a draft, and reads isDraft again. A failed command, a failed read, or a PR still a draft stops the finish with needs-human (draft_until_finish: could not mark PR #N ready for review: ...), so a draft is never merged or handed off. With merge_owner: self the merge gate runs once more after gh pr ready, since marking the PR ready can start checks; with merge_owner: reeve it does not, since Reeve checks CI on the head again. A run that parks leaves the PR a draft. gh pr ready is covered by the existing Bash(gh:*) grant.

Fixed

  • /ccmagic:review PR #43 reviewed 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 accepts 42, #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.

[3.28.0] - 2026-10

Added

  • A failed test check runs once more before validate reports it (RV-166). On 2026-10-28 RD-115's second attempt parked at validate: npm run test failed 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-validate now reruns a failed test check (not a timed-out one), with output in test-rerun.log. In a plain run the rerun gets only the time the first run left of validate_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 --start worker gives it a full limit. When the test command, or the package.json script it runs, is one plain vitest or jest call, the first run's FAIL lines name test files that exist, and the run's summary counts exactly those files as failed (vitest Test Files N failed, jest Test 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-parallelism from 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 --tests filter fails every module of a multi-project build where it matches nothing, and its FAILED lines do not name the module. A rerun that passes makes the check passed with passed_on_rerun: true, first_exit_code, and a rerun object; one that fails leaves it failed with rerun. A step 2L run's limit_s counts one more check limit when test is planned, for the rerun.
  • ccm-validate --ci-confirm: whether CI passed on HEAD. It answers not-applicable when the working tree has uncommitted or untracked changes, when no pull request can be read, or when HEAD is 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 through ccm-ci-status --watch (so checks .reeve/policy.yml lists under ci.ignore are set aside, as the finish step does), with the wait key validate-ci-<HEAD> and a deadline of validate_timeout_seconds across calls, and answers ci-green (exit 0), ci-pending with call_again: true (exit 6), or ci-not-green (failed, timed out, no-ci, unreadable, green only by setting aside a failed ci.ignore check, which may be the test job, or with every counted check skipped; exit 1).
  • In autonomous mode /ccmagic:validate has a step 2C: when the only failed check is test and its rerun failed too, it calls --ci-confirm until it settles, and ci-green makes the step done with the reason local tests failed, CI passed on <sha7>: <files> and no failures: section. A test check that passed only on rerun is done with validation passed; test passed only on rerun: <files>. /ccmagic:auto-ticket Step 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.

[3.27.0] - 2026-10

Added

  • With merge_owner: reeve, /ccmagic:auto-ticket hands 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 on test (ubuntu-latest), a flaky test that main failed 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 is failed, no thread is open, this pass's validate returned done on the head CI failed on, and ccm-ci-status with --attribute finds every counted failed check not attributable to the PR: a GitHub Actions job whose log cannot be read (GET actions/jobs/ID/logs fails), 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, given ci_handoff: true, runs ccm-merge-gate with --red-ci-handoff, which checks the rule again, keeps every other blocker, and accepts it only under merge_owner: reeve. The run ends handed-off with the ticket in merge_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's run-overrode-verdict rule 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: self is unchanged, and the PreToolUse merge guard never passes the flag, so a red PR never merges.
  • ccm-ci-status --attribute: on a failed snapshot, an attribution object with verdict (not-attributable or attributable), base_sha, reason, and per counted failure name, kind (actions or other), job_id, log (readable, unreadable, or n/a), base (red, pending, green, absent, or unreadable), and attributable. 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 for ci.ignore now keeps each job's job_id.
  • ccm-merge-gate --red-ci-handoff, described above. It adds ci_handoff: {reason, checks} when it takes the red CI, or ci_handoff: null and ci_handoff_refused when CI is red and the rule does not hold.

Deploy

  • Pull this into Cyrus only after Reeve's RV-160 (devondragon/reeve PR #277) is deployed and its GitHub App has the actions: write permission. Before that, Reeve's gate parks a red PR ci-red at 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.

[3.26.1] - 2026-10

Fixed

  • The three long background --attach calls now pass timeout: 7200000 (validate step 2L, test, and the auto-visual harness up). Claude Code 2.1.310 stops a background Bash command after its timeout, 1800000 ms (30 minutes) by default and 7200000 ms (2 hours) at most, so a run past 30 minutes lost its heartbeat, --wait reported status: fail, and auto-validate turned that into needs-human with a misleading failure reason. --wait still enforces ccmagic's own limit (validate_timeout_seconds). Foreground --wait calls are unchanged.

[3.26.0] - 2026-10

Added

  • /ccmagic:review reads a per-repository REVIEW.md, else .claude/REVIEW.md (issue 109). Code owners write it to tell the reviewer what matters in their code; CLAUDE.md and context/conventions.md stay 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 edit REVIEW.md to soften its own review; the report says when the change edits it. Template: docs/REVIEW.md.example; this repository now has its own REVIEW.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 a review-ticket verdict fixable-findings, on its own; a pre-existing Critical security finding still blocks, since merging ships it again: FAIL in a standalone review, and needs-human from review-ticket, so /ccmagic:auto-ticket parks the run with the finding named and never tries to fix it in the PR. Pre-existing findings get their own report section, --fix leaves them alone, review-ticket lists them under follow_ups: one entry per systemic group so /ccmagic:auto-ticket files 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-guide with modes load (find and parse REVIEW.md from the merge base, the checkout, or --file -), skip (which paths the ## Skip globs match, with .gitignore-style *, **, and trailing /), and locate (whether each file:line is on a changed line of --range, --pr, or --diff-file). review grants it, and docs/cyrus-deployment.md lists Bash(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:acceptance block, work-ticket writes only under the block's directory <path>/<PARENT>/ plus the marker <pending>/<PARENT>, starts each test title with the AC-<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 with ccm-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 with ccm-acceptance build, and stops as needs-human naming a test that cannot pass. The rules are in skills/work-ticket/acceptance.md and contract §10.
  • bin/ccm-acceptance with modes find (a ticket's tests and marker at the base, from acceptance_path and acceptance_pending or found by the ticket's name), build (tests-changed, still-pending), and tests (exists, scope, marker-missing, tests-missing, and with --ids the criteria no added test names), mirroring the file rules of Reeve's gate.
  • ccm-spec-delta record HEAD BASE reports the spec_delta a run record carries for a PR head: the one archive folder the head adds against the base, whichever run made it.
  • bin/ccm-followup-check reads a follow-up description on stdin and reports its shape (decision or change) 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-ticket runs 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.md grants it by bare name.

Changed

  • 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 carries spec_delta, set from the archive folder the PR head carries. auto-ticket's Step 6 runs ccm-spec-delta record before 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 without spec_delta, which Reeve's gate parked as spec-mismatch (RD-42).
  • work-ticket's plain-ticket spec delta rules moved from SKILL.md to skills/work-ticket/spec-delta.md, which the SKILL.md blocks point to, to keep SKILL.md under 500 lines. The rules are unchanged apart from the resume case above.
  • /auto-ticket files 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: ...), and Recommended: X. <why>, and is filed in the tracker's decision state instead of Backlog (Linear Needs Decision when the team has that state, a JIRA status of that name when the workflow has one). Any other has a ## Change section naming the file and what to do and a ## Acceptance criteria list with at least one checkable item. The Follow-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.

[3.25.0] - 2026-10

Added

  • 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 archiveTicket writes it with no reeve:spec block and the step line Run `openspec archive <change> --yes` at the repository root.; since RV-136 Reeve's gate judges its PR by the archive rules without tasks-unchecked, and requires the run record's spec_delta to name the archive folder. Before, ccm-spec-delta scope failed it on delta-active and delta-name, so the session parked or recorded spec_delta: none, which the gate parks as spec-mismatch. Now, on a repository with openspec/specs/, when the description contains openspec archive, work-ticket passes it to ccm-spec-delta approval; when that finds the step line naming an active change at the base tip, it runs openspec archive <change> --yes, openspec validate --all --strict --no-interactive, and ccm-openspec-scope --worktree --approval <change> archive <base>, leaves every task unchecked, changes nothing else, and reports the archive folder as spec_delta. The run record carries that spec_delta and no openspec key. review-ticket and finish-ticket run the same --approval check in place of ccm-spec-delta scope. A description that mentions openspec archive in any other form keeps the plain-delta path.
  • ccm-spec-delta approval BASE reads a ticket description on stdin and reports approval (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 under openspec/changes/ at BASE's tip) and change.
  • ccm-openspec-scope --approval (archive scope check only) applies the archive rules without tasks-unchecked, as Reeve's gate does for an approval's archive ticket, and adds approval and folder (the archive folder's path) to its output. Without the flag the output is unchanged.
  • review-ticket grants ccm-openspec-scope.

[3.24.0] - 2026-10

Changed

  • ccm-ci-status (and so ccm-merge-gate, finish-ticket, the merge guard hook, and auto-ticket's CI wait) applies the advisory-check list ci.ignore from 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's name, a status's context): a listed check that failed or is still running neither fails nor holds the result, and an unlisted failure still does. An entry's app or creator is 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 marked owner_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 is github-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 new advisory field and named in reason. A repository without the policy is unaffected, and a policy whose ci block cannot be read or parsed (only the block form is read), or that lists a check under both ci.required and ci.ignore (which Reeve refuses), sets nothing aside and says why in policy_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.sh has ccm_policy_ci_json, which reads a policy's ci.required and ci.ignore.

[3.23.0] - 2026-10

Added

  • /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, and openspec validate --strict --no-interactive, ccm-propose-check, and reeve openspec render --grade must pass. It stops after two consecutive rounds with nothing accepted, or at --max-rounds (default 6), writes the polish record openspec/changes/<change>/.reeve.yml (rounds, clean_rounds, files_hash, rubric_hash), confirms with reeve openspec render that Reeve reads it as polished, and commits after a final stop. It never merges. Reeve carries the record on spec-planned, splits reeve stats by it, and with openspec.require_polish plans only a change whose record matches its files. Standalone: no ticket workflow runs it.
  • bin/ccm-spec-polish with modes hash (the files hash, matching Reeve's polishFilesHash, which the tests hold with a vector computed by Reeve), write, check (none, malformed, unconverged, stale, or polished, exit 0 only for polished), and preflight (Reeve's change-name rule, the folder and its tasks.md, and planned for a change already on the default branch).
  • ccm-propose-check reports a meta finding for a .openspec.yaml larger than 64 KB (65536 bytes), and ccm-openspec-scope stops at exit 3 (unreadable) in archive mode when the base .openspec.yaml is 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-polish never covers a symlinked kept file (tasks.md, proposal.md, .openspec.yaml, or specs/<capability>/spec.md), as Reeve, whose planner lists one as a blob of its target's path, never counts such a change as polished: hash lists them in links, write refuses with exit 3, and check reports malformed ("a kept file is a symlink: "). A symlinked capability folder is still ignored (RV-90).

[3.22.0] - 2026-10

Added

  • A plain ticket (one without a Reeve spec: section) on a repository whose base branch has openspec/specs/<capability>/spec.md carries its own spec delta when it changes specified behavior, archived in the same PR as the code (RV-100). After implementing, work-ticket decides 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>, writes proposal.md and the delta specs (never a new or retired capability), stops when an active change at the base names the same requirement, checks the folder, runs openspec archive and openspec 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 ## OpenSpec section, the work step's handshake a spec_delta: line, and the run record a "spec_delta" key ("none" or openspec/changes/archive/<folder>). review-ticket reports 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 as needs-human; a fix pass reopens the archive to correct it. finish-ticket checks the branch again before the merge or hand-off. On a repository without openspec/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-delta with modes applies, name, collision, check, scope, and reopen. scope applies 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 then delta-not-applied, which replays openspec archive on the merge base's OpenSpec tree in a mktemp -d directory under $TMPDIR and compares each capability's spec.md with the branch's. It writes nothing to the repository's .git and creates no worktree. docs/cyrus-deployment.md grants Bash(ccm-spec-delta *).

Changed

  • ccm-propose-check's change-name rule, delta reader, requirement-name reader, and dash and email checks moved to bin/ccm-lib.sh unchanged, so ccm-spec-delta shares them.
  • The SubagentStop handshake check accepts a spec_delta: line after follow_ups:, without requiring it.

[3.21.0] - 2026-10

Added

  • /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 with openspec/specs/ or openspec/changes/ it writes each change folder under openspec/changes/<name>/ (its only write grant), runs openspec validate --strict --no-interactive, ccm-propose-check, and reeve openspec render --dir . --change <name> --grade when the Reeve CLI (reeve on PATH, or a REEVE_CLI command) 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-check checks 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.yaml exist, the last with schema: spec-driven and only keys OpenSpec 1.14.1 knows; tasks.md passes 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's new-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-reeve reports whether the Reeve CLI, its config, and the two API keys are present, without printing a value.
  • New config keys linear_team and linear_project, read by /ccmagic:propose in ticket mode.

Changed

  • ccm-openspec-scope's port of Reeve's task parser and archive-name rule, and ccm-baseline-check's diff base and email patterns, moved to bin/ccm-lib.sh unchanged so the new check shares them.

[3.20.5] - 2026-10

Fixed

  • An autonomous review no longer leaves context/review-stats.json modified. 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 as merge-conflict, AIE-351 as review-not-clean). ccm-review-route --record ... --local writes the counts to ccmagic/review-stats.json in the git common directory, outside the working tree and shared by every worktree of the clone. Routing and --record sum both files. The review skill and the auto-review agent pass --local in autonomous runs, and the PreToolUse guard denies an autonomous --record without it.

[3.20.4] - 2026-10

Fixed

  • ccm-ci-status reports a new status, conflicting (exit 6), when nothing has registered for the head commit and the PR conflicts with its base. GitHub runs no pull_request workflows on a conflicting PR, so --watch used to wait out the whole ci_timeout_minutes and auto-ticket then parked with "CI never registered", which named the symptom and not the cause (AIE-351). auto-ticket now stops at once with the conflict as the reason, and finish-ticket and merge treat it as the conflict blocker the merge gate already reports.

[3.20.3] - 2026-10

Fixed

  • The guard hook's force-push message now tells agents to run git pull --rebase origin <branch> instead of a bare git pull --rebase, which fails in a sandboxed session whose branch has no upstream (Cyrus worktrees are created with --no-track).

Documentation

  • docs/harness.md notes that, inside a sandboxed session, a harness Dockerfile's FROM images (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's auth.docker.io today.

[3.20.2] - 2026-10

Fixed

  • ccm-harness check refuses (rule service-name) an app.service named like a top-level domain on Chromium's HSTS preload list, such as app or dev. A bare name like http://app:9030 is upgraded to HTTPS by Chromium, so every navigation failed with ERR_SSL_PROTOCOL_ERROR and the screenshots were blank (AIE-354). Rename the service, for example to web. The docs example and test fixtures now use web.

[3.20.1] - 2026-10

Fixed

  • ccm-harness now 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 up failed fetching the registry's anonymous pull token. None of these variables hold secrets.

[3.20.0] - 2026-10

Added

  • bin/ccm-harness brings 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 (with CCM_HARNESS_NO_BIND_MOUNTS=1) bind mounts.
  • auto-ticket's new Step 2b runs the auto-visual step 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.

[3.19.0] - 2026-10

Added

  • 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 checklist section, posted on the PR and the ticket. visual_checklist: off drops them instead.

[3.18.3] - 2026-10

Fixed

  • ccm-pr-reply --disposition fixed refused 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 with git worktree add --no-track -b, and its bubblewrap sandbox keeps a read-only .git/config.lock in the shared git dir while a Bash call runs, so git push -u pushes and exits 0 but prints "unable to write upstream branch configuration" and records no upstream. The push still updates refs/remotes/origin/<branch>. The check now passes when the commit is an ancestor of any of @{upstream}, @{push} (which resolves without an upstream only under push.default current or matching), or refs/remotes/origin/<branch>, so an upstream on another branch (a worktree created tracking origin/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 no origin/<branch> ref when none resolves. /ccmagic:push in autonomous mode now pulls with git pull --rebase origin {branch}, since a bare git pull --rebase needs an upstream, and says the upstream-configuration error after a landed push is not a failure, and /ccmagic:pr says a failed --set-upstream-to in a sandbox can be ignored.

[3.18.2] - 2026-10

Fixed

  • ccm-validate --start runs 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 --start launched with nohup setsid ... & recorded pid 110, began ./gradlew test, and died when the --start call returned: the check log stopped mid-download, and the next --wait reported "the validate run (pid 110) ended without a result". A pid recorded in one call also means nothing in a later one, so --wait's kill -0 and /proc checks 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 --attached does the same setup, writes the new run's run.json, and launches nothing, printing status: prepared with the run id; ccm-validate --attach RUN then 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 --wait made 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 stale pass included. After the ordinary prepare call, run.json names the new run with no result, so --wait reports it running until the worker writes one. --attach refuses (exit 4) a run that is not the prepared one or that a worker or another --attach already 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 writes heartbeat_at to run.json every 10 seconds (and the worker on each check transition), and --wait treats 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 --attach call), never by pid (CCM_VALIDATE_HEARTBEAT_STALE_SECONDS replaces the 90 for tests). --wait sends no signal: on a dead heartbeat or past limit_s it records the failed result with abandoned: 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 to run.json take a lock, so the worker, its loop, and --wait do not lose each other's updates. /ccmagic:validate step 2L, /ccmagic:test, and the autonomous validate agent now prepare the run with --start --attached in an ordinary Bash call and start it with --attach RUN as a Bash call with run_in_background: true (harness background tasks survive across calls in the same sandbox) and poll --wait in 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 plain ccm-validate call is unchanged.

[3.18.1] - 2026-10

Fixed

  • ccm-validate --start could not start a run on a host without ps. The worker read its process group with ps under set -o pipefail, so a missing ps ended it before it recorded its pid, and --start reported "the validate run did not start"; --wait's liveness check also used ps, so a live run would have read as dead. Both now use ps where it works and /proc otherwise. Found on the Cyrus container, which has no ps, on the first autonomous run with a long validate (AIE-282, 2026-10-08).

[3.18.0] - 2026-10

Added

  • ccm-validate --start and ccm-validate --wait [SECONDS] run checks that take longer than one Bash tool call. A Spring Boot repository whose ./gradlew test runs Testcontainers integration tests for about 19 minutes timed out (exit 124) on every autonomous run, and raising validate_timeout_seconds did not help, since the Bash call that ran the check stopped at 10 minutes. --start resolves 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's POSIX::setsid), so it outlives the call, and records its progress and result in run.json under 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 past limit_s (the planned checks' limits, one more for an install, plus 120 seconds), is stopped, its check's process group included, and reported as fail with a top-level reason. validate_timeout_seconds may now be at most 7200. /ccmagic:validate (and so the autonomous validate step) uses --start and repeated --wait calls when validate_timeout_seconds is above 540, and /ccmagic:test does the same for the test check; at 540 or less, the default, it runs one check per call as before, and a plain ccm-validate call is unchanged.

[3.17.4] - 2026-10

Fixed

  • /ccmagic:auto-ticket Step 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 one Follow-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.

[3.17.3] - 2026-10

Fixed

  • ccm-validate reported environment and ran no check in a Gradle project that also has a package.json declaring dependencies with no lockfile, though every resolved check was ./gradlew test or ./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 with environment, whenever the root package.json's dependencies were not installed, whatever the checks were. The install is now planned, and environment reported, only when a check that will run goes through Node: its command has npm, npx, pnpm, yarn, bun, bunx, or node as a command word (at the start, or after &&, ||, ;, |, or an env assignment), which covers every detected package.json script. Skipped, none, and --only-excluded checks do not count, --list shows no install object when no Node check is planned, and --install behaves as before.

[3.17.2] - 2026-10

Fixed

  • /ccmagic:spec-baseline closes 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 report Docs disagree with 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, and bin/ccm-baseline-check has a personal-identifier rule for an email address written as user@domain.tld or spelled "word at domain.tld" in a spec or the evidence file (documented limits in the script header and evidence-format.md). The PR description's counts come from the final checker JSON, which now also reports untested.

[3.17.1] - 2026-10

Changed

  • 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-baseline and the archive procedure of /ccmagic:work-ticket now accept 1.14.1 or any newer 1.x release through the new bin/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 and npm i -g @fission-ai/openspec@1.14.1.

[3.17.0] - 2026-10

Added

  • /ccmagic:spec-baseline [--capability <name>] [--check], a standalone interactive skill that writes OpenSpec baseline specs for an existing codebase: openspec/specs/<capability>/spec.md files stating current behavior, bugs included, so later changes can MODIFY them and openspec archive applies cleanly. It proposes a capability map and stops for confirmation, runs one read-only sonnet Explore 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 file docs/openspec-baseline.md itself against a quality checklist, checks after each capability, stops again with every flagged finding, then commits on a branch and runs /ccmagic:pr. --capability specifies one capability in a repository that already has specs, adds a not yet specified map 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; --check writes nothing and reports citations gone stale. Its Write and Edit grants cover only openspec/** and the evidence file. No ticket workflow runs it, and docs/cyrus-deployment.md is unchanged (RV-84).
  • bin/ccm-baseline-check checks a baseline against its evidence file and the working tree: every requirement and scenario has its evidence line, every path:line citation 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.yaml has a top-level context: block, no em or en dash, and no path outside openspec/ 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. --stale skips 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.2 so the fixture's strict validation runs there; locally the test is skipped with a notice when the CLI is absent. tests/run.sh leaves the directories in STANDALONE_SKILLS_SINCE_BASELINE out of the RV-75 comparison, and skills_standalone_not_on_ticket_path fails when a ticket-path skill, agent, hook, script, or the Cyrus deployment doc names one of them (RV-84).

[3.16.4] - 2026-10

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.

Fixed

  • ccm-spec-block undid 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 the openspec key, and Reeve parked it no-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-scope could pass a branch that Reeve's gate parks. A lone carriage return in tasks.md now ends a line, as in Reeve's parseTasks, and then any difference from the base fails tasks-text without naming a task, as the gate does. The skip_specs and retire_capabilities flags were read with a grep, where the gate parses .openspec.yaml as YAML; the script now reads only the plain form OpenSpec writes (blank lines, comments, one leading ---, and unindented key: value lines with a plain word or a quoted string, no key twice) and takes true, True, or TRUE as 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 in not-moved and folder-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 the auto-* agents said to, and in a Cyrus session plugin bin/ is not on PATH, so every such call failed with command not found before 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.md says 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 the openspec key, which Reeve's schema rejects, so Reeve dropped the whole record. A parent's record now carries no openspec key (RV-82).

[3.16.3] - 2026-10

Fixed

  • ccm-validate took any node_modules directory as an install, so it planned no install for a checkout whose node_modules held only a tool's cache. In Reeve's RS-193 (2026-10-06, on 3.16.2) the work step ran npx vitest run with nothing installed, which leaves node_modules/.vite, and the validate step then failed types, test, and build on tsc: not found; the finish guard parked the run, as it should. A dependency now counts as installed only when every name under dependencies and devDependencies is present in node_modules; a package.json that declares only optional or peer dependencies, or workspaces, still checks for the directory, since those packages may be absent on purpose (RV-86).

[3.16.2] - 2026-10

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.

Fixed

  • ccm-validate ran the checks of a checkout with no node_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 reported failed: types, test, build. When the root package.json declares dependencies (or workspaces) and there is neither node_modules nor a Yarn Plug'n'Play map, the first check is now preceded by the install its lockfile calls for: npm ci for package-lock.json or npm-shrinkwrap.json, and pnpm install --frozen-lockfile, yarn install --frozen-lockfile (--immutable with .yarnrc.yml), or bun install --frozen-lockfile only when that tool is installed. It runs under validate_timeout_seconds with its output in install.log, and the JSON's install object says what happened; --install runs only the install, and the validate skill 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 is environment (exit 5), and the validate step reports needs-human with a reason starting environment:, which auto-ticket Step 4b parks without a fix pass. This is Node only; no other ecosystem is installed (RV-86).
  • auto-ticket could reach finish-ticket past a failed validate. In RS-175 the validate step returned needs-human with a failed: reason, and the orchestrator judged the failure environmental, skipped Step 4b's fix passes, and handed the PR off; under merge_owner: self it would have merged. The new bin/ccm-finish-guard reads the run's step history, the run record's steps so far, which the orchestrator now puts in a steps: section at the end of the finish step's grounding block, and passes only when the latest validate is done, the latest review-ticket is clean, 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 every Agent or Task call that starts ccmagic:auto-finish and 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. The auto-finish agent runs it again as its first action and returns needs-human when it fails, for a harness that does not run plugin hooks. Step 4b, its error table, the contract, the validate skill, and the auto-validate agent now name the environment: reason and say that a failed: reason is always a check failure. docs/cyrus-deployment.md adds Bash(ccm-finish-guard *) to the narrow-Bash grants (RV-86).
  • tests/run.sh compares the skill and agent files with the RV-75 baseline plus the every-ticket changes recorded in tests/every-ticket-since-baseline.diff, so a change meant for every ticket is a reviewed edit of that file instead of a moved baseline.

[3.16.1] - 2026-10

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.

Fixed

  • ccm-openspec-scope --worktree could not run inside a sandboxed Claude Code session. The sandbox masks dotfiles in the working directory (such as .bash_profile and .bashrc) with bind mounts that show as untracked device files, and the scratch index was built with git add -A, which refuses them, so the check exited 3 and a section or archive session stopped. git add -A also took untracked session files such as .claude/settings.local.json, which the archive's outside-archive rule would reject. The scratch index is now HEAD plus changes and deletions of tracked files, new files already staged, and untracked, non-ignored files under openspec/, staging only regular files and symlinks; a tracked file the sandbox masks keeps its committed content. The work-ticket Step 6 sentence and the README tools table say what --worktree now includes (#71). Found in Reeve's OpenSpec live check on 2026-10-01.
  • The scope check read git diff --name-status without -z, so a path holding a double quote, a backslash, or a control character reached the rules C-quoted and outside-section missed it under openspec/. 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 failing git diff now reports unreadable (exit 3) instead of exiting with no JSON (#72).
  • A tasks.md with no ## N. section heading made the scope check exit 5 with no JSON (an empty field collapsed in a tab-separated read). It now reports tasks-unreadable with exit 1, as the rules say (#73).
  • The archive listings read git ls-tree without -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 failed outside-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 named s p let the archive write openspec/specs/s/spec.md. The listings are now NUL-separated, capability names are matched whole, and a failing git ls-tree reports unreadable (exit 3) instead of exiting with no JSON (#74).

[3.16.0] - 2026-09

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.

Added

  • 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 other reeve:spec in the text, and valid repo:, change:, section:, tasks:, and source: metadata) is a spec ticket. auto-ticket Step 0 detects it with the new bin/ccm-spec-block and adds a spec: 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 for section: parent), implements only the section's tasks from tasks.md and ticks only their boxes, and for the archive ticket runs a fixed procedure: openspec --version must print 1.13.2, every task must be checked, then openspec archive <change> --yes, openspec validate --all --strict --no-interactive, and the scope check, restoring openspec/ with git checkout -- openspec and git clean -fd -- openspec on any failure and opening no PR.
  • bin/ccm-openspec-scope applies the file rules of Reeve's openspec merge 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, and finish-ticket runs it again in its Step 3 sanity check before the merge or hand-off. work-ticket and finish-ticket grant it, and docs/cyrus-deployment.md lists it and Bash(openspec:*) for narrow-Bash harnesses. The skills do not grant openspec in allowed-tools, so an interactive run in any OpenSpec repository still asks before an openspec command.
  • On a spec ticket the work step's handshake carries tasks_done: [<ids>] after follow_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 at version: 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, and tests/run.sh checks that removing those blocks and the new grants gives the previous files byte for byte.

Fixed

  • auto-ticket now refuses to act as the implementer. The skill opens with a guard: the orchestrator's first call is the contract read, then ccm-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 no ccmagic:auto-* step agent at all and still made an Edit or Write call or ran git commit, git push, gh pr create, or gh pr merge itself, 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.sh checks no longer pipe into grep -q, which under pipefail made a check fail at random on Linux when its producer got SIGPIPE (#69).

[3.15.0] - 2026-09

Added

  • A version 1 fallback run record carries "fallback_reason": "<one line>", naming the gh command 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).

Fixed

  • auto-ticket re-reviews the pushed head (new Step 4f) when a PR-feedback pass pushed after the last clean review, from pr-feedback fixes 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 as review-not-clean. Findings from that re-review go through the Step 3 fix loop and then another feedback pass. max_review_fix_passes and max_feedback_passes now 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).

[3.14.0] - 2026-09

Added

  • review-ticket writes head: <sha> in its handshake, right after status:: the full 40-character SHA from git rev-parse HEAD at 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-ticket run record moves to "version": 2 and adds repo (owner/name), pr (a number, or null before a PR exists), and head_sha (the PR head as GitHub reports it, null with no PR), keeping every version 1 key. When repo or the PR head can't be read, the run writes a version 1 record instead (RV-1, #63).

Changed

  • ccm-post-review requires exactly one head: 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 a head field. The shared handshake validator accepts a head: line, so the SubagentStop hook still passes the review agent's handshake (RV-1, #63).

[3.13.5] - 2026-09

Changed

  • 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> *)) in allowed-tools (#59).
  • The auto-* step agents call ccm-* 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's allowed-tools. docs/cyrus-deployment.md lists the rules a harness without plain Bash must grant (#59).
  • tests/relay-smoke.sh --narrow-bash runs with that rule set instead of plain Bash, and fails on any denied ccm-* or rm call, including subagents' calls (#59).

Fixed

  • In a session without plain Bash, every ccm-* call was denied: the path rule matched only the literal ../.. text, and the model called the bare name or the normalized path. A narrow-rules auto-ticket run stalled on its first ccm-context call (#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 a ccm-pr-reply body that quotes a review comment from running as commands (#59).
  • auto-ticket mints run_id with date +%s instead of openssl, and deletes the prompt-relay handoff file with an unchained rm (#59).

[3.13.4] - 2026-09

Added

  • tests/relay-smoke.sh: a manual end-to-end test of the prompt-relay flow. It runs /ccmagic:auto-ticket with 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. See docs/cyrus-deployment.md (#58).

Changed

  • auto-ticket no 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, with fix_pass:, fix_source:, and a findings_to_fix: section in the grounding block. The fix pass applies only the listed items, fixes a systemic: finding as a class, applies contract §9 to security and invariant findings, and leaves its changes uncommitted. It reports applied_findings:, which becomes the re-review's previous_findings:, and optional commit_notes: lines (- {file}: {note}), which push writes into the commit body. auto-ticket drops Edit, Write, and Bash(timeout:*, gtimeout:*) from allowed-tools; work-ticket gains Bash(timeout:*, gtimeout:*) (#57).

Fixed

  • 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).
  • validate reports a failures: section (command, exit code, log path, and the relevant output lines) for the fix pass. A validate needs-human that 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-ticket grants Bash(rm -f .ccmagic-ticket.md), so it can delete the prompt-relay handoff file as Step 0 says (#58).

[3.13.3] - 2026-09

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.

Fixed

  • Review and verification agents run every scratch program (repro script, test harness, benchmark) under timeout -k 5 60 (gtimeout -k 5 60 on macOS, or a perl alarm fallback), 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 programs in skills/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-feedback returns needs-human without a fixed reply. 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-ticket and pr-feedback grant Write(*) and Bash(timeout:*, gtimeout:*), so the fix step can add the invariant test and run bounded scratch programs (#51).
  • On JVM projects, work-ticket and auto-work skip separate compile-only runs (compileJava, compileTestJava, mvn compile) when a test run follows, go straight to the narrowest ./gradlew test --tests <pattern> or mvn test -Dtest=<pattern>, batch related test classes into one run, and use a compile-only run at most once, only while scaffolding (#52).

[3.13.2] - 2026-09

Fixed

  • Natural-language review requests now show the full /ccmagic:review report, including the routing line and the severity sections, because the skill no longer runs under context: 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; see evals/README.md.
  • ccm-review-route no longer writes a temp file, and the skills' heredocs (review's pasted diff, review-ticket's ccm-post-review call, finish-ticket's GitHub comment) set TMPPREFIX under $TMPDIR. zsh, the default macOS shell, writes heredoc temp files to /tmp regardless of TMPDIR, so under a sandbox that allows only $TMPDIR the 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.sh runs the eval suite with HOME set to a temporary directory, so the eval tool's refusal of Bash-granting runs when ~/.docker holds symlinks (Docker Desktop always creates some) no longer blocks cases 01 to 05. It authenticates with a claude setup-token token 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-ticket or /ccmagic:work-ticket invoked it (issue #35).

[3.13.1] - 2026-09

Fixed

  • /ccmagic:review did 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's description now says when to use it, including a diff pasted inline. In the eval suite, review-fired on those two cases went from 0/3 to 3/3, and the negative cases still do not fire (issue #35, trigger half).

[3.13.0] - 2026-09

Fixes from the first /ccmagic:auto-ticket field run.

Fixed

  • Step agents that returned their report through a SubagentHandback tool 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, a SubagentHandback message 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 in requested_state: and items to file in follow_ups: (contract §8). work-ticket, review-ticket, pr-feedback, and finish-ticket do no tracker I/O when orchestrated; their interactive and standalone paths are unchanged.
  • ccm-validate did not detect Gradle or Maven, so a Gradle repo with a package.json validated only its JS tests. It now detects build.gradle*/settings.gradle* (./gradlew or gradle) and pom.xml (./mvnw or mvn). A JVM build supplies test and build (gradle test and build; mvn -B test and -B verify) ahead of package.json and the Makefile, which still supply format, lint, and types; Gradle's spotlessCheck is used for format when the root build file applies Spotless and nothing earlier supplied it.
  • A follow_ups item from a clean review was left out of the run summary. The orchestrator now collects every non-empty follow_ups item from every step and either files it or lists it in the summary's Follow-ups section with the reason it wasn't filed.

Changed

  • The run record JSON gains an additive follow_ups array ({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.

[3.12.1] — 2026-09

Fixed

  • /ccmagic:auto-ticket lost 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, and auto-review is 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-ticket and every auto-* agent keep all Task and Bash calls in the foreground.

[3.12.0] — 2026-09

Added

  • bin/ccm-review-route: applies /ccmagic:review Step 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 updates context/review-stats.json (--record name=N,...) and reports which specialists are gated.
  • bin/ccm-post-review: /ccmagic:review-ticket posts 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 under timeout --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 as findings, empty, timed-out, auth-failed, unavailable, or failed.
  • 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 the ccm-validate --list plan under a Validation area.
  • hooks/lib-handshake.sh: the status-handshake validation, shared by the SubagentStop hook and ccm-post-review.

Changed

  • /ccmagic:review prints the routing line from ccm-review-route and records specialist stats with --record instead of editing context/review-stats.json. The auto-review agent no longer has Write.
  • /ccmagic:review Step 3.5 and /ccmagic:codex-review call ccm-external-review instead of running codex and gemini by 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:doctor renders its report from ccm-doctor and keeps the MCP and gh tracker checks. It warns when a skill listed in /ccmagic:help is missing, and a missing jq is 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: ....

[3.11.0] — 2026-09

Added

  • bin/ccm-validate: runs format, lint, types, test, and build, one command per check, and uses the command's exit code as the verdict, with no || fallbacks. Commands come from validate_<check> config keys (none disables a check) or are detected from package.json scripts (with the lockfile's package manager), Makefile targets, go.mod, Cargo.toml, or configured pyproject.toml tools. Each check runs under timeout (or gtimeout) with validate_timeout_seconds (default 540, so a timed-out check still reports before the Bash tool's 10-minute limit). --only runs a subset and --list prints the plan. Exit 0 pass, 1 fail, 2 nothing to run.
  • Config keys validate_format, validate_lint, validate_types, validate_test, validate_build, and validate_timeout_seconds.

Changed

  • /ccmagic:validate runs ccm-validate --list, then one ccm-validate --only <check> call per check, and fills its report from the JSON. The autonomous handshake is done exactly 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.json file is gone in favor of the validate_* keys.
  • /ccmagic:test runs the full suite with ccm-validate --only test; pattern, --affected, and coverage runs still use framework-commands.md.
  • work-ticket, review-ticket, pr, pr-feedback, and auto-ticket Step 0 read config, ticket ID, and base branch from ccm-context instead of copies of that logic in prose. MCP probing and prompt-relay transport detection stay in the skills. pr now diffs against the target branch instead of a hard-coded main.
  • doctor checks for bin/ccm-validate and reports whether a timeout binary is available.

Fixed

  • tests/run.sh ran each test inside an if condition, where bash ignores set -e, so a test passed whenever its last command did, even if an earlier check failed. Tests now run with set -e in effect, and the output capture in run and the hook helpers no longer aborts on a non-zero exit.

[3.10.0] — 2026-09

Added

  • bin/ccm-pr-threads: review threads (grouped, with resolved/outdated state and an open flag), reviews, and conversation comments from one GraphQL call. --since-id H marks reviewer comments above a high-water mark. A thread is handled when resolved, or when the author's last reply carries a disposition marker; a fixed marker 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 a fixed reply citing an unpushed commit, and resolves the thread for fixed.
  • SubagentStop hook (hooks/subagent-stop-handshake.sh): a ccmagic: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 ignore hooks: in their own frontmatter, so it runs from hooks/hooks.json and filters on agent_type.

Changed

  • auto-ticket Step 4 reads the high-water mark and new/open threads with ccm-pr-threads, and waits for CI with ccm-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 now open_thread_count == 0 plus a green or no-ci CI status.
  • pr-feedback Step 2 uses ccm-pr-threads instead of three REST calls plus thread reconstruction by in_reply_to_id. Autonomous pr-feedback now pushes before replying, and replies through ccm-pr-reply.

[3.9.0] — 2026-09

Added

  • 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 commit of secret-shaped files (.env, private keys, credential files; interactively the user can confirm with CCMAGIC_ALLOW_SENSITIVE=1, and ## Always Include in context/commit-preferences.md is honored), and, in autonomous runs, commits whose subject isn't in conventional-commit format.

Changed

  • 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:push asked 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 for git commit inside a chained command (git add -A && git commit -m ...), -m '...', --message=, and -F - heredocs.

[3.8.0] — 2026-09

Added

  • bin/ccm-context, bin/ccm-ci-status, and bin/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-key bounds the total CI wait with a deadline file under the git dir, so the caller no longer counts watch cycles.
  • PreToolUse guard hook: in autonomous runs, gh pr merge is denied while ccm-merge-gate fails, and always when merge_owner: reeve. Interactive merging is unchanged unless merge_guard: on is set.
  • merge_guard config key (default off).
  • tests/run.sh and a GitHub Actions workflow running it with shellcheck.

Changed

  • finish-ticket Steps 1 and 3 and the autonomous merge gate call ccm-context and ccm-merge-gate instead of parsing gh output. The PR lookup no longer requests statusCheckRollup, which a fine-grained PAT cannot read.
  • merge runs ccm-merge-gate before merging, and no longer suggests checking for conflicts with git merge --no-commit in the working checkout or merging by hand into the target branch.

[3.7.1] — 2026-09

Fixed

  • 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 fenced status: line; a run on 2026-09-20 posted the handshake as bare text after a --- and the ticket parked with review-not-clean.

[3.7.0] — 2026-09

Added

  • merge_owner: reeve and merge_handoff_state in ccmagic.local.md. With merge_owner: reeve, finish-ticket runs its merge gate as a preflight and then hands the open PR off instead of merging (a tracker state move on Linear/JIRA, the awaiting-merge label on GitHub Issues, a requested state under prompt-relay); auto-ticket reports the run as handed-off. Absent the key, nothing changes.
  • auto-ticket run summaries end with a fenced JSON run record (ccmagic.version 1): 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.

[3.6.6] — 2026-08

Fixed

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.md Step 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 granted Bash(git:*, gh:*), which matches git commit, git push, and gh 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 --fix flag, --fix stops at the working tree, and commit/push/PR are prohibited in every mode.

    • review frontmatter 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 of git:*, 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 with git diff.
    • The report's Fixes Applied section is omitted unless --fix ran, and lists file:line instead of commit hashes.
    • finding-schema.md and triage-instructions.md no longer describe fixable: true as meaning "auto-applied" — it is a classification, and only a --fix run acts on it.
  • review-ticket said 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", and agents/auto-review.md ships without an Edit tool for the same reason, but the review pipeline it runs inline carried the Step 7 fix-and-commit instructions with it. It now drops Edit(*), narrows its git/gh grants to read-only plus the two comment-posting subcommands it needs (gh pr comment, gh issue comment), and states explicitly that it invokes review without --fix.

    The autonomous path is unchanged and was already correct: on fixable-findings, /ccmagic:auto-ticket Step 3 applies the findings itself, pushes via /ccmagic:push, and re-invokes review-ticket with review_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.

[3.6.5] — 2026-08

Fixed

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 the description of every ~/.codex/skills/*/SKILL.md and 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's gsd-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 that SKILL.md and 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 when timeout killed it. Every ccmagic prompt fed to codex now opens with Do not load, consult, or follow any installed skill, plugin, or workflow definition. This is a standalone review, not part of any phase-based workflow. — the review skill's adversarial pass and all six codex-review dimension 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.1 with the skill installed: without the guard the hijack fired in 4 of 5 runs, with the first tool calls of the run being sed on ~/.codex/skills/gsd-code-review/SKILL.md and ~/.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 skills errors with Unknown 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.4] — 2026-07

Fixed

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.

  • debug could 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 as not tested — agent did not report, keeping it on the candidate list as the first thing to re-run when the others fail.

  • analyze-impact could 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 labelled unknown — agent did not report and the summary must say the assessment is partial. allowed-tools gained date:*, echo:* for the deadline stamp, which its Bash(git:*) allowlist didn't cover.

  • The 3.6.3 entry overstated who was affected — it said debug, design-qa, browser-qa, and analyze-impact "dispatch parallel agents". design-qa and browser-qa declare Agent(*) in allowed-tools but neither SKILL.md body ever instructs launching one, so there is no join to protect and nothing to fix. The exposure was real for debug and analyze-impact only.

[3.6.3] — 2026-07

Fixed

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.

  • review discarded the stderr its own error handling matches on (skills/review/SKILL.md §3.5) — the Codex invocation ended in 2>/dev/null, while the Error handling block immediately below classifies failures by testing whether stderr contains auth/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.txt with 2>&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 specifying run_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 a timeout --kill-after=30 600 to each of codex-review's three external review passes (Codex in branch mode, Codex per-module in full mode, Gemini), which had no deadline at all. --kill-after is what makes the bound hard rather than advisory: plain timeout sends only SIGTERM, 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 as timeout N cmd 2>&1 | tee out.txt, but a pipeline reports the exit status of its last command, so $? was tee's 0 and never timeout's 124. 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 to tee, which buys nothing when codex exec buffers its output anyway, and append the real status as a CODEX_EXIT= / CLI_EXIT= line that the error handling reads. Where the pipeline is structural — codex-review feeds its prompt via cat … | codex — timeout is already the last element and its status does survive, but set -o pipefail was added there so a failing cat can't feed the model an empty prompt and still report success.

  • review couldn't run its own timeout command (skills/review/SKILL.md frontmatter) — allowed-tools permitted Bash(git:*, gh:*, codex:*, which:*), but the new command's first token is timeout, matching none of them. It would have hit a permission prompt with nobody there to answer it, since /ccmagic:auto-ticket's auto-review agent invokes this skill unattended. Allowlist extended to command:*, timeout:*, gtimeout:*, echo:*, date:*, mktemp:* — covering every command the reworked step now runs. (codex-review uses Bash(*) and was unaffected.)

  • timeout was 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 neither timeout nor gtimeout, so on a Mac without brew install coreutils every deadline-protected call would have failed with command not found — worse than the hang being fixed. Both skills now probe for timeout, then gtimeout, 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 exec buffers 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 empty BashOutput, or absence from ps is not evidence of failure — only a reported completion, a recorded CODEX_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-op echo commands, fabricating a missing dimension, and SendMessage-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 as unavailable — did not report / timed out, and each external CLI as findings | 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) — review classified an auth failure by searching its Codex output for the substrings auth, 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-review was worse: it wrote a CLI_EXIT= line that nothing read, and Step 5a cat-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 /tmp paths let runs contaminate each other (skills/review/SKILL.md §3.5, skills/codex-review/SKILL.md §3) — every intermediate file was a hardcoded /tmp name, and codex-review aggregates results with cat /tmp/codex-*-output.txt. That glob matches codex-review-output.txt, the file written by the separate review skill, 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.txt is opened with >, so one run could truncate the diff another was mid-way through piping to Codex. Since /ccmagic:review-ticket and /ccmagic:auto-ticket both reach these skills without anyone typing their names, concurrent runs are ordinary. Both skills now mktemp -d a per-run directory and scope every intermediate to it.

  • codex-review fed 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. The cat would 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.txt before any CLI runs.

  • codex-review was told to use a tool it wasn't allowed to use (skills/codex-review/SKILL.md frontmatter) — the new "write the dimension prompt to disk" step said to use the Write tool, but allowed-tools listed only Read/Bash/Glob/Grep/Task/TodoWrite/AskUserQuestion. The one step that had just been made non-optional was the one the skill couldn't perform. Added Write(*).

  • 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 in codex-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, and analyze-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.

  • review referenced 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 ran git status. The precondition could never be established, so the guard never applied. It now says to run git status --porcelain and 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.

[3.6.2] — 2026-07

Fixed

  • validate catalogued 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 (the ast CLI accepts a single file, and py_compile on the line above already covers multi-file syntax checking), and npx eslint --no-eslintrc --parser espree --no-config (§2) uses flags that don't coexist (--no-eslintrc was removed in ESLint 9) with no target path. Removed the former and replaced the latter with node --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-ticket merge decision.

[3.6.1] — 2026-07

Fixed

  • doctor ran two dead checks and under-reported config (skills/doctor/SKILL.md) — the commit-hook (§4) and skill-inventory (§7) checks located the plugin via claude 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 ran test -f "/hooks/…" against the filesystem root (always "missing") and the inventory check ls-ed a nonexistent /skills (always skipped). Both now resolve via $CLAUDE_PLUGIN_ROOT (the variable already used by hooks/hooks.json), degrading to an INFO line when it is unset rather than emitting a false failure. Additionally, the project-config section (§2) now parses .claude/ccmagic.local.md frontmatter and echoes the resolved tracker, ticket_url_base, ticket_id_regex, default_qa_workflow, github_repo, autonomous, and needs_human_label values (falling back to documented defaults for absent/commented keys) instead of only describing what it would report.

[3.6.0] — 2026-07

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.

Fixed

  • CI reads are permission-robust; an autonomous run never ends by asking about CI (skills/auto-ticket/SKILL.md Step 4c, skills/finish-ticket/SKILL.md §3b + merge gate, skills/auto-ticket/autonomous-contract.md) — when gh pr checks / gh pr view --json statusCheckRollup fail 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 run completed with conclusion in {success, skipped, neutral}) plus gh api …/commits/<sha>/status for 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.

[3.5.0] — 2026-07

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.

Fixed

  • 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 — a mcp__*[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 lowercase mcp__linear__* matches. Loading is a bounded, non-blocking ToolSearch attempt (no sleep: 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-ticket could get neither the MCP nor the ticket content, and stall (skills/auto-ticket/SKILL.md, skills/auto-ticket/autonomous-contract.md §7 fetch_ticket, docs/cyrus-deployment.md) — auto-ticket runs context: 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.md in the working directory before invoking auto-ticket, which reads it (then rms 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.

Changed

  • 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 carries transport:, 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 used mcp). 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, mcp is primary and prompt-relay the fallback. Documents the two in-container prerequisites found in testing: each repo's allowedTools must include mcp__linear (a verbatim override drops it), and the plugin directory must be readable by the session. doctor now notes that a registered-but-still-connecting server is present, not missing.

[3.4.0] — 2026-07

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.

Fixed

  • 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 every ci_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 --watch invoked 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 empty statusCheckRollup and still re-verifies CI status before merging, so it remains the backstop if the wait is ever skipped or misconfigured.
  • finish-ticket branch cleanup in linked worktrees (skills/finish-ticket/SKILL.md) — --delete-branch was failing noisily on a worktree-per-ticket checkout. Linked-worktree detection now compares git rev-parse --path-format=absolute --git-dir against --git-common-dir; in a worktree, the merge runs without --delete-branch, the remote branch is deleted best-effort only once the merge is confirmed MERGED, 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.

Added

  • Systemic-finding enumeration (skills/review/finding-schema.md, skills/review/agent-instructions.md, skills/review-ticket/SKILL.md, skills/auto-ticket/SKILL.md) — an optional systemic: 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 a systemic-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-ticket invariant 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, or needs-human in 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 optional review_pass: {n} field, set when auto-ticket re-invokes review-ticket from the Step 3 fix loop, plus a previous_findings: section listing what was just fixed. A fresh review subagent has no memory of the prior pass, so on review_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 via gh pr comment when a PR exists, so each pass leaves an artifact the next one can reference.
  • Idempotent run summary (skills/auto-ticket/SKILL.md Step 6) — the run-summary template gains a **Run:** {run_id} line, and posting is skipped if a summary comment carrying that run_id already exists on the PR, so a same-run re-execution of Step 6 never double-posts.

Changed

  • All six agents/auto-*.md now declare explicit tools: allowlists instead of relying on prose alone to describe their capability boundary. Notably, auto-review structurally loses Edit — review can no longer mutate code, only report on it.
  • max_review_fix_passes default 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.

[3.3.0] — 2026-07

Added

  • 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 to linear, no mcp__*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_ticket reads title + description from the grounding block's ticket_content: section instead of calling the MCP; every set_state call 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 via gh) is unaffected. See docs/cyrus-deployment.md for deployment prerequisites and the required prompt template.

Changed

  • Grounding block (contract §2) — now carries a transport: {mcp | prompt-relay} field on every sub-skill invocation, and under prompt-relay, a fenced ticket_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 a Requested state: {X} intent line.
  • skills/auto-ticket/SKILL.md Notes — 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 to docs/cyrus-deployment.md.

[3.2.0] — 2026-07

Added

  • 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 in agents/auto-*.md; the lifecycle skills' logic is reused unchanged (only three of them have their model: line tuned (work/review → inherit, push → haiku) — see Changed). Each step always runs in its own forked subagent.
  • Per-step model selection — Balanced defaults (opus for work/review, sonnet for pr-feedback/finish/validate, haiku for push), overridable per repo with model_<step> keys. auto-ticket itself is now context: fork.

Changed

  • skills/auto-ticket/SKILL.md — now context: fork; every step routes through a run_step helper (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-ticket and review-ticket now use model: inherit (scale to the session model instead of a pinned sonnet), and push now uses model: haiku. This also changes interactive use of those three skills — e.g. a human running /ccmagic:push now gets haiku. pr-feedback, finish-ticket, and validate stay sonnet.

[3.1.0] — 2026-07

Added

  • /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 single route-and-stop parking routine.
  • Autonomous mode (opt-in, additive) on five lifecycle skills — work-ticket, review-ticket, pr-feedback, finish-ticket, and push each 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 a clean | fixable-findings | needs-human verdict.
    • 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.md keys (documented in docs/ccmagic.local.md.example): autonomous (bool, default false), needs_human_state (parked-ticket state), needs_human_label (fallback label, default needs-human), max_feedback_passes (int, default 3), plus the other autonomous loop bounds max_review_fix_passes (2), max_validate_attempts (2), ci_timeout_minutes (30), and ci_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 longer ci_timeout_minutes, or autonomous: true) can live once in the user file and be overridden per-repo.
  • README.md → Autonomous mode section and a docs/ccmagic.local.md.example explainer covering the flow, the merge-or-park safety property, and how to turn it on.

Changed

  • pr-feedback — added Skill(*) to allowed-tools so its autonomous path can invoke /ccmagic:push. The interactive plan-only path is unchanged.
  • /ccmagic:help and the README skill tables now list auto-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 (--autonomous arg → orchestrator grounding block → autonomous: config, in that priority order).

[3.0.3] — 2026-07

Changed

  • Add user-invocable: true to 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.

Housekeeping

  • Stop tracking .claude/settings.local.json (a personal, machine-local Claude Code settings file) and add a .gitignore covering it plus editor swap/backup files. It should never have shipped in the repo or the plugin bundle.

[3.0.2] — 2026-07

Fixed

  • Add the required timeout field (10s) to the PostToolUse hook entry in hooks/hooks.json. Claude Code treats the field as optional, but the marketplace/sandbox validator requires timeout (or timeoutMs) on every hook, which caused a hook timeout or timeoutMs is required error and a cascading plugin-manifest rejection.

[3.0.1] — 2026-07

Fixed

  • Add the required name field 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 explicit name string — its absence caused front matter must include a string name errors and a cascading plugin-manifest rejection.

[3.0.0] — 2026-05

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.

Why this change

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.

What replaces the removed skills

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.

Added

  • /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 the general-dev-claude-plugin.
  • /ccmagic:review-ticket [ID] — Code review grounded in the ticket's stated scope. Fetches the ticket and acceptance criteria, runs /ccmagic:review with 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 gh CLI), JIRA (via Atlassian MCP). Auto-detection cascade based on MCP availability, CLI availability, branch hints, and .claude/ccmagic.local.md configuration.
  • 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 in docs/ccmagic.local.md.example. Created by /ccmagic:init and edited by /ccmagic:settings.

Changed

  • /ccmagic:review now 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 --quick or --deep.
  • /ccmagic:init is heavily slimmed. v2 created an epic/feature/task/spike/session/backlog directory tree. v3 creates only context/conventions.md, context/branching.md, context/knowledge/, and .claude/ccmagic.local.md. No planning state.
  • /ccmagic:doctor rewritten 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:help rewritten around the new 23-skill surface.
  • /ccmagic:settings trimmed to tracker-related knobs (default tracker, QA workflow, ticket-ID regex override). Removed knobs for the deleted planning skills.
  • .claude/CLAUDE.md consolidated. 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.

Removed

  • 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:status follow-ups in pr/merge/validate/test, context/working-state.md updates in push, context/backlog.md offers in debug, context/features/*/tasks/ lookups in analyze-impact/test/review/codex-review, /ccmagic:init//ccmagic:plan next-step pointers in map-codebase.

Migration from v2.x

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 by review, codex-review, pr-feedback, push, quick)
  • context/branching.md — branch strategy (read by pr, merge)
  • context/knowledge/*.md — architecture/stack/conventions (produced by map-codebase; read by review, codex-review, analyze-impact)

New files:

  • .claude/ccmagic.local.md — tracker config (created by /ccmagic:init)

The recommended migration path:

  1. Back up your v2 context/ directory if you want to preserve historical planning data.
  2. Run /ccmagic:init — it's idempotent and won't touch existing conventions.md/branching.md/knowledge/ files; it'll just add .claude/ccmagic.local.md and any missing files.
  3. Run /ccmagic:doctor to confirm the setup is healthy.
  4. If you used /ccmagic:map-codebase before, you can re-run it to refresh context/knowledge/ against the current state of the code.

Repository structure

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

[2.3.1] and earlier

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.