feat(directory): show verified delivery during DACS-5 finalisation - #68
Merged
Conversation
randomblocker
marked this pull request as ready for review
August 10, 2026 13:13
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.
What changed
previewprocurement field with a fail-closed client contract, without requiring unpublished finalisation metadata.Settled & acceptedremains unavailable until the completed two-copy bundle reconciles.nullpreview as cleared, and reject a completed response that still carries a nonterminal preview.Why
The gateway can return a useful verified delivery before DACS-5 anchoring finishes. The Directory previously discarded that state and appeared frozen until the terminal job response arrived. This change exposes real progress and results without weakening DACS acceptance semantics.
User impact
Users see their verified result earlier, can inspect its evidence while final bundles reconcile, and can distinguish clearly between
delivery verified,DACS-5 needs recovery, and the latersettled and acceptedterminal state.Contract alignment
The UI consumes the gateway's actual preview-only shape (
preview.kind,preview.status, verifieddelivery.report, and anchors). It does not invent attempt counts, timestamps, or a separatefinalisationobject that the gateway does not publish.Validation
npm run typechecknpm test- 186/186 passedCI=1 npm run test:e2e -- --workers=1- 14/14 passednpm run check:deploy-confignpm run buildmainNo paid live procurement was dispatched by these UI tests.