You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f32ecea
Browse filesBrowse the repository at this point in the historyBrowse files
b(BATTERY_YIELD, 'yield: a claim speaks for the FIRST session on its `Session:` line — the seat, not the thread it names after', claimSessionId(yClaimA.body), Y_WIN);
26630
26630
b(BATTERY_YIELD, 'yield: …a bulleted `Session:` line reads, with `claimedBranches`\'s prefix', claimSessionId(`Claim: x\n- Session: \`${Y_LOSE}\``), Y_LOSE);
26631
26631
b(BATTERY_YIELD, 'yield: …and a claim with no `Session:` line speaks for nobody', claimSessionId('Claim: x\nBranch: `claude/issue-1-a`'), null);
26632
-
b(BATTERY_YIELD, 'yield: the measured race withdraws the LOSER\'s claim alone', yIds(yRace), [6396193561]);
26632
+
b(BATTERY_YIELD, 'yield: the measured race withdraws the LOSER\'s claim alone', yIds(yRace), '6396193561');
26633
26633
b(BATTERY_YIELD, 'yield: …not the winner\'s, whose session only the yield\'s BODY names', yieldedClaimIndexes(yRace).has(0), false);
26634
26634
b(BATTERY_YIELD, 'yield: the yielded claim no longer GOVERNS — the red on the winner\'s PR was this reading', claimGovernance(yRace).governing, null);
26635
26635
b(BATTERY_YIELD, 'yield: …the winner\'s claim is the newest standing one, malformed to this reader (UNDETERMINED, never UNCLAIMED)', claimGovernance(yRace).malformed?.id, 6396126096);
@@ -26638,18 +26638,18 @@ async function selfTest() {
b(BATTERY_YIELD, 'yield: control — a winner on a protocol branch GOVERNS once the loser yields', govBranches(yIssueRace), 'claude/issue-25729-winner');
26641
-
b(BATTERY_YIELD, 'yield: …and its branch is named, the loser\'s is not', [h46ClaimNamesBranch(yIssueRace.map((r) => r.body), 'claude/issue-25729-winner'), h46ClaimNamesBranch(yIssueRace.map((r) => r.body), 'claude/issue-25729-adr-tier-row')], [true,false]);
26641
+
b(BATTERY_YIELD, 'yield: …and its branch is named, the loser\'s is not', [h46ClaimNamesBranch(yIssueRace.map((r) => r.body), 'claude/issue-25729-winner'), h46ClaimNamesBranch(yIssueRace.map((r) => r.body), 'claude/issue-25729-adr-tier-row')].join(), 'true,false');
b(BATTERY_YIELD, 'yield: precedence is read from the timestamps, not thread order', yIds([...yRace].reverse()), [6396193561]);
26651
-
b(BATTERY_YIELD, 'yield: bare bodies in thread order get the rows\' answer (H46 holds bodies)', [...yieldedClaimIndexes(yRace.map((r) => r.body))], [...yieldedClaimIndexes(yRace)]);
26652
-
b(BATTERY_YIELD, 'yield: a claim with no `Session:` line is never withdrawn', yIds([yRow(1, '2026-10-25T09:00:00Z', 'Claim: x\nBranch: `claude/issue-1-a`'), yYield]), []);
26650
+
b(BATTERY_YIELD, 'yield: precedence is read from the timestamps, not thread order', yIds([...yRace].reverse()), '6396193561');
26651
+
b(BATTERY_YIELD, 'yield: bare bodies in thread order get the rows\' answer (H46 holds bodies)', [...yieldedClaimIndexes(yRace.map((r) => r.body))].join(), [...yieldedClaimIndexes(yRace)].join());
26652
+
b(BATTERY_YIELD, 'yield: a claim with no `Session:` line is never withdrawn', yIds([yRow(1, '2026-10-25T09:00:00Z', 'Claim: x\nBranch: `claude/issue-1-a`'), yYield]), '');
26653
26653
b(BATTERY_YIELD, 'yield: a non-array input withdraws nothing and does not crash', yieldedClaimIndexes(undefined).size, 0);
26654
26654
26655
26655
// The gathering policy — what buys a ref read at all.
0 commit comments