fix(8376): a repo that leaves a project takes its shape rows out of that project's accounting
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Successful in 2m19s
CI & Build / integration (push) Successful in 2m19s
CI & Build / Build & push image (push) Successful in 20s

A coverage refresh walks only the repos bound to a project, but its readout
counts every live row, so the rows of a repo unbound or re-bound to another
project were never synced again and kept counting: in the total, the gap
list, and every reader of live rows (proposer, divergence, stamp review).
Re-binding a repo to another project and unbinding it now stamp its rows on
the project it left as vanished, and each refresh sweeps any rows still left
under a repo nobody binds to the project. A bound repo the forge did not
serve this time stays live. Each stamped row gets an `unbound` event and
keeps its judgment, so binding the repo back revives it like any vanished
row. Plugin version bumped for the shape-accounting skill's event list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 23:15:24 -05:00
co-authored by Claude Opus 5.5
parent af5edd5c3f
commit f55e263d7e
9 changed files with 211 additions and 10 deletions
+2 -2
View File
@@ -172,8 +172,8 @@ Three questions the ledger answers mechanically:
it), `variant` with the why if the departure is deliberate. The write-path
hint asks the same question in-band the moment such a shape is written.
- **History** — `shape_history(project_id, path, symbol?)`: the current rows
plus every `classified` / `vanished` / `reappeared` / `drifted` / `moved`
event with its commit — "instance of #N from <date>, re-judged variant of #M because
plus every `classified` / `vanished` / `reappeared` / `drifted` / `moved` /
`unbound` (its repo left the project) event with its commit — "instance of #N from <date>, re-judged variant of #M because
R, vanished at C". Rows, not recollection.
- **Recheck** — `list_shapes(project_id, flag="recheck")`: judged
instances/variants whose body changed since judged. The judgment stands;