Reducer: a rollback seed never takes a lane against the real lifecycle (10.4.5)
2026-10-13 — A rollback seed never takes a lane against the real lifecycle
Package 10.4.4 → 10.4.5 (never tagged; first released in v10.4.6) · spec-kitty#6061 · fix to the
status.events.jsonl reducer (spec_kitty_events.diary.reduce /
reduce_parsed, both arbitration arms).
A rollback-shaped migration: seed restates a rejection, for example
in_review -> in_progress with a changes_requested verdict. It used to take
the lane through the rollback exemption whatever the work package had done
since, so it could reopen a done WP or override a later compatibility repair
back to planned. The snapshot shape and the 3.0.0 envelope schema are
unchanged; only lane, actor and verdict values on migrated logs differ.
What changed
- R1, arriving. A rollback seed applies only when its
from_lanecontinues the lane in force. The exceptions are its bare sibling approval (a non-rollback-> approvedfrom the same lane that no real event leftapprovedafter, spec-kitty-events#81), an earlier rollback seed in force, andforce. A rollback seed that loses is a continuity loser, so its payload still folds (10.4.4), also at an equalat. - R2, setter. An applied rollback seed yields the lane to a later real
event, as a forward seed does, except to its bare sibling approval. A later
real claim or
doneno longer leaves the WP stranded at the seed’s lane. - R3. A seed never uses the forward-seed-setter exemption.
Equal-at outcomes follow from R1 and R2 and no longer depend on which
event_id sorts first.
One verdict change
A rejection seed that loses, followed by an approval seed that also loses, now
records approved: the later cycle’s verdict folds. 10.4.4 recorded
changes_requested because the rejection seed had taken the lane and owned the
verdict. This pair is synthetic; no mission in the spec-kitty corpus has it.
Scope and non-regression
- Real-against-real arbitration,
forceand logs with no seeds are unchanged. - The
10.4.3bare-sibling ruling and the10.4.4seed-owns-its-verdict ruling are unchanged. - One equal-
atcase remained: a realapproved -> donethat shares its approval’satbut sorts first byevent_id. That was closed in10.4.6(equal-timestampapproved -> done).
Downstream
New packaged golden replay status-diary-replay-seed-lane-authority
(conformance/fixtures/status_diary/replay/status_diary_seed_lane_authority.jsonl).
10.4.5 was never tagged, so take this fix from 10.4.6 (raise the floor to
spec-kitty-events>=10.4.6). Consumers with non-terminal migrated missions may
need to re-materialize their snapshots to pick up the corrected lanes.
See the repo-root CHANGELOG.md and
COMPATIBILITY.md for the versioned record and the
compatibility rationale.