Registry Mirror
Skip to content

Conversation

@avrabe

@avrabe avrabe commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

The closure gate reds on v0.80.0, and it is right to. This adds the one line that makes the honest state expressible.

The problem

RQ-80-NPM is implemented, which entitles the release to close issue 1460. But that issue's title carries two clauses and v0.80 delivered one:

clause
"no release check asserts npm publication" delivered
"npm is TEN releases behind" not delivered — it is now eleven

Closing it asserts the package is current while the registry serves 0.69.0. Holding it open without declaring why leaves a required-adjacent gate failing indefinitely, which teaches the next operator to ignore a red. R12 exists for exactly this third option.

The change

issue-scope: outlives
before:  6 authorised, 0 held open, 5 closed, 1 failures    rc=1
after:   5 authorised, 1 held open, 5 closed, 0 failures    rc=0

The issue moves from AUTHORISED BUT STILL OPEN — a failure — to held open, a declaration. Nothing about the npm gap changed; what changed is that the machinery can now distinguish a deliberate hold from an oversight.

Retroactive, and precedented

RQ-70-NPA and RQ-70-FALCONCORPUS both carry this field retroactively — they are the artifacts whose prose decision the field was built to mechanise. R12's own constraint is satisfied: outlives beside a non-claiming status declares nothing (an undelivered artifact's issue stays open anyway) and the gate says so explicitly; this artifact is implemented, so the declaration is load-bearing.

Proven potent, not assumed

Reverting the field on a copy of the tree reds the gate again (rc=1, back to 6 authorised / 1 failures). Without that control, a green after the edit is indistinguishable from a green the edit did not cause.

Why this is not a workaround

The alternative that clears the red by closing issue 1460 is the one that publishes a false claim. The alternative that leaves the red standing trains people to ignore gates. This fixes the instance; the general conflict is tracked in 1430 and carried by v0.81 as RQ-81-R11CONFLICT, which is where the class fix belongs.

The npm residual is unchanged and unhidden: Release NPM fails at step 4 "Preflight — verify npm auth" with steps 5–8 skipped, so the preflight is working and refusing to publish on a bad credential. NPM_TOKEN needs rotating to a classic Automation token — a credential action outside this repository. The retro npm live slot will keep reporting DERIVED-FAIL beside crates live DERIVED-PASS 12/12 until that happens, and that juxtaposition is the lane's whole point.

Gates, on a squash simulation off origin/main

claim_check      75/75 claims hold
status_evidence  0 failures, anchor v0.80.0, lag 0
verdict_prose    54 artifacts, 0 disagree
issue-closure    v0.80.0 — 5 authorised, 1 held open, 5 closed, 0 failures

Refs #1460 #1430

🤖 Generated with Claude Code

https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

…elivery stops reading as a whole one

The closure gate reds on v0.80.0 and it is RIGHT to. RQ-80-NPM is `implemented`,
which entitles the release to close issue 1460 — and issue 1460's title carries
TWO clauses of which v0.80 delivered ONE:

  "no release check asserts npm publication"   DELIVERED
  "npm is TEN releases behind"                 NOT delivered; it is now eleven

Closing it would assert the package is current while the registry serves 0.69.0.
Holding it open without declaring why leaves the gate failing forever. R12 exists
for exactly this third option, so this adds the one line that makes the honest
state expressible:

    issue-scope: outlives

Before: `6 authorised, 0 held open, 5 closed, 1 failures`  rc=1
After:  `5 authorised, 1 held open, 5 closed, 0 failures`  rc=0

The issue moves from AUTHORISED-BUT-STILL-OPEN, which is a failure, to HELD OPEN,
which is a declaration. Nothing about the npm gap changed; what changed is that
the machinery can now tell a deliberate hold from an oversight.

APPLIED RETROACTIVELY, WHICH IS PRECEDENTED rather than novel: RQ-70-NPA and
RQ-70-FALCONCORPUS both carry this field retroactively — they are the artifacts
whose prose decision the field was built to mechanise. R12's own constraint is
satisfied: `outlives` beside a NON-claiming status would declare nothing (the
issue of an undelivered artifact stays open anyway) and the gate says so; this
artifact is `implemented`, so the declaration is load-bearing.

PROVEN POTENT, NOT ASSUMED. Reverting the field on a COPY of the tree reds the
gate again (rc=1, back to 6 authorised / 1 failures). Without that control, a
green after the edit is indistinguishable from a green the edit did not cause.

WHY THIS IS NOT A WORKAROUND, stated because it could be mistaken for one: the
alternative that clears the red by closing issue 1460 is the one that publishes a
false claim, and the alternative that leaves the red standing teaches the next
operator to ignore a failing gate. This is the live instance of the conflict
tracked in 1430, which v0.81 carries as RQ-81-R11CONFLICT — where the general
fix belongs. This commit fixes the instance, not the class.

The npm residual is unchanged and unhidden: `Release NPM` fails at step 4
"Preflight — verify npm auth" with steps 5-8 skipped, so the preflight is working
and refusing to publish on a bad credential. NPM_TOKEN needs rotating to a
classic Automation token, which is a credential action outside this repository.
The retro `npm live` slot v0.80 shipped will keep reporting DERIVED-FAIL beside
`crates live DERIVED-PASS 12/12` until it is done, and that juxtaposition is the
lane's whole point.

All gates green: claim_check 75/75, status_evidence 0 failures with the anchor at
v0.80.0, version pins at 0.80.0, verdict-prose 54/0, oracle wiring, artifact
citation, ci-pool.

Refs #1460 #1430

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
@codecov

codecov Bot commented Oct 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@avrabe
avrabe merged commit 04c4a5d into main Oct 7, 2026
73 of 74 checks passed
@avrabe
avrabe deleted the fix/npm-issue-scope branch October 7, 2026 05:51
avrabe pushed a commit that referenced this pull request Oct 15, 2026
…sal did not say why

THE GUARD WORKED AND THAT IS HOW THIS WAS FOUND. `--require-state` exited 2 on
its first CI run rather than passing green and blind, which is exactly the
failure a fail-closed guard is for. But the log said only "live issue STATE
unavailable", with no cause — the RQ-77-STDERR (#1419) shape, a refusal whose
REASON is discarded. `open_issues_now` swallowed stderr entirely and returned a
bare None.

WHY "THE TOKEN CANNOT READ ISSUES" WAS A GUESS, NOT A READING. In the SAME
claim-check job and the same run, `stale_pin_check.py` reads issue state
successfully (`7 issue(s) carrying 67 pin(s)`), while the CI pool tripwire's
`gh api` on branch protection degrades to "live required-context list
UNAVAILABLE". Two gh surfaces, one job, different outcomes. So a primary failure
is not evidence that issue state is unreadable, and refusing on it would fail
closed for a reason that may not be true.

WHAT SHIPS
  * the state read now PRINTS its reason: `issue-closure-state-error:` with the
    rc and stderr, so one CI run names the cause instead of implying it.
  * a SECOND API surface. `gh api repos/{repo}/issues?state=open --paginate` is
    tried when `gh issue list --json` fails, and it says which answered.
    REST `/issues` INCLUDES PULL REQUESTS, which the GraphQL list does not, so
    they are filtered by `pull_request == null` — without that the open set would
    gain every open PR number and an artifact citing a PR would start reading as
    "authorised but still open".
  * `_open_issues_primary()`, the raw primary with no fallback, because
    `open_issues_now` is an ORCHESTRATOR: a test comparing "the two surfaces"
    against it would compare REST to REST and agree vacuously.
  * a self-test case asserting the two surfaces AGREE where both answer, with a
    non-emptiness half so it cannot agree about nothing, and a LOUD SKIP rather
    than a pass when neither can be reached.

MEASURED LOCALLY, both paths exercised: with gh working, the primary answers and
reports 60 open issues; with only `gh issue list` broken by a PATH shim, the
fallback answers, names itself, and reports the SAME 60 — so the surfaces agree
rather than merely both existing.

Refs #1478

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
avrabe pushed a commit that referenced this pull request Oct 15, 2026
…e SKIPPED in CI every run

The agreement case added in the previous commit — that the two state surfaces
return the same open set — lives in `Issue-closure gate tests (#1250)`, and that
step carried NO `GH_TOKEN`. In CI both calls would return None, the case would
print its LOUD SKIP, and the only control on the REST surface's
`pull_request == null` filter would have run on one laptop and nowhere else. A
case that always skips in the venue that matters is not a gate; it is a case that
cannot be shown to fail where it counts.

The step now carries `GH_TOKEN: ${{ github.token }}`. Without a token the case
still loudly SKIPS rather than failing, so the step does not become flaky — and
that also means it is NOT potency evidence on a run where the state cannot be
read, which the step's comment says in as many words.

THE FILTER MUTANT IS NOW EXECUTED, and it was the uncontrolled half. Removing
`select(.pull_request == null)` reds the case by name, and the message names the
mechanism rather than just the delta:

    FAIL closewindow: the two state surfaces AGREE on the open set —
         primary 60 vs rest 63; only-in-primary=[], only-in-rest=[1533, 1543, 1544]

Three open PULL REQUESTS, which REST `/issues` returns and the GraphQL list does
not. Unfiltered, each would enter the open set, and an artifact whose `issue:`
field names a PR would start reading as "authorised but still open".

Refs #1478

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
avrabe pushed a commit that referenced this pull request Oct 15, 2026
…bsent from the pool, so both my "two surfaces" were one

THE GUARD WORKED AND THE REASON LINE DID THE REST. `--require-state` refused
again on CI, and this time the cause was in the log because the previous commit
made it print:

    issue-closure-state-error: FileNotFoundError: [Errno 2] No such file or
    directory: 'gh'

NOT a permission problem. NOT a token problem. NOT GraphQL versus REST. **The
`gh` BINARY IS ABSENT from the self-hosted pool where `claim-check` runs.**

SO MY OWN FIX WAS WRONG IN THE ONE WAY THAT MATTERED. The previous commit added a
`gh api` "second surface" beside `gh issue list` — and that is not a second
surface at all: both shell out to the same missing binary, so the fallback shared
the primary's single point of failure and the agreement self-test compared two
dead paths. A fallback that shares the failure mode is worse than none, because
it reads like redundancy.

AND THE REPOSITORY ALREADY KNEW. `stale_pin_check.py`, in the SAME job, says in
its own docstring: "REST via GH_TOKEN/GITHUB_TOKEN, falling back to `gh` when
neither is set. NOT `gh` first: it is absent from the self-hosted pool where this
runs". RQ-72-CIPOOL measured it. The CI pool tripwire's degradation message lists
"no gh" FIRST. I built the order backwards while a sibling gate in the same job
documented the right one — a primed reader finds what they expect, and I expected
the permission problem the theme's shape suggested.

WHAT SHIPS
  * `_open_issues_api(repo, token)` — urllib over `api.github.com`, NO binary,
    paginated by page number to a declared bound, filtering `pull_request` so the
    open set cannot gain PR numbers.
  * `open_issues_now` now tries token-REST FIRST and `gh` only without a token —
    the same order `stale_pin_check.py` uses here, for the same measured reason.
  * the `gh api` pseudo-fallback and the raw-primary helper are DELETED, by an
    AST walk rather than line guesses, with zero dangling references.
  * the agreement self-test now compares two GENUINELY different surfaces and
    loudly SKIPS when either is unreachable — so it is not CI potency evidence in
    a venue with no `gh`, and says so.
  * the refusal's advice is corrected: it said "gh auth / `issues: read`" and sent
    its first reader hunting a permission problem that did not exist. It now says
    to set GH_TOKEN/GITHUB_TOKEN and states that `gh` is not the remedy.

MEASURED IN A CI-SHAPED ENVIRONMENT, both arms: with a token and NO `gh` on PATH
the gate reports `REST api.github.com (1 page(s), no gh binary needed)`, reads 60
open issues, satisfies the step's `[1-9][0-9]*` pin and exits 0. With NEITHER a
token nor `gh` it still FAILS CLOSED at exit 2 with the reason printed.

Refs #1478

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
avrabe pushed a commit that referenced this pull request Oct 15, 2026
…erately held for

The `landed:` and `verified-by:` fields described the state before the REST
surface existed. The measurement now exists, so the claim is written — in that
order, not the other.

MEASURED on the `Claim Check` job at this branch's head:

    issue-closure-state-source: REST api.github.com (1 page(s), no `gh` binary needed)
    issue-closure-state: 60 open issue(s) read
    issue-closure: v0.87 — 1 authorised, 0 held open, 0 closed, 0 failures

The step is GREEN, the `[1-9][0-9]*` non-vacuity pin is satisfied, and the
guard earned itself twice first: it REFUSED on exit 2 on both earlier runs
rather than passing blind, and the second refusal carried the cause because the
run before it had been taught to print one.

THE SELF-TEST POPULATION IS SPLIT BY VENUE, and the record now says so rather
than quoting one number. NINE `closewindow` cases run locally and ZERO skip; in
CI SEVEN run and the API-surface agreement pair SKIPS, because that case needs
BOTH a token and the `gh` binary:

    SKIP closewindow: API-surface agreement — rest=60, gh=None

So it is exercised locally and is NOT CI potency evidence there. Its own SKIP
line names `gh=None` — the absent binary attesting to itself a third time, after
the FileNotFoundError and the pool tripwire's "no gh".

The PR body's "seven self-test cases" is corrected to the derived split in the
same pass, since a count in a PR body is a live number.

Refs #1478

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
avrabe pushed a commit that referenced this pull request Oct 15, 2026
…tted a symlink into the repository

THE FIRST COMMIT OF THIS BRANCH ADDED `.rivet` AS A TRACKED SYMLINK. Mode
120000, content `/Users/r/git/pulseengine/synth/.rivet` — an ABSOLUTE,
SELF-REFERENTIAL path: in a normal checkout it would be a loop, not merely a
dangling link, and it leaks a local filesystem path into a public repository.

HOW IT HAPPENED, and it is a gap worth closing rather than a slip worth
apologising for. A review worktree needs the seven federated sibling checkouts
visible for `rivet validate` — without them that gate reds with forty errors for
purely environmental reasons — and the obvious way to make them visible is a
symlink. `.gitignore` carried `.rivet/`, and A TRAILING SLASH MATCHES A DIRECTORY
ONLY, so the pattern covered the real cache directory and NOT a symlink of the
same name. `git add -A` then took it.

CAUGHT by reading `gh pr diff --name-only` before the merge, where `.rivet`
appeared beside the four intended files. It was tracked on THIS branch only —
checked across all six sibling v0.87 branches, every one clean — because for
those the symlink lived in a throwaway worktree nothing was committed from.

WHAT SHIPS
  * `.rivet` is untracked from the branch.
  * `.gitignore` gains `.rivet` WITHOUT the slash, beside the existing `.rivet/`,
    with the reason written down. Verified both ways: the symlink now resolves to
    `.gitignore:69:.rivet`, and a tracked script still reads as NOT ignored, so
    the new pattern is not swallowing more than it should.

The diff this PR now carries is four files: the gate, its tests, the workflow
step and the artifact.

Refs #1478

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
avrabe added a commit that referenced this pull request Oct 15, 2026
…context, and the remedy's own blind spot is shut first

* v0.87 CLOSEWINDOW: the issue-closure gate now runs inside a required context, and the remedy's own blind spot is closed first

THEME: a gate says nothing outside its window — and "is it potent" is a
different question from "can it still block".

THE REFUTING COMMAND RAN FIRST AND CONFIRMED THE PREMISE. Plant an
`issue-scope: outlives` over a CLOSED issue (#1183) on an otherwise-valid claiming
artifact, with an identical arm over OPEN #1476 as the paired control so a
verdict difference can only come from the closed-ness. The gate population is
DERIVED, not assumed: mapping the nine required contexts to their jobs by
`name:`, all nine resolve and only TWO contain any step that touches
`artifacts/` — `Claim Check` (five of forty-five) and `Rivet Validation` (one of
six). The other seven have ZERO, so they cannot read `issue-scope` at all. All
six that can were run on both arms and on the unplanted tree: GREEN everywhere.
Only `issue_closure_check.py` separates them, and it was not required — it is
asked at GATE5, after the tag is pushed, advisory.

ONE ROW WAS NEARLY REPORTED WRONG. `rivet validate` first read RED on BOTH arms,
which looks like "reds but is blind to the difference". It reds on the UNPLANTED
tree too: `.rivet/repos` carries the seven federated sibling checkouts and is
gitignored, so it is absent from every fresh worktree — FAIL with forty errors
and `cross-refs NOT CHECKED — externals failed to load` against PASS in the main
checkout. The red carried no information about the plant.

BOTH EDGES OF THE WINDOW ARE REAL, so the fix is a reachable window and not an
earlier call. With the tag of the release being cut the gate TRACEBACKS on a
remote commit lookup; with no window argument it refuses at argparse; and in all
four of its existing modes it reds on the honest plan-time tree, every one on
VACUOUS AUTHORISED SET — the legitimate state of a planning PR. Wiring any mode
as it stood would have red every planning PR.

THE REMEDY WOULD HAVE BEEN INERT WHERE IT RUNS, and that is why `--require-state`
exists. With only `gh`'s auth broken and the plant still in place, the CI
invocation exited ZERO and never printed the finding: the state read returns
None, the held-open direction falls back to the WINDOW, and an empty window
flags nothing. Loud — the notice prints — but not blocking. It now exits 2,
reusing the script's own "the gate could not run" convention, and the step
grep-pins the state read's own population so a later edit dropping the flag
cannot read as a pass.

WHAT SHIPS
  * `--allow-vacuous-authorised` downgrades the vacuity failure to a warning,
    for CI only; the tag ritual still calls the gate without it, so v0.85's
    vacuous-authorised finding stays a failure where it is actionable.
  * `--require-state` fails closed on an unreadable state read.
  * `--from-anchor` derives the release from ANCHOR_TAG, imported rather than
    mirrored, so this does not become a seventh anchor site.
  * a step in the `Claim Check` job — a required context by name — running the
    held-open direction on the live tree, with a `[1-9][0-9]*` non-vacuity pin.
  * seven self-test cases, BOTH halves of each contract asserted.

POTENCY EXECUTED, NOT CLAIMED. Two mutants against the shipped gate: a NO-OP
downgrade flag reds the "vacuity is a warning with the flag" case; one that also
swallows the held-open direction reds the "held-open-over-closed still fails"
case. Each reds the case that names it, gate restored byte-identically. The
mutant harness needed three repairs first — a detector matching the word FAILURE
inside a test's own LABEL instead of the verdict token, an anchor typed from
memory that matched nothing, and a regex wanting two spaces after the verdict
where the source prints ONE after FAIL and three after ok, so it was blind to
exactly the verdict it hunted and called a potent mutant inert.

RESIDUALS, stated rather than left to be found. CI runs the held-open direction
only (`--closed ''`): with a window, closed-but-not-authorised would run on
every PR, so an unrelated mid-release closure would red every open PR for
something its diff did not do. Both directions still run at the tag. And `gh
issue list` enumerates ISSUES, so an artifact whose `issue:` names a PULL
REQUEST — this artifact's own #1478 is one — can never appear in the open set,
leaving authorised-but-open structurally silent for it.

Refs #1478

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.87 CLOSEWINDOW: the new guard's first CI run refused, and the refusal did not say why

THE GUARD WORKED AND THAT IS HOW THIS WAS FOUND. `--require-state` exited 2 on
its first CI run rather than passing green and blind, which is exactly the
failure a fail-closed guard is for. But the log said only "live issue STATE
unavailable", with no cause — the RQ-77-STDERR (#1419) shape, a refusal whose
REASON is discarded. `open_issues_now` swallowed stderr entirely and returned a
bare None.

WHY "THE TOKEN CANNOT READ ISSUES" WAS A GUESS, NOT A READING. In the SAME
claim-check job and the same run, `stale_pin_check.py` reads issue state
successfully (`7 issue(s) carrying 67 pin(s)`), while the CI pool tripwire's
`gh api` on branch protection degrades to "live required-context list
UNAVAILABLE". Two gh surfaces, one job, different outcomes. So a primary failure
is not evidence that issue state is unreadable, and refusing on it would fail
closed for a reason that may not be true.

WHAT SHIPS
  * the state read now PRINTS its reason: `issue-closure-state-error:` with the
    rc and stderr, so one CI run names the cause instead of implying it.
  * a SECOND API surface. `gh api repos/{repo}/issues?state=open --paginate` is
    tried when `gh issue list --json` fails, and it says which answered.
    REST `/issues` INCLUDES PULL REQUESTS, which the GraphQL list does not, so
    they are filtered by `pull_request == null` — without that the open set would
    gain every open PR number and an artifact citing a PR would start reading as
    "authorised but still open".
  * `_open_issues_primary()`, the raw primary with no fallback, because
    `open_issues_now` is an ORCHESTRATOR: a test comparing "the two surfaces"
    against it would compare REST to REST and agree vacuously.
  * a self-test case asserting the two surfaces AGREE where both answer, with a
    non-emptiness half so it cannot agree about nothing, and a LOUD SKIP rather
    than a pass when neither can be reached.

MEASURED LOCALLY, both paths exercised: with gh working, the primary answers and
reports 60 open issues; with only `gh issue list` broken by a PATH shim, the
fallback answers, names itself, and reports the SAME 60 — so the surfaces agree
rather than merely both existing.

Refs #1478

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.87 CLOSEWINDOW: the one case controlling the REST filter would have SKIPPED in CI every run

The agreement case added in the previous commit — that the two state surfaces
return the same open set — lives in `Issue-closure gate tests (#1250)`, and that
step carried NO `GH_TOKEN`. In CI both calls would return None, the case would
print its LOUD SKIP, and the only control on the REST surface's
`pull_request == null` filter would have run on one laptop and nowhere else. A
case that always skips in the venue that matters is not a gate; it is a case that
cannot be shown to fail where it counts.

The step now carries `GH_TOKEN: ${{ github.token }}`. Without a token the case
still loudly SKIPS rather than failing, so the step does not become flaky — and
that also means it is NOT potency evidence on a run where the state cannot be
read, which the step's comment says in as many words.

THE FILTER MUTANT IS NOW EXECUTED, and it was the uncontrolled half. Removing
`select(.pull_request == null)` reds the case by name, and the message names the
mechanism rather than just the delta:

    FAIL closewindow: the two state surfaces AGREE on the open set —
         primary 60 vs rest 63; only-in-primary=[], only-in-rest=[1533, 1543, 1544]

Three open PULL REQUESTS, which REST `/issues` returns and the GraphQL list does
not. Unfiltered, each would enter the open set, and an artifact whose `issue:`
field names a PR would start reading as "authorised but still open".

Refs #1478

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.87 CLOSEWINDOW: the reason line refuted the hypothesis — `gh` is absent from the pool, so both my "two surfaces" were one

THE GUARD WORKED AND THE REASON LINE DID THE REST. `--require-state` refused
again on CI, and this time the cause was in the log because the previous commit
made it print:

    issue-closure-state-error: FileNotFoundError: [Errno 2] No such file or
    directory: 'gh'

NOT a permission problem. NOT a token problem. NOT GraphQL versus REST. **The
`gh` BINARY IS ABSENT from the self-hosted pool where `claim-check` runs.**

SO MY OWN FIX WAS WRONG IN THE ONE WAY THAT MATTERED. The previous commit added a
`gh api` "second surface" beside `gh issue list` — and that is not a second
surface at all: both shell out to the same missing binary, so the fallback shared
the primary's single point of failure and the agreement self-test compared two
dead paths. A fallback that shares the failure mode is worse than none, because
it reads like redundancy.

AND THE REPOSITORY ALREADY KNEW. `stale_pin_check.py`, in the SAME job, says in
its own docstring: "REST via GH_TOKEN/GITHUB_TOKEN, falling back to `gh` when
neither is set. NOT `gh` first: it is absent from the self-hosted pool where this
runs". RQ-72-CIPOOL measured it. The CI pool tripwire's degradation message lists
"no gh" FIRST. I built the order backwards while a sibling gate in the same job
documented the right one — a primed reader finds what they expect, and I expected
the permission problem the theme's shape suggested.

WHAT SHIPS
  * `_open_issues_api(repo, token)` — urllib over `api.github.com`, NO binary,
    paginated by page number to a declared bound, filtering `pull_request` so the
    open set cannot gain PR numbers.
  * `open_issues_now` now tries token-REST FIRST and `gh` only without a token —
    the same order `stale_pin_check.py` uses here, for the same measured reason.
  * the `gh api` pseudo-fallback and the raw-primary helper are DELETED, by an
    AST walk rather than line guesses, with zero dangling references.
  * the agreement self-test now compares two GENUINELY different surfaces and
    loudly SKIPS when either is unreachable — so it is not CI potency evidence in
    a venue with no `gh`, and says so.
  * the refusal's advice is corrected: it said "gh auth / `issues: read`" and sent
    its first reader hunting a permission problem that did not exist. It now says
    to set GH_TOKEN/GITHUB_TOKEN and states that `gh` is not the remedy.

MEASURED IN A CI-SHAPED ENVIRONMENT, both arms: with a token and NO `gh` on PATH
the gate reports `REST api.github.com (1 page(s), no gh binary needed)`, reads 60
open issues, satisfies the step's `[1-9][0-9]*` pin and exits 0. With NEITHER a
token nor `gh` it still FAILS CLOSED at exit 2 with the reason printed.

Refs #1478

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.87 CLOSEWINDOW: the record now carries the CI verdict it was deliberately held for

The `landed:` and `verified-by:` fields described the state before the REST
surface existed. The measurement now exists, so the claim is written — in that
order, not the other.

MEASURED on the `Claim Check` job at this branch's head:

    issue-closure-state-source: REST api.github.com (1 page(s), no `gh` binary needed)
    issue-closure-state: 60 open issue(s) read
    issue-closure: v0.87 — 1 authorised, 0 held open, 0 closed, 0 failures

The step is GREEN, the `[1-9][0-9]*` non-vacuity pin is satisfied, and the
guard earned itself twice first: it REFUSED on exit 2 on both earlier runs
rather than passing blind, and the second refusal carried the cause because the
run before it had been taught to print one.

THE SELF-TEST POPULATION IS SPLIT BY VENUE, and the record now says so rather
than quoting one number. NINE `closewindow` cases run locally and ZERO skip; in
CI SEVEN run and the API-surface agreement pair SKIPS, because that case needs
BOTH a token and the `gh` binary:

    SKIP closewindow: API-surface agreement — rest=60, gh=None

So it is exercised locally and is NOT CI potency evidence there. Its own SKIP
line names `gh=None` — the absent binary attesting to itself a third time, after
the FileNotFoundError and the pool tripwire's "no gh".

The PR body's "seven self-test cases" is corrected to the derived split in the
same pass, since a count in a PR body is a live number.

Refs #1478

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.87 CLOSEWINDOW: RETRACTING a defect this branch shipped — it committed a symlink into the repository

THE FIRST COMMIT OF THIS BRANCH ADDED `.rivet` AS A TRACKED SYMLINK. Mode
120000, content `/Users/r/git/pulseengine/synth/.rivet` — an ABSOLUTE,
SELF-REFERENTIAL path: in a normal checkout it would be a loop, not merely a
dangling link, and it leaks a local filesystem path into a public repository.

HOW IT HAPPENED, and it is a gap worth closing rather than a slip worth
apologising for. A review worktree needs the seven federated sibling checkouts
visible for `rivet validate` — without them that gate reds with forty errors for
purely environmental reasons — and the obvious way to make them visible is a
symlink. `.gitignore` carried `.rivet/`, and A TRAILING SLASH MATCHES A DIRECTORY
ONLY, so the pattern covered the real cache directory and NOT a symlink of the
same name. `git add -A` then took it.

CAUGHT by reading `gh pr diff --name-only` before the merge, where `.rivet`
appeared beside the four intended files. It was tracked on THIS branch only —
checked across all six sibling v0.87 branches, every one clean — because for
those the symlink lived in a throwaway worktree nothing was committed from.

WHAT SHIPS
  * `.rivet` is untracked from the branch.
  * `.gitignore` gains `.rivet` WITHOUT the slash, beside the existing `.rivet/`,
    with the reason written down. Verified both ways: the symlink now resolves to
    `.gitignore:69:.rivet`, and a tracked script still reads as NOT ignored, so
    the new pattern is not swallowing more than it should.

The diff this PR now carries is four files: the gate, its tests, the workflow
step and the artifact.

Refs #1478

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

---------

Co-authored-by: t <t@t>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
avrabe added a commit that referenced this pull request Nov 8, 2026
On the split layout a constant one past the end of a memory-0 segment
resolves to the START of the region holding that address (gale's run-once
flag at the start of the segment after another; byte-identical). The same
constant as an operand of an i32 or i64 comparison - directly, through a
local or select, through i64.extend_i32_*, or as an equal i64.const - is
refused: npa-end-pointer-compare (#1604). Memory-k constants kept raw by
the #1145 layering are no longer counted as memory-0 statics, which keeps
the refusal off memory 1.

Also: RQ-91-NPABELOWSP cited closed #739 with issue-scope: outlives, which
reds the #1478 issue-closure gate; it now declares issue-scope: closes. The
summed --exact-emulation-floor moves 449389 -> 449451 (+62 = the new
npa_model oracle's 33, npa_const_addr +18, npa_multi_memory_1145 +11),
paired against eab6664.

Refs #1672, Refs #1604, Refs #1145, Refs #739

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
avrabe added a commit that referenced this pull request Nov 10, 2026
On the split layout a constant one past the end of a memory-0 segment
resolves to the START of the region holding that address (gale's run-once
flag at the start of the segment after another; byte-identical). The same
constant as an operand of an i32 or i64 comparison - directly, through a
local or select, through i64.extend_i32_*, or as an equal i64.const - is
refused: npa-end-pointer-compare (#1604). Memory-k constants kept raw by
the #1145 layering are no longer counted as memory-0 statics, which keeps
the refusal off memory 1.

Also: RQ-91-NPABELOWSP cited closed #739 with issue-scope: outlives, which
reds the #1478 issue-closure gate; it now declares issue-scope: closes. The
summed --exact-emulation-floor moves 449389 -> 449451 (+62 = the new
npa_model oracle's 33, npa_const_addr +18, npa_multi_memory_1145 +11),
paired against eab6664.

Refs #1672, Refs #1604, Refs #1145, Refs #739

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
avrabe added a commit that referenced this pull request Nov 10, 2026
On the split layout a constant one past the end of a memory-0 segment
resolves to the START of the region holding that address (gale's run-once
flag at the start of the segment after another; byte-identical). The same
constant as an operand of an i32 or i64 comparison - directly, through a
local or select, through i64.extend_i32_*, or as an equal i64.const - is
refused: npa-end-pointer-compare (#1604). Memory-k constants kept raw by
the #1145 layering are no longer counted as memory-0 statics, which keeps
the refusal off memory 1.

Also: RQ-91-NPABELOWSP cited closed #739 with issue-scope: outlives, which
reds the #1478 issue-closure gate; it now declares issue-scope: closes. The
summed --exact-emulation-floor moves 449389 -> 449451 (+62 = the new
npa_model oracle's 33, npa_const_addr +18, npa_multi_memory_1145 +11),
paired against eab6664.

Refs #1672, Refs #1604, Refs #1145, Refs #739

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
avrabe added a commit that referenced this pull request Nov 11, 2026
On the split layout a constant one past the end of a memory-0 segment
resolves to the START of the region holding that address (gale's run-once
flag at the start of the segment after another; byte-identical). The same
constant as an operand of an i32 or i64 comparison - directly, through a
local or select, through i64.extend_i32_*, or as an equal i64.const - is
refused: npa-end-pointer-compare (#1604). Memory-k constants kept raw by
the #1145 layering are no longer counted as memory-0 statics, which keeps
the refusal off memory 1.

Also: RQ-91-NPABELOWSP cited closed #739 with issue-scope: outlives, which
reds the #1478 issue-closure gate; it now declares issue-scope: closes. The
summed --exact-emulation-floor moves 449389 -> 449451 (+62 = the new
npa_model oracle's 33, npa_const_addr +18, npa_multi_memory_1145 +11),
paired against eab6664.

Refs #1672, Refs #1604, Refs #1145, Refs #739

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L
avrabe added a commit that referenced this pull request Nov 11, 2026
…provenance once, validate the emitted stream, delete the per-shape guards (#1682)

* v0.91 NPAMODEL (#1672, #1568, #1604, #1661): decide memory-0 address provenance once, validate the emitted stream, delete the per-shape guards

Under --relocatable --native-pointer-abi every memory-0 address is native
(R11 = 0). Which values are wasm statics is now decided ONCE per module by
Provenance::memory0_plan, an extension of the #1145 provenance pass in
synth-core (one graph walk). It names the constants to relocate at their
definition, or refuses the whole module with a named diagnostic:
npa-data-pointer (#1672), npa-dynamic-static-offset (#1568),
npa-static-observed, npa-static-unrelocatable, npa-region-straddle
(#1604), npa-double-relocation (#1580), npa-software-bounds (#1661).
arm_backend::npa_stream_validate checks the final instruction stream: a
compile-time-constant address in memory 0's static range with no
relocation is a compiler defect and fails the compile (npa-addr-validate).

Deleted from the selector: npa_local_const_plan, npa_const_addr_guard,
npa_region_straddle_guard, npa_dynamic_static_offset_accesses and their
helpers, the #1580 rewrite (moved to synth-core npa_offset_folds, read by
the decision and applied by the selector), the select_with_stack
pre-flight guards and the #1619 memory-0-side refusal; from the CLI the
shape-2 loop; from synth-core npa_static_region. fn npa_* 15 -> 5; the
selector's non-test region 21715 -> 21038 lines.

Also fixed: data placed BELOW the stack-pointer init was baked raw (new
record RQ-91-NPABELOWSP). The ABI rules R1, R2 and R3' are written into
docs/embedder-abi-relocatable-arm.md.

Evidence: scripts/repro/npa_model_differential.py (new, CI-wired; 25
emulations, PASS, 14 failures on eab6664); the five native-pointer
oracles and memk_bulk_oob_1619 exit 0, their rows that now compile are
executed, and every object they compiled on eab6664 is byte-identical;
the matrix moves 99/63/59 -> 158 ok / 4 refused / 0 wrong; the repo
census is 517/536 byte-identical under the flag (every moved row
executed or explained in RQ-91-NPAMODEL) and 536/536 without it.

Refs #739
Refs #1672
Refs #1568
Refs #1604
Refs #1661

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672, #1568, #1604, #1661): record the PR number in the six records

Records only: each landed field now cites PR #1682. No code change.

Refs #739
Refs #1672
Refs #1568
Refs #1604
Refs #1661

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672, #1604): the R1 boundary rule, gale's decision

On the split layout a constant one past the end of a memory-0 segment
resolves to the START of the region holding that address (gale's run-once
flag at the start of the segment after another; byte-identical). The same
constant as an operand of an i32 or i64 comparison - directly, through a
local or select, through i64.extend_i32_*, or as an equal i64.const - is
refused: npa-end-pointer-compare (#1604). Memory-k constants kept raw by
the #1145 layering are no longer counted as memory-0 statics, which keeps
the refusal off memory 1.

Also: RQ-91-NPABELOWSP cited closed #739 with issue-scope: outlives, which
reds the #1478 issue-closure gate; it now declares issue-scope: closes. The
summed --exact-emulation-floor moves 449389 -> 449451 (+62 = the new
npa_model oracle's 33, npa_const_addr +18, npa_multi_memory_1145 +11),
paired against eab6664.

Refs #1672, Refs #1604, Refs #1145, Refs #739

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672): cite the emulation floor's derivation, not its live value

The floor-prose gate (status_evidence_check) refuses a release record that
restates the live --exact-emulation-floor literal: that copy is outside
the ci.yml / claims.yaml lockstep and rots on the next move. RQ-91-NPAMODEL
now states the +62 from v0.90's value and cites oracle_wiring_check.py's
reported total.

Refs #1672

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1684): refuse an i64.const naming a memory-0 static

i64 constants are never relocated under --native-pointer-abi, so an
i64.const inside memory 0's static window that reaches a memory-0 address,
or is compared with a pointer derived from a static (through
i64.extend_i32_*), stayed a raw wasm address beside native pointers: the
`i64.eq (i64.extend_i32_u p) (i64.const 0x2008)` walk faulted on eab6664
where wasmtime returns 0x3. The provenance pass now refuses the module:
npa-i64-static-const (#1684). An i64.const outside the window, used as a
plain scalar, compared with a host value, or as an i64 counter bound still
compiles, byte-identical to eab6664. Relocating i64 constants is the
follow-on.

npa_model_differential.py declares emulations >= 42 (33 before); the
summed --exact-emulation-floor moves +9, paired against f01c28c.
RQ-91-NPAMODEL now carries #1684 with issue-scope: closes, and records the
end-pointer refusal's cost (a walk whose end does start a segment).

Refs #1684, Refs #1672

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672, #1684): state the oracle floors in RQ-91-EMUFLOOR's per-oracle terms

Rebased onto main d2094ca, which retired the summed
--exact-emulation-floor pin (#1679). This branch's two edits to that pin
were dropped in the rebase; the oracles keep their own header floors
(npa_model_differential 42, new; npa_const_addr_differential 65, was 47;
npa_multi_memory_1145 62, was 51), and `oracle_wiring_check.py
--floor-base origin/main` reports 2 raised and 1 new, rc 0. RQ-91-NPAMODEL's
two sentences about the summed pin now say that instead.

Refs #1672, Refs #1684

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672): re-anchor the mutation ledger on the rebased head

`mutation_survey.py reanchor` at 60dcd15 (after the rebase onto d2094ca): 20 sites moved, 0 not found;
mutants, controls, ci_subset and classifications unchanged (34 / 3 / 10);
reanchored_at names the commit that carries the
recorded line numbers.

Refs #1672

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672, #1684): gale's three false-positive refusal classes

gale's census of 257f006 refused 7 of its real modules (14 rows), its v11
image among them, on three false-positive classes, each now reproduced by
a minimal fixture (refused on 257f006, executed equal to wasmtime here):

- npa-i64-static-const: the i64 provenance walk followed a shift count
  and memory 1's content node from a fmt argument packer to an unrelated
  memory-1 comparison. It now follows plain flows and the value-preserving
  conversions and i64 add/sub only, and stops at other scalar operands,
  memory content and globals (gale_fp1).
- npa-data-pointer in dead code: core::fmt pad_integral reachable only
  through the element table. The refusal applies to functions reachable
  from the exports and the start function; elem functions count once a
  reachable function executes call_indirect (gale_fp2a; the direct and
  call_indirect-only controls stay refused).
- npa-data-pointer on an index load: the bucket model ignored the memarg
  offset, so every `offset=N (i32.const 0)` access shared one bucket. A
  load's may-read set is now judged by value + offset, and a run-time
  index beside a static memarg base stays in the base's segment (R1, as
  the codegen already assumes) (gale_fp2b). This also refuses a pointer
  table read by scaled index and dereferenced, which eab6664 and
  257f006 compiled and faulted on (ptrtab_idx_neg).

Mutants for each relaxation turn the #1672/#1684 red rows red. Floors:
npa_model_differential 42 -> 51, npa_multi_memory_1145 62 -> 66.

Refs #1672, Refs #1684, Refs #1145

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672): re-anchor the mutation ledger after the false-positive fixes

`mutation_survey.py reanchor` at 06ca6b9 (the false-positive fixes): 7 sites moved, 0 not found;
mutants, controls, ci_subset and classifications unchanged (34 / 3 / 10);
reanchored_at names the commit that carries the
recorded line numbers.

Refs #1672

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672): give the MC/DC harness's NpaModule its start function

NpaModule gained `start_function` (a reachability root). The MC/DC
harness builds one too and is compiled only by the workspace builds
(clippy --workspace, cargo test --workspace), not by the CLI build.

Refs #1672

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672, #1604): a dead source loads no data word; one method on two statics is judged per base

gale's re-run on 85e5f20 refused 4 more of its modules on two classes,
each now reproduced by a fixture (refused on 85e5f20, executed equal to
wasmtime here):

- npa-data-pointer whose only data-word SOURCE was a load in an
  unreachable function (core::fmt pad_integral). A load or copy now puts
  a data word into flow only when its function is reachable (gale_fpA);
  the source reachable through a reachable call_indirect is still refused.
- npa-region-straddle on one method called on two statics in two
  segments: the check paired one caller's access with the other caller's
  base. An address whose possible values are exactly its relocated base
  constants is judged per element against its own base's region
  (gale_fpB); an instance straddling its segment end is still refused.

Mutants: a dead source counted, and the union check restored, each red.
npa_model_differential declares emulations >= 54 (51 before).

Refs #1672, Refs #1604

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672): re-anchor the mutation ledger after the source-reachability and per-base fixes

`mutation_survey.py reanchor` at c4914d3: 0 sites moved, 0 not found;
mutants, controls, ci_subset and classifications unchanged (34 / 3 / 10);
reanchored_at names the commit that carries the
recorded line numbers.

Refs #1672

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672, #1604): call/return-matched data provenance; the canonical-ABI realloc contract

gale's re-run on c928822 refused 3 more of its modules on two classes,
each reproduced by a fixture (refused on c928822, executed equal to
wasmtime here):

- A1, npa-data-pointer through a two-level call chain. Neither proposed
  cause applies (no closed-range attribution exists; the constant is
  carried through both calls, and a minimal fixture of that chain
  compiles on c928822). The diagnostic reproduces exactly when ANOTHER
  caller passes &Location through the same chain: the callee's shared
  parameters and returns made every call's result "maybe the Location
  word". Each call site now has its own result node, and the refusal
  needs a call/return-matched path from the dereference to a source load
  whose address, in that context, is a constant naming a pointer word.
  The search keeps the refusal whenever it cannot decide. The chain's
  `+128` sibling then needed the per-base straddle rule for `x + d`.
- A2, npa-data-pointer on a wit-bindgen cabi_realloc_* grow copy from
  old_ptr: the maintainer's option (a), the canonical-ABI realloc
  contract, now R4 of the ABI document. A memory.copy whose source is
  param 0 of an export named cabi_realloc / cabi_realloc_* with the
  signature (i32,i32,i32,i32)->i32, or of a wrapper that only forwards to
  one, reads no static.

Still refused: the Location caller's own dereference, a true straddle,
the realloc shape under another name or signature, a copy from a
pointer-bearing constant, a copy from a non-realloc export's param (R3').
Mutants for each relaxation are red. npa_model_differential declares
emulations >= 56 (54 before).

Refs #1672, Refs #1604

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672): re-anchor the mutation ledger after the matched-provenance and realloc-contract fixes

`mutation_survey.py reanchor` at 111f5485: 7 sites moved, 0 not found;
mutants, controls, ci_subset and classifications unchanged (34 / 3 / 10);
reanchored_at names the commit that carries the
recorded line numbers.

Refs #1672

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672): rebase onto RQ-91-O2FLOAT; regenerate status.json

Rebased onto main 0185ba0 (RQ-91-O2FLOAT, #1694). Both changes moved the
selector ratchets: O2FLOAT +137, this branch -677. claims.yaml now carries
both histories and the combined values (selector_lines_code 21852 -> 21175,
the whole-file count 32713 -> 32036), each equal to the live derivation
(claim_check 77/77). artifacts/status.json regenerated with
`claim_check.py claims.yaml --emit-status`.

Refs #1672

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672): re-anchor the mutation ledger after the rebase onto RQ-91-O2FLOAT

`mutation_survey.py reanchor` at 6f81cd4: 6 sites moved, 0 not found;
mutants, controls, ci_subset and classifications unchanged (34 / 3 / 10);
reanchored_at names the commit that carries the
recorded line numbers.

Refs #1672

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672, #1604): the real causes in gale's modules

gale's re-run on 3775050 printed the same two diagnostics: the previous
fixtures modelled guessed shapes. Traced on gale's real modules
(sha256-verified, not committed; hashes in RQ-91-NPAMODEL):

- fused v11 one-domain: the flagged source load reads `(p2 << 5) + p1 +
  192` (func_60 reassigns local 1), and p2 is a host value carrying the
  Location segment's escaped region (R3'). A static base plus a run-time
  delta is now judged by the base's segment (R1). The word then reached
  a REUSED local used as the index of `i32.load offset=7336`; a static
  memarg base now anchors, as HEAP + OFF does. The image's next refusal,
  npa-region-straddle, was local reuse again (one local is a fill and a
  copy destination plus its implicit zero); the per-base equality now
  compares in-window values only.
- gustos.loom: the realloc copy reads local 6 := param 0 (rustc's spill);
  R4 now follows values that are param 0 unchanged, an implicit zero
  being neutral.

All four modules now compile on cortex-m3 and cortex-m7dp, byte-identical
to base 0185ba0 (two-domain 4f91ec458025170f / 298a11362380d01b).
Minimal fixtures gale_gfA1, gale_gfA1_fill and gale_gfA2 reproduce gale's
diagnostic text on 3775050 and execute equal to wasmtime here; four new
negatives stay refused; one over-relaxation mutant per rule is red.
npa_model_differential declares emulations >= 62 (56 before).

Refs #1672, Refs #1604

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672): re-anchor the mutation ledger after the real-cause fixes

`mutation_survey.py reanchor` at fdf29e2: 0 sites moved, 0 not found;
mutants, controls, ci_subset and classifications unchanged (34 / 3 / 10);
reanchored_at names the commit that carries the
recorded line numbers.

Refs #1672

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

* v0.91 NPAMODEL (#1672): re-anchor the mutation ledger after the rebase onto RQ-91-MPUENFORCE

`mutation_survey.py reanchor` at 097b77a (rebased onto 52add19): 7 sites moved, 0 not found;
mutants, controls, ci_subset and classifications unchanged (34 / 3 / 10);
reanchored_at names the commit that carries the
recorded line numbers.

Refs #1672

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJK5LZZEkV5smCY1jKn18L

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant