IW-702: Keep the review-state card out of version control #709
No reviewers
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli!709
Loading…
Reference in a new issue
No description provided.
Delete branch "IW-702"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The review-state card moves out of the working tree into
<common git dir>/iw/review-state/(issues/<ID>.json, orefforts/<slug>/<NN>-<slice>.jsonfor a slice). Git does not version it, and no iw command commits it any more. The merge gate now has one path: the head that CI proved green is the head that merges.Changes
ReviewStateLocation, safe slug and slice segments) and common-git-dir resolution with no git process.chore(<ID>): move review-state card out of the tree), and drops a stale copy that a reset brings back.review-state --commit,CommitPolicyandPhasePr.persistare removed.stateOnlyGatedSha,mergeGatedCommit,UnjudgedHead, the "CI not judged" note) andCiGate.snapshotCheckare removed. No command writes or readsci_gated_sha, but the schema still accepts it. Help text,docs/review-state-cards.md,docs/commands/review-state.md, the API docs andllms.txtdescribe the new location.Strict cut, no compatibility code.
--commitexits 1. An explicit--input/--outputis used as given. The dashboard reads only the out-of-tree card. Callers must apply contract changes 1-8 (listed indocs/review-state-cards.md). The kanon follow-up is dev-docs#439 and must land in the same release window.Testing
Each phase PR passed the full CI suite before it merged. See
project-management/issues/IW-702/implementation-log.mdandreview-packet.mdfor the test summary per phase.Follow-ups
#706 (finished-issue cards are never removed), #707 (Small fixes: core), #708 (Small fixes: docs/plans), and the kanon comment on dev-docs#439.
Release notes
See
project-management/issues/IW-702/release-notes.md(Czech).🤖 Generated with Claude Code
https://claude.ai/code/session_01GkYxxd3DijobEs1dWRhXz3
Closes #702