<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom" xml:base="https://docs.spec-kitty.ai/adr/3.x/2026-09-29-1-closed-world-refuse-on-mixed-lanes/">
  <id>https://docs.spec-kitty.ai/adr/3.x/2026-09-29-1-closed-world-refuse-on-mixed-lanes/</id>
  <title>ADR: a mixed lane refuses commits outside every WP work window, with an operator-attested override</title>
  <updated>2026-11-12T00:00:00.000Z</updated>
  <author><name>Spec Kitty</name></author>
  <link rel="alternate" type="text/html" href="https://docs.spec-kitty.ai/adr/3.x/2026-09-29-1-closed-world-refuse-on-mixed-lanes/"/>
  <summary>Consolidation REFUSEs a mixed lane carrying a content commit no WP window owns (closed world), with an operator-attested override as the escape hatch.</summary>
  <content type="html">&lt;h2 id=&quot;context-and-problem-statement&quot;&gt;Context and Problem Statement&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;mixed lane&lt;/strong&gt; is an execution lane that holds an approved WP and a WP canceled
with operator provenance. Lanes integrate whole, so until
&lt;a href=&quot;https://github.com/spec-kitty/spec-kitty/issues/5046&quot;&gt;#5046&lt;/a&gt; the canceled WP’s
committed content shipped at exit 0. Mission
&lt;code dir=&quot;auto&quot;&gt;mixed-lane-authorship-soundness-01M3M7Y0&lt;/code&gt; fixed that with per-WP attribution:
every lifecycle transition of a lane-mapped WP stamps the lane head, the gate
rebuilds each WP’s work windows from those stamps, and it FAILs when the
canceled WP’s unsuperseded content is on the target.&lt;/p&gt;
&lt;p&gt;The pre-PR adversarial squad then found two gaps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Commits outside every window shipped at exit 0.&lt;/strong&gt; A content commit that lands
on the lane after the cancel (a straggler), or a commit by a WP that never
entered implementation, falls inside no WP’s window. The gate attributed it to
nobody and let it through. No governed WP ever approved that content.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Attribution refusals could never clear.&lt;/strong&gt; A lane with no stamps (missions
created before the stamp existed), a window that never closed, a rewritten
history, or a contested commit REFUSEs. The event log is append-only, so the
missing evidence cannot appear later. The printed recovery could not succeed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;decision&quot;&gt;Decision&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Closed-world REFUSE on mixed lanes (FR-013).&lt;/strong&gt; When every work window of
every lane WP that entered implementation resolved, any non-merge,
non-bookkeeping first-parent commit of the lane that lies in no WP’s window
(implementation or review) makes the gate REFUSE with reason
&lt;code dir=&quot;auto&quot;&gt;commit_outside_windows&lt;/code&gt;. Only commits after the lane’s own base count: a
commit reachable from the lane head at its first governed claim, from any
dependency-lane tip (&lt;code dir=&quot;auto&quot;&gt;lanes.json&lt;/code&gt; &lt;code dir=&quot;auto&quot;&gt;depends_on_lanes&lt;/code&gt;, transitively), or from
the target’s pre-consolidation tip is not outside. The message names the
lane, up to three short commit shas and one path. The check is computed in the same spine walk as the
canceled content. It applies only to mixed lanes; lanes that are not mixed are
unchanged.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Operator-attested override as the escape hatch (FR-012).&lt;/strong&gt;
&lt;code dir=&quot;auto&quot;&gt;spec-kitty consolidate --attest-canceled-superseded &amp;#x3C;WP&gt; --attest-reason &quot;&amp;#x3C;text&gt;&quot;&lt;/code&gt;
records, through the canonical status write seam, an append-only
operator-provenance attestation on the canceled WP: a forced
&lt;code dir=&quot;auto&quot;&gt;canceled -&gt; canceled&lt;/code&gt; transition with the actor, the reason, the timestamp,
&lt;code dir=&quot;auto&quot;&gt;reason_source = &quot;operator&quot;&lt;/code&gt;, and the marker
&lt;code dir=&quot;auto&quot;&gt;policy_metadata.attestation = &quot;canceled_superseded&quot;&lt;/code&gt;. It needs no change to
the external event schema and has one authority, the mission’s status event
log. For an attested WP the gate lifts the attribution-evidence REFUSE reasons
(&lt;code dir=&quot;auto&quot;&gt;no_stamp&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;open_window&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;stamp_not_ancestor_of_lane_tip&lt;/code&gt;,
&lt;code dir=&quot;auto&quot;&gt;contested_commit&lt;/code&gt;, and “merged with an independent change”). For the closed
world the attestation is bounded in time: its own &lt;code dir=&quot;auto&quot;&gt;lane_head&lt;/code&gt; stamp becomes an
anchor, so lane commits up to the attestation are exempt and a straggler
committed afterwards still REFUSEs. Every explicit attestation is recorded
afresh (a new operator act with its own reason and a new stamp), so after
checking a later straggler the operator re-attests and the recovery succeeds.
It never lifts a FAIL (canceled content
the gate can see) or an infrastructure refusal (&lt;code dir=&quot;auto&quot;&gt;events_unreadable&lt;/code&gt;,
&lt;code dir=&quot;auto&quot;&gt;spine_unreadable&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Each REFUSE names a recovery that can work.&lt;/strong&gt; Attribution-evidence refusals
say the evidence cannot appear later and name the override. Infrastructure
refusals say they must be repaired and cannot be overridden. FAIL and
“merged with an independent change” name the supersede-through-a-surviving-WP
recovery.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Real-world impact cannot be assessed at this point; this decision is due for
revision as usage and feedback progress.&lt;/strong&gt; We do not yet know how often governed
work lands commits outside a stamped window. Workflow merges and bookkeeping-only
commits are excluded by construction. Two governed shapes put commits no lane WP
owns onto a lane’s first-parent history, and both are anchored: the allocator
merges a dependency lane into the dependent lane without &lt;code dir=&quot;auto&quot;&gt;--no-ff&lt;/code&gt;
(&lt;code dir=&quot;auto&quot;&gt;lanes/worktree_allocator.py&lt;/code&gt;), so the dependency lane’s WP commits fast-forward
onto it; and the recorded planning-artifact commit merge at allocation can
fast-forward other developers’ target-branch commits between the lane base and
the planning commit. The anchors trade two gaps for that, both pinned as strict
&lt;code dir=&quot;auto&quot;&gt;xfail&lt;/code&gt; residuals (#5330): an out-of-workflow commit on the lane before the first
governed claim is exempt via the first-claim anchor (the closed world as first
landed caught it), and a fully-canceled dependency lane’s content that
fast-forwards into a dependent mixed lane is exempt via the dependency-tip
anchor (a fully-canceled lane is not mixed, so that content shipped before
FR-013 too). Other shapes may still turn up.&lt;/p&gt;
&lt;h2 id=&quot;consequences&quot;&gt;Consequences&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;A straggler or never-claimed commit on a mixed lane can no longer ship
silently. Two residuals the mission had pinned as strict &lt;code dir=&quot;auto&quot;&gt;xfail&lt;/code&gt; (post-cancel
reintroduction, never-claimed-WP commit) now REFUSE and are pinned as regular
tests.&lt;/li&gt;
&lt;li&gt;Every consolidation that refuses on a mixed lane has a recovery that can
succeed: supersede through a surviving WP (FAIL), or verify by hand and attest
(attribution evidence).&lt;/li&gt;
&lt;li&gt;Attestation shifts responsibility to the operator. The record is durable and
auditable in the event log, and it is voided by any later governed transition
of the WP.&lt;/li&gt;
&lt;li&gt;The attestation is a forced self-transition, so it raises the WP’s
&lt;code dir=&quot;auto&quot;&gt;force_count&lt;/code&gt; and publishes one Team Kitty moment. The snapshot’s cancellation
reason becomes the attestation text; the history keeps the original cancel.&lt;/li&gt;
&lt;li&gt;Fixtures that plant a WP’s commits must place them inside that WP’s stamped
window (the terminus builder was corrected accordingly).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;alternatives-considered&quot;&gt;Alternatives Considered&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Keep commits outside every window as a documented residual.&lt;/strong&gt; Rejected by the
operator (decision &lt;code dir=&quot;auto&quot;&gt;01M3NR7XAJGSJCK5YP937KT91H&lt;/code&gt;): unapproved content would keep
shipping at exit 0 on exactly the lanes this mission set out to protect.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Attested window bounds&lt;/strong&gt; (the operator supplies the missing stamps).
Rejected in favour of the override (decision &lt;code dir=&quot;auto&quot;&gt;01M3NR7QRXJBZXQR1B91XKY3JQ&lt;/code&gt;):
hand-entered SHAs are easy to get wrong, and a wrong bound silently changes
which content is attributed, whereas an attestation states plainly what the
operator checked.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ship the refusal without an escape hatch&lt;/strong&gt; and file it. Rejected: a permanent
REFUSE on legacy, straddling or late-cancel lanes blocks the mission forever.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;references&quot;&gt;References&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/spec-kitty/spec-kitty/issues/5046&quot;&gt;#5046&lt;/a&gt; — canceled work on a mixed lane shipped silently&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/spec-kitty/spec-kitty/issues/5330&quot;&gt;#5330&lt;/a&gt;, &lt;a href=&quot;https://github.com/spec-kitty/spec-kitty/issues/5329&quot;&gt;#5329&lt;/a&gt; — follow-up issues&lt;/li&gt;
&lt;li&gt;Mission &lt;code dir=&quot;auto&quot;&gt;mixed-lane-authorship-soundness-01M3M7Y0&lt;/code&gt; — spec.md FR-011..FR-013&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/architecture/status-model/&quot;&gt;&lt;code dir=&quot;auto&quot;&gt;docs/architecture/status-model.md&lt;/code&gt;&lt;/a&gt; — verdict table&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;amendment-2026-10-03--fully-canceled-dependency-lanes-5569&quot;&gt;Amendment 2026-10-03 — fully-canceled dependency lanes (#5569)&lt;/h2&gt;
&lt;p&gt;The residual “a fully-canceled dependency lane’s content” is closed. The lane
allocator fast-forwards a dependency lane into its dependent lane, so the
canceled lane’s commits sit on the dependent lane’s first-parent spine. They are
now subtracted from the dependency-tip exemption (&lt;code dir=&quot;auto&quot;&gt;never_exempt&lt;/code&gt;). A
fully-canceled dependency lane whose branch is deleted or unreadable REFUSEs at
claim time, because its commits can no longer be enumerated; a canceled lane
that no other lane depends on stays tolerated. The remaining strict-&lt;code dir=&quot;auto&quot;&gt;xfail&lt;/code&gt;
residuals drop from five to four.&lt;/p&gt;
&lt;h2 id=&quot;follow-up-2026-10-04--superseded-exemption-unstamped-refuse-and-a-stable-code-5613&quot;&gt;Follow-up 2026-10-04 — superseded exemption, unstamped REFUSE and a stable code (#5613)&lt;/h2&gt;
&lt;p&gt;The 2026-10-03 amendment subtracted every commit of a fully-canceled dependency
lane from the approved claim. Three refinements, none of which runs for a
mission where no approved lane carries such a commit
(&lt;code dir=&quot;auto&quot;&gt;reconciliation._resolve_canceled_dependency_lanes&lt;/code&gt;):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Superseded exemption.&lt;/strong&gt; A canceled commit stays in the claim when, on every
approved lane that carries it (a &lt;em&gt;carrier&lt;/em&gt; lane), a newer, non-canceled,
non-merge commit touched each of its content paths again
(&lt;code dir=&quot;auto&quot;&gt;wp_attribution.canceled_spine_content&lt;/code&gt;). Nothing of such a commit is the
lane’s final state, so nothing of it ships. This removes an over-refusal under
&lt;code dir=&quot;auto&quot;&gt;--strategy merge&lt;/code&gt;. A carrier whose spine cannot be read supersedes nothing
(and, since #6313, REFUSEs; see Follow-up 2026-10-27).
Supersession is per path, as on a mixed lane: an approved WP that touches a
canceled WP’s file supersedes the whole path.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Unstamped REFUSE and its attestation lift.&lt;/strong&gt; A canceled dependency WP with a
closed work window that carries no &lt;code dir=&quot;auto&quot;&gt;lane_head&lt;/code&gt; stamp has no attribution
evidence. The claim REFUSEs before any mutation and names the override. This
covers a mission created before the stamps and a modern mission whose
best-effort stamp capture failed. &lt;code dir=&quot;auto&quot;&gt;--attest-canceled-superseded &amp;#x3C;WP&gt;&lt;/code&gt; lifts
this refusal only, per attested WP, and only while
&lt;code dir=&quot;auto&quot;&gt;canceled_attestation.OVERRIDABLE_REASONS&lt;/code&gt; lists &lt;code dir=&quot;auto&quot;&gt;no_stamp&lt;/code&gt;. The attestation
takes no commit out of the subtracted set. An unreadable event log still
REFUSEs and is not overridable.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Stable code.&lt;/strong&gt; Content of the canceled lane that is still live on a carrier
lane and present on the target (and that the pre-consolidation target did not
already hold) FAILs with &lt;code dir=&quot;auto&quot;&gt;CANCELED_REACHABLE_VIA_DEPENDENCY&lt;/code&gt;
(&lt;code dir=&quot;auto&quot;&gt;Divergence.canceled_reachable_via_dependency&lt;/code&gt;). The clause names the canceled
WPs, the canceled lane, the carrier lane and the path, and is rendered
alongside the strategy axis’s own clause.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The FAIL is never attest-liftable.&lt;/strong&gt; It is computed over all of the canceled
lane’s own commits, attested or not, for a stamped and for an unstamped WP
alike. The decision above stands: an attestation covers attribution evidence,
never content that would ship.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The count of strict-&lt;code dir=&quot;auto&quot;&gt;xfail&lt;/code&gt; residuals stays at four.&lt;/p&gt;
&lt;h2 id=&quot;follow-up-2026-10-05-every-code-lane-is-now-bounded-by-its-approval-stamp-5668&quot;&gt;Follow-up 2026-10-05: every code lane is now bounded by its approval stamp (#5668)&lt;/h2&gt;
&lt;p&gt;Decision 1 above says the closed-world check “applies only to mixed lanes; lanes
that are not mixed are unchanged”. That sentence describes the closed-world check
and stays true of it. It no longer implies that a lane that is not mixed needs no
bound. ADR &lt;a href=&quot;/adr/4.x/2026-10-04-5-approval-stamp-bounds-the-approved-claim/&quot;&gt;2026-10-04-5&lt;/a&gt;
bounds every code lane that has an approved work package by that work package’s
approval stamp, and refuses a commit made after it with
&lt;code dir=&quot;auto&quot;&gt;LANE_MOVED_AFTER_APPROVAL&lt;/code&gt;. On a mixed lane the refusals decided here keep their
precedence, codes and texts, and the new check also runs when one of them fires: it is then evaluated and printed in the same message. The
decisions above are unchanged.&lt;/p&gt;
&lt;h2 id=&quot;amendment-2026-10-05-the-attestation-does-not-cover-a-commit-of-the-approval-stamp-bound-5720&quot;&gt;Amendment 2026-10-05: the attestation does not cover a commit of the approval-stamp bound (#5720)&lt;/h2&gt;
&lt;p&gt;FR-012 stands as decided: an &lt;code dir=&quot;auto&quot;&gt;--attest-canceled-superseded&lt;/code&gt; attestation’s own
&lt;code dir=&quot;auto&quot;&gt;lane_head&lt;/code&gt; stamp is a closed-world anchor, so lane commits up to it are exempt
from the closed-world refusal and a later straggler is still refused. The
attestation says that a canceled work package’s content is absent or
superseded. It does not say that anyone reviewed the other commits on the lane.&lt;/p&gt;
&lt;p&gt;ADR &lt;a href=&quot;/adr/4.x/2026-10-04-5-approval-stamp-bounds-the-approved-claim/&quot;&gt;2026-10-04-5&lt;/a&gt;
bounds every code lane by its approved work packages’ approval stamps. Its first
version read the attestation’s stamp as a covered point of that bound too, so an
attestation let a commit made after an approved work package’s approval land
with exit 0, and so did any other later event of the canceled work package. The
owner ruled on &lt;a href=&quot;https://github.com/spec-kitty/spec-kitty/issues/5720&quot;&gt;#5720&lt;/a&gt;
that the bound wins, and that it exempts nothing. On a lane that also holds a
canceled work package, nothing covers a commit for that bound: no commit the
canceled-work attribution of this ADR assigns to the canceled work package, no
status move of it, no attestation. Three narrower rules that left the canceled
work package’s own commits out of the bound each let a commit land unreviewed
(ADR 2026-10-04-5, “Mixed lanes”). A commit made after an approved work
package’s approval needs that work package approved again, with or without the
attestation, whoever made it. The canceled-content checks of this ADR then judge
the lane the reviewer saw, and still fail the run when canceled work would ship.&lt;/p&gt;
&lt;p&gt;Both refusals can apply to the same lane. The claim then names both in its first
message (ADR 2026-10-04-5, “Operator guidance”), and the operator does both: the
attestation lifts the closed-world refusal, and approving the work package again
lifts the bound. Neither lifts the other, and the order does not matter. The
decisions above are otherwise unchanged.&lt;/p&gt;
&lt;h2 id=&quot;follow-up-2026-10-16-a-canceled-dependency-lane-that-never-started-5937&quot;&gt;Follow-up 2026-10-16: a canceled dependency lane that never started (#5937)&lt;/h2&gt;
&lt;p&gt;The 2026-10-03 amendment REFUSEs a fully-canceled dependency lane whose branch
is deleted or unreadable. One exception: a missing branch is tolerated when the
status event log proves the lane never started, that is, every work package of
the lane was canceled from &lt;code dir=&quot;auto&quot;&gt;planned&lt;/code&gt; or &lt;code dir=&quot;auto&quot;&gt;blocked&lt;/code&gt; and none ever moved into any
other lane than &lt;code dir=&quot;auto&quot;&gt;planned&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;blocked&lt;/code&gt; or &lt;code dir=&quot;auto&quot;&gt;canceled&lt;/code&gt;
(&lt;code dir=&quot;auto&quot;&gt;wp_attribution.lane_never_started&lt;/code&gt;). Such a lane never had a branch, so none
of its commits can be on a dependent lane’s spine. An unreadable or incomplete
event log, a lane-tip ref still recorded for the branch, and an existing branch
whose range cannot be read keep refusing. The decisions above are otherwise
unchanged.&lt;/p&gt;
&lt;h2 id=&quot;amendment-2026-10-22-canceled-content-is-judged-line-by-line-6309&quot;&gt;Amendment 2026-10-22: canceled content is judged line by line (#6309)&lt;/h2&gt;
&lt;p&gt;Both canceled-content checks (the mixed-lane check and the canceled-dependency
check) ask the same question: does a canceled commit’s change still live in the
lane’s final state for a path that a surviving commit touched later? #5932
answered it with an all-lines test. The change counted as gone unless every line
the canceled commit added was still present. That left three ways for rejected
work to ship at exit 0:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a surviving commit that kept two of three canceled lines laundered the two;&lt;/li&gt;
&lt;li&gt;a canceled deletion (it added nothing) read as gone whenever a surviving commit
touched the file;&lt;/li&gt;
&lt;li&gt;a surviving commit that renamed the file left the canceled content at a path
nothing checked.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The operator ruled on #6309 as follows.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;A kept line is canceled content.&lt;/strong&gt; A non-blank line that &lt;code dir=&quot;auto&quot;&gt;git blame&lt;/code&gt;
still attributes to a canceled commit means the change survives, and the gate
FAILs. This applies even when a surviving commit rewrote the rest of the hunk,
including when the only kept line is a signature such as &lt;code dir=&quot;auto&quot;&gt;def wp01() -&gt; int:&lt;/code&gt;.
No line rule can tell such a signature from the two kept lines of #6309,
because blame attributes both the same way. Blank, whitespace-only and
punctuation-only lines (&lt;code dir=&quot;auto&quot;&gt;}&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;),&lt;/code&gt;) are ignored, so a full rewrite that happens
to keep one of them is not flagged. Blame runs with &lt;code dir=&quot;auto&quot;&gt;-w&lt;/code&gt;, so re-indenting or
converting to CRLF keeps the line’s author. It runs with &lt;code dir=&quot;auto&quot;&gt;-M&lt;/code&gt;, so moving a
longer line inside the file keeps it too. A line that a surviving commit
removed and later re-added belongs to that commit. The #5932 all-lines test
remains a second way to flag a change as surviving, so nothing it caught is
lost.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;A deletion stays in effect unless it is undone or reworked.&lt;/strong&gt; The deletion
is placed in the final state by the nearest lines around it that survive. A
&lt;code dir=&quot;auto&quot;&gt;--reverse&lt;/code&gt; blame finds those lines. The deletion is over in two cases:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;its lines are back in that spot;&lt;/li&gt;
&lt;li&gt;a surviving commit rewrote the spot, so the spot holds non-blank lines and
no canceled commit wrote any of them. For example, a canceled change from
&lt;code dir=&quot;auto&quot;&gt;value = 1&lt;/code&gt; to &lt;code dir=&quot;auto&quot;&gt;value = 2&lt;/code&gt;, followed by an approved change to
&lt;code dir=&quot;auto&quot;&gt;value = 3&lt;/code&gt;, is approved work.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Only lines written after the canceled commit count as being in the spot.
An original line that survives untouched is never rework, even when moving
a neighbouring line stretches the spot over it.&lt;/p&gt;
&lt;p&gt;An empty spot keeps the deletion in effect. This covers the case raised in
the #6310 review: a canceled WP removes an auth check, an approved WP appends
elsewhere, and the gate now FAILs. Adding the same line somewhere else does
not undo the deletion.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;A rename is followed.&lt;/strong&gt; When the path is gone from the final state, a
rename of it is found with no rename limit (&lt;code dir=&quot;auto&quot;&gt;diff.renameLimit=0&lt;/code&gt;). The
content is then judged at the new path. &lt;code dir=&quot;auto&quot;&gt;CanceledPathState.path&lt;/code&gt; and
&lt;code dir=&quot;auto&quot;&gt;CanceledDependencyContent.path&lt;/code&gt; name the new path, which is where the
target is compared and what the verdict prints. The old path is carried as
&lt;code dir=&quot;auto&quot;&gt;renamed_from&lt;/code&gt;, and the verdict shows it as “(renamed from ’…’)”. A path
renamed to more than one target REFUSEs, because which copy carries the
content is ambiguous.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Fail-closed and bounded.&lt;/strong&gt; Any git error or unparseable output raises
&lt;code dir=&quot;auto&quot;&gt;GitProbeError&lt;/code&gt;, which the callers already map onto REFUSE. Blame is limited to
history after the oldest canceled commit. Each walk makes one forward blame per
path, however many canceled commits touched it. One reverse blame and one diff
are added per canceled commit that removed lines that are not blank. The
rename lookup diffs the range from the newest canceled commit to the lane tip
with no rename limit, so its cost grows with the files added and deleted in that
range. It runs only when the path is gone from the final state. The blame
and diff reads live in &lt;code dir=&quot;auto&quot;&gt;kernel.git.blame&lt;/code&gt;, which pins &lt;code dir=&quot;auto&quot;&gt;diff.algorithm=myers&lt;/code&gt; and
turns off textconv and external diff drivers. The attribution rules live in
&lt;code dir=&quot;auto&quot;&gt;specify_cli.consolidation.line_attribution&lt;/code&gt;, which replaces
&lt;code dir=&quot;auto&quot;&gt;git_probes.canceled_content_survives&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Verdicts that change.&lt;/strong&gt;&lt;/p&gt;























































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Case&lt;/th&gt;&lt;th&gt;Before&lt;/th&gt;&lt;th&gt;After&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;A survivor keeps some canceled lines and drops others (former residual 8)&lt;/td&gt;&lt;td&gt;PASS&lt;/td&gt;&lt;td&gt;FAIL&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;A survivor rewrites a canceled file but keeps a non-blank canceled line, such as a signature&lt;/td&gt;&lt;td&gt;PASS&lt;/td&gt;&lt;td&gt;FAIL&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;A survivor re-indents canceled lines or converts them to CRLF&lt;/td&gt;&lt;td&gt;PASS&lt;/td&gt;&lt;td&gt;FAIL&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;A canceled deletion stays in effect under a later approved edit&lt;/td&gt;&lt;td&gt;PASS&lt;/td&gt;&lt;td&gt;FAIL&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;A canceled deletion’s line is re-added elsewhere&lt;/td&gt;&lt;td&gt;PASS&lt;/td&gt;&lt;td&gt;FAIL&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;A survivor renames the canceled path and keeps the content&lt;/td&gt;&lt;td&gt;PASS&lt;/td&gt;&lt;td&gt;FAIL, naming the new path&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;A survivor rewrites the canceled change itself (&lt;code dir=&quot;auto&quot;&gt;1 → 2 → 3&lt;/code&gt;)&lt;/td&gt;&lt;td&gt;PASS&lt;/td&gt;&lt;td&gt;PASS&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;A full rewrite that shares only blank or punctuation lines&lt;/td&gt;&lt;td&gt;PASS&lt;/td&gt;&lt;td&gt;PASS&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;A survivor reverts the canceled commit, or removes and re-adds lines itself&lt;/td&gt;&lt;td&gt;PASS&lt;/td&gt;&lt;td&gt;PASS&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;The dependency-lane fixture whose approved WP “overwrote” WP01’s file kept
WP01’s signature line. Under this ruling that line is canceled content, so the
fixture now rewrites both lines. The test it supports still checks that a
superseded canceled commit stays in the carrier’s authorship without its blob.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Residuals (strict &lt;code dir=&quot;auto&quot;&gt;xfail&lt;/code&gt;).&lt;/strong&gt; Two are pinned in
&lt;code dir=&quot;auto&quot;&gt;tests/consolidation/test_canceled_line_attribution_6309.py&lt;/code&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;approved lines inserted exactly where a canceled deletion was count as
reworking that spot, so the deletion reads as superseded;&lt;/li&gt;
&lt;li&gt;canceled content that a surviving commit copied into another file is not
followed.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Two more are documented here without a pin:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a short line (below git’s &lt;code dir=&quot;auto&quot;&gt;-M&lt;/code&gt; threshold) moved within the file is followed
only by the all-lines test, that is, only when every canceled line survives;&lt;/li&gt;
&lt;li&gt;a rename whose old path is then re-created is judged at the re-created path.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Content resolved inside a merge commit stays the existing residual. The
decisions above are otherwise unchanged.&lt;/p&gt;
&lt;h2 id=&quot;follow-up-2026-10-27-an-unreadable-carrier-spine-refuses-6313&quot;&gt;Follow-up 2026-10-27: an unreadable carrier spine REFUSEs (#6313)&lt;/h2&gt;
&lt;p&gt;The 2026-10-04 follow-up let a &lt;code dir=&quot;auto&quot;&gt;GitProbeError&lt;/code&gt; on a carrier lane’s spine
(&lt;code dir=&quot;auto&quot;&gt;wp_attribution.canceled_spine_content&lt;/code&gt;) subtract the carried canceled commits
and record no content. That was not the stricter verdict. The canceled lines
stay in the carrier’s authored blobs, so the squash blob-attribution axis passed
and canceled content could ship at exit 0. It also contradicted this record’s
own rule that the callers map &lt;code dir=&quot;auto&quot;&gt;GitProbeError&lt;/code&gt; onto REFUSE.&lt;/p&gt;
&lt;p&gt;&lt;code dir=&quot;auto&quot;&gt;reconciliation._carried_dependency_content&lt;/code&gt; now REFUSEs before any mutation
with reason &lt;code dir=&quot;auto&quot;&gt;spine_unreadable&lt;/code&gt;, the same reason a mixed lane uses for an
unreadable spine. The refusal names every canceled WP of every fully-canceled
lane an unreadable carrier holds, once each, with the unreadable carriers that
hold it. The recovery names the carrier: repair its branch, or, when the error
reports a path renamed to more than one path (a deterministic &lt;code dir=&quot;auto&quot;&gt;GitProbeError&lt;/code&gt;
from line attribution), keep only one of those renames on the carrier, then
re-run. &lt;code dir=&quot;auto&quot;&gt;canceled_attestation.OVERRIDABLE_REASONS&lt;/code&gt; still omits
&lt;code dir=&quot;auto&quot;&gt;spine_unreadable&lt;/code&gt; (operator ruling of 2026-10-27, recorded on #6313), so
&lt;code dir=&quot;auto&quot;&gt;--attest-canceled-superseded&lt;/code&gt; does not lift it. The rule is the same on both
axes.&lt;/p&gt;
&lt;p&gt;Residuals: &lt;code dir=&quot;auto&quot;&gt;_lane_first_parent_spine&lt;/code&gt; and &lt;code dir=&quot;auto&quot;&gt;_lane_tip_commits&lt;/code&gt; still read an
unreadable lane as empty. An approved lane whose spine read fails that way is
not seen as a carrier, so this refusal does not fire for it. Its authored set is
then empty, so the blob-attribution axis is expected to fail it rather than pass
it (not pinned by a test). The mixed-lane recovery for &lt;code dir=&quot;auto&quot;&gt;spine_unreadable&lt;/code&gt; does
not name the ambiguous-rename fix either.&lt;/p&gt;
&lt;h2 id=&quot;amendment-2026-10-31-an-operator-declared-dependency-ref-is-inherited-history-6771&quot;&gt;Amendment 2026-10-31: an operator-declared dependency ref is inherited history (#6771)&lt;/h2&gt;
&lt;p&gt;A lane that merges an external dependency branch’s newer head (&lt;code dir=&quot;auto&quot;&gt;git merge --no-ff &amp;#x3C;dep&gt;&lt;/code&gt;,
reviewed on the merged tree) brings that branch’s commits into the closed-world window. No
work package’s window owns them, so the landing was refused as &lt;code dir=&quot;auto&quot;&gt;un-attributable&lt;/code&gt;, and
&lt;code dir=&quot;auto&quot;&gt;--dry-run&lt;/code&gt; previewed green. Structure cannot tell that merge from a removed work package
riding a carrier lane (#4945), so the operator declares the ref:
&lt;code dir=&quot;auto&quot;&gt;spec-kitty consolidate --dependency-ref &amp;#x3C;ref&gt;&lt;/code&gt; (repeatable, CLI only).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Meaning.&lt;/strong&gt; The declared ref’s commits in the window (&lt;code dir=&quot;auto&quot;&gt;window_base..ref&lt;/code&gt;) are inherited
history, never attributed to a work package. They join the content that predates the
window on the closed-world axis and on the squash blob and deletion axes, which read the
same final per-path state the lane authorship uses. An undeclared restack still refuses.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Verification, before any branch moves (&lt;code dir=&quot;auto&quot;&gt;reconciliation.resolve_external_dependency_refs&lt;/code&gt;).&lt;/strong&gt;
Each ref must resolve and be reachable from the mission branch or a lane branch. It is
refused when it is named inside the Mission’s own branch namespace, when its window holds a
commit on a lane’s or the mission branch’s first-parent spine, when its window holds a
&lt;code dir=&quot;auto&quot;&gt;lane_head&lt;/code&gt; stamp ANY work package recorded in the status log (canceled and removed ones
included), or when its window holds the recorded work tip of a Mission lane branch
(&lt;code dir=&quot;auto&quot;&gt;refs/spec-kitty/lane-tip/*&lt;/code&gt;). The last three make the guard independent of the CURRENT
&lt;code dir=&quot;auto&quot;&gt;lanes.json&lt;/code&gt;: a removed work package’s lane branch is deleted and unlisted, which is
exactly the shape that would otherwise exempt it. A lane branch that exists but whose spine
cannot be read refuses. A guard failure exempts nothing.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Pinned at claim.&lt;/strong&gt; The first claim build resolves each ref to a SHA and records
&lt;code dir=&quot;auto&quot;&gt;ConsolidationState.dependency_ref_pins&lt;/code&gt;. The gate and a &lt;code dir=&quot;auto&quot;&gt;--resume&lt;/code&gt; verify that commit; a
name that now resolves elsewhere refuses naming both SHAs (&lt;code dir=&quot;auto&quot;&gt;DEPENDENCY_REF_MOVED&lt;/code&gt;), and a
deleted name does not unpin a commit that still exists. A record written before pins
existed holds names only and is pinned on first use. A &lt;code dir=&quot;auto&quot;&gt;--resume&lt;/code&gt; that restates a
different set refuses (&lt;code dir=&quot;auto&quot;&gt;DEPENDENCY_REF_SET_CHANGED&lt;/code&gt;): the record is the audit trail.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Not read by other axes.&lt;/strong&gt; The approved bound (#5668) and the canceled-content axes do not
read the declaration: a dependency merged into a lane after review approved it still
refuses &lt;code dir=&quot;auto&quot;&gt;LANE_MOVED_AFTER_APPROVAL&lt;/code&gt;, and canceled content is still judged line by line.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CLI only.&lt;/strong&gt; &lt;code dir=&quot;auto&quot;&gt;orchestrator-api consolidate-mission&lt;/code&gt; has no way to declare a ref, so an
undeclared restack fails closed there.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code dir=&quot;auto&quot;&gt;--dry-run&lt;/code&gt;&lt;/strong&gt; now builds the full claim and runs the closed-world scan over the refs the
landing would introduce, so it reports claim-time refusals (a mis-declared ref, an
unevaluable claim) instead of previewing green. It unions the recorded declaration with
the command line, as a re-run would.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Residual.&lt;/strong&gt; The guard detects Mission work only through what the Mission left behind.
A raw-SHA declaration skips the namespace-name guard, because a SHA carries no branch name.
A removed work package that left no &lt;code dir=&quot;auto&quot;&gt;lane_head&lt;/code&gt; stamp, no lane-tip ref and no namespaced
branch cannot be detected: the operator’s declaration is then the only authority.
Recorded stamps and lane tips are matched against the first-parent history back to the
window base, so a lane merged at an earlier commit than its later stamped tip is caught.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;amendment-2026-11-07-a-lanes-own-dependency-merges-are-its-work-7307&quot;&gt;Amendment 2026-11-07: a lane’s own dependency merges are its work (#7307)&lt;/h2&gt;
&lt;p&gt;The implement allocator merges each declared dependency lane into a dependent lane before
that lane’s first claim (&lt;code dir=&quot;auto&quot;&gt;Merge dependency lane X into Y&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;lanes/worktree_allocator.py&lt;/code&gt;).
Two rules of the closed-world scan (&lt;code dir=&quot;auto&quot;&gt;MergeOutcomeVerifier._unattributable_in&lt;/code&gt;) then read that
merge as content that belongs to no approved work package: the #5968 own-base bound drops it
from the lane’s authorship because it precedes the first claim stamp, and a merge was skipped
only when its default &lt;code dir=&quot;auto&quot;&gt;git show&lt;/code&gt; (&lt;code dir=&quot;auto&quot;&gt;--cc&lt;/code&gt;) patch-id was empty, which is false for a clean merge
whose parents both touched one region.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;A merge is judged by what it adds beyond its parents.&lt;/strong&gt; &lt;code dir=&quot;auto&quot;&gt;git_probes.merge_own_changed_paths&lt;/code&gt;
runs &lt;code dir=&quot;auto&quot;&gt;git show --remerge-diff --name-only&lt;/code&gt;: the paths where the recorded merge differs from
git’s own re-merge of its parents. No such path, or only bookkeeping paths, means the merge
carries no content of its own, and its parents’ commits are judged on their own. A
resolution is content, also one that kept one side (an empty &lt;code dir=&quot;auto&quot;&gt;--cc&lt;/code&gt; diff, which the old skip
let through).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A lane’s own reviewed dependency merge is attributed to that lane.&lt;/strong&gt; A first-parent spine
commit of an approved lane whose every non-first parent is reachable from a declared
dependency lane (&lt;code dir=&quot;auto&quot;&gt;depends_on_lanes&lt;/code&gt;) that is not fully canceled is added to the authorship by
SHA (&lt;code dir=&quot;auto&quot;&gt;wp_attribution.lane_dependency_merges&lt;/code&gt;), past the own-base bound, but only when an
approval stamp of one of the lane’s approved work packages reaches it: it was in a reviewed
tip. Only the SHA: its blobs stay the dependency’s, so the #5968 squash bound is unchanged.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A merge after the approval is not reviewed work (closed in review).&lt;/strong&gt; The approved bound
(#5668) skips merge commits, so a dependency merge made after the approval, with content
folded in, would have shipped unreviewed under the SHA exemption. Every merge on an approved
code lane’s spine that no approval stamp reaches is left out of that lane’s authorship
(&lt;code dir=&quot;auto&quot;&gt;reconciliation._drop_unreviewed_merges&lt;/code&gt;), for the SHA, patch-id and blob axes alike. The
verifier then judges it by its remerge-diff: a clean one carries nothing, one with its own
content FAILs, under merge, rebase and squash. A canceled WP’s stamp never counts.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Still refused.&lt;/strong&gt; A merge with a resolution of its own that is not a lane’s own dependency
merge, and any foreign commit, stay un-attributable and FAIL.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fail-closed.&lt;/strong&gt; &lt;code dir=&quot;auto&quot;&gt;--remerge-diff&lt;/code&gt; needs git 2.36 or newer. An older or unreadable git, or a
&lt;code dir=&quot;auto&quot;&gt;git show&lt;/code&gt; error, raises &lt;code dir=&quot;auto&quot;&gt;GitProbeError&lt;/code&gt; and the gate REFUSEs, as the squash axis does on git
older than 2.38.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Unchanged.&lt;/strong&gt; The approved bound (#5668) already drops merge commits; the mixed-lane work
windows already skip merges; the canceled-content axes are not touched.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;amendment-2026-11-08-work-package-windows-are-recorded-at-the-opening-transition-7403&quot;&gt;Amendment 2026-11-08: work-package windows are recorded at the opening transition (#7403)&lt;/h2&gt;
&lt;p&gt;Work-package windows are recorded at the opening transition, and on &lt;code dir=&quot;auto&quot;&gt;--resume&lt;/code&gt; one frozen
claim-time anchor set feeds the closed-world anchors; see
&lt;code dir=&quot;auto&quot;&gt;2026-11-08-2-work-package-windows-are-recorded-at-the-opening-transition&lt;/code&gt;. The lane anchor
(&lt;code dir=&quot;auto&quot;&gt;first_governed_open_stamp&lt;/code&gt;, where &lt;code dir=&quot;auto&quot;&gt;blocked&lt;/code&gt; counts as an opener) stays as a named window
variant there, so no closed-world verdict changes through the window model itself.&lt;/p&gt;
&lt;h2 id=&quot;amendment-2026-11-12-history-from-before-the-mission-is-not-mission-work-7560&quot;&gt;Amendment 2026-11-12: history from before the Mission is not Mission work (#7560)&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Context.&lt;/strong&gt; Every reconciliation window starts at the window base, the target’s tip before
the run. On a fork, the local target can lack the commit the Mission branch was cut from: the
Mission started from an upstream pin plus a fork overlay, or from a &lt;code dir=&quot;auto&quot;&gt;--pr-bound&lt;/code&gt; start branch
the target never received. The history between the target and that commit then sat inside
every window. In the first report, a lane merged an upstream commit &lt;code dir=&quot;auto&quot;&gt;U&lt;/code&gt;; &lt;code dir=&quot;auto&quot;&gt;consolidate --strategy merge --dependency-ref U&lt;/code&gt; refused with &lt;code dir=&quot;auto&quot;&gt;DEPENDENCY_REF_COVERS_MISSION_WORK&lt;/code&gt;, because the
missing upstream history sat on the Mission branch’s first-parent spine. In the second report,
no lane merged anything: a plain run reported that history as un-attributable content and
deletions, and a declared run named the Mission base’s own parent as Mission work.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Decision.&lt;/strong&gt; History from before the Mission was created is not Mission work, on every
window axis (operator rulings, Decision Moments &lt;code dir=&quot;auto&quot;&gt;01M78XBQS8NE8PPMSTZHMDJ610&lt;/code&gt;,
&lt;code dir=&quot;auto&quot;&gt;01M78XBWYTWJ6TZJVF4GWQMCQF&lt;/code&gt; and &lt;code dir=&quot;auto&quot;&gt;01M78XC2CJVH9ZXR0WB92NWYG5&lt;/code&gt;).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The Mission base&lt;/strong&gt; is the commit the Mission branch was cut from
(&lt;code dir=&quot;auto&quot;&gt;consolidation/mission_base.py::resolve_mission_base&lt;/code&gt;). It is not the claim base and not a
lane creation base. It is resolved in a fixed order:
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Recorded.&lt;/strong&gt; &lt;code dir=&quot;auto&quot;&gt;meta.json&lt;/code&gt; &lt;code dir=&quot;auto&quot;&gt;mission_base_sha&lt;/code&gt;, written once where the Mission branch is
created: the topic or protected mint, and the coordination-branch create (a reused
coordination branch records nothing). It is used only when it is a full lowercase object
id (40 or 64 hex characters) equal to what &lt;code dir=&quot;auto&quot;&gt;rev-parse --verify &amp;#x3C;value&gt;^{commit}&lt;/code&gt; prints,
so a branch name, &lt;code dir=&quot;auto&quot;&gt;HEAD&lt;/code&gt;, a short sha or a tag object is never a recorded base; when it
names a commit in this clone that is an ancestor of, or equal to, the Mission’s &lt;em&gt;origin&lt;/em&gt;
(the first parent of the commit the derivation below finds), so neither a Mission commit
nor a side branch merged into the Mission branch after it started qualifies, and without
an origin the value is not used; and
when the Mission directory is not reachable from it (&lt;code dir=&quot;auto&quot;&gt;git log -1 --full-history &amp;#x3C;base&gt; -- kitty-specs/&amp;#x3C;slug&gt;/&lt;/code&gt; is empty), because a base the Mission directory is reachable from
sits at or above the Mission’s start. A value that fails a check is ignored, with its
reason, and the derivation runs. Beyond those checks the value is trusted as tool-written.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Derived&lt;/strong&gt;, for a Mission without a usable recorded value: the first parent of the
earliest commit on the Mission branch’s first-parent history that adds a file under
&lt;code dir=&quot;auto&quot;&gt;kitty-specs/&amp;#x3C;slug&gt;/&lt;/code&gt;, checked the same way (on the branch, Mission directory not
reachable). When that commit brought the directory in by
a rename git detects (&lt;code dir=&quot;auto&quot;&gt;git mv kitty-specs/&amp;#x3C;old&gt; kitty-specs/&amp;#x3C;slug&gt;&lt;/code&gt;), its parent can sit
above work done under the old name, so the base is unavailable instead.
A derived base is reported (note line, provenance) but exempts nothing: it is the first
parent of the first scaffold commit, not the cut point, so a code commit made on the Mission
branch before the scaffold sits in &lt;code dir=&quot;auto&quot;&gt;window_base..base&lt;/code&gt; and topology cannot tell it from
fork history. Exempting it would pass Mission-authored content as pre-Mission (fail-open).
A Mission created before the base was recorded opts in by recording &lt;code dir=&quot;auto&quot;&gt;mission_base_sha&lt;/code&gt; in
its &lt;code dir=&quot;auto&quot;&gt;meta.json&lt;/code&gt; (validated like any recorded base).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Unavailable.&lt;/strong&gt; No base, and today’s bound applies: the window base alone. A git probe
failure lands here too; a base is never guessed.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Pre-Mission history&lt;/strong&gt; is &lt;code dir=&quot;auto&quot;&gt;rev-list window_base..mission_base&lt;/code&gt; for a &lt;strong&gt;recorded&lt;/strong&gt; base
(empty for a derived or unavailable one). It is empty whenever the
target already reaches the Mission base, which is the ordinary case, so every existing
verdict is unchanged there. A range that holds a &lt;code dir=&quot;auto&quot;&gt;lane_head&lt;/code&gt; stamp any work package of the
Mission recorded, or a recorded lane work tip in the Mission’s branch namespace, holds
Mission work: the base sits above the Mission’s start, so the whole range is dropped and the
base is unavailable (an unreadable status log or lane-tip listing does the same).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Where it counts.&lt;/strong&gt; Pre-Mission history has the standing of content already on the target:
&lt;ul&gt;
&lt;li&gt;the closed-world scan (fresh run, gate and &lt;code dir=&quot;auto&quot;&gt;--dry-run&lt;/code&gt;) exempts its commits by exact SHA,
and so does the patch-id window of the excluded-commit check (a canceled work package’s
commit reaching the target under a new SHA): a pre-Mission commit’s patch-id no longer
counts there;&lt;/li&gt;
&lt;li&gt;the squash blob and deletion axes exempt its exact final &lt;code dir=&quot;auto&quot;&gt;(path, blob)&lt;/code&gt; pairs and the
paths it last deleted, for the paths the pre-Mission range touched, read from the Mission base’s own tree;&lt;/li&gt;
&lt;li&gt;the #6771 declaration guard leaves its commits out of the Mission-spine walk and the
recorded-tip walk, so a fork’s pin can be declared.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Unchanged.&lt;/strong&gt; A declared ref’s own window stays &lt;code dir=&quot;auto&quot;&gt;window_base..ref&lt;/code&gt;; it is not cut at the
Mission base. The approved bound (#5668) and the mixed-lane canceled-content axes (per-path
state and line attribution, #6309) do not read the Mission base. Everything the Mission
authored or carried after its base (commits on the Mission branch, lane spines,
&lt;code dir=&quot;auto&quot;&gt;lane_head&lt;/code&gt; stamps, recorded lane tips) refuses exactly as before. No refusal code is added
or changed. The protected single_branch authorship window
(&lt;code dir=&quot;auto&quot;&gt;lanes/single_branch_landing.py::authorship_window&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;merge-base(target, mission_branch)&lt;/code&gt;) is
a second, older Mission-start resolver and is left as it is: it only widens which first-parent
commits count as the lane’s own authorship (a fork’s pre-Mission history can read as lane
authorship there, never as exempt content), it takes no &lt;code dir=&quot;auto&quot;&gt;meta.json&lt;/code&gt;, and the mint records the
target’s tip as the base, which is that merge-base unless the target has moved on since. A
known residual, not a second exemption; routing it through &lt;code dir=&quot;auto&quot;&gt;resolve_mission_base&lt;/code&gt; is follow-up
work.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resolved per claim build.&lt;/strong&gt; The base is resolved each time the claim is built (the claim
and the gate’s rebuild), with no new consolidation record field. It is not frozen with the
claim-time anchors because each input is stable for the run: the recorded value is write-once
in &lt;code dir=&quot;auto&quot;&gt;meta.json&lt;/code&gt;, and its validation reads the Mission branch’s first-parent history at and
below the scaffold commit, which a consolidation (it only adds commits above the lanes’ work)
and a rollback (it restores to a recorded tip) leave as they are. The range is anchored to the
window base, which the record persists. In the recorded case one
resolution and its range cost six git calls; a non-empty range adds one status-log read and
one lane-tip listing.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Note line.&lt;/strong&gt; A run and &lt;code dir=&quot;auto&quot;&gt;--dry-run&lt;/code&gt; print one note (never under &lt;code dir=&quot;auto&quot;&gt;--json&lt;/code&gt;) when pre-Mission
history is non-empty, naming the base, its provenance and the commit count, or when the base
is unavailable, naming the reason. A probe failure is shown as “a git probe failed”, without
git’s own output. The note is silent when the Mission branch itself does not resolve. The
note decides on the base’s typed reason (&lt;code dir=&quot;auto&quot;&gt;MissionBaseReason&lt;/code&gt;), never on the reason’s text.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Consequences.&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On a fork, content that predates the Mission lands without a work package attributing it.
That is the operator ruling: it was never Mission work.&lt;/li&gt;
&lt;li&gt;It fails closed. An unavailable base, or a probe failure while reading pre-Mission history,
exempts nothing and leaves today’s bound in force.&lt;/li&gt;
&lt;li&gt;A derived base reads history the operator can edit. Changing that history is a recorded
operator act, as with the declared ref.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Residuals.&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The derivation follows git’s rename detection only (&lt;code dir=&quot;auto&quot;&gt;kernel.git&lt;/code&gt;, git’s default rename
limit). A hand copy that keeps its source, a move edited past git’s 50% similarity
threshold, a rename inside a commit with more candidate paths than the rename limit, and a
copy whose source is deleted in a later commit are not detected. The derived base can then sit above earlier Mission work,
which takes an operator act to arrange. A recorded base is unaffected.&lt;/li&gt;
&lt;li&gt;A hand-edited recorded base is anchored to the Mission’s origin, so it can only name history
the Mission started from. It inherits the derivation’s residuals above: where the origin
itself sits above earlier Mission work, so can a recorded base. The guard against Mission
work in the pre-Mission range reads recorded facts only (stamps and lane work tips).&lt;/li&gt;
&lt;li&gt;A rebased Mission branch whose first-parent history no longer carries the scaffold commit
derives no base and falls back to today’s bound.&lt;/li&gt;
&lt;li&gt;The exemption is by exact SHA, so a re-lettered copy of a pre-Mission commit (a new SHA with
the same patch, for example after a rebase) is still judged as window content. This is
fail-closed.&lt;/li&gt;
&lt;/ul&gt;</content>
</entry>
