Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .agents/skills/local-strict-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,18 @@ Bounds: read-only. Report a rule that looks incomplete rather than guessing at w
git fetch origin <target> # stop and report a failed fetch rather than measuring past it
python3 scripts/canonical_review.py check --target <target> # each uncovered unit, with its digest
# run the pass above over each unit it named, then, per unit:
python3 scripts/canonical_review.py record --reviewer agent-skill --unit '<key>=<digest>' [--findings N]
python3 scripts/canonical_review.py record --reviewer agent-skill --target <target> --unit '<key>=<digest>' [--findings N]
```

These run in the authoring repository itself, which is the only repository this pass ever runs in, so the engine path is the plain one and there is no downstream side needing the `<hub-checkout>/` form the pass above shows for its own reach. Point an engine in one checkout at another checkout's tree and the second is measured with the first's unit model, while `record` stamps the ledger with a commit read from the second.
These run in the authoring repository itself, which is the only repository this pass ever runs in, so the engine path is the plain one and there is no downstream side needing the `<hub-checkout>/` form the pass above shows for its own reach. Point an engine in one checkout at another checkout's tree and the two mix, the engine's own section rules over the other tree's manifest and files.

`<target>` is the branch this work targets, resolved once as the pass above resolves it and passed to `check` explicitly. Left off it defaults to `develop`, so a branch based on `main` is measured from a fork point nobody read. The fetch matters for the same reason it does above: the engine resolves `origin/<target>` if it already exists and never fetches it, so a stale remote-tracking ref moves the fork point without saying so. Lagging, which is the ordinary way to be stale, moves it back and gates units this change never touched, and the reverse case, where the branch restores text the target has since changed, drops one it did move. Neither is announced, so the fetch is what keeps the fork point meaning what the reviewer read against. `check` names each uncovered unit with the digest to hand back, so nothing has to be looked up separately, and `list` is there for reading the whole set rather than for this loop.
`<target>` is the branch this work targets, resolved once as the pass above resolves it and passed to both commands explicitly. Left off it defaults to `develop`, so a branch based on `main` is measured from a fork point nobody read, and `record` stamps each pass with a merge-base against a branch the work never targeted. The fetch matters for the same reason it does above: the engine resolves `origin/<target>` if it already exists and never fetches it, so a stale remote-tracking ref moves the fork point without saying so. Lagging, which is the ordinary way to be stale, moves it back and gates units this change never touched, and the reverse case, where the branch restores text the target has since changed, drops one it did move. Neither is announced, so the fetch is what keeps the fork point meaning what the reviewer read against. `check` names each uncovered unit with the digest to hand back, so nothing has to be looked up separately, and `list` is there for reading the whole set rather than for this loop.

The digest is bound to the read for the same reason `--expect-digest` is above: recording a unit by name alone would stamp whatever the file holds at record time, so an edit between the review and the record would be attested to by a reviewer who never saw it. Record each unit whatever the pass found, including nothing. Fixing a finding is itself such an edit, so `record` then refuses the digest you were holding: that refusal is the content having moved rather than a fault in the record, and the answer is a read of the unit's new text, which is what a carrier will actually receive, recorded at its new digest.

**This pass records before the commit, where the pass above records after it**, and the two orders are opposite because the two records live in different places. A receipt sits in the worktree's git directory and can never be committed, so it is written once the commit has fixed what a push will deliver. This ledger and its burn-down are tracked files the commit has to carry, so writing them after that commit leaves the tree differing from HEAD, which is a state the pre-push hook refuses before either gate runs. The shortest order meeting both, and the one the refusal table below assumes, is: run this pass and record each unit, commit that together with the change, then read the digest, run the diff pass, record its receipt, and push. Committing the change first and the ledger in a second commit satisfies the same constraint and costs a commit.
**This pass records before the commit, where the pass above records after it**, and the two orders are opposite because the two records live in different places. A receipt sits in the worktree's git directory and can never be committed, so it is written once the commit has fixed what a push will deliver. This ledger, `reports/canonical-review.json`, is a tracked file the commit has to carry, so writing it after that commit leaves the tree differing from HEAD, which is a state the pre-push hook refuses before either gate runs. The shortest order meeting both, and the one the refusal table below assumes, is: run this pass and record each unit, commit that together with the change, then read the digest, run the diff pass, record its receipt, and push. Committing the change first and the ledger in a second commit satisfies the same constraint and costs a commit.

**A unit nothing has read here yet is not this branch's debt.** `check` refuses the units this change moved, meaning the ones whose text it edited and the ones it newly carried, since widening the manifest hands a carrier content for the first time exactly as writing it would. Everything else is a burn-down entry in the hub's `reports/canonical-review.md` rather than a block on unrelated work. Working one of those off is worthwhile, and it is its own change rather than a tax on an unrelated one.
**A unit nothing has read here yet is not this branch's debt.** `check` refuses the units this change moved, meaning the ones whose text it edited and the ones it newly carried, since widening the manifest hands a carrier content for the first time exactly as writing it would. Everything else is a burn-down entry `canonical_review.py report` renders rather than a block on unrelated work. Working one of those off is worthwhile, and it is its own change rather than a tax on an unrelated one.

## Disposing of Findings

Expand Down
1 change: 0 additions & 1 deletion .claude-plugin/fleet-skills/.source-digest

This file was deleted.

1 change: 1 addition & 0 deletions .claude-plugin/fleet-skills/.source-digests/add-host-tool
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8245d50f9c40fb5d
1 change: 1 addition & 0 deletions .claude-plugin/fleet-skills/.source-digests/agent-conduct
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
be7d43fc59180c19
1 change: 1 addition & 0 deletions .claude-plugin/fleet-skills/.source-digests/audit-a-repo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
162403e1f05c8750
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
55005855f2e13528
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
65a440b256923d07
1 change: 1 addition & 0 deletions .claude-plugin/fleet-skills/.source-digests/code-review
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ef65d965e49f56d3
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cff37a35f866c77c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8d3cbfef68b03085
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
76063cfedec69d66
1 change: 1 addition & 0 deletions .claude-plugin/fleet-skills/.source-digests/drive-pr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1a7709724fbde0b5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7a47f2945d635dd2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
074ebf66f8ce7a8b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
badf9d44f4fcc2c9
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c228b32f7efd1f2f
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7e4dace08c581494
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2c0727471fc07046
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aba9474b9d63d774
1 change: 1 addition & 0 deletions .claude-plugin/fleet-skills/.source-digests/repo-worktree
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7407d74226ea2c06
1 change: 1 addition & 0 deletions .claude-plugin/fleet-skills/.source-digests/resync-a-repo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
159d91fa2776457e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
40c3f8736d2d6180
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6a7ec146b235d59c
1 change: 1 addition & 0 deletions .claude-plugin/fleet-skills/.source-digests/standup-a-repo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
be23d946c44a7c77
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4c82f9c302e7cbf2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
72a09135d29911b4
10 changes: 5 additions & 5 deletions .claude-plugin/fleet-skills/skills/local-strict-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,18 @@ Bounds: read-only. Report a rule that looks incomplete rather than guessing at w
git fetch origin <target> # stop and report a failed fetch rather than measuring past it
python3 scripts/canonical_review.py check --target <target> # each uncovered unit, with its digest
# run the pass above over each unit it named, then, per unit:
python3 scripts/canonical_review.py record --reviewer agent-skill --unit '<key>=<digest>' [--findings N]
python3 scripts/canonical_review.py record --reviewer agent-skill --target <target> --unit '<key>=<digest>' [--findings N]
```

These run in the authoring repository itself, which is the only repository this pass ever runs in, so the engine path is the plain one and there is no downstream side needing the `<hub-checkout>/` form the pass above shows for its own reach. Point an engine in one checkout at another checkout's tree and the second is measured with the first's unit model, while `record` stamps the ledger with a commit read from the second.
These run in the authoring repository itself, which is the only repository this pass ever runs in, so the engine path is the plain one and there is no downstream side needing the `<hub-checkout>/` form the pass above shows for its own reach. Point an engine in one checkout at another checkout's tree and the two mix, the engine's own section rules over the other tree's manifest and files.

`<target>` is the branch this work targets, resolved once as the pass above resolves it and passed to `check` explicitly. Left off it defaults to `develop`, so a branch based on `main` is measured from a fork point nobody read. The fetch matters for the same reason it does above: the engine resolves `origin/<target>` if it already exists and never fetches it, so a stale remote-tracking ref moves the fork point without saying so. Lagging, which is the ordinary way to be stale, moves it back and gates units this change never touched, and the reverse case, where the branch restores text the target has since changed, drops one it did move. Neither is announced, so the fetch is what keeps the fork point meaning what the reviewer read against. `check` names each uncovered unit with the digest to hand back, so nothing has to be looked up separately, and `list` is there for reading the whole set rather than for this loop.
`<target>` is the branch this work targets, resolved once as the pass above resolves it and passed to both commands explicitly. Left off it defaults to `develop`, so a branch based on `main` is measured from a fork point nobody read, and `record` stamps each pass with a merge-base against a branch the work never targeted. The fetch matters for the same reason it does above: the engine resolves `origin/<target>` if it already exists and never fetches it, so a stale remote-tracking ref moves the fork point without saying so. Lagging, which is the ordinary way to be stale, moves it back and gates units this change never touched, and the reverse case, where the branch restores text the target has since changed, drops one it did move. Neither is announced, so the fetch is what keeps the fork point meaning what the reviewer read against. `check` names each uncovered unit with the digest to hand back, so nothing has to be looked up separately, and `list` is there for reading the whole set rather than for this loop.

The digest is bound to the read for the same reason `--expect-digest` is above: recording a unit by name alone would stamp whatever the file holds at record time, so an edit between the review and the record would be attested to by a reviewer who never saw it. Record each unit whatever the pass found, including nothing. Fixing a finding is itself such an edit, so `record` then refuses the digest you were holding: that refusal is the content having moved rather than a fault in the record, and the answer is a read of the unit's new text, which is what a carrier will actually receive, recorded at its new digest.

**This pass records before the commit, where the pass above records after it**, and the two orders are opposite because the two records live in different places. A receipt sits in the worktree's git directory and can never be committed, so it is written once the commit has fixed what a push will deliver. This ledger and its burn-down are tracked files the commit has to carry, so writing them after that commit leaves the tree differing from HEAD, which is a state the pre-push hook refuses before either gate runs. The shortest order meeting both, and the one the refusal table below assumes, is: run this pass and record each unit, commit that together with the change, then read the digest, run the diff pass, record its receipt, and push. Committing the change first and the ledger in a second commit satisfies the same constraint and costs a commit.
**This pass records before the commit, where the pass above records after it**, and the two orders are opposite because the two records live in different places. A receipt sits in the worktree's git directory and can never be committed, so it is written once the commit has fixed what a push will deliver. This ledger, `reports/canonical-review.json`, is a tracked file the commit has to carry, so writing it after that commit leaves the tree differing from HEAD, which is a state the pre-push hook refuses before either gate runs. The shortest order meeting both, and the one the refusal table below assumes, is: run this pass and record each unit, commit that together with the change, then read the digest, run the diff pass, record its receipt, and push. Committing the change first and the ledger in a second commit satisfies the same constraint and costs a commit.

**A unit nothing has read here yet is not this branch's debt.** `check` refuses the units this change moved, meaning the ones whose text it edited and the ones it newly carried, since widening the manifest hands a carrier content for the first time exactly as writing it would. Everything else is a burn-down entry in the hub's `reports/canonical-review.md` rather than a block on unrelated work. Working one of those off is worthwhile, and it is its own change rather than a tax on an unrelated one.
**A unit nothing has read here yet is not this branch's debt.** `check` refuses the units this change moved, meaning the ones whose text it edited and the ones it newly carried, since widening the manifest hands a carrier content for the first time exactly as writing it would. Everything else is a burn-down entry `canonical_review.py report` renders rather than a block on unrelated work. Working one of those off is worthwhile, and it is its own change rather than a tax on an unrelated one.

## Disposing of Findings

Expand Down
10 changes: 4 additions & 6 deletions .github/actions/validate/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,12 @@ runs:
fi
python3 scripts/canonical_review.py check --target "$BASE_SHA"

# Read-only: fails where the committed burn-down no longer describes the ledger and the tree.
# Runs on every event, unlike the step above, because staleness is a property of the commit rather than of a comparison against a base.
# `!cancelled()` so an earlier failing step does not skip it, since a run that names one reason and hides the next costs a whole round to discover the second, which is the reason .husky/pre-push runs both gates before reading either verdict.
# Not `always()`, which also runs after a cancellation, where nothing is waiting for the answer.
- name: Check the canonical review burn-down is current step
# The burn-down goes to the run's job summary rather than into the tree, per scripts/README.md, on every event since it describes the commit rather than a comparison against a base.
# Read-only and informational, so `!cancelled()` renders it after an earlier step failed.
- name: Render the canonical review burn-down step
if: ${{ !cancelled() }}
shell: bash
run: python3 scripts/canonical_review.py report --check
run: python3 scripts/canonical_review.py report >> "$GITHUB_STEP_SUMMARY"

# Warn-only, and visible rather than absent: an unrun check is one nobody acts on.
# A finding here names a character no tier covers, and classifying it is a fleet-law edit rather than a prose fix.
Expand Down
Loading