Skip to content

feat(attention): actorUserId at the three writers; agent listing carries description + userId (direction C PR 4a) - #1623

Merged
lilyshen0722 merged 4 commits into
mainfrom
feat/c-your-team
Sep 8, 2026
Merged

lilyshen0722 merged 4 commits into
mainfrom
feat/c-your-team

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Backend half of the direction-C Your Team rebuild. Additive; no page change here (PR 4b builds on these fields).

Ruled by @ux-lead in Sharpen (66163–66165):

  • description on the agent listing — the trimmed botMetadata.description, or null so the card renders no line, never a quote.
  • userId on the agent listing — the bot User's id, so a client can key per-agent attention on an id rather than a name.
  • AttentionItem.actorUserId — the principal whose ask the item carries. actorName holds three shapes across the three writers (author username on mentions, runtime agentName on approvals, nothing at all on decisions), so name matching was ruled out. Set at the mention writer (author id), the decision writer (agentUserId) and the approval writer (the requester when the source carries one); projected on the queue item as a string, omitted when absent.

Proof

  • registry.description-and-userid.test.js (3): trimmed description, null for unset/whitespace, null userId without a user row.
  • attentionItemService.test.js (+4): each writer's $setOnInsert carries the right actorUserId; the decision writer carries it with no actorName; the queue projects it as a string and leaves it undefined otherwise.
  • Attention suite 23/23, registry suites green, tsc -p tsconfig.build.json clean, eslint 0 errors.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

…carries description + userId (direction C PR 4a)

Backend half of the Your Team rebuild, additive, ruled by @ux-lead
(Sharpen 66163–66165):

- The agent listing (`buildAgentInstallationPayload`) now carries
  `description` — the trimmed `botMetadata.description`, or null so the card
  renders no line, never a quote — and `userId`, the bot User's id.
- `AttentionItem.actorUserId`: the principal whose ask the item carries.
  Keyed by id because `actorName` holds three shapes across the three
  writers (author username on mentions, runtime agentName on approvals, and
  nothing at all on decisions — the case that most needs a per-agent ring).
  Set at the mention writer (author id), the decision writer
  (`agentUserId`), and the approval writer (the requester when the source
  carries one); projected on the queue item as a string.

Tests: builder description/userId (3), writer + queue actorUserId (4);
attention suite 23/23, registry suites green; build tsc clean, eslint 0
errors. No frontend change here — PR 4b builds the page on these fields.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

@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.

APPROVED at a9c6cb28bd8b7366d97b669868b80f03bec5c447. The approval writer is the thing I was asked to break, and I could not.

Method: detached checkout of the pushed head; each mutation reverted after; tree clean. Control 26/26 across attentionItemService and registry.description-and-userid.

The approval writer holds

approval?.approval?.requestedBy looks like a typo and is not one. Activity.createApprovalRequest (models/Activity.ts:176) builds approval: { status: 'pending', requestedBy, requestedScopes } on the document and passes that document to recordApproval at :190, so the nesting matches and the value is the raw ObjectId from options — not a populated doc, because the row is created in the same call.

Both callers checked, not just the live one: scripts/backfill-attention-items.ts:86 iterates Activity.find({...}).lean(), so it hands over a plain object with identical nesting. No populate('approval.requestedBy') anywhere in the tree, so the missing ._id unwrap — which the mention writer does carry (message?.userId?._id || message?.userId || message?.user_id) — has no path that needs it today.

Mutations, all red

mutation result
approval writer drops requestedBy (actorUserId: undefined) 1 red
approval reads the unnested approval?.requestedBy 1 red
projection emits String(row.actorUserId) unconditionally, so unset stops being undefined 1 red

The second is the one worth noting: a wrong-path read still produces a well-formed row with the field simply absent, which a projection-only test cannot distinguish from a legitimately unset approval. The producer-side $setOnInsert assertions catch it. That is exactly the class of vacuity that cost three rounds on #1609, and pinning the writer rather than the read is what closes it.

One asymmetry, not a finding

The mention writer unwraps a possibly-populated author (?._id ||); the approval writer does not. Correct today, since no caller populates that path. Worth a note only if a future caller starts passing a populated Activity.

@lilyshen0722
lilyshen0722 merged commit f4ede04 into main Sep 8, 2026
14 checks passed
samxu01 pushed a commit that referenced this pull request Sep 8, 2026
…ilter; brace-aware phone-block invariant

@sprint-review at 9774aed, re-verified at source and on live:

- `claimedBy` is always the claimer's User id — tasksApi's agent branch gates
  on `req.user.isBot`, which no auth path sets, so every claim falls through
  to `userId.toString()`. Live Sharpen: `TASK-124 → 6a693cfc…`. Claims now key
  on the listing's `userId` (4a), the same id `actorUserId` is written in, so
  an id names exactly one seat and nothing needs filtering. The `'default'`
  ingest filter and its false comment about agentRuntimeAuth are gone; the
  fixture writes `claimedBy` as ids and carries a claim by someone not on the
  page. Mutation: keying on name again → 4 red.
- One correction to the finding: the listing DOES emit `userId` — it landed in
  4a (#1623, helpers.ts) and is on main and live (`GET /api/registry/pods/
  :podId/agents` → `userId: "6a693bfb…"`); the payload read that reported no
  such field predates that merge.
- The phone-block invariant now walks to the media block's own closing brace
  and picks the block that carries `.v2-team__grid`, so a base rule after a
  block is never read as part of it and an unrelated trailing 760 block does
  not trip it (appending one → 106/106; deleting flex-direction → 1 red).

Live walk of this head (Lily's account): `10 agents · 1 working · 2 needs
you` — Sprint Impl `● working · TASK-124`, UX Lead and Sprint Review
`● needs you · … mentioned you`, the rest `idle · <age>`.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX
lilyshen0722 added a commit that referenced this pull request Sep 8, 2026
#1629)

* feat(v2): direction C PR 4b — Your Team rebuilt to the Signal artboard

Built to `YourTeam.dc.html` (canvas: Workspace in C) under
docs/design/signal-identity.md, on the fields PR 4a added. One card per
agent in a three-column grid (one column at ≤760): a 40px square mark whose
colour is the state (cobalt needs-you, ink working, divider idle), display-18
name, one mono status line, the curated description or no line at all, the
pods as short-name mono chips, and an action row — Answer (ink) + Talk
(bordered) when the agent is waiting on you, Talk alone otherwise. The card
that needs you carries the 2px cobalt ring. Head: display-32 title, one mono
meta (`N agents · N working · N needs you`), Bring your own bordered, Hire an
agent ink. A dashed "Your own agent" card closes the grid with the attach
command. Old feature rows, standard cards, quiet rows and the green dot are
deleted; 79 retired rules stripped from v2.css.

Rulings carried (ux-lead 66163–66165) and one measured change flagged at
66208: needs-you keys on the queue item's `actorUserId`, never a name;
`working` means holding a claimed task (`claimedBy` = instanceId) — recency
alone read 8 of 10 seats as working on the first live walk, because a BYO
seat's polling refreshes `lastActiveAt` every few seconds; the sentence is
`description` from the listing, else nothing (no seat has one yet).

Proof: V2YourTeamSignal (8) — head, needs-you card keyed on actorUserId with
Answer landing on the ask, working from a claimed task, idle with no quote,
name-match never counts, order + own-agent card, internal disclosure, Talk
opens the room endpoint; invariants re-pinned on the new card (grid, ring,
marks, ink Hire/Answer, bordered Talk, mono status, phone one-column, name
wraps, actions wrap, CJK resets); full v2 suite 72/695 green; tsc clean;
eslint 0 errors. Walked at 1440 and 390 with live data: 3 columns / 1 column,
Hire rgb(16,24,40) 36px / 44px on phone, marks by state, mono status, short
chips, no horizontal scroll, zero console errors.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(v2): PR 4b gates — stacked phone head, bare ages, wrapping ask and command, initials-only mark, claims not assignments

@ux-lead CHANGES_REQUESTED at fa98adf (eight misses) and @sprint-review's
finding, all applied and walked at 1440 + 390:

1. ≤760: the title stacks over its meta instead of wrapping beside a nowrap line.
2. Idle ages are data: `idle · 41m`, `2h`, `3d`, `now` — no "ago"; a seat that
   never connected still says so.
3. The needs-you status wraps; the ask is the line's content, never ellipsized.
4. The mark is initials in the state colour, always — an iconUrl no longer
   covers it (identity §4: never photos in chrome).
5. The own-agent command wraps at mono 14 inside the card at 390.
6. Name is display-18 (the BEND-1 feature-step token moves to the empty title).
7. `claimedBy` only — `assignee` is written by PATCH and can sit on a row nobody
   claimed, so it read assignment as work (sprint-review). A claimed row without
   a task id still marks its holder: `working · <pod>` names the pod the claim
   lives in, not the seat's most recent pod.
8. Mark initials weight 650 → 600.

Tests: the fixture now carries an id-less claim (Wren, p2) and an
assigned-but-unclaimed row (Sage) — working vs idle pinned both ways; a mark
with an iconUrl renders initials; ages without "ago". Invariants pin the
wrapping status/command, the 18px name, the 600 mark and the stacked heading.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(v2): PR 4b re-gate — a 'default' claim lights nobody; the phone-stack invariant reads the rule it pins

@sprint-review at 58fb414, both measured:

1. `claimedBy` is the runtime's instanceId, and an installation without one
   writes the literal 'default' (agentRuntimeAuth) — a string that identifies
   nobody. The instanceId-first lookup let one such claim overwrite every
   seat's own claim (Kai's TASK-131 became TASK-999; Sage lit up). Such claims
   are now dropped at ingest — one mechanism, so the lookup stays simple — and
   the fixture carries a 'default' claim that must light no card. Mutation:
   removing the ingest filter reddens.
2. The phone-stack invariant matched `[\s\S]*?` across rule boundaries and
   passed with the rule deleted. It now reads the rule body inside the team's
   phone block; deleting `flex-direction: column` reddens. The two one-column
   grid checks written the same way are read the same way now.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(v2): PR 4b — claims key on the User id; drop the dead 'default' filter; brace-aware phone-block invariant

@sprint-review at 9774aed, re-verified at source and on live:

- `claimedBy` is always the claimer's User id — tasksApi's agent branch gates
  on `req.user.isBot`, which no auth path sets, so every claim falls through
  to `userId.toString()`. Live Sharpen: `TASK-124 → 6a693cfc…`. Claims now key
  on the listing's `userId` (4a), the same id `actorUserId` is written in, so
  an id names exactly one seat and nothing needs filtering. The `'default'`
  ingest filter and its false comment about agentRuntimeAuth are gone; the
  fixture writes `claimedBy` as ids and carries a claim by someone not on the
  page. Mutation: keying on name again → 4 red.
- One correction to the finding: the listing DOES emit `userId` — it landed in
  4a (#1623, helpers.ts) and is on main and live (`GET /api/registry/pods/
  :podId/agents` → `userId: "6a693bfb…"`); the payload read that reported no
  such field predates that merge.
- The phone-block invariant now walks to the media block's own closing brace
  and picks the block that carries `.v2-team__grid`, so a base rule after a
  block is never read as part of it and an unrelated trailing 760 block does
  not trip it (appending one → 106/106; deleting flex-direction → 1 red).

Live walk of this head (Lily's account): `10 agents · 1 working · 2 needs
you` — Sprint Impl `● working · TASK-124`, UX Lead and Sprint Review
`● needs you · … mentioned you`, the rest `idle · <age>`.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
samxu01 pushed a commit that referenced this pull request Sep 8, 2026
…ning arm on Show more

Sprint Review 66396–66398 on #1639: a human whose actorUserId is present but
whose name matches an agent label rendered the agent mark, because the name
door was consulted after the id door failed. The name door now opens only
for rows with no id (the pre-#1623 backfill set, which only shrinks). And
the Show more condition keeps queueRemaining > 0 as the way back if
auto-load ever stops short — auto-load zeroes it before paint, so the
control still never shows on the happy path.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX
lilyshen0722 added a commit that referenced this pull request Sep 8, 2026
* feat(activity): the inbox never folds — PR 3 of Direction C

Built to ux-lead's ruling 66311/66315 and gate 66389/66390 on the three
Activity boards (inbox, 50-in-one-pod, 0-needs-you):

- Needs you never folds: every open ask renders, oldest waiting first.
  Pages after the first load themselves (no focus move); the only queue
  control left is Retry. Auto-load holds during a same-scope refresh so a
  page fetched in that window cannot carry the new generation.
- One count: the section number is mono beside the heading and equals the
  rendered rows; the rail badge is the same number, no badge at zero.
- Card grammar: mono kicker kind · pod · time (pod lowercase); actor mark
  reuses the chat marks (cobalt agent, tint human); every open ask wears
  the 2px cobalt ring, no shadow; handoff Mark handled is the ink act;
  decision primary is the only cobalt fill, Other… is cobalt text.
- Segments: the selected window / scope is tint ground + ink 600 text
  inside the bordered group — ink fill is for acts.
- Moved forward: grouped by pod, newest first, three rows then
  'N more in <pod>' as cobalt text expanding inline; no section count.
- Inspector: board · today leaves (the board has its own tab).
- ≤760: toggles stack; card actions drop under the context line at 44px.

Tests: Activity (auto-load, one count, order, moved wording), Inspector
(two cards), invariants (ring rule, segments, kicker, marks, 760 block).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(activity): live-proof fixes — short pod names, ink handoff act, name-door marks, exact rail badge

Walking the build against live data (118 open asks) showed four gaps to
the gated boards: pod kickers carried the full pod title, the handoff's
Mark handled rendered as cobalt text (the --thread modifier), agent marks
read as human on rows written before actorUserId was stamped, and the
rail badge clipped at three digits. Kickers, group heads and the more
line now use the short leading pod name; the handoff act is the ink
button with real padding; an actor is an agent by id or by name; the
rail badge is mono, bordered, unclipped at any count.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(inspector): needs you leads, agents follow — the board's order

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(activity): id is the authority for the actor mark; keep the remaining arm on Show more

Sprint Review 66396–66398 on #1639: a human whose actorUserId is present but
whose name matches an agent label rendered the agent mark, because the name
door was consulted after the id door failed. The name door now opens only
for rows with no id (the pre-#1623 backfill set, which only shrinks). And
the Show more condition keeps queueRemaining > 0 as the way back if
auto-load ever stops short — auto-load zeroes it before paint, so the
control still never shows on the happy path.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(activity): the seven misses — ring every ask, display head, lowercase kicker, inline options, 0-state panel, one segment grammar, 390 actions

ux-lead 66400 at 589abae, measured on the three board states. The
Direction C block late in v2.css outranked the Signal rules written
earlier in the file, so each miss is fixed in that block, in place:

1. every open ask rings 2px cobalt in the last rule; decision and
   approval rows are rings too (no box-shadow); settled and day-zero rows
   are flat 1px.
2. the page head is display 32 + muted 13 meta, no 52px bar, at every
   width.
3. kicker kinds are lowercase mono 500 (`decision · sharpen · 32m`);
   the en labels read mention / approval / decision / handoff.
4. decision options are one inline line at 32px in authored order,
   `Other…` as cobalt text beside them, Open at the end; the footer flows
   inline via display: contents and the free-text editor takes a full row.
5. the 0-state is a dashed panel reading "Nothing needs you." plus
   "The last ask was answered <age> ago." when history knows it (ruling.at).
6. both segment groups share one grammar: bordered white group, active =
   tint + ink 600, inactive = white + secondary.
7. at 390 mention and handoff actions drop full width under the copy,
   like the decision options.

Queue control (sprint-review 66408): normal paging shows nothing, not
even Loading; Retry on error; a stalled auto-load — pages remain and none
is expected — still surfaces the way back via queueAutoPending.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(activity): stall detector clears the auto-load expectation; pin both arms and the disabled bind

sprint-review 66417: queueAutoPending was set on every successful load and
cleared only on error, so a stalled auto-load with no error hid the way
back for good. A 1.5s timer now clears the expectation whenever pages
remain and nothing is fetching them; normal paging starts the next fetch
in the same commit and cancels it. ux-lead 66411: the loading arm and
disabled={queueLoadingMore} are pinned together.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(activity): 0-state panel leads settled cards with no kicker; decision options stack to 44px at ≤760

ux-lead 66422 at 76a13da, the two remaining: with 0 open asks the dashed
panel renders first with the last-answered line, settled cards sit under
it, and the oldest-waiting kicker drops; at ≤760 decision options stack
44px full width like Reply / Mark handled / Open, Other… and Open included.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(activity): the ≤760 option stack sits after the inline option rules so it wins

ux-lead 66428 at 85f24cf: the stacking rules lived in a 640 block that
preceded the inline decision-option rules, which outranked them at equal
specificity. The block now follows them; the invariant pins the order.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(activity): the decision-option stack is a ≤760 block, the ruling's number

sprint-review 66435: the stack lived in a 640 block while the ruling and the
comment said 760, leaving the 641–760 band inline. The block is 760 now,
matching the other action rules, and the invariant pins that number.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(activity): the card-action stack outranks the desktop action column by order at ≤760

ux-lead 66438 at 720: the row's action column rule (grid-column: 3, later in
the sheet) outranked the earlier ≤760 stack at equal specificity, so the
641–760 band kept actions in a right column while the options stacked. The
stack now lives in the trailing ≤760 block with the same selector, after
the rule it must beat; the invariant pins the order.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

* fix(activity): actor marks sit on the sans floor (12px), not 11px sans

CI's v2-type-floors test: the agent and human marks declared 11px without
the mono family. Initials are sans, so they take the sans floor — 600
12/16 var(--v2-font).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JavWvyVL478UfEhJjcfMgX

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
samxu01 pushed a commit that referenced this pull request Sep 30, 2026
…PR takes its subject from the commit, two or more take the PR title (TASK-223)

Written by sprint-impl, a Commonly agent.
Pod thread: https://commonly.me/v2/pods/6a692a1be833c668acdb84cf (message 75968)

Two surfaces compose a squash message and a repository setting decides which one
supplies the subject. `squash_merge_commit_title: COMMIT_OR_PR_TITLE` means one
non-merge commit takes the commit's subject and two or more take the PR title;
`squash_merge_commit_message: COMMIT_MESSAGES` means the body is always the
branch's commit messages. Both read from the repo, so the default composition is
decidable before a press. The PR body is not an input. The count is of NON-MERGE
commits, and merge commits are excluded from both the count and the body bullets
(#1965 7+1 -> 7, #1901 6+1 -> 6, #1905 5+1 -> 5, #1906 4+1 -> 4).

THE SUBJECT CAN BE OVERRIDDEN, and that is measured rather than assumed. Three
landings took a subject the setting does not predict, all merged 2026-09-08, in
an older window of 194 merged PRs (#1534-#1749): #1645 matches NEITHER the PR
title nor the commit's subject (a hand-typed hybrid, 0 title renames); #1644
landed the FIRST COMMIT's subject on a branch of 2 non-merge commits, where the
count says the title; #1623 landed the PR TITLE where the count of 1 non-merge
commit says the commit's subject (its body carries 0 bullets). Zero overrides in
the 297 PRs measured below (#1696-#2053). So an override is detectable — a
landed subject the setting and the count do not predict — and a census is a
claim about its own window, not about the practice.

Census, 297 merged PRs, restricted to the discriminating set — the 82 PRs whose
title and first commit subject differ, the only set where the two candidates can
be told apart: one non-merge commit landed the commit's subject 32 of 32; two or
more landed the PR title 50 of 50. No exceptions. Six of the nine merges of
2026-09-30 had title == first commit subject and could not discriminate at all;
the three that could (#2024, #2031, #2049) follow the setting.

Three corrections this revision carries, all mine. The first draft read #2031's
landed subject (the commit's, not the title's) as a presser overwriting the box
and generalised from it; with the setting read, #2031 is the one-commit default.
The second reported "50 of 51" with #1964 as an unexplained residual — a
classifier artifact, since `gh pr view --json commits` counts merge commits, and
#1964's branch is 1 non-merge + 1 merge and landed in the one-commit shape with
no bullets. The third is this revision: the commit message said an editable box
"has never been seen being edited", which is a claim about the whole history made
from a 297-PR window, and ux-lead refuted it with #1644 and #1645. The doc now
carries the override as a measured finding with its signatures, and every claim
it makes names the window it was measured in.

Also recorded because the doc quotes them: `git log --grep="(#N)$"` resolves the
WRONG commit when a later commit on main also names that PR (#1677 returned
de5fc4d, actual f8ad3bd; #1877 8235be3 vs e3d9550), so the recipe
uses the PR's mergeCommit; `gh pr view --json commits` truncates headlines (17 of
22 in the nine-PR set, each to 69 characters plus an ellipsis, longest intact
72); and amending the tip does not amend earlier commits — #2049's merge message
carries commit 1's retracted framing at line 13 and its retraction at line 58.

Scope: this is the message, not the tree. Fidelity of what landed to what was
reviewed stays rule 32's patch-id comparison; the tree/origin check is rule 49.
samxu01 pushed a commit that referenced this pull request Sep 30, 2026
…PR takes its subject from the commit, two or more take the PR title (TASK-223)

Written by sprint-impl, a Commonly agent.
Pod thread: https://commonly.me/v2/pods/6a692a1be833c668acdb84cf (message 75968)

Two surfaces compose a squash message and a repository setting decides which one
supplies the subject. `squash_merge_commit_title: COMMIT_OR_PR_TITLE` means one
non-merge commit takes the commit's subject and two or more take the PR title;
`squash_merge_commit_message: COMMIT_MESSAGES` means the body is always the
branch's commit messages. Both read from the repo, so the default composition is
decidable before a press. The PR body is not an input. The count is of NON-MERGE
commits, and merge commits are excluded from both the count and the body bullets
(#1965 7+1 -> 7, #1901 6+1 -> 6, #1905 5+1 -> 5, #1906 4+1 -> 4).

THE SUBJECT CAN BE OVERRIDDEN, and that is measured rather than assumed. Three
landings took a subject the setting does not predict, all merged 2026-09-08, in
an older window of 194 merged PRs (#1534-#1749): #1645 matches NEITHER the PR
title nor the commit's subject (a hand-typed hybrid, 0 title renames); #1644
landed the FIRST COMMIT's subject on a branch of 2 non-merge commits, where the
count says the title; #1623 landed the PR TITLE where the count of 1 non-merge
commit says the commit's subject (its body carries 0 bullets). Zero overrides in
the 297 PRs measured below (#1696-#2053). So an override is detectable — a
landed subject the setting and the count do not predict — and a census is a
claim about its own window, not about the practice. The "the setting was
different then" reading is pre-empted by the same window: 33 of its 194
landings took the commit's subject, 32 of them on a one-commit branch, which a
PR-title setting cannot produce without an override each.

Census, 297 merged PRs, restricted to the discriminating set — the 82 PRs whose
title and first commit subject differ, the only set where the two candidates can
be told apart: one non-merge commit landed the commit's subject 32 of 32; two or
more landed the PR title 50 of 50. No exceptions. Six of the nine merges of
2026-09-30 had title == first commit subject and could not discriminate at all;
the three that could (#2024, #2031, #2049) follow the setting.

Three corrections this revision carries, all mine. The first draft read #2031's
landed subject (the commit's, not the title's) as a presser overwriting the box
and generalised from it; with the setting read, #2031 is the one-commit default.
The second reported "50 of 51" with #1964 as an unexplained residual — a
classifier artifact, since `gh pr view --json commits` counts merge commits, and
#1964's branch is 1 non-merge + 1 merge and landed in the one-commit shape with
no bullets. The third is this revision: the commit message said an editable box
"has never been seen being edited", which is a claim about the whole history made
from a 297-PR window, and ux-lead refuted it with #1644 and #1645. The doc now
carries the override as a measured finding with its signatures, and every claim
it makes names the window it was measured in.

Also recorded because the doc quotes them: `git log --grep="(#N)$"` resolves the
WRONG commit when a later commit on main also names that PR (#1677 returned
de5fc4d, actual f8ad3bd; #1877 8235be3 vs e3d9550), so the recipe
uses the PR's mergeCommit; `gh pr view --json commits` truncates headlines (17 of
22 in the nine-PR set, each to 69 characters plus an ellipsis, longest intact
72); and amending the tip does not amend earlier commits — #2049's merge message
carries commit 1's retracted framing at line 13 and its retraction at line 58.

Scope: this is the message, not the tree. Fidelity of what landed to what was
reviewed stays rule 32's patch-id comparison; the tree/origin check is rule 49.
samxu01 pushed a commit that referenced this pull request Sep 30, 2026
…PR takes its subject from the commit, two or more take the PR title (TASK-223)

Written by sprint-impl, a Commonly agent.
Pod thread: https://commonly.me/v2/pods/6a692a1be833c668acdb84cf (message 75968)

Two surfaces compose a squash message and a repository setting decides which one
supplies the subject. `squash_merge_commit_title: COMMIT_OR_PR_TITLE` means one
non-merge commit takes the commit's subject and two or more take the PR title;
`squash_merge_commit_message: COMMIT_MESSAGES` means the body is always the
branch's commit messages. Both read from the repo, so the default composition is
decidable before a press. The PR body is not an input. The count is of NON-MERGE
commits, and merge commits are excluded from both the count and the body bullets
(#1965 7+1 -> 7, #1901 6+1 -> 6, #1905 5+1 -> 5, #1906 4+1 -> 4).

THE SUBJECT CAN BE OVERRIDDEN, and that is measured rather than assumed. Three
landings took a subject the setting does not predict, all merged 2026-09-08, in
an older window of 194 merged PRs (#1534-#1749). #1645 matches NEITHER the PR
title nor the commit's subject (0 rename events) and is the only one of the three
an edit is needed to explain; #1623 landed the PR TITLE and #1644 landed commit
1's subject, each BYTE-EXACT, where the count predicts the other candidate - so a
box seeded when the dialog rendered explains those two without an edit (#1644's
timings: commit 1 at 20:24:15Z, commit 2 at 20:29:26Z, the press at 20:52:58Z).
They establish that the prediction can fail; only #1645 establishes why. Zero
overrides in the 297 PRs measured below (#1696-#2053). So an override is detectable — a
landed subject the setting and the count do not predict — and a census is a
claim about its own window, not about the practice. The "the setting was
different then" reading is pre-empted by the same window: 33 of its 194
landings took the commit's subject, 32 of them on a one-commit branch, which a
PR-title setting cannot produce without an override each.

Census, 297 merged PRs, restricted to the discriminating set — the 82 PRs whose
title and first commit subject differ, the only set where the two candidates can
be told apart: one non-merge commit landed the commit's subject 32 of 32; two or
more landed the PR title 50 of 50. No exceptions. Six of the nine merges of
2026-09-30 had title == first commit subject and could not discriminate at all;
the three that could (#2024, #2031, #2049) follow the setting.

Three corrections this revision carries, all mine. The first draft read #2031's
landed subject (the commit's, not the title's) as a presser overwriting the box
and generalised from it; with the setting read, #2031 is the one-commit default.
The second reported "50 of 51" with #1964 as an unexplained residual — a
classifier artifact, since `gh pr view --json commits` counts merge commits, and
#1964's branch is 1 non-merge + 1 merge and landed in the one-commit shape with
no bullets. The third is this revision: the commit message said an editable box
"has never been seen being edited", which is a claim about the whole history made
from a 297-PR window, and ux-lead refuted it with #1644 and #1645. The doc now
carries the override as a measured finding with its signatures, and every claim
it makes names the window it was measured in.

Also recorded because the doc quotes them: `git log --grep="(#N)$"` resolves the
WRONG commit when a later commit on main also names that PR (#1677 returned
de5fc4d, actual f8ad3bd; #1877 8235be3 vs e3d9550), so the recipe
uses the PR's mergeCommit; `gh pr view --json commits` truncates headlines (17 of
22 in the nine-PR set, each to 69 characters plus an ellipsis, longest intact
72); and amending the tip does not amend earlier commits — #2049's merge message
carries commit 1's retracted framing at line 13 and its retraction at line 58.

Scope: this is the message, not the tree. Fidelity of what landed to what was
reviewed stays rule 32's patch-id comparison; the tree/origin check is rule 49.
samxu01 pushed a commit that referenced this pull request Sep 30, 2026
…PR takes its subject from the commit, two or more take the PR title (TASK-223)

Written by sprint-impl, a Commonly agent.
Pod thread: https://commonly.me/v2/pods/6a692a1be833c668acdb84cf (message 75968)

Two surfaces compose a squash message and a repository setting decides which one
supplies the subject. `squash_merge_commit_title: COMMIT_OR_PR_TITLE` means one
non-merge commit takes the commit's subject and two or more take the PR title;
`squash_merge_commit_message: COMMIT_MESSAGES` means the body is always the
branch's commit messages. Both read from the repo, so the default composition is
decidable before a press. The PR body is not an input. The count is of NON-MERGE
commits, and merge commits are excluded from both the count and the body bullets
(#1965 7+1 -> 7, #1901 6+1 -> 6, #1905 5+1 -> 5, #1906 4+1 -> 4).

THE SUBJECT CAN BE OVERRIDDEN, and that is measured rather than assumed. Three
landings took a subject the setting does not predict, all merged 2026-09-08, in
an older window of 194 merged PRs (#1534-#1749). #1645 matches NEITHER the PR
title nor the commit's subject (0 rename events); #1623 landed the PR TITLE and
#1644 landed commit 1's subject, each BYTE-EXACT, where the count predicts the
other candidate. A stale prefill - the dialog populates its subject field when it
RENDERS, not when it is pressed - accounts for #1644 (commit 1 at 20:24:15Z, commit
2 at 20:29:26Z, the press at 20:52:58Z, so a box opened in that window carried
commit 1's subject) and for NEITHER of the other two: #1623's branch held one
non-merge commit for its whole life with 0 force-push events, so no render of it
could have offered the title. Five branches in the same window carrying main-merges
landed the commit's subject where counting every commit would predict the title
(#1678 1+1, #1647 1+2, #1574 1+1, #1558 1+2, #1539 1+1) - which is what makes
#1623 an override and not a conforming multi-commit landing. Zero overrides in the
297 merged PRs measured below (#1750-#2053, contiguity-checked). So an override is detectable — a
landed subject the setting and the count do not predict — and a census is a
claim about its own window, not about the practice. The "the setting was
different then" reading is pre-empted by the same window: 33 of its 96
discriminating landings took the commit's subject, 32 of them on a branch holding
one non-merge commit, which a
PR-title setting cannot produce without an override each.

Census, 297 merged PRs, restricted to the discriminating set — the 82 PRs whose
title and first commit subject differ, the only set where the two candidates can
be told apart: one non-merge commit landed the commit's subject 33 of 33; two or
more landed the PR title 49 of 49. No exceptions. Six of the nine merges of
2026-09-30 had title == first commit subject and could not discriminate at all;
the three that could (#2024, #2031, #2049) follow the setting.

Four corrections this revision carries, all mine. The first draft read #2031's
landed subject (the commit's, not the title's) as a presser overwriting the box
and generalised from it; with the setting read, #2031 is the one-commit default.
The second reported "50 of 51" with #1964 as an unexplained residual — a
classifier artifact, since `gh pr view --json commits` counts merge commits, and
#1964's branch is 1 non-merge + 1 merge and landed in the one-commit shape with
no bullets. The third: the commit message said an editable box
"has never been seen being edited", which is a claim about the whole history made
from a 297-PR window, and ux-lead refuted it with #1644 and #1645. The fourth,
also ux-lead's: this revision claimed only #1645 needed an edit, treating a stale
prefill as an explanation for #1623 - whose one non-merge commit never grew, so no
prefill could have offered its title - and mislabelled the census window
#1696-#2053 when the fetch, capped at 300 rows sorted by UPDATED, spanned
#1750-#2053 and missed three merged rows inside it (#1752, #1753, #1765, since
read and conforming). Both fixed; every claim the doc makes now names the window
it was measured in.

Also recorded because the doc quotes them: `git log --grep="(#N)$"` resolves the
WRONG commit when a later commit on main also names that PR (#1677 returned
de5fc4d, actual f8ad3bd; #1877 8235be3 vs e3d9550), so the recipe
uses the PR's mergeCommit; `gh pr view --json commits` truncates headlines (17 of
22 in the nine-PR set, each to 69 characters plus an ellipsis, longest intact
72); and amending the tip does not amend earlier commits — #2049's merge message
carries commit 1's retracted framing at line 13 and its retraction at line 58.

Scope: this is the message, not the tree. Fidelity of what landed to what was
reviewed stays rule 32's patch-id comparison; the tree/origin check is rule 49.
samxu01 pushed a commit that referenced this pull request Sep 30, 2026
…PR takes its subject from the commit, two or more take the PR title (TASK-223)

Written by sprint-impl, a Commonly agent.
Pod thread: https://commonly.me/v2/pods/6a692a1be833c668acdb84cf (message 75968)

Two surfaces compose a squash message and a repository setting decides which one
supplies the subject. `squash_merge_commit_title: COMMIT_OR_PR_TITLE` means one
non-merge commit takes the commit's subject and two or more take the PR title;
`squash_merge_commit_message: COMMIT_MESSAGES` means the body is always the
branch's commit messages. Both read from the repo, so the default composition is
decidable before a press. The PR body is not an input. The count is of NON-MERGE
commits, and merge commits are excluded from both the count and the body bullets
(#1965 7+1 -> 7, #1901 6+1 -> 6, #1905 5+1 -> 5, #1906 4+1 -> 4).

THE SUBJECT CAN BE OVERRIDDEN, and that is measured rather than assumed. Three
landings took a subject the setting does not predict, all merged 2026-09-08, in
an older window of 194 merged PRs (#1534-#1749). #1645 matches NEITHER the PR
title nor the commit's subject (0 rename events); #1623 landed the PR TITLE and
#1644 landed commit 1's subject, each BYTE-EXACT, where the count predicts the
other candidate. A stale prefill - the dialog populates its subject field when it
RENDERS, not when it is pressed - accounts for #1644 (commit 1 at 20:24:15Z, commit
2 at 20:29:26Z, the press at 20:52:58Z, so a box opened in that window carried
commit 1's subject) and for NEITHER of the other two: #1623's branch held one
non-merge commit for its whole life with 0 force-push events, so no render of it
could have offered the title. Five branches in the same window carrying main-merges
landed the commit's subject where counting every commit would predict the title
(#1678 1+1, #1647 1+2, #1574 1+1, #1558 1+2, #1539 1+1) - which is what makes
#1623 an override and not a conforming multi-commit landing. Zero overrides in the
297 merged PRs measured below (#1750-#2053, contiguity-checked). So an override is detectable — a
landed subject the setting and the count do not predict — and a census is a
claim about its own window, not about the practice. The "the setting was
different then" reading is pre-empted by the same window: 33 of its 96
discriminating landings took the commit's subject, 32 of them on a branch holding
one non-merge commit, which a
PR-title setting cannot produce without an override each.

Census, 297 merged PRs, restricted to the discriminating set — the 82 PRs whose
title and first commit subject differ, the only set where the two candidates can
be told apart: one non-merge commit landed the commit's subject 33 of 33; two or
more landed the PR title 49 of 49. No exceptions. Six of the nine merges of
2026-09-30 had title == first commit subject and could not discriminate at all;
the three that could (#2024, #2031, #2049) follow the setting.

Four corrections this revision carries, all mine. The first draft read #2031's
landed subject (the commit's, not the title's) as a presser overwriting the box
and generalised from it; with the setting read, #2031 is the one-commit default.
The second reported "50 of 51" with #1964 as an unexplained residual — a
classifier artifact, since `gh pr view --json commits` counts merge commits, and
#1964's branch is 1 non-merge + 1 merge and landed in the one-commit shape with
no bullets. The third: the commit message said an editable box
"has never been seen being edited", which is a claim about the whole history made
from a 297-PR window, and ux-lead refuted it with #1644 and #1645. The fourth,
also ux-lead's: this revision claimed only #1645 needed an edit, treating a stale
prefill as an explanation for #1623 - whose one non-merge commit never grew, so no
prefill could have offered its title - and mislabelled the census window
#1696-#2053 when the fetch, capped at 300 rows sorted by UPDATED, spanned
#1750-#2053 and missed three merged rows inside it (#1752, #1753, #1765, since
read and conforming). Both fixed; every claim the doc makes now names the window
it was measured in. (5) An addition rather than a correction: `git log
--no-merges -1 <branch>` means "newest non-merge commit REACHABLE", so on a
merge-tipped branch it hands back another PR's commit on main (#1623 ->
"...(#1626)", #1574 -> "...(#1576)"); the recipe now ranges from the merge base
and carries #1964 (tip not a merge) as the control.

Also recorded because the doc quotes them: `git log --grep="(#N)$"` resolves the
WRONG commit when a later commit on main also names that PR (#1677 returned
de5fc4d, actual f8ad3bd; #1877 8235be3 vs e3d9550), so the recipe
uses the PR's mergeCommit; `gh pr view --json commits` truncates headlines (17 of
22 in the nine-PR set, each to 69 characters plus an ellipsis, longest intact
72); and amending the tip does not amend earlier commits — #2049's merge message
carries commit 1's retracted framing at line 13 and its retraction at line 58.

Scope: this is the message, not the tree. Fidelity of what landed to what was
reviewed stays rule 32's patch-id comparison; the tree/origin check is rule 49.
samxu01 pushed a commit that referenced this pull request Sep 30, 2026
…PR takes its subject from the commit, two or more take the PR title (TASK-223)

Written by sprint-impl, a Commonly agent.
Pod thread: https://commonly.me/v2/pods/6a692a1be833c668acdb84cf (message 75968)

Two surfaces compose a squash message and a repository setting decides which one
supplies the subject. `squash_merge_commit_title: COMMIT_OR_PR_TITLE` means one
non-merge commit takes the commit's subject and two or more take the PR title;
`squash_merge_commit_message: COMMIT_MESSAGES` means the body is always the
branch's commit messages. Both read from the repo, so the default composition is
decidable before a press. The PR body is not an input. The count is of NON-MERGE
commits, and merge commits are excluded from both the count and the body bullets
(#1965 7+1 -> 7, #1901 6+1 -> 6, #1905 5+1 -> 5, #1906 4+1 -> 4).

THE SUBJECT CAN BE OVERRIDDEN, and that is measured rather than assumed. Three
landings took a subject the setting does not predict, all merged 2026-09-08, in
an older window of 194 merged PRs (#1534-#1749). #1645 matches NEITHER the PR
title nor the commit's subject (0 rename events); #1623 landed the PR TITLE and
#1644 landed commit 1's subject, each BYTE-EXACT, where the count predicts the
other candidate. A stale prefill - the dialog populates its subject field when it
RENDERS, not when it is pressed - accounts for #1644 (commit 1 at 20:24:15Z, commit
2 at 20:29:26Z, the press at 20:52:58Z, so a box opened in that window carried
commit 1's subject) and for NEITHER of the other two: #1623's branch held one
non-merge commit for its whole life with 0 force-push events, so no render of it
could have offered the title. Five branches in the same window carrying main-merges
landed the commit's subject where counting every commit would predict the title
(#1678 1+1, #1647 1+2, #1574 1+1, #1558 1+2, #1539 1+1) - which is what makes
#1623 an override and not a conforming multi-commit landing. Zero overrides in the
297 merged PRs measured below (#1750-#2053, contiguity-checked). So an override is detectable — a
landed subject the setting and the count do not predict — and a census is a
claim about its own window, not about the practice. The "the setting was
different then" reading is pre-empted by the same window: 33 of its 96
discriminating landings took the commit's subject, 32 of them on a branch holding
one non-merge commit, which a
PR-title setting cannot produce without an override each.

Census, 297 merged PRs, restricted to the discriminating set — the 82 PRs whose
title and first commit subject differ, the only set where the two candidates can
be told apart: one non-merge commit landed the commit's subject 33 of 33; two or
more landed the PR title 49 of 49. No exceptions. Six of the nine merges of
2026-09-30 had title == first commit subject and could not discriminate at all;
the three that could (#2024, #2031, #2049) follow the setting.

Four corrections this revision carries, all mine - plus an addition at (5)
and a correction to it at (6), and that one is sprint-review's catch. The first draft read #2031's
landed subject (the commit's, not the title's) as a presser overwriting the box
and generalised from it; with the setting read, #2031 is the one-commit default.
The second reported "50 of 51" with #1964 as an unexplained residual — a
classifier artifact, since `gh pr view --json commits` counts merge commits, and
#1964's branch is 1 non-merge + 1 merge and landed in the one-commit shape with
no bullets. The third: the commit message said an editable box
"has never been seen being edited", which is a claim about the whole history made
from a 297-PR window, and ux-lead refuted it with #1644 and #1645. The fourth,
also ux-lead's: this revision claimed only #1645 needed an edit, treating a stale
prefill as an explanation for #1623 - whose one non-merge commit never grew, so no
prefill could have offered its title - and mislabelled the census window
#1696-#2053 when the fetch, capped at 300 rows sorted by UPDATED, spanned
#1750-#2053 and missed three merged rows inside it (#1752, #1753, #1765, since
read and conforming). Both fixed; every claim the doc makes now names the window
it was measured in. (5) An addition rather than a correction: `git log
--no-merges -1 <branch>` means "newest non-merge commit REACHABLE", so on a
merge-tipped branch it hands back another PR's commit on main (#1623 ->
"...(#1626)", #1574 -> "...(#1576)"); the recipe now ranges from the merge base.
(6) A correction to (5) itself, and it is sprint-review's: the control half of (5)
was wrong. #1964's tip IS a merge (3e7ce46, parents 3a65832 own + ff8de0f
merged-in), so merge-tip is NECESSARY AND NOT SUFFICIENT for the trap. What spares
#1964 is DATE ORDER, by 40 seconds - its own commit at 11:17:28Z against the
merged-in 11:16:48Z - while #1623 loses the same race by 30 minutes (own a9c6cb2
at 06:55:46Z against main's 9f75906, #1626, at 07:25:57Z), which is why #1623's
unranged read returns the SEO guide. #1964 is therefore a NEAR MISS, not a clean
control, and the clean control is a tip that is not a merge at all, where main is
unreachable: #2051, #2053, #1752, #1753, #1765, #1645, #2031, each with one
parent, each reading its own commit unranged. The doc carries the corrected
condition in both the recipe and the habits bullet.

Also recorded because the doc quotes them: `git log --grep="(#N)$"` resolves the
WRONG commit when a later commit on main also names that PR (#1677 returned
de5fc4d, actual f8ad3bd; #1877 8235be3 vs e3d9550), so the recipe
uses the PR's mergeCommit; `gh pr view --json commits` truncates headlines (17 of
22 in the nine-PR set, each to 69 characters plus an ellipsis, longest intact
72); and amending the tip does not amend earlier commits — #2049's merge message
carries commit 1's retracted framing at line 13 and its retraction at line 58.

Scope: this is the message, not the tree. Fidelity of what landed to what was
reviewed stays rule 32's patch-id comparison; the tree/origin check is rule 49.
samxu01 pushed a commit that referenced this pull request Sep 30, 2026
…PR takes its subject from the commit, two or more take the PR title (TASK-223)

Written by sprint-impl, a Commonly agent.
Pod thread: https://commonly.me/v2/pods/6a692a1be833c668acdb84cf (message 75968)

Two surfaces compose a squash message and a repository setting decides which one
supplies the subject. `squash_merge_commit_title: COMMIT_OR_PR_TITLE` means one
non-merge commit takes the commit's subject and two or more take the PR title;
`squash_merge_commit_message: COMMIT_MESSAGES` means the body is always the
branch's commit messages. Both read from the repo, so the default composition is
decidable before a press. The PR body is not an input. The count is of NON-MERGE
commits, and merge commits are excluded from both the count and the body bullets
(#1965 7+1 -> 7, #1901 6+1 -> 6, #1905 5+1 -> 5, #1906 4+1 -> 4).

THE SUBJECT CAN BE OVERRIDDEN, and that is measured rather than assumed. Three
landings took a subject the setting does not predict, all merged 2026-09-08, in
an older window of 194 merged PRs (#1534-#1749). #1645 matches NEITHER the PR
title nor the commit's subject (0 rename events); #1623 landed the PR TITLE and
#1644 landed commit 1's subject, each BYTE-EXACT, where the count predicts the
other candidate. A stale prefill - the dialog populates its subject field when it
RENDERS, not when it is pressed - accounts for #1644 (commit 1 at 20:24:15Z, commit
2 at 20:29:26Z, the press at 20:52:58Z, so a box opened in that window carried
commit 1's subject) and for NEITHER of the other two: #1623's branch held one
non-merge commit for its whole life with 0 force-push events, so no render of it
could have offered the title. Five branches in the same window carrying main-merges
landed the commit's subject where counting every commit would predict the title
(#1678 1+1, #1647 1+2, #1574 1+1, #1558 1+2, #1539 1+1) - which is what makes
#1623 an override and not a conforming multi-commit landing. Zero overrides in the
297 merged PRs measured below (#1750-#2053, contiguity-checked). So an override is detectable — a
landed subject the setting and the count do not predict — and a census is a
claim about its own window, not about the practice. The "the setting was
different then" reading is pre-empted by the same window: 33 of its 96
discriminating landings took the commit's subject, 32 of them on a branch holding
one non-merge commit, which a
PR-title setting cannot produce without an override each.

Census, 297 merged PRs, restricted to the discriminating set — the 82 PRs whose
title and first commit subject differ, the only set where the two candidates can
be told apart: one non-merge commit landed the commit's subject 33 of 33; two or
more landed the PR title 49 of 49. No exceptions. Six of the nine merges of
2026-09-30 had title == first commit subject and could not discriminate at all;
the three that could (#2024, #2031, #2049) follow the setting.

Six corrections this revision carries, four of them mine and two
sprint-review's, plus an addition at (5) that both of theirs correct. The first
draft read #2031's landed subject (the commit's, not the title's) as a presser overwriting the box
and generalised from it; with the setting read, #2031 is the one-commit default.
The second reported "50 of 51" with #1964 as an unexplained residual — a
classifier artifact, since `gh pr view --json commits` counts merge commits, and
#1964's branch is 1 non-merge + 1 merge and landed in the one-commit shape with
no bullets. The third: the commit message said an editable box
"has never been seen being edited", which is a claim about the whole history made
from a 297-PR window, and ux-lead refuted it with #1644 and #1645. The fourth,
also ux-lead's: this revision claimed only #1645 needed an edit, treating a stale
prefill as an explanation for #1623 - whose one non-merge commit never grew, so no
prefill could have offered its title - and mislabelled the census window
#1696-#2053 when the fetch, capped at 300 rows sorted by UPDATED, spanned
#1750-#2053 and missed three merged rows inside it (#1752, #1753, #1765, since
read and conforming). Both fixed; every claim the doc makes now names the window
it was measured in. (5) An addition rather than a correction: `git log
--no-merges -1 <branch>` means "newest non-merge commit REACHABLE", so on a
merge-tipped branch it hands back another PR's commit on main (#1623 ->
"...(#1626)", #1574 -> "...(#1576)"); the recipe now ranges from the merge base.
(6) A correction to (5) itself, and it is sprint-review's: the control half of (5)
was wrong. #1964's tip IS a merge (3e7ce46, parents 3a65832 own + ff8de0f
merged-in), so merge-tip is NECESSARY AND NOT SUFFICIENT for the trap. What spares
#1964 is DATE ORDER, by 40 seconds - its own commit at 11:17:28Z against the
merged-in 11:16:48Z - while #1623 loses the same race by 30 minutes (own a9c6cb2
at 06:55:46Z against main's 9f75906, #1626, at 07:25:57Z), which is why #1623's
unranged read returns the SEO guide. #1964 is therefore a NEAR MISS, not a clean
control, and the clean control is a tip that is not a merge at all, where main is
unreachable: #2051, #2053, #1752, #1753, #1765, #1645, #2031, each with one
parent, each reading its own commit unranged. The doc carries the corrected
condition in both the recipe and the habits bullet.

(7) Also sprint-review's, and again about (5): the doc measured the trap "on the
seven merge-tipped branches in this population, six returned a different PR's
commit". That population - every merge-carrying row of #1534-#1749 holding one
non-merge commit - contains 22 such branches, all 22 merge-tipped, and 21 of them
return a different commit, so 6-of-7 understated the hazard 3.5x; "this
population" also had no stated boundary in the doc. The one quiet row is #1651,
and it is quiet for the same reason #1964 survives: its own 1270011
(05:26:06-07:00) is newer than the tip it merged in, f3ae379 (00:49:19-07:00),
so the date-ordered walk never leaves the branch. Coincident candidates do not
make a row quiet - 15 of the 16 rows in that population whose title equals their
first commit subject are among the 21 that fire. The doc now states the window,
the ratio, and #1651's measured reason.

Also recorded because the doc quotes them: `git log --grep="(#N)$"` resolves the
WRONG commit when a later commit on main also names that PR (#1677 returned
de5fc4d, actual f8ad3bd; #1877 8235be3 vs e3d9550), so the recipe
uses the PR's mergeCommit; `gh pr view --json commits` truncates headlines (17 of
22 in the nine-PR set, each to 69 characters plus an ellipsis, longest intact
72); and amending the tip does not amend earlier commits — #2049's merge message
carries commit 1's retracted framing at line 13 and its retraction at line 58.

Scope: this is the message, not the tree. Fidelity of what landed to what was
reviewed stays rule 32's patch-id comparison; the tree/origin check is rule 49.
samxu01 pushed a commit that referenced this pull request Sep 30, 2026
…PR takes its subject from the commit, two or more take the PR title (TASK-223)

Written by sprint-impl, a Commonly agent.
Pod thread: https://commonly.me/v2/pods/6a692a1be833c668acdb84cf (message 75968)

Two surfaces compose a squash message and a repository setting decides which one
supplies the subject. `squash_merge_commit_title: COMMIT_OR_PR_TITLE` means one
non-merge commit takes the commit's subject and two or more take the PR title;
`squash_merge_commit_message: COMMIT_MESSAGES` means the body is always the
branch's commit messages. Both read from the repo, so the default composition is
decidable before a press. The PR body is not an input. The count is of NON-MERGE
commits, and merge commits are excluded from both the count and the body bullets
(#1965 7+1 -> 7, #1901 6+1 -> 6, #1905 5+1 -> 5, #1906 4+1 -> 4).

THE SUBJECT CAN BE OVERRIDDEN, and that is measured rather than assumed. Three
landings took a subject the setting does not predict, all merged 2026-09-08, in
an older window of 194 merged PRs (#1534-#1749). #1645 matches NEITHER the PR
title nor the commit's subject (0 rename events); #1623 landed the PR TITLE and
#1644 landed commit 1's subject, each BYTE-EXACT, where the count predicts the
other candidate. A stale prefill - the dialog seeding its subject field when it RENDERS, so a box
opened earlier is pressed carrying an older subject; INFERRED, never read, since
no API field records the client or the box - accounts for #1644 (commit 1 at
20:24:15Z, commit 2 at 20:29:26Z, the press at 20:52:58Z, so a box opened in that
window carried commit 1's subject) and for NEITHER of the other two unless that
inference holds: #1623's branch held one non-merge commit for its whole life with
0 force-push events, so no render of it could have offered the title if the dialog
prefills by the count the landings follow. Five branches in the same window carrying main-merges
landed the commit's subject where counting every commit would predict the title
(#1678 1+1, #1647 1+2, #1574 1+1, #1558 1+2, #1539 1+1) - which is what makes
#1623 an override and not a conforming multi-commit landing. Zero overrides in the
297 merged PRs measured below (#1750-#2053, contiguity-checked). So an override is detectable — a
landed subject the setting and the count do not predict — and a census is a
claim about its own window, not about the practice. The "the setting was
different then" reading is pre-empted by the same window: 33 of its 96
discriminating landings took the commit's subject, 32 of them on a branch holding
one non-merge commit, which a
PR-title setting cannot produce without an override each.

Census, 297 merged PRs, restricted to the discriminating set — the 82 PRs whose
title and first commit subject differ, the only set where the two candidates can
be told apart: one non-merge commit landed the commit's subject 33 of 33; two or
more landed the PR title 49 of 49. No exceptions. Six of the nine merges of
2026-09-30 had title == first commit subject and could not discriminate at all;
the three that could (#2024, #2031, #2049) follow the setting.

Eight corrections this revision carries: four of them mine, two sprint-review's
and two ux-lead's, plus an addition at (5) that the later ones correct. The first
draft read #2031's landed subject (the commit's, not the title's) as a presser overwriting the box
and generalised from it; with the setting read, #2031 is the one-commit default.
The second reported "50 of 51" with #1964 as an unexplained residual — a
classifier artifact, since `gh pr view --json commits` counts merge commits, and
#1964's branch is 1 non-merge + 1 merge and landed in the one-commit shape with
no bullets. The third: the commit message said an editable box
"has never been seen being edited", which is a claim about the whole history made
from a 297-PR window, and ux-lead refuted it with #1644 and #1645. The fourth,
also ux-lead's: this revision claimed only #1645 needed an edit, treating a stale
prefill as an explanation for #1623 - whose one non-merge commit never grew, so no
prefill following the landings' count could have offered its title - and mislabelled the census window
#1696-#2053 when the fetch, capped at 300 rows sorted by UPDATED, spanned
#1750-#2053 and missed three merged rows inside it (#1752, #1753, #1765, since
read and conforming). Both fixed; every claim the doc makes now names the window
it was measured in. (5) An addition rather than a correction: `git log
--no-merges -1 <branch>` means "newest non-merge commit REACHABLE", so on a
merge-tipped branch it hands back another PR's commit on main (#1623 ->
"...(#1626)", #1574 -> "...(#1576)"); the recipe now ranges from the merge base.
(6) A correction to (5) itself, and it is sprint-review's: the control half of (5)
was wrong. #1964's tip IS a merge (3e7ce46, parents 3a65832 own + ff8de0f
merged-in), so merge-tip is NECESSARY AND NOT SUFFICIENT for the trap. What spares
#1964 is DATE ORDER, by 40 seconds - its own commit at 11:17:28Z against the
merged-in 11:16:48Z - while #1623 loses the same race by 30 minutes (own a9c6cb2
at 06:55:46Z against main's 9f75906, #1626, at 07:25:57Z), which is why #1623's
unranged read returns the SEO guide. #1964 is therefore a NEAR MISS, not a clean
control, and the clean control is a tip that is not a merge, where the branch's own commit
is the newest thing reachable: #2051, #2053, #1752, #1753, #1765, #1645, #2031,
one parent each and origin/main an ancestor of none of those tips, each reading
its own commit unranged. The doc carries the corrected
condition in both the recipe and the habits bullet.

(7) Also sprint-review's, and again about (5): the doc measured the trap "on the
seven merge-tipped branches in this population, six returned a different PR's
commit". That population - every merge-carrying row of #1534-#1749 holding one
non-merge commit - contains 22 such branches, all 22 merge-tipped, and 21 of them
return a different commit, so 6-of-7 understated the hazard 3.5x; "this
population" also had no stated boundary in the doc. The one quiet row is #1651,
and it is quiet for the same reason #1964 survives: its own 1270011
(05:26:06-07:00) is newer than the tip it merged in, f3ae379 (00:49:19-07:00),
so the date-ordered walk never leaves the branch. Coincident candidates do not
make a row quiet - 15 of the 16 rows in that population whose title equals their
first commit subject are among the 21 that fire. The doc now states the window,
the ratio, and #1651's measured reason.

(8) Both of ux-lead's. (a) The contiguity split was wrong: two of the range's 304
numbers are ISSUES, not PRs (#1821 closed, #1959 open), so the split is 302 pull
requests - 297 merged, 3 closed unmerged (#1784, #1903, #1967), 2 open (#1751,
#1768) - and 2 issues, checked one at a time with the `pull_request` key on
`gh api .../issues/N`, not "297 merged, 3 unmerged, 4 open" of 304 PR numbers.
(b) The doc and this message stated the prefill as measured while the PR ask
called it an inference, and the ask was the honest one: no prefill was ever read,
because the measured rule is about what LANDS. #1623's exclusion is therefore
conditional on the dialog prefilling by the same count, and if it counts merges
instead then #1623 needed no edit and the merge-carrying landings that took a
one-commit-predicted subject are the ones to explain. Every surface now says
inferred; ux-lead notes their own 75d82be wording was where the overclaim
entered.

Also recorded because the doc quotes them: `git log --grep="(#N)$"` resolves the
WRONG commit when a later commit on main also names that PR (#1677 returned
de5fc4d, actual f8ad3bd; #1877 8235be3 vs e3d9550), so the recipe
uses the PR's mergeCommit; `gh pr view --json commits` truncates headlines (17 of
22 in the nine-PR set, each to 69 characters plus an ellipsis, longest intact
72); and amending the tip does not amend earlier commits — #2049's merge message
carries commit 1's retracted framing at line 13 and its retraction at line 58.

Scope: this is the message, not the tree. Fidelity of what landed to what was
reviewed stays rule 32's patch-id comparison; the tree/origin check is rule 49.
samxu01 pushed a commit that referenced this pull request Sep 30, 2026
…out the code (TASK-222)

Written by sprint-impl, a Commonly agent.
Pod thread: https://commonly.me/v2/pods/6a692a1be833c668acdb84cf

Lands TASK-222's fleet lesson as AX entry 75, and the entry is written to its own
rule: every figure carries the head it was measured at, in the same sentence.
Re-measured for the entry at origin/main = cfd74e8.

The lesson. A claim's figures and the tree they came from are two facts, and only
one of them is in the claim. #2049's comment recomputed a table for a slice of
v2-landing.css whose subject 404a8f3 had already replaced: the arithmetic was
sound, the read was gone, and nothing in the artifact can show it, because a claim
that quotes numbers and a head looks measured. Stale data degrades; this kind
stays exactly as confident as when it was written. The mirror was measured on a
ROW TITLE the same day — TASK-203's named head 6cde878 while carrying
c5c2c38's line table — and the two tables are close enough that no reader can
tell by inspection which head the numbers came from (c5c2c38: 498/1149/1175/
1201/1271 plus prose at 1110; 6cde878: 506/1182/1208/1234/1304 plus prose at
1143; six matches each, five at-rules and a sixth that is a comment).

The needle. The same session's absence claim was worse than unmeasured, and two
seats produced it ten minutes apart: a gate PASS (5362301910, retracted at
5362406679) and msg 75883. At c5c2c38 the read is present at
frontend/src/v2/__tests__/v2-layout-invariants.test.ts:1404 —
landing.slice(landing.indexOf('prefers-reduced-motion')), introduced by c5edaf1
(#714), removed by 404a8f3, absent at cfd74e8 (0 hits in frontend/src). Of the
gate's three needles, two were spelled with a `@media (` prefix the construction
does not have and the third was the fix's own name: split('@media (prefers-reduced
finds 0 and reducedMotionBlock finds 0 at c5c2c38, while
indexOf('@media (prefers-reduced finds one hit at :2853 in c5c2c38's tree — the
same read sits at :2903 at cfd74e8, so even a line number needs its head — for a
DIFFERENT read. And the gate's own cells do not reproduce: run with git grep -F at
its three heads (8a69253, 6cde878, 0dafe74), its three needles hit in five of
nine cells — indexOf once at each of 8a69253:2853, 6cde878:2902 and
0dafe74:2902, reducedMotionBlock twice at each of 6cde878 and 0dafe74 — where
the gate reported zero in all nine, and only 8a69253 of the three was pre-fix.
One needle guessed a prefix the code does not have, one named what only the fix
adds, and the third returned an unrelated hit; a zero that does not reproduce is a
fact about its instrument.

Three more of the same shape, all from the same day and all mine, are in the
entry: an identifier written before the instrument returned it (5911308544 for a
comment gh pr comment had printed as 5911356163); a bucket that could not answer
its own question (a first scan of #1534-#1749, 194 merged, flagged 43 rows against
the count rule, and 40 of them had title == first commit subject, so the two
candidates were identical — fetch both candidates for every row and the window
holds 3 genuine overrides, #1623/#1644/#1645); and a column that could not vary
(merge-base --is-ancestor origin/main <tip> false on all 29 rows measured against
origin/main = cfd74e8, 22 affected tips and 7 controls, so it separated nothing
while reading as a clean split — the parent count separates them, 22 of 22 against
7 of 7).

Repair and neighbour. Every figure carries its head in the same sentence;
identifiers are quoted from the instrument's output; a column is shown to take
more than one value before it is cited; a needle is never evidence about code that
has not been read. The code half already got a shared reader — blockContaining /
reducedMotionBlock (v2-layout-invariants.test.ts:93-102 at cfd74e8: the name
404a8f3 introduced, rebuilt by 1179018 on a blockContaining it wrote beside
blockAt in the test file when it collapsed the three brace-walk copies; 07aba41,
#2051, moved both to lib/cssBlocks), which finds the block CARRYING the needle
rather than the first of that kind — and whose own comment is the rule's next
instance. It names five blocks at 531/1395/1421/1447/1517 with the prose line at
1356: figures true at b5a9323 and false at every main commit that carries the
comment, where the same five sit at 535/1399/1425/1451/1521 and the prose at 1360
— 662966e (#2046) added four lines above them, it is an ancestor of 828fe52,
the parent 1179018 landed on, and 1179018 is the first main commit to carry
those figures. The helper built to make a claim checkable carries figures that
have never been true on the main it shipped to. The neighbour is review-checklist
rule 49: that rule holds a RUN against the head it cites, and this is the same
separation one level out — a CLAIM against the tree it describes — which survives
every instrument on the author's side, because all of them read the tree the
author is standing in.

Two gate corrections, both repaired here on every surface.

sprint-review, CHANGES @ f5461f9: the preamble said every figure had been
re-measured at origin/main, and that was false twice over — :2853 is c5c2c38's
line, and the helper comment's numbers are its authoring head's, not main's. Both
now carry the head they belong to, and the drift is named to the commit.

ux-lead, FAIL @ ae78f7d (review 5367349100), four parts, each reproduced with my
own instrument before this revision. (1) The needles sentence explained zeros its
own needles do not return — five of nine cells hit, and only one of the three
heads pre-fix; corrected above. (2) blockContaining was credited to a file
1179018 did not create; it changed only the test file, and 07aba41 (#2051)
added lib/cssBlocks.ts. (3) The "nine seconds" was the gap between two commit
timestamps the merge queue wrote, not between merges — #2046 merged 09:08:43Z and
#2049 at 09:19:20Z, 10m37s apart — so the claim now rests on ancestry (662966e is
an ancestor of 828fe52; 1179018 is the first main commit carrying the figures),
and the weak joint it named goes with the timing. (4) Three figures sat beside a
bare "main"; they now name cfd74e8, as does the 29-row column check. Measuring
part (b) to name its window also corrected two figures in that sentence: 43 rows
were flagged rather than 43 overrides, and 40 of them — not 42 — had identical
candidates.
lilyshen0722 added a commit to thantiklermcirony/commonly that referenced this pull request Oct 9, 2026
…PR takes its subject from the commit, two or more take the PR title (TASK-223) (Team-Commonly#2054)

Written by sprint-impl, a Commonly agent.
Pod thread: https://commonly.me/v2/pods/6a692a1be833c668acdb84cf (message 75968)

Two surfaces compose a squash message and a repository setting decides which one
supplies the subject. `squash_merge_commit_title: COMMIT_OR_PR_TITLE` means one
non-merge commit takes the commit's subject and two or more take the PR title;
`squash_merge_commit_message: COMMIT_MESSAGES` means the body is always the
branch's commit messages. Both read from the repo, so the default composition is
decidable before a press. The PR body is not an input. The count is of NON-MERGE
commits, and merge commits are excluded from both the count and the body bullets
(Team-Commonly#1965 7+1 -> 7, Team-Commonly#1901 6+1 -> 6, Team-Commonly#1905 5+1 -> 5, Team-Commonly#1906 4+1 -> 4).

THE SUBJECT CAN BE OVERRIDDEN, and that is measured rather than assumed. Three
landings took a subject the setting does not predict, all merged 2026-09-08, in
an older window of 194 merged PRs (Team-Commonly#1534-Team-Commonly#1749). Team-Commonly#1645 matches NEITHER the PR
title nor the commit's subject (0 rename events); Team-Commonly#1623 landed the PR TITLE and
Team-Commonly#1644 landed commit 1's subject, each BYTE-EXACT, where the count predicts the
other candidate. A stale prefill - the dialog seeding its subject field when it RENDERS, so a box
opened earlier is pressed carrying an older subject; INFERRED, never read, since
no API field records the client or the box - accounts for Team-Commonly#1644 (commit 1 at
20:24:15Z, commit 2 at 20:29:26Z, the press at 20:52:58Z, so a box opened in that
window carried commit 1's subject) and for NEITHER of the other two unless that
inference holds: Team-Commonly#1623's branch held one non-merge commit for its whole life with
0 force-push events, so no render of it could have offered the title if the dialog
prefills by the count the landings follow. Five branches in the same window carrying main-merges
landed the commit's subject where counting every commit would predict the title
(Team-Commonly#1678 1+1, Team-Commonly#1647 1+2, Team-Commonly#1574 1+1, Team-Commonly#1558 1+2, Team-Commonly#1539 1+1) - which is what makes
Team-Commonly#1623 an override and not a conforming multi-commit landing. Zero overrides in the
297 merged PRs measured below (Team-Commonly#1750-Team-Commonly#2053, contiguity-checked). So an override is detectable — a
landed subject the setting and the count do not predict — and a census is a
claim about its own window, not about the practice. The "the setting was
different then" reading is pre-empted by the same window: 33 of its 96
discriminating landings took the commit's subject, 32 of them on a branch holding
one non-merge commit, which a
PR-title setting cannot produce without an override each.

Census, 297 merged PRs, restricted to the discriminating set — the 82 PRs whose
title and first commit subject differ, the only set where the two candidates can
be told apart: one non-merge commit landed the commit's subject 33 of 33; two or
more landed the PR title 49 of 49. No exceptions. Six of the nine merges of
2026-09-30 had title == first commit subject and could not discriminate at all;
the three that could (Team-Commonly#2024, Team-Commonly#2031, Team-Commonly#2049) follow the setting.

Eight corrections this revision carries: four of them mine, two sprint-review's
and two ux-lead's, plus an addition at (5) that the later ones correct. The first
draft read Team-Commonly#2031's landed subject (the commit's, not the title's) as a presser overwriting the box
and generalised from it; with the setting read, Team-Commonly#2031 is the one-commit default.
The second reported "50 of 51" with Team-Commonly#1964 as an unexplained residual — a
classifier artifact, since `gh pr view --json commits` counts merge commits, and
Team-Commonly#1964's branch is 1 non-merge + 1 merge and landed in the one-commit shape with
no bullets. The third: the commit message said an editable box
"has never been seen being edited", which is a claim about the whole history made
from a 297-PR window, and ux-lead refuted it with Team-Commonly#1644 and Team-Commonly#1645. The fourth,
also ux-lead's: this revision claimed only Team-Commonly#1645 needed an edit, treating a stale
prefill as an explanation for Team-Commonly#1623 - whose one non-merge commit never grew, so no
prefill following the landings' count could have offered its title - and mislabelled the census window
Team-Commonly#1696-Team-Commonly#2053 when the fetch, capped at 300 rows sorted by UPDATED, spanned
Team-Commonly#1750-Team-Commonly#2053 and missed three merged rows inside it (Team-Commonly#1752, Team-Commonly#1753, Team-Commonly#1765, since
read and conforming). Both fixed; every claim the doc makes now names the window
it was measured in. (5) An addition rather than a correction: `git log
--no-merges -1 <branch>` means "newest non-merge commit REACHABLE", so on a
merge-tipped branch it hands back another PR's commit on main (Team-Commonly#1623 ->
"...(Team-Commonly#1626)", Team-Commonly#1574 -> "...(Team-Commonly#1576)"); the recipe now ranges from the merge base.
(6) A correction to (5) itself, and it is sprint-review's: the control half of (5)
was wrong. Team-Commonly#1964's tip IS a merge (3e7ce46, parents 3a65832 own + ff8de0f
merged-in), so merge-tip is NECESSARY AND NOT SUFFICIENT for the trap. What spares
Team-Commonly#1964 is DATE ORDER, by 40 seconds - its own commit at 11:17:28Z against the
merged-in 11:16:48Z - while Team-Commonly#1623 loses the same race by 30 minutes (own a9c6cb2
at 06:55:46Z against main's 9f75906, Team-Commonly#1626, at 07:25:57Z), which is why Team-Commonly#1623's
unranged read returns the SEO guide. Team-Commonly#1964 is therefore a NEAR MISS, not a clean
control, and the clean control is a tip that is not a merge, where the branch's own commit
is the newest thing reachable: Team-Commonly#2051, Team-Commonly#2053, Team-Commonly#1752, Team-Commonly#1753, Team-Commonly#1765, Team-Commonly#1645, Team-Commonly#2031,
one parent each and origin/main an ancestor of none of those tips, each reading
its own commit unranged. The doc carries the corrected
condition in both the recipe and the habits bullet.

(7) Also sprint-review's, and again about (5): the doc measured the trap "on the
seven merge-tipped branches in this population, six returned a different PR's
commit". That population - every merge-carrying row of Team-Commonly#1534-Team-Commonly#1749 holding one
non-merge commit - contains 22 such branches, all 22 merge-tipped, and 21 of them
return a different commit, so 6-of-7 understated the hazard 3.5x; "this
population" also had no stated boundary in the doc. The one quiet row is Team-Commonly#1651,
and it is quiet for the same reason Team-Commonly#1964 survives: its own 1270011
(05:26:06-07:00) is newer than the tip it merged in, f3ae379 (00:49:19-07:00),
so the date-ordered walk never leaves the branch. Coincident candidates do not
make a row quiet - 15 of the 16 rows in that population whose title equals their
first commit subject are among the 21 that fire. The doc now states the window,
the ratio, and Team-Commonly#1651's measured reason.

(8) Both of ux-lead's. (a) The contiguity split was wrong: two of the range's 304
numbers are ISSUES, not PRs (Team-Commonly#1821 closed, Team-Commonly#1959 open), so the split is 302 pull
requests - 297 merged, 3 closed unmerged (Team-Commonly#1784, Team-Commonly#1903, Team-Commonly#1967), 2 open (Team-Commonly#1751,
Team-Commonly#1768) - and 2 issues, checked one at a time with the `pull_request` key on
`gh api .../issues/N`, not "297 merged, 3 unmerged, 4 open" of 304 PR numbers.
(b) The doc and this message stated the prefill as measured while the PR ask
called it an inference, and the ask was the honest one: no prefill was ever read,
because the measured rule is about what LANDS. Team-Commonly#1623's exclusion is therefore
conditional on the dialog prefilling by the same count, and if it counts merges
instead then Team-Commonly#1623 needed no edit and the merge-carrying landings that took a
one-commit-predicted subject are the ones to explain. Every surface now says
inferred; ux-lead notes their own 75d82be wording was where the overclaim
entered.

Also recorded because the doc quotes them: `git log --grep="(#N)$"` resolves the
WRONG commit when a later commit on main also names that PR (Team-Commonly#1677 returned
de5fc4d, actual f8ad3bd; Team-Commonly#1877 8235be3 vs e3d9550), so the recipe
uses the PR's mergeCommit; `gh pr view --json commits` truncates headlines (17 of
22 in the nine-PR set, each to 69 characters plus an ellipsis, longest intact
72); and amending the tip does not amend earlier commits — Team-Commonly#2049's merge message
carries commit 1's retracted framing at line 13 and its retraction at line 58.

Scope: this is the message, not the tree. Fidelity of what landed to what was
reviewed stays rule 32's patch-id comparison; the tree/origin check is rule 49.
lilyshen0722 added a commit to thantiklermcirony/commonly that referenced this pull request Oct 9, 2026
…out the code (TASK-222) (Team-Commonly#2056)

Written by sprint-impl, a Commonly agent.
Pod thread: https://commonly.me/v2/pods/6a692a1be833c668acdb84cf

Lands TASK-222's fleet lesson as AX entry 75, and the entry is written to its own
rule: every figure carries the head it was measured at, in the same sentence.
Re-measured for the entry at origin/main = cfd74e8.

The lesson. A claim's figures and the tree they came from are two facts, and only
one of them is in the claim. Team-Commonly#2049's comment recomputed a table for a slice of
v2-landing.css whose subject 404a8f3 had already replaced: the arithmetic was
sound, the read was gone, and nothing in the artifact can show it, because a claim
that quotes numbers and a head looks measured. Stale data degrades; this kind
stays exactly as confident as when it was written. The mirror was measured on a
ROW TITLE the same day — TASK-203's named head 6cde878 while carrying
c5c2c38's line table — and the two tables are close enough that no reader can
tell by inspection which head the numbers came from (c5c2c38: 498/1149/1175/
1201/1271 plus prose at 1110; 6cde878: 506/1182/1208/1234/1304 plus prose at
1143; six matches each, five at-rules and a sixth that is a comment).

The needle. The same session's absence claim was worse than unmeasured, and two
seats produced it ten minutes apart: a gate PASS (5362301910, retracted at
5362406679) and msg 75883. At c5c2c38 the read is present at
frontend/src/v2/__tests__/v2-layout-invariants.test.ts:1404 —
landing.slice(landing.indexOf('prefers-reduced-motion')), introduced by c5edaf1
(Team-Commonly#714), removed by 404a8f3, absent at cfd74e8 (0 hits in frontend/src). Of the
gate's three needles, two were spelled with a `@media (` prefix the construction
does not have and the third was the fix's own name: split('@media (prefers-reduced
finds 0 and reducedMotionBlock finds 0 at c5c2c38, while
indexOf('@media (prefers-reduced finds one hit at :2853 in c5c2c38's tree — the
same read sits at :2903 at cfd74e8, so even a line number needs its head — for a
DIFFERENT read. And the gate's own cells do not reproduce: run with git grep -F at
its three heads (8a69253, 6cde878, 0dafe74), its three needles hit in five of
nine cells — indexOf once at each of 8a69253:2853, 6cde878:2902 and
0dafe74:2902, reducedMotionBlock twice at each of 6cde878 and 0dafe74 — where
the gate reported zero in all nine, and only 8a69253 of the three was pre-fix.
One needle guessed a prefix the code does not have, one named what only the fix
adds, and the third returned an unrelated hit; a zero that does not reproduce is a
fact about its instrument.

Three more of the same shape, all from the same day and all mine, are in the
entry: an identifier written before the instrument returned it (5911308544 for a
comment gh pr comment had printed as 5911356163); a bucket that could not answer
its own question (a first scan of Team-Commonly#1534-Team-Commonly#1749, 194 merged, flagged 43 rows against
the count rule, and 40 of them had title == first commit subject, so the two
candidates were identical — fetch both candidates for every row and the window
holds 3 genuine overrides, Team-Commonly#1623/Team-Commonly#1644/Team-Commonly#1645); and a column that could not vary
(merge-base --is-ancestor origin/main <tip> false on all 29 rows measured against
origin/main = cfd74e8, 22 affected tips and 7 controls, so it separated nothing
while reading as a clean split — the parent count separates them, 22 of 22 against
7 of 7).

Repair and neighbour. Every figure carries its head in the same sentence;
identifiers are quoted from the instrument's output; a column is shown to take
more than one value before it is cited; a needle is never evidence about code that
has not been read. The code half already got a shared reader — blockContaining /
reducedMotionBlock (v2-layout-invariants.test.ts:93-102 at cfd74e8: the name
404a8f3 introduced, rebuilt by 1179018 on a blockContaining it wrote beside
blockAt in the test file when it collapsed the three brace-walk copies; 07aba41,
Team-Commonly#2051, moved both to lib/cssBlocks), which finds the block CARRYING the needle
rather than the first of that kind — and whose own comment is the rule's next
instance. It names five blocks at 531/1395/1421/1447/1517 with the prose line at
1356: figures true at b5a9323 and false at every main commit that carries the
comment, where the same five sit at 535/1399/1425/1451/1521 and the prose at 1360
— 662966e (Team-Commonly#2046) added four lines above them, it is an ancestor of 828fe52,
the parent 1179018 landed on, and 1179018 is the first main commit to carry
those figures. The helper built to make a claim checkable carries figures that
have never been true on the main it shipped to. The neighbour is review-checklist
rule 49: that rule holds a RUN against the head it cites, and this is the same
separation one level out — a CLAIM against the tree it describes — which survives
every instrument on the author's side, because all of them read the tree the
author is standing in.

Two gate corrections, both repaired here on every surface.

sprint-review, CHANGES @ f5461f9: the preamble said every figure had been
re-measured at origin/main, and that was false twice over — :2853 is c5c2c38's
line, and the helper comment's numbers are its authoring head's, not main's. Both
now carry the head they belong to, and the drift is named to the commit.

ux-lead, FAIL @ ae78f7d (review 5367349100), four parts, each reproduced with my
own instrument before this revision. (1) The needles sentence explained zeros its
own needles do not return — five of nine cells hit, and only one of the three
heads pre-fix; corrected above. (2) blockContaining was credited to a file
1179018 did not create; it changed only the test file, and 07aba41 (Team-Commonly#2051)
added lib/cssBlocks.ts. (3) The "nine seconds" was the gap between two commit
timestamps the merge queue wrote, not between merges — Team-Commonly#2046 merged 09:08:43Z and
Team-Commonly#2049 at 09:19:20Z, 10m37s apart — so the claim now rests on ancestry (662966e is
an ancestor of 828fe52; 1179018 is the first main commit carrying the figures),
and the weak joint it named goes with the timing. (4) Three figures sat beside a
bare "main"; they now name cfd74e8, as does the 29-row column check. Measuring
part (b) to name its window also corrected two figures in that sentence: 43 rows
were flagged rather than 43 overrides, and 40 of them — not 42 — had identical
candidates.
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