Conversation
…pped, and every ancestry figure now carries its venue
THEME: a gate says nothing outside its window — and for this gate the window is
an ENVIRONMENT, not a point in the ritual.
THE REFUTING COMMAND RAN FIRST AND CONFIRMED THE PREMISE, over all twenty-five
shipped records in two named venues rather than the three-record sample the
previous release reported.
venue tested flagged
authoring checkout (219 local refs) 243 105
fresh clone of the REMOTE (180 refs) 139 1
The flag count DIFFERS on 22 of the 25 records and agrees only on the three that
read zero in both. The arithmetic closes exactly, and that is itself the finding:
243 - 139 = 104 citations skipped in the fresh clone, 105 - 1 = 104 fewer flags.
EVERY token the fresh clone skipped was one the authoring checkout had FLAGGED.
The skip is not incidental to the measurement — it IS the measurement, inverted —
and in the venue CI checks out, the check reports ONE problem across the whole
shipped history.
The fresh clone is of the REMOTE, deliberately: a `--no-local` clone of the local
repository inherits the parent's local branches as remote-tracking refs and is a
THIRD venue, the caveat the previous release's round two recorded.
WHAT SHIPS
* `audit()` returns the unresolvable tokens instead of dropping them at a bare
`continue`; the summary line carries their count and each is enumerated.
* a `record-provenance-venue:` line naming the object store and its DERIVED ref
count, so an ancestry figure cannot be quoted without its venue.
* five self-test cases, both halves of each contract asserted.
WHAT DELIBERATELY DOES NOT SHIP: a failure on that bucket. `cat-file -e` fails
IDENTICALLY for a token that was never a commit and for a citation whose object
this store has lost, so nothing local can classify it; the honest reading is the
DELTA between two named venues. A gate reding on 104 historical citations would be
routed around the day it landed, which this repository has already measured once.
TWO DEFECTS IN THIS LANE'S OWN ADDITIONS, found by running them rather than
reading them. The first probe used a 64-character digest as its unresolvable
token and the case failed: `HEX` is `\b([0-9a-f]{8,40})\b`, and a 40-character
submatch of a 64-character run has a hex char after it, so there is no word
boundary — the probe was invisible to the pattern it tested. And the enumeration
labelled a token "digest-shaped" at length >= 40, which `HEX` can only produce at
exactly 40 — a FULL GIT SHA. Unreachable in practice and wrong where reachable;
removed.
THREE NEGATIVE CONTROLS EXECUTED, each reding the case that names it, checker
restored byte-identically after each: restoring the bare `continue`; bucketing
every token including real commits; stubbing the venue's ref count to zero.
THIS ALSO INVALIDATES RQ-87-PROVENANCE3's REFUTING COMMAND, which reads "if the
historical non-ancestor count has fallen to zero, the reconciliation already
happened". In a fresh clone that is satisfied VACUOUSLY — it was already one, and
nothing was reconciled.
RESIDUAL, unchanged: CI gates the SELF-TEST and not the report. The report's red
on the newest record is PRE-EXISTING — origin/main's own checker reports the
identical 24 tested / 15 flagged in this venue — and which of those two numbers a
gate would even be asserting depends on the venue it runs in, which is the point.
Refs #1540
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
… worry behind the lane is refuted
THEME: a gate says nothing outside its window — and a CI-gated self-test says
nothing about the report path beside it, which is exactly how this crash
survived.
HALF 1 REPRODUCES. `--record docs/reviews/...` raises `ValueError: '...' is not
in the subpath of '/Users/r/git/pulseengine/synth'` from `relative_to` on the raw
argument: a traceback, not a diagnostic. The absolute path prints its report —
the positive control.
Fixed with `Path(a.record).resolve()`, and the form a human runs now has a TEST,
which is the part that was actually missing. Both halves are asserted: the
relative path must not traceback AND must reach the same return code and the same
`record-provenance:` line as the absolute one, so a fix that merely swallowed the
error would not pass. NEGATIVE CONTROL EXECUTED: removing `.resolve()` reds that
case by name; file restored byte-identically.
HALF 2, THE POPULATION, derived across all NINE workflows: ELEVEN scripts carry a
`--self-test` invocation, FORTY-NINE a non-self-test one, FIVE have BOTH, SIX are
self-test-only in a workflow. Six is "several", so the refuting command's refusal
condition does not fire; the positive control places `stale_pin_check.py` and
`verdict_prose_check.py` in BOTH.
AND THE WORRY IS REFUTED, after two of my own readings were wrong first.
* The documentation search was BOUNDED BY WHERE IT LOOKED. Searching only the
SCRIPTS found ONE of six documenting the choice. The statement can live in
three places; widened to script + ci.yml step comment + artifacts it read
FOUR, and direct reading found a fifth — RQ-86-SPELLSCAN states it verbatim
for `release_file_statistics_scan.py`, which a proximity window had missed.
* "UNGATED IN A WORKFLOW" IS NOT "INVOKED NOWHERE". `merge_gate.py`'s report
form runs from `merge_ritual.sh:123`, `:158` and `tag_release.sh:99` —
operator rituals no workflow contains — so a script exercised on every merge
read as unexercised by a classifier that scanned workflows only.
FINAL SPLIT: six self-test-only in a workflow; ONE exercised by an operator
ritual; FIVE of the remaining five documenting the choice; ZERO silently
ungated. The class is genuine and is how this crash survived, but it is not an
unnoticed accumulation here.
RESIDUAL: this script's report form stays ungated in CI, deliberately — the
gating form defaults to the newest record, which carries fifteen non-ancestors in
the authoring venue, so wiring it would red on day one over history it cannot
change. That choice is stated in the workflow, which is what keeps it out of the
silent column.
Refs #1539
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
…ting, and its refuting command is itself defective
THEME: a gate says nothing outside its window — and this record's own refuting
command had a success condition met by the measuring VENUE rather than by the
subject.
THE REFUTING COMMAND RAN FIRST, AND IT IS DEFECTIVE. It says: run the check over
every record, and if the historical non-ancestor count has fallen to zero the
reconciliation already happened. In a fresh clone that is satisfied VACUOUSLY —
the count was already ONE and nothing was reconciled.
MEASURED OVER EVERY RECORD IN BOTH VENUES, each figure with its venue named:
authoring checkout 243 citations tested, 105 flagged non-ancestors
fresh clone of the REMOTE 139 citations tested, 1 flagged
The flag count differs on 22 of the 25 records, and the arithmetic closes:
243 - 139 = 104 skipped, 105 - 1 = 104 fewer flags, so every token the fresh
clone skipped was one the authoring checkout had flagged.
THE FIRST BRANCH OF THE DONE-WHEN IS REFUSED, not deferred. Reconciling the
historical citations is not available: every flagged one is a pre-squash branch
head, this repository squash-merges so such a head never becomes an ancestor, and
wiring the gating form would red on day one over history it cannot change — the
trap this repository has measured once and declined to build. CI therefore gates
the checker's SELF-TEST and not its report.
THE SECOND BRANCH IS DELIVERED. `docs/reviews/README.md` now states the record
contract, which had no written home at all — the directory held only the records,
so the contract existed only inside the checkers that enforce it. It carries the
header spelling and why the declared commit is deliberately NOT ancestor-tested;
the forward-only citation rule with the venue figures beside it; and the two
consequences drawn explicitly:
* for a READER — a non-ancestor citation in a record older than this release is
EXPECTED and is not a defect in that record;
* for a TOOL — report unresolvable tokens rather than skipping them, and name
the venue beside any ancestry figure, because a figure without one is not a
measurement.
The checker's gating message now points at it, so the obligation is reachable
from the failure that raises it.
THE NEW FILE IS VERIFIED NOT TO DISTURB THE RECORD POPULATION, which is the risk
a README in that directory carries: `loop_conformance_check.py` step 7 filters
candidates by release id or version and `README.md` matches neither; both
provenance globs are `v0.*-cold-review.md`; `--all` does not mention it; 69
loop-conformance tests pass; and the artifact-citation and floor-prose counts are
unmoved.
RESIDUAL: nothing enforces the rule on a NEW record. The gating form exists and
is run by hand at review time, and wiring it is still blocked by the 105
historical flags in the authoring venue. What changed is that a reader no longer
has to infer the decision from a checker's silence.
Refs #1516
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
Contributor
Author
|
Folded into #1546 and rebased onto current main, so one CI cycle validates these lanes together rather than three. See that PR for the commits and for the corrections the fold surfaced. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v0.87 PROVBLIND (
RQ-87-PROVBLIND, refs #1540)Theme: a gate says nothing outside its window — and for this gate the window is an environment, not a point in the ritual.
The refuting command ran first, and confirmed the premise
All 25 shipped records, two named venues — not the three-record sample the previous release reported.
The flag count differs on 22 of the 25 records, agreeing only on the three that read zero in both.
The arithmetic closes exactly, and that is the finding: 243 − 139 = 104 citations skipped in the fresh clone, and 105 − 1 = 104 fewer flags. Every token the fresh clone skipped was one the authoring checkout had flagged. The skip is not incidental to the measurement — it is the measurement, inverted. In the venue CI checks out, the check reports one problem across the entire shipped history.
The fresh clone is of the remote, deliberately: a
--no-localclone of the local repository inherits the parent's local branches as remote-tracking refs and is a third venue — the caveat the previous release's round two recorded.What ships
audit()returns the unresolvable tokens instead of dropping them at a barecontinue; the summary line carries their count and each is enumerated.record-provenance-venue:line naming the object store and its derived ref count, so an ancestry figure cannot be quoted without its venue.What deliberately does not ship
A failure on that bucket.
cat-file -efails identically for a token that was never a commit and for a citation whose object this store has lost, so nothing local can classify it; the honest reading is the delta between two named venues. A gate reding on 104 historical citations would be routed around the day it landed.Two defects in this lane's own additions
Found by running them, not reading them:
HEXis\b([0-9a-f]{8,40})\b, and a 40-character submatch of a 64-character run has a hex char after it, so there is no word boundary — the probe was invisible to the pattern it tested.HEXcan only ever produce at exactly 40 — a full git sha. Unreachable in practice and wrong where reachable; removed.Three negative controls, executed
Each reds the case that names it, checker restored byte-identically after each: restoring the bare
continue; bucketing every token including real commits; stubbing the venue's ref count to zero.This invalidates RQ-87-PROVENANCE3's refuting command
It reads "if the historical non-ancestor count has fallen to zero, the reconciliation already happened" — satisfied vacuously in a fresh clone, where it was already one and nothing was reconciled.
Residual, unchanged
CI gates the self-test, not the report. The report's red on the newest record is pre-existing:
origin/main's own checker reports the identical 24 tested / 15 flagged in this venue, verified in a worktree sharing the same object store. Which of those two numbers a gate would even be asserting depends on the venue it runs in — which is the point of this lane.Also in this PR: v0.87 PROVCRASH (
RQ-87-PROVCRASH, refs #1539)Same file, same review round. Kept here rather than in a fifth PR; the squash subject stays lane-shaped for PROVBLIND, and both artifacts'
landed:name this PR.The crash reproduces.
--record docs/reviews/...raisesValueError: '...' is not in the subpath of '/Users/r/git/pulseengine/synth'fromrelative_toon the raw argument — a traceback, not a diagnostic. The absolute path prints its report (positive control). Fixed withPath(a.record).resolve().The part that was actually missing is a TEST of the form a human runs. Both halves asserted: the relative path must not traceback and must reach the same return code and the same
record-provenance:line as the absolute one, so a fix that merely swallowed the error would not pass. Negative control executed — removing.resolve()reds that case by name.The population, derived across all 9 workflows: 11 scripts carry a
--self-testinvocation, 49 a non-self-test one, 5 have both, 6 are self-test-only in a workflow. Six is "several", so the refuting command's refusal condition does not fire; positive control placesstale_pin_check.pyandverdict_prose_check.pyin both.And the worry behind the lane is REFUTED — after two of my own readings were wrong:
release_file_statistics_scan.py).merge_gate.py's report form runs frommerge_ritual.sh:123,:158andtag_release.sh:99— operator rituals no workflow contains.Final split: 6 self-test-only in a workflow, 1 exercised by an operator ritual, 5 documenting the choice, 0 silently ungated. The class is genuine — it is how this crash survived — but it is not an unnoticed accumulation here.
Also in this PR: v0.87 PROVENANCE3 (
RQ-87-PROVENANCE3, refs #1516)Same file family, same review round. Three lanes, one lane-shaped squash subject (PROVBLIND); all three artifacts'
landed:name this PR.Its refuting command is itself defective — measured by PROVBLIND. It says "if the historical non-ancestor count has fallen to zero, the reconciliation already happened", and in a fresh clone that is satisfied vacuously: the count was already one and nothing was reconciled. A refuting command whose success condition is met by the measuring venue rather than by the subject cannot refute anything.
The first branch of its done-when is REFUSED, not deferred. Reconciling historical citations is unavailable: every flagged one is a pre-squash branch head, and wiring the gating form would red on day one over history it cannot change.
The second branch is delivered.
docs/reviews/README.mdnow states the record contract, which had no written home at all — the directory held only records, so the contract lived only inside the checkers enforcing it. It carries the header spelling and why the declared commit is deliberately not ancestor-tested, the forward-only citation rule with its venue figures, and two explicit consequences: for a reader, a non-ancestor citation in an older record is expected and not a defect; for a tool, report unresolvable tokens and name the venue, because a figure without one is not a measurement. The checker's gating message now points at it.Verified not to disturb the record population — the real risk of a README in that directory: step 7 filters candidates by release id or version and
README.mdmatches neither; both provenance globs arev0.*-cold-review.md;--alldoes not mention it; 69 loop-conformance tests pass; citation and floor-prose counts unmoved.Gates
Squash simulation off
origin/main:status_evidencerc=0,claim_check75/75, provenance self-test rc=0,verdict_proserc=0,rivet validatePASS.Refs #1540
🤖 Generated with Claude Code
https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L