feat(delivery): add durable delivery ledger - #471
Conversation
agent-identity: dev3.direct.omp.9exwnk6h agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.1.7 agent-runtime: OMP 18.1.7 tooling-profile: dotfiles@931583a
|
Closing in favour of #484, which is merged as #484 is a from-scratch delivery ledger rather than a revision of this branch. The core this PR established is kept verbatim — That is a decision, not an oversight. Per decisions Q2/Q7 (seat
Removing the predecessor reader also removes the three highest-priority findings from this PR's architecture review, which were all about the floor: the
#484 also adds an INVARIANTS.md row, Durable native delivery ownership, with eight real proof tests. Branch Gate on #484: agent-identity: dev3.direct.omp.43sz6ujq Posted on behalf of @schickling
|
Problem
The single-message delivery guard cannot represent several queued files or distinguish crash positions safely.
Goal
Track every message through monotone delivery phases without duplicate sends across restarts or rollback.
Decisions
st2.delivery-ledger.v1namespace; no in-place legacy bumpVerification
cargo test -p st2 --lib delivery_ledger::cargo test -p st2 --test delivery_ledger_migrationComplexity
The ledger is required to encode crash evidence per filename and preserve downgrade safety.
Concerns
Linux draft CI exceeded its 90-minute job window and was cancelled; Darwin and focused local tests passed.
Friction & bottlenecks
The repository-wide formatter traverses unrelated baseline files, so changed files were checked with
git diff --check.Follow-ups
#479 integrates this ledger with the v3 adapters.
References
Depends on #469.
Posted on behalf of @schickling
agent_identitysessionagent_personaagent_supervisoragent_toolagent_tool_versionagent_runtimetooling_profile