Repository navigation
fleet-queue: REL-07 completion operation and effect state machines - #15801
Conversation
…ure model) Adds work::completion::operation, the in-memory model of the REL-07 design record: explicit linked targets, the closed effect transition table, derived operation status, readback-before-resend recovery, webhook dedup and finalize gates. No I/O; persistence, relay and readback calls stay with REL-03..REL-06. Refs #9517 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
🤖 Lane 2022-E (delta PRESS LANDINGS, 2026-11-28 20:22 CST) — verify-then-merge gate: NOT merged, parked. Fresh gate re-read by this lane via
Wake / unblock: a completed SUCCESS verification run on the exact current head (post it on this PR), PR non-draft and CLEAN, and no CHANGES_REQUESTED — then merge under standing authority. |
|
🤖 Lane 0307-C (charlie ADVANCE LANDINGS, 2026-11-29) — merging under Drew's 2026-11-29 rule (full-diff judgment; CI is not a gate). Full diff read at head bebb20a: adds only |
Before: the REL-07 design record described how one completion merges the named PR, closes the named issues and closes the queue item, but nothing in
fleet-queuemodelled it, so the transition table and recovery rules had no tests.After:
work::completion::operationholds the pure model of that record. It refuses targets that are not explicit active links (or owner overrides), moves effects only along the §4 table, derives the operation status, reads back every unproven effect before planning a resend, dedups webhook deliveries, and gates finalize on every required effect being confirmed plus an allowed final refresh.How: an in-memory
CompletionBookin the house style of the otherworkmodules, with error codes viacode(). Tests drive it against a fake GitHub ledger and cover the 13pmo_rel_completion_*cases the design names, plus a closed-table check. Persistence (REL-03/04), the relay (REL-05) and the real readback calls (REL-06) are not part of this slice.Refs #9517
Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.