From b593334e44099ed5a8e49f746e4472914465616e Mon Sep 17 00:00:00 2001 From: garrytan Date: Mon, 2 Nov 2026 08:10:35 +0000 Subject: [PATCH] docs: Step 14.5 audit (GST-951) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- docs/review-policy.md | 2 +- docs/ship-policy.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/review-policy.md b/docs/review-policy.md index b3660c34c..3e149828d 100644 --- a/docs/review-policy.md +++ b/docs/review-policy.md @@ -604,7 +604,7 @@ ones, and the arm lost blockers. `bin/gstack-review-dispatch` closes both ends: - `ship/sections/review-army.md` Step 9: the plan's `REVIEW_DEPTH`, `GATE_SCAN` and `--depth-floor` on every run, the depth fields of the review-log row, passes, `RANGE_BASE`, classify, defer, render, the cap check before any edit, the Step 11 late-defer row, scratch files under `.gstack/tmp/`, the cap decisions; `ship/sections/adversarial.md` Step 11: the outside voice reads the same range and scopes queued fixes the same way. - `lib/review-depth.ts`, `bin/gstack-review-plan`: the diff class, the depth (`depthFor`, `DEPTH_RULES`, `depthOfCommitInput`), each dispatch's `exclude` pathspecs and `DIFF_CMD`, the transition table, the numeric-claim scan and each role's effort tier (`test/review-depth.test.ts`, `test/review-plan-cli.test.ts`). - `lib/review-collect.ts`: `collectCommit` (git objects only, from any checkout) and `collectLive` (the working tree), per-path lines and the base commit's registry (`test/review-collect.test.ts`). -- `lib/review-scope.ts`, `bin/gstack-review-scope`: `classify`, `defer`, `render`, `summary` (with `fix_checks`, `dispatches`, `est_input_tokens`); refusals are `REVIEW_SCOPE_INPUT` and `REVIEW_SCOPE_RANGE` ([troubleshooting.md](troubleshooting.md#review-scope-input)). +- `lib/review-scope.ts`, `bin/gstack-review-scope`: `classify`, `defer`, `render`, `summary` (with `fix_checks`, `dispatches`, `est_input_tokens`, `unrecorded`, `ledgers_read`); refusals are `REVIEW_SCOPE_INPUT`, `REVIEW_SCOPE_RANGE` and `REVIEW_SCOPE_LEDGER` ([troubleshooting.md](troubleshooting.md#review-scope-input)). - `lib/ship-policy.ts`: the `review_scope` key and its `ship: review_scope …` consequence line. - `review/checklist.md`: `prereg-with-results` under Gate Integrity and `test-keyboard-count-loop` under Pass 2; `bin/gstack-coauthor-trailers` for the contributor-credit trailers of a port. - `lib/ship-receipt-prose.ts`, `gstack-ship-receipt read --check-prose`: the body's quoted counters against the receipt (`RECEIPT_PROSE_MISMATCH`, [ship-policy.md](ship-policy.md#ship-receipt)). diff --git a/docs/ship-policy.md b/docs/ship-policy.md index b0c58c716..1e08417be 100644 --- a/docs/ship-policy.md +++ b/docs/ship-policy.md @@ -1286,8 +1286,9 @@ instead of `defer`. `review_scope: all` is the opt-back to the earlier loop: every finding is `scope: fix` on every pass, reviewers read the whole diff each time, and only the three-cycle fix cap stops the loop. `show-effective` prints the choice as a `ship: review_scope …` line, and the codes a refusal ends with are -[`REVIEW_SCOPE_INPUT`](troubleshooting.md#review-scope-input) and -[`REVIEW_SCOPE_RANGE`](troubleshooting.md#review-scope-range). +[`REVIEW_SCOPE_INPUT`](troubleshooting.md#review-scope-input), +[`REVIEW_SCOPE_RANGE`](troubleshooting.md#review-scope-range) and +[`REVIEW_SCOPE_LEDGER`](troubleshooting.md#review-scope-ledger). ## `base_red`: pausing /ship on a red base