Releases: asakaguchi/cc-rite-workflow
Releases · asakaguchi/cc-rite-workflow
v0.6.4
Fixed
/rite:pr:openbranch creation is now worktree-isolated as a hard invariant undermulti_session.enabled: true— branch creation re-resolvesmulti_sessionfromrite-config.ymlimmediately before the branch is created (instead of relying on a[CONTEXT]marker that can be lost across resume / context compaction / mid-flow entry), so thegit switch -clegacy path is reachable only whenmulti_session.enabled: false. AfterEnterWorktree, an invariant check verifies the repository top-level matches the worktree path and halts on mismatch instead of silently continuing on the main tree;flow-state.sh set --require-worktreeemits a loud warning when a branch/PR phase would be recorded without a worktree. (#1596)
v0.6.3
v0.6.2
v0.6.1
Fixed
EnterWorktreefailure under harness git misdetection now points to a restart remedy — whenmulti_session.enabled: true(default),/rite:pr:openStep 2.3-W and/rite:resumere-entry detect the harness git repository misdetection (.gitpresent andgitCLI healthy, but the startup check reports false) and recommend restarting Claude Code from the repository root so the already-created worktree is reused (WT_CASE=reuse), instead of offering only the prior "abort /git switch -c" fallback. Documented ingetting-started.mdandgit-worktree-patterns.md. (#1574)
v0.6.0
Added
- Canon TDD cycle for the implementation phase — when
tdd.enabled: true(default on),/rite:issue:implementdrives implementation through a Canon TDD loop: pick one behavior from the test list → confirm Red → minimal Green → Refactor → repeat until the list is empty. Falls back gracefully:commands.test: nullruns in "Degraded TDD" mode (test-list discipline kept, auto-run skipped with a warning), andtdd.enabled: falserestores the prior non-TDD flow. (#1567) tdd:configuration section, default-on (opt-out) — distributedrite-config.ymlships atdd:section withenabled: true;/rite:init --upgradeback-adds it to existing projects via the same active-section mechanism aswiki/multi_session. (#1566)- Canon TDD documentation and test-list framing — the Issue template Section 6 "Test Specification" is now framed as the Canon TDD test list (one T-xx row = one Red→Green→Refactor cycle), reflected across
skills/rite-workflow,docs/SPEC.md, getting-started, andpr/open.md. (#1568)
v0.5.5
Fixed
bang-backtick-check.shno longer hard-blocks consumer repos — a new--skip-if-no-targetflag makes--allreturn a clean skip (rc=0) instead of anrc=2invocation error when there is noplugins/rite/markdown to scan (marketplace-only consumer repos), removing the forced manual gate bypass in/rite:pr:readyand/rite:pr:create. Self-host repos keep the originalrc=2misconfiguration diagnostic. (#1551)- Active-but-idle session worktrees protected from lazy reap —
pr-cycle-cleanup.shkeeps a worktree whose issue claim holder isactive=trueeven when the claim heartbeat has gone stale (idle pastCLAIM_STALE_SECONDS), preventing the/clear"Path does not exist" error from recurring on resume. (#1553) - Read-only commands relay their real output again — removed
context: forkfrom/rite:issue:list,/rite:investigate,/rite:workflow, and/rite:skill:suggestso their output is shown inline instead of being replaced by the harness control wrapper. (#1556) orphan-reference-check.sh --allworks inside session worktrees — the--allscan now walks paths relative toREPO_ROOT, so running from a.rite/worktrees/issue-Nworktree no longer excludes every file and exits2; orphan detection is restored under the defaultmulti_session.enabled: true. (#1557)
v0.5.4
Added
- OKF v0.1 minimal conformance for Wiki concept pages — concept page frontmatter now carries
typeandokf_versionfields, aligning Wiki pages with Open Knowledge Format v0.1. - OKF v0.1 sync and upstream visualizer integration guide — documentation now covers OKF v0.1-conformant synchronization and connecting the upstream visualizer.
Changed
/rite:pr:rundefaults to draft-only — the command runsopen → iterate(stopping at draft) by default, andready → merge → cleanupis opt-in via the--mergeflag.- Wiki
index.mdreshaped to OKF bullet form with two-pass query —index.mdadopts an OKF bullet structure andwiki:queryresolves in two passes. - Wiki
log.mdreshaped to OKF form —log.mdadopts an OKF structure and theingest:skipstate moves into raw frontmatter.
Fixed
wiki:closeheredoc write-failure guard —close.mdPhase 4.4.W guards against heredoc write failure, mirroring the review/fix path./rite:prreview/fix$trigger_exitdefensive default — Step 3 assigns a defensive default to$trigger_exit.- Live-process worktrees protected from
/clear"Path does not exist" — worktrees with a live process are protected so the/clear"Path does not exist" error does not recur.
v0.5.3
Added
/rite:pr:run— a batch PR lifecycle command that runsopen → iterate → ready → merge → cleanupsequentially and autonomously across multiple Issues./rite:lintnumber-reference guard — anumber-reference-check.shlint (non-blocking warning) that detects Issue/PR number references (#NNN,Issue #NNN,PR #NNN) re-introduced into the number-free surface (CHANGELOG.md,CHANGELOG.ja.md,lint.md), guarding the cleaned surface against recurrence.
Fixed
- Parallel sessions no longer contaminate each other's flow state —
session_idresolution is now env-first, so concurrent sessions resolve distinct identifiers instead of clobbering a sharedflow_state. /rite:pr:cleanupreclaims temporary branches and worktrees name-independently — cleanup no longer relies on branch or worktree naming to find and remove the artifacts it created.- In-use session worktrees are protected from reap — lazy reap skips worktrees owned by active sessions, and
/clearself-repairs dangling session state. drift-checkover-detection removed — eliminated false-positive drift findings and aligned the document-missing reason emitted by the check.decompose-issues.shno longer crashes on an emptylabels_csv— Sub-Issue creation handles an empty label set instead of failing./rite:pr:mergesuccess path terminates with a fixedexit 0— a trailing no-op prevents the merge success path from inheriting a non-zero exit status.
Changed
wiki:ingestwrite-failure handling — the write-failure path now emits a dedicatedcontent_write_failedreason instead of a generic failure reason.- Documentation surface made number-free and present-tense — removed implicit history-dependent phrasing (e.g. "the previous behavior", "the old way") and Issue/PR number references across user-facing config and docs, spec and design docs, command/skill/hook/script comments, and tests, stating the rationale directly in prose. The CHANGELOG history-dependent-phrasing policy is now documented in the file header.
- Account migration — updated
B16B1RDreferences toasakaguchifollowing the repository account transfer.
Removed
- README v0.4.0 Breaking Changes section — dropped the now-historical upgrade notice from the README.
v0.5.2
Fixed
/rite:init --upgradeshort-circuit path no longer drops drift back-adds (#1461) — when no pending drift was detected, the--upgradeshort-circuit path skipped the back-add step that the full path performs, so projects taking the short-circuit could miss newly added config sections and sub-keys. The short-circuit now applies the same drift back-add logic, covered by an added drift-detection test.- Fixed broken references to the non-existent
_resolve-flow-state-path.sh(#1466) — updated stale script references in the hooks documentation to the actualflow-state.shpath.
Changed
- Unified flow state on the per-session model (#1460) — removed the legacy
flow_state.schema_version=1(single-file) path from the hooks (session-start,session-end,post-compact,pre-compact,post-tool-wm-sync),init.md, and the config template, consolidating on per-session flow state. Staleschema_versiontest fixtures/labels were neutralized (#1465),commit.contextualwas added to the SPEC Deprecated key list (#1469), andSPEC.md/getting-started.mdwere updated to follow the--upgradedrift back-add behavior change (#1467).
v0.5.1
Fixed
/rite:init --upgradenow converges to the latest config defaults (#1447) — the--upgradepath previously dropped newly added top-level sections, new sub-keys inside existing sections, and themulti_sessionblock, producing a two-tier behavior where upgraded projects drifted from what a fresh/rite:initproduces.--upgradenow back-addsmulti_sessionwithenabled: true(an explicitfalseis preserved; idempotent), fills only the missing sub-keys from the template default while preserving existing sibling values, and tracks newly added top-level sections via a drift anchor. Covered by a new sub-key-merge drift-detection test (T-12, #1451), which was unified onto the shared_test-helpers.shharness (#1453).commands/getting-started.mddocuments the--upgrademulti_sessionback-add behavior (#1452).
Full Changelog: v0.5.0...v0.5.1