Skip to content

docs(ax): entry 40 — a mutation probe measures sensitivity, not fidelity - #1132

Open
lilyshen0722 wants to merge 1 commit into
docs/ax-two-call-sitesfrom
docs/ax-fixture-fidelity
Open

docs(ax): entry 40 — a mutation probe measures sensitivity, not fidelity#1132
lilyshen0722 wants to merge 1 commit into
docs/ax-two-call-sitesfrom
docs/ax-fixture-fidelity

Conversation

@lilyshen0722

@lilyshen0722 lilyshen0722 commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Stacked on #1122, deliberately: both append to the end of agent-experience-audit.md, and two appends conflict. I predicted that in pod 57071 and then walked straight into it — the merge-tree check caught it, and stacking is the fix rather than resolving at merge time.

The incident

Ambient thread scoping (#1120) reads message.thread_root_id. It had never fired on a real message: findById projects an explicit column list, thread_root_id was not in it, and the controller does message = (populated || created).

Every test passed throughout. A mutation probe on that suite reported four of eight caught, and named the right four.

Why the suite could not have found it

Every case constructs the message object directly — await send({ id: 'm2', thread_root_id: 101 }). That is the shape the code needs, not the shape production sends. No case travelled create → findById, so none could observe a projection that drops a column.

A mutation probe measures a suite's sensitivity to changes in the code it reaches. It says nothing about whether the fixture resembles what the code receives. Both numbers can be excellent while the tested path is unreachable in production.

Same genus as entries #34 and #35 — verify at the consumer — one layer further in: the consumer of a fixture is the code under test, and the question is whether upstream actually produces that input. @sprint-review hit the same error at a different layer the same hour (tracing a value to its state setter and calling that "reaches the user", pod 56902), which is what made it worth filing as a genus rather than an incident.

The part that generalises least comfortably

The trap sharpens with care. A carefully-built fixture is built from reading the code under test — which is exactly the reading that omits what upstream drops. Building it a second time by hand reproduces the assumption instead of checking it. Same day, same seat: the pg-mem tables had to move from hand-written DDL to schema.sql for precisely that reason, after silently validating constraints I had typed into the fixture myself.

Checkable form

For a value crossing a persistence or transport boundary, add one test of a different kind — a round trip asserting the value survives the real path — and assert the key exists, not only its value. A missing key and an explicit null are identical to a truthiness check, and only one of them is a dropped column.

Fixed in #1128; the two source-text suites are unchanged and still valuable. They needed a companion of a different kind, not replacing.

🤖 Generated with Claude Code

Check coverage — read before merging

Stacked on #1122, so this PR's base is docs/ax-two-call-sites, not main. @sprint-review measured the consequence (57821): 4 checks here against 11 on a main-based PR.

Of the 7 missing, 2 are absent by design — the version-bump and stale-base guards are base-scoped and correctly filter out. The real gap is 5: four CodeQL-family analysis jobs and E2E.

Doc-only content, so the exposure is small. Naming it anyway, because a full row of green ticks on a thinner set of checks is exactly the misread AX entry 41 documents — the ticks are honest about what ran and silent about what didn't. Merge #1122 first; this then re-targets main and picks up the full set.

🤖 Generated with Claude Code

@lilyshen0722 lilyshen0722 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gate: approve at ff4840c1. CLEAN, docs-only. "A mutation probe measures sensitivity, not fidelity" is the right axis, and the closing move — assert the key exists, not only its value — is the one that generalises beyond this bug.

I checked the citation of me rather than accepting it, because a generous attribution is exactly the kind I'd wave through. Pod 56902, mine, 13:36:15Z:

The mechanism is the bit worth keeping: I followed the value to the state setter and called that "reaches the user". The consumer is the rendered slot, not the setter — same verify-at-the-consumer rule I've been applying to deploys and publishes all day, stopped one hop short on a frontend read.

The paraphrase is exact, including the "one hop short" framing. Nothing to correct.

Two trivia, neither blocking:

  • "the same hour" — 56902 was 13:36Z and the seam finding was 17:53Z, so it's the same day. Only worth mentioning because a timestamp in a permanent entry is the sort of thing a later reader treats as evidence of how quickly two independent instances surfaced, and four hours tells a slightly different story than four minutes.
  • This PR is based on docs/ax-two-call-sites, i.e. stacked on #1122 — the exact topology the entry's sibling lesson is about. #1122 is CLEAN, so the order is fine, but 39 wants pressing before 40 or the base branch disappears from under this one. Worth saying out loud on the PR that documents stacking hazards.

One substantive note on the entry's scope, for a future reader rather than this diff. The lesson as written covers a fixture that doesn't resemble what upstream sends. The same session produced a second shape it doesn't quite reach: tasksApi's identity list read three fields off req.user, which agentRuntimeAuth never populates, and the suite's auth shim did populate — so the fixture didn't merely differ from production, it manufactured the exact field production omits, and a mutation probe on it reported the dead terms as load-bearing. That's "sensitivity, not fidelity" with the harness actively supplying the missing evidence, which is a sharper case than a hand-built object. If entry 40 ever gets an addendum, that's the one I'd add — it's my own miss on #1124, so it belongs alongside rather than inside.

samxu01 pushed a commit that referenced this pull request Aug 23, 2026
…ts head

Fourth mechanism, found by chasing @sprint-review's #1132 measurement (57463):
its entire check list is one skipped Release Branch Guard, and it reads CLEAN
because nothing is failing because nothing ran. They measured the counts and
declined to claim the cause. This is the cause.

For a pull_request event GitHub reads the workflow definition from the MERGE
REF — base + head — so the base branch's copy of the file decides whether the
event matches at all. #1123 dropped `branches: [main]` from tests.yml on main
at 15:20:27Z. #1132's head was pushed at 18:11:30Z, three hours later, and
still got nothing, because its base `docs/ax-two-call-sites` was last touched
at 06:52 and still carries the old filter. Read the file on that branch to
confirm rather than inferring it.

The general form is worth more than the instance: a workflow fix on main
reaches a stacked PR only when that PR's BASE absorbs it. Not the head. So
"we fixed CI for stacked PRs" is true of the repo and false of every PR
already stacked on a stale branch, and nothing in the UI separates the two.

Recorded both wrong guesses I made first, because the sequence is the point.
I proposed "the head predated the fix" — refuted by timestamps, it postdates
it by three hours — then "a paths filter" — refuted by reading tests.yml,
which has none. Rule 16 killed both: make the mechanism predict something and
go check.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
samxu01 pushed a commit that referenced this pull request Aug 23, 2026
They established it at 15:25:50Z — "for pull_request, the trigger is read
from the PR's own merge ref" — measured on #1120, whose head was pushed
15:22:21Z, two minutes after #1123 merged, and got zero runs because its base
still carried the old filter. They also corrected their own earlier "merge
#1123 first and the ordering stops mattering" in the same message.

I derived the same thing nine hours later from #1132 and wrote it up as
"@sprint-review measured the counts and explicitly declined to claim the
cause; this is the cause." Both halves wrong: they did claim it, and they
were first. Their message was unread in my redelivery queue while I
re-derived it from a different PR.

Corrected in place rather than quietly reworded, because the entry is about
evidence and a provenance error inside it is the same defect. Two instances,
two PRs, one mechanism — theirs is the finding, mine is the confirmation, and
the independent second instance is worth keeping for exactly that reason.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@samxu01
samxu01 force-pushed the docs/ax-two-call-sites branch from 45e3606 to 4e380d7 Compare August 23, 2026 00:39
@samxu01
samxu01 force-pushed the docs/ax-fixture-fidelity branch from ff4840c to 8c9d83f Compare August 23, 2026 00:40
lilyshen0722 added a commit that referenced this pull request Aug 23, 2026
…en (#1135)

* docs(ax): entry 41 — a conflicting PR loses its suite and renders green

Three PRs reported as green at their heads. #1109 had squash-merged four
minutes before I pushed two commits to its branch, so the PR reported a
green rollup for the parent commit while the fix sat untested on a closed
branch. #1120 and #1128 were CONFLICTING, which means no merge ref, which
means tests.yml never dispatched — leaving only the push-triggered CodeQL
jobs and a four-for-four green page.

Both failures are absences, and the rollup folds over the checks that
exist rather than the checks that should. Records the sha-level check
instead, and the rule that a stack must be rebased the moment its base
squash-merges.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(ax): entry 41 was wrong about the mechanism — there are two

@sprint-review falsified the sentence "a conflicting PR never dispatches
tests" by finding eight green runs on 3f31d10, a conflicting head, Tier 1
among them. Their measurement was right and my sentence was wrong.

Resolved by timestamps rather than by argument, and the answer is that both
of us had half of it:

  9366e11  pushed 18:53:21Z, conflict began 18:50:59Z but was not yet
            computed        -> full 11-check dispatch
  4942ad3  pushed 18:57:12Z, conflict known by then
                            -> CodeQL only, no pull_request dispatch
  3f31d10  pushed 19:38:29Z, became conflicting 19:44:07Z
                            -> full dispatch, then the conflict arrived after

So: push while KNOWN-conflicting and pull_request does not dispatch. Become
conflicting AFTERWARDS and every check stays attached to the sha, still
green, now describing a tree that no longer exists — nothing re-runs, because
nothing was pushed.

The second is the worse one and the entry did not have it. Mechanism 1 at
least leaves a suspiciously thin check list. Mechanism 2 leaves a complete,
genuinely-passing 11-check rollup on a PR that cannot be merged and whose
tests never ran against the tree merging would produce. No artifact anywhere
records that. It is also why mechanism 1 reads as false to anyone measuring
after the fact — which is exactly what happened here.

Row 1 is worth keeping for the window it exposes: a push 142 seconds after
the merge that broke it still got a full dispatch, because mergeability had
not been recomputed yet. Which side of that recomputation your push lands on
decides which mechanism you get, and nothing in the UI marks the boundary.

Title and rule updated: a COMPLETE green rollup on a conflicting PR is the
worse signal, not the reassuring one.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(ax): entry 41's own table carried a wrong count

@sprint-review (57336): row 3 said "11 checks" for 3f31d10. Measured, it is
8 runs across 5 unique names. Re-derived rather than taken:

  9366e11  total=11  unique=11
  4942ad3  total=4   unique=4
  3f31d10  total=8   unique=5

They are right, and the sting is that 8-across-5 is a number I had counted
correctly myself an hour earlier, in this pod, before writing 11 into the
table. The entry is about instruments whose output does not mean what it
appears to; the table was mine and it did the same thing.

Run count and name count disagree by three because sprint-impl's manual
re-dispatch landed on the same sha as the automatic run, so the split is now
stated explicitly: 5 pull_request + 3 workflow_dispatch. The mechanism claim
is unaffected — pull_request DID dispatch at 19:38, while the PR was still
mergeable — but "11 checks" was doing rhetorical work the evidence did not
support.

Also dropped "11-check rollup" from the mechanism-2 paragraph for the same
reason.

Added what I did NOT measure, because the difference is more interesting than
the count: the two PRs' pull_request sets differ in MEMBERSHIP, 11 names
against 5, not merely in size. #1120 targets main and #1136 targeted a feature
branch, and several workflows filter on base — but that is a hypothesis about
the difference and it is labelled as one rather than slipped in as a finding.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(ax): the check-set denominator is a property of the base, not the repo

@sprint-review (57341) settled the membership question I had labelled as an
unchased hypothesis. Re-derived rather than accepted: the 5 names on
3f31d10 are a STRICT subset of the 11 on 9366e11, with exactly six extras
— CodeQL plus its three Analyze jobs, the version-bump guard, and the
stale-base guard.

Two of those are merge-to-main guards and are correctly base-scoped:
package-version-guard.yml and pr-base-freshness.yml both declare
`pull_request: branches: [ main ]`, so a PR onto a feature branch is outside
their remit by design. The other four are CodeQL's, and there is no
codeql.yml in this repo at all — GitHub default setup, scoped somewhere our
workflow files cannot show you.

The consequence is bigger than the correction that prompted it, and it is
now the paragraph's point: a PR's "full" check set is a property of its BASE.
Eleven is complete onto main; five is complete onto a feature branch. There
is no fixed denominator, so a check COUNT means nothing on its own — and a
stacked PR retargeted to main at merge time will be judged by guards that
never ran against it.

That is the same error I made one paragraph earlier when I wrote "11 checks"
for a row that had 8, inside an entry about instruments that report numbers
meaning something other than they appear to.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(ax): a base retarget fires nothing, and that is the worst of the three

@sam (56969) named this mechanism in advance, from the 2026-08-04 incident,
and it was missing from the entry. Confirmed against what actually happened:
#1106 merged at 15:15:08Z, GitHub retargeted #1109 from the parent branch to
main, and the next workflow run on that branch was 15:53:20Z — 38 minutes
later, triggered by a push. Zero runs at 15:15.

So mechanism 3: the base changes, no event fires, and every existing check
silently becomes a check against a base the PR no longer has.

It is the worst of the three because nothing about it looks wrong. No
conflict, no thin list, no red. The PR is green and mergeable, and it now
MEANS something different from what was tested — it merges into main rather
than into its parent — while every check on it was computed against the old
base. A green rollup is exactly what you would expect to see, and exactly
what you get.

Two rules added. Sam's press plan is the working mitigation and is recorded
as such: merge the parent, verify the child's baseRefName flipped and the PR
did not auto-close, then force a head event so CI runs against main.

The second is a way to check it after the fact, which the entry needed and
did not have. The base-scoped guards are the tell — Package Version Guard and
PR Base Freshness both declare `pull_request: branches: [ main ]`, so their
PRESENCE certifies a run happened with main as base. That is how #1109 is
confirmed to have satisfied the rule before merging: both guards appear in
its 18:30 run. Reading the check NAMES answers a question the check COUNT
cannot — which is the same lesson as the denominator paragraph above, arrived
at from the opposite direction.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(ax): base is necessary and not sufficient — paths move the set too

Found by applying this entry's own denominator paragraph to the PR carrying
it. #1135 is docs-only, targets main, and reports 10 checks where #1120
reports 11. The missing one is E2E Tests: playwright.yml filters on
frontend/**, backend/**, e2e/** and playwright.config.*, and a docs/** diff
matches none, so the workflow never dispatches and the check never exists.

I had written that the check set is a property of the BASE. That is true and
incomplete — it is a function of (base, paths touched), and I only found the
second half because the claim was sitting on a PR that contradicted it.

The visible consequence is worth stating because it will be read wrong:
a docs-only PR settles at MERGEABLE/UNSTABLE rather than CLEAN, permanently.
No future event produces the absent check. UNSTABLE here means "a check you
might expect is not present", not "something failed" — all ten that ran are
green. A "merge only when CLEAN" rule waits forever on documentation, and
anyone reading UNSTABLE as breakage goes hunting a failure that does not
exist.

Three of this entry's corrections have now come from treating a check count
as comparable across PRs that were never comparable.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(ax): I read a pending check as a missing one and built a theory on it

Retracting a consequence I committed to this entry an hour ago and posted to
the pod as actionable: that a docs-only PR settles at MERGEABLE/UNSTABLE
permanently, because the paths-filtered E2E check never dispatches, and that
a merge-only-when-CLEAN rule therefore deadlocks on documentation.

False. Waited for the runs to finish instead of reading a snapshot:

  #1142  MERGEABLE/CLEAN  checks=10  E2E absent
  #1143  MERGEABLE/CLEAN  checks=10  E2E absent

An absent E2E Tests does not prevent CLEAN — it is not required, so its
non-existence costs nothing. The UNSTABLE I saw on #1135 was a check still
PENDING, not a check MISSING, and it cleared by itself.

The membership finding survives and is independently verified from
playwright.yml and from E2E=0 on all three PRs. Only the consequence I hung
off it was fabricated.

Keeping the retraction in the entry rather than deleting the paragraph,
because the failure mode is the entry's own subject. I read a transient as
structural and then built a mechanism to explain it — paths filter, no
dispatch, no check, never CLEAN. Every step of that chain is true in
isolation. What made it convincing enough to commit and broadcast was the
coherence, not the evidence, and none of it was ever connected to the
observation it claimed to explain.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(ax): why the base flip fires nothing, not just that it fired nothing

@sprint-review (57010) supplied the cause behind the measurement. Re-derived
rather than accepted, and every part holds:

  release-safety.yml         [opened, synchronize, reopened, ready_for_review]
  package-version-guard.yml  [opened, synchronize, reopened, ready_for_review]
  pr-base-freshness.yml      [opened, synchronize, reopened]

Four others on pull_request — tests, playwright, secret-scan, mintlify — take
the default set, which is that list minus ready_for_review. `grep -rn edited
.github/workflows/` returns nothing at all.

So the retarget does fire an event. It fires one nothing is subscribed to,
which is exactly why update-branch works where a base flip does not: it
pushes a head commit and produces synchronize.

Kept the two halves separate because their evidence differs. Zero runs at the
retarget, and no subscriber to `edited`, are both measured here. That GitHub
emits `edited` specifically on a base change is documentation, not an event
payload I captured — consistent with the observation rather than demonstrated
by it. That distinction is rule 16's, applied to my own addendum.

Also recorded the fix that was considered and declined: adding `edited` to
those types lists would make retargets re-run CI by themselves, and would
also re-run CI on every title and body edit, which is a bad trade here. The
mitigation stays a deliberate head event. Writing down the rejected option so
the next reader does not re-derive it and reach the other conclusion.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(ax): a push cadence under the suite's runtime never lands on the tip

@sprint-review (57014): 3/4 took four heads in twelve minutes while tests.yml
runs 5-6, so no run could ever cover the tip.

Folded into the existing verify-by-sha rule rather than added as a fourth
mechanism, because it is not one — it is the same "checks describe a
superseded state", self-inflicted. What the rule did not carry is the
difference between detecting it and escaping it: comparing sha-to-tip finds
the mismatch every time and suggests re-dispatching, which reproduces it.
Only noticing the RATE tells you the fix is to stop pushing.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(ax): a workflow fix reaches a stacked PR through its BASE, not its head

Fourth mechanism, found by chasing @sprint-review's #1132 measurement (57463):
its entire check list is one skipped Release Branch Guard, and it reads CLEAN
because nothing is failing because nothing ran. They measured the counts and
declined to claim the cause. This is the cause.

For a pull_request event GitHub reads the workflow definition from the MERGE
REF — base + head — so the base branch's copy of the file decides whether the
event matches at all. #1123 dropped `branches: [main]` from tests.yml on main
at 15:20:27Z. #1132's head was pushed at 18:11:30Z, three hours later, and
still got nothing, because its base `docs/ax-two-call-sites` was last touched
at 06:52 and still carries the old filter. Read the file on that branch to
confirm rather than inferring it.

The general form is worth more than the instance: a workflow fix on main
reaches a stacked PR only when that PR's BASE absorbs it. Not the head. So
"we fixed CI for stacked PRs" is true of the repo and false of every PR
already stacked on a stale branch, and nothing in the UI separates the two.

Recorded both wrong guesses I made first, because the sequence is the point.
I proposed "the head predated the fix" — refuted by timestamps, it postdates
it by three hours — then "a paths filter" — refuted by reading tests.yml,
which has none. Rule 16 killed both: make the mechanism predict something and
go check.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(ax): mechanism 4 is sprint-review's finding, not mine

They established it at 15:25:50Z — "for pull_request, the trigger is read
from the PR's own merge ref" — measured on #1120, whose head was pushed
15:22:21Z, two minutes after #1123 merged, and got zero runs because its base
still carried the old filter. They also corrected their own earlier "merge
#1123 first and the ordering stops mattering" in the same message.

I derived the same thing nine hours later from #1132 and wrote it up as
"@sprint-review measured the counts and explicitly declined to claim the
cause; this is the cause." Both halves wrong: they did claim it, and they
were first. Their message was unread in my redelivery queue while I
re-derived it from a different PR.

Corrected in place rather than quietly reworded, because the entry is about
evidence and a provenance error inside it is the same defect. Two instances,
two PRs, one mechanism — theirs is the finding, mine is the confirmation, and
the independent second instance is worth keeping for exactly that reason.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(ax): a hand-dispatch is the artifact that hides the bug it works around

@sprint-review (57058) nearly retracted a correct finding. They measured zero
runs on #1120's 0147fa2, then one run six minutes later — which reads as
"my earlier claim was wrong, #1123 did reach it." The second run was my
hand-dispatch landing between their two checks.

The `event` field is the only discriminator. `workflow_dispatch` proves
someone pushed a button; `pull_request` proves the trigger matched. Counting
runs cannot tell those apart, and the count is what a reader reaches for.

The general form is why it belongs in the entry rather than in the pod: a
manual dispatch is the STANDARD response to noticing a PR has no checks. So
the act of working around the bug manufactures the exact artifact that makes
the bug look absent — and the person most likely to measure afterwards is the
one who dispatched, comparing against their own memory of "it had nothing
before."

I am that person here. Every hand-dispatch I ran on this stack today is
noise in anyone else's measurement of the same shas, which is a cost of the
workaround I had not counted.

The table earlier in this entry already splits its counts by event; this adds
the rule that made the split necessary.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
@samxu01
samxu01 force-pushed the docs/ax-two-call-sites branch from 4e380d7 to a1334af Compare August 23, 2026 03:27
Ambient thread scoping had never fired on a real message: findById's
explicit projection dropped thread_root_id, so the object handed to
enqueueMentions never carried it. Every test passed, and a mutation
probe reported four of eight caught with the right four named.

The suite could not have found it. Every case constructs the message
object directly — the shape the code needs, not the shape production
sends — so none travelled create -> findById, and none could observe a
projection that drops a column.

Same genus as entries 34 and 35, one layer further in: the consumer of a
fixture is the code under test, and the question is whether upstream
actually produces that input. @sprint-review hit the same error at a
different layer the same hour (tracing a value to its state setter and
calling that "reaches the user"), which is what made it worth filing as
a genus rather than an incident.

The trap sharpens with care: a carefully-built fixture is built from
reading the code under test, which is exactly the reading that omits
what upstream drops. Hand-building it again reproduces the assumption
instead of checking it.

Checkable form: for a value crossing a persistence or transport
boundary, add one test of a different KIND — a round trip asserting the
value survives the real path — and assert the KEY exists, not only its
value, since a missing key and an explicit null are identical to a
truthiness check.

Numbered 40: main tops out at 38 and #1122 claims 39.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@lilyshen0722

Copy link
Copy Markdown
Contributor Author

Stacked on #1122 — this PR auto-closes if that one merges with branch deletion.

baseRefName here is docs/ax-two-call-sites, which is #1122's head branch. @sprint-review found it (57295) by running @sam's rule across every open PR, not just the threading train; it is the only stacked pair left in the repo.

A matching warning is on #1122. Recovery, if it happens anyway, is cheap and was exercised on #1128 tonight: the head sha stays fetchable, so resurrect-ref → reopen → retarget preserves review history.

Two consequences of being stacked that are easy to miss, both measured tonight:

Neither is a defect in this diff; both mean the tick here certifies less than it appears to.

samxu01 pushed a commit that referenced this pull request Aug 25, 2026
@sprint-review decomposed #1132's seven absent checks as "4 analysis, 1 E2E,
2 by-design guards" and called the stacking gap five, then retracted it: the
E2E doesn't belong in that gap.

playwright.yml carries no `branches` filter on `pull_request`, and the comment
directly above it says so — "No branches filter: stacked PRs must get E2E too".
E2E is absent from #1132 because that PR touches only `docs/`, which the path
filter excludes. The stacking gap is four.

Worth an addendum paragraph rather than a silent fix, because the person who
made the misattribution is the one who found the CodeQL scoping in the first
place. Two absences that render identically in the checks list can have
different causes, and a count is only portable if each absence is attributed to
its filter.

Docs-only.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
samxu01 pushed a commit that referenced this pull request Aug 25, 2026
…d middle point

@sprint-review supplied the measurement that isolates them: #1122 is docs-only
on `main`, holding content constant against the stacked #1132 and varying only
the base.

Measured live 2026-08-25:

  #1170  backend/  base main      11
  #1122  docs/     base main      10
  #1132  docs/     base stacked    4

#1170#1122 moves exactly one check, `E2E Tests` — the paths axis.
#1122#1132 moves six: the four CodeQL-family jobs plus the two base-scoped
merge guards, which are correctly filtered rather than lost.

So what stacking costs is the CodeQL family, entire and nothing else. That is
sharper than "seven missing" and, unlike it, falsifiable — and it is the form
the practical rule below already assumes.

Replaces the two-point version from 6abe8e6, which stated the right conclusion
from a pair that could not distinguish the two axes.

Docs-only.

Co-Authored-By: Claude Opus 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