Repository navigation
fix(state): close residual operation and publication ownership gaps - #218
Merged
Merged
Conversation
bordumb
marked this pull request as ready for review
November 11, 2026 05:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overlapping shutdown, cancelled operations and interrupted publication could leave resources reusable or report completion while work remained live. Implement AP-SPEC-078 on merged PR #217 (
e40bfdd32e3812ef349bb2db84faada443cb1938) with explicit ownership through actual settlement.AP-SPEC-078 defines the transitions, interruption outcomes and acceptance gates. The implementation map links each requirement to its source and regression owner. Gateway serving ownership documents the topology and shutdown behavior.
AGENTS.mdnow requires ownership through cleanup and explicit handling of uncertain persistence.Regressions cover controlled late completions, real thread commit barriers, a held-response TLS peer, local Iroh channels, subprocess termination/reopen, competing starts/creators, held HTTP bodies, and viewer/login completion orders. Signing deadline tests run against source and installed packages. Northstar and viewer/native withdrawal contracts run inside the existing compliance job. Maintained semantic/source identities, architecture/proof-coverage metadata and shipped browser artifacts are refreshed.
Reference and demo paths remain distinct from shipping runtime behavior. Google refresh-token rotation remains a provider-dependent hypothesis. This PR does not claim a whole-repository audit, an authorization bypass, physical power-loss guarantees or production qualification.
Verification is pinned to
207c04e14c8bf3729a18f143c66dfbace6295965.Accepted: 89 successful checks, five intentional protected production-qualification skips, and no failed, cancelled or pending checks. All 13 workflows completed successfully on this exact head.
Main CI passed repository preflight, authoritative implementation tests, compliance including the new demo contracts, live service contracts, Kani, two byte-identical translation reproductions, authoritative clean Lean, exact-revision formal evidence and the final
CI qualifiedgate. The Lean assurance audit covered 329 compiled statements; Aeneas qualification reported zero compiled external axioms. These are the repository's bounded formal claims, not a claim that the added runtime code is fully formally verified.CI was kept to two coherent source cohorts. The first exposed a function-length lint and old source-free launchers sharing endpoint parents; those failures were repaired together. Bounded local repair checks passed all-target/all-feature Clippy, 34 gateway binary/socket tests, 15 demo Python units, five Northstar cases, five REST cases, and public-SDK/WASM viewer/withdrawal contracts. Preflight now collects independent Cargo diagnostics with
--keep-goingwhile preserving failure status. No tests or ownership checks were weakened.