Repository navigation
feat(doop): authors and provenance state in the attestation view [squash] - #172
Draft
congvc-bot-x99[bot] wants to merge 2 commits into
Draft
congvc-bot-x99[bot] wants to merge 2 commits into
congvc-bot-x99[bot] wants to merge 2 commits into
Conversation
This branch has not been deployed
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.
CHE-7084 (S5 of CHE-7064, plan r3 D1.5, stacked on merged S1 #69 and S3 #70; base
main).What changes
readAttestationadds two fields.readServiceAttestationand both routes (/api/design-attestations/:id,/api/service/design-attestations/:id) return them, since both call it.authors: distinct writers frompage_authorsfor the attested page and every page, on any canvas, whose currentissueIdis the same. Entry:kind,agentId,taskId,userId,provider,model,sources(sortedwrite/copy/legacy).''means none, as in the ledger.provenanceComplete: true only for a non-empty set with nounknownorsystemrow and everyagentrow holdingagentIdandtaskId.persist.listPageAuthorsOfalso reads ledger rows still queued with their frame's next save, after draining running saves. Without that, a writer whose frame was not yet saved would be missing and the set would fail open.Out of scope and untouched: G5 lock/pin, C00 config or deploy,
design_card_guard, any real canvas. S4 (copy inheritance) is a sibling: the copied-page test appends acopyrow directly, so it does not depend on S4. Additive change only: no existing field moves.Red (before the change; 12 of 12 fail at runtime,
authorsis undefined, not a compile error)Green (same file, after the change; split into 14 cases, plus one for an unsaved writer)
S5 acceptance: item 1 (fields on view and both routes, set covers page plus same-issue pages) and item 2 (single designer; designer plus metadata editor; copied page; second page of the same issue;
system,unknownand empty set eachprovenanceComplete: false).