aboutsummaryrefslogtreecommitdiff
path: root/flush
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-02 00:07:38 -0400
committerCraig Jennings <c@cjennings.net>2026-07-02 00:07:38 -0400
commit80ca5d00c4ddd481308ed8ce0c2f270bd34604c0 (patch)
treea0553bce48be624d084e7f9ee01a6cef34e48354 /flush
parentd0c92d0e21dd8698bfc772903bcc42252a70d1ee (diff)
downloadrulesets-80ca5d00c4ddd481308ed8ce0c2f270bd34604c0.tar.gz
rulesets-80ca5d00c4ddd481308ed8ce0c2f270bd34604c0.zip
feat(spec-sort): add the docs-pile retrofit helper
spec-sort is Phase 2 of the docs-lifecycle build. It proposes the sort (spine-predicate classification, an evidence panel per candidate, a conservative keyword proposal) and a human confirms every move with --confirm/--skip. Terminal states need an explicit --reason, recorded in the status history. --apply is fail-safe. It refuses a dirty worktree, validates then writes from a recorded plan file, names applied and not-applied work with a git restore recovery recipe on mid-apply failure, and exits non-zero on post-apply residue. Moves land in docs/specs/ with the -spec.org suffix, a status heading carrying :ID: and a dated history line, and the two-sequence keyword header. file: links across the project-owned roots are recomputed, including a moved doc's own outbound links. Session archives and synced template paths are reported, never rewritten, with the canonical claude-templates file named. A successful run stamps :LAST_SPEC_SORT: in .ai/notes.org. The 33-test bats suite is glob-discovered by make test. A dry run against rulesets' own pile matches the expected five candidates.
Diffstat (limited to 'flush')
0 files changed, 0 insertions, 0 deletions