Make stability-reviewer trace every path, asynchronous ones included, to a callback that a change guards #799

Merged
lilleman merged 6 commits from item-579 into main 2026-12-03 18:14:25 +01:00
2 changed files with 1 additions and 10 deletions
Showing only changes of commit 0aff7d39bf - Show all commits
+1
View File
@@ -2,6 +2,7 @@
## Unreleased
- The stability reviewer traces every path that can reach a callback, handler or hook that a change guards, background and process-wide ones included, and reports each path the guard leaves open.
- Interactive sessions start with permissions bypassed (`defaultMode: bypassPermissions`) instead of in auto mode, so a session on the sandbox this checkout requires asks for permission only where Claude Code always does.
- Renamed `loop-claude` to `build-release`, with no alias. Before you update, finish your open chunks, since a chunk left open under `loop-claude` starts a fresh session, and stop every running `loop-claude`, since a loop that runs across the update can't reload and hands its workers variables the new rule-hook ignores. Then remove `~/.local/bin/loop-claude`, link the new name with `ln -s ~/.claude/bin/build-release ~/.local/bin/build-release`, and rename each `LOOP_CLAUDE_*` variable you set, in your shell profile and in your crontab, to `BUILD_RELEASE_*`, such as `BUILD_RELEASE_TRANSCRIPTS`. The folders and the file it keeps, `~/.claude/loop-claude-transcripts`, `~/.claude/loop-claude-models.json` and `~/.local/state/loop-claude`, keep their names for now.
- A claude that build-release, do-epic or `task-bench gather` starts has the release's tools first on its `PATH`, and the rules, the skills and each tool's help and errors name a tool bare, as in `todo-item`. In your own shell, and in a claude you start from it yourself, call a tool other than `build-release` by its path, `~/.claude/bin/<tool>`.
-10
View File
@@ -20,7 +20,6 @@
| 577 | 0.18.0 | 483, 486, 575 | owner | **Test in the gate that a container holding only a stock Claude Code runs a chunk from a clone, against a mock Messages API, and that the run leaves the container's own `~/.claude` as it was.** | 3 | 1 | 2 | 4 | 6 | 3 by 9, 2 by 5 | 5.2 |
| 576 | 0.18.0 | 575 | owner | **Name the project `dev-factory` in the README, the prose and the tools, and say in the changelog that the repo moved.** | 2 | 2 | 2 | 4 | 4 | 2 by 1, 6 by 1 | 0.4 |
| 578 | 0.18.0 | 576, 577 | owner | **Ship one chunk of this repo, to a merged pull request, from a clone of `main` that runs in the generated home, beside the untouched `~/.claude`.** | 1 | 2 | 1 | 2 | 1 | 2 by 4 | 1.2 |
| 579 | 0.18.0 | | | **Make stability-reviewer trace every path, asynchronous ones included, to a callback that a change guards.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 |
| 487 | 0.20.0 | 483 | owner | **Run larv-review's passes from a program that picks them from the diff and the item, counts rounds against the cap and decides each rerun, with each reviewer returning its findings as JSON against a schema.** | 4 | 2 | 3 | 7 | 8 | 1.1 by 5, 1.4 by 5 | 0.4 |
| 498 | 0.20.0 | 487 | owner | **Drive each chunk as a state machine in `build-release`, from preflight through implementing, review, the pull request and the merge to finishing its items, with the worker as one model step that ends in a result that code checks.** | 4 | 2 | 3 | 7 | 8 | 1.1 by 4, 1.4 by 4 | 0.3 |
| 488 | 0.20.0 | 498 | owner | **Cut the larv-review skill, `CLAUDE.md` and rule-hook down to what `build-release` doesn't own: the judgement the model makes and the safety guards.** | 2 | 2 | 3 | 5 | 5 | 1.4 by 4, code health by 2 | 2.3 |
@@ -412,15 +411,6 @@ Touches:
- `README.md`
### 579. Make stability-reviewer trace every path, asynchronous ones included, to a callback that a change guards.
A forge auto-reviewer found, on a library, a guard the stability pass had read as complete: the code kept a user callback from running before the constructor returned by leaving it out of one handler, while a background export of the same record still reached the callback through a global error handler. The stability reviewer checked the direct call and not the asynchronous one.
Add to the concurrency section: where a change keeps a callback, handler or hook from running in some window, the reviewer lists every path that can reach it, including background goroutines, threads, queues and process-wide handlers, and reports each path the guard leaves open.
Touches:
- `agents/stability-reviewer.md`: `### 6. Concurrency & State Management` (small)
### 487. Run larv-review's passes from a program that picks them from the diff and the item, counts rounds against the cap and decides each rerun, with each reviewer returning its findings as JSON against a schema.
Part of the standalone-install plan lilleman approved on 2026-11-20. It applies the decision `loop: a step whose result a program can check …` in `docs/decisions.md`. The reviewer briefs stay prose. Start here, since larv-review holds the most sequencing rules.