Log KA publish lifecycle by Asset UAL (#1531) - #1547
Merged
Conversation
* test: capture KA lifecycle logger contract * feat: add KA lifecycle logger helper * test: cover KA lifecycle payload safety * feat: redact KA lifecycle payload metadata * test: define KA lifecycle token contract * feat: define KA lifecycle stage tokens * test: expose KA lifecycle logger from core root * feat: export KA lifecycle logger contract * test: preserve full KA lifecycle identifiers * fix: keep full KA lifecycle identifiers * test: cover publisher KA lifecycle logs * test: cover receiver SWM lifecycle logs * feat: log receiver SWM lifecycle apply * test: cover SWM asset UAL derivation * feat: derive SWM lifecycle asset UAL * feat: emit publisher KA lifecycle logs * test: cover sender key lifecycle logs * feat: log sender key lifecycle decrypt * test: require publisher WM and ACK quorum lifecycle logs * feat: log publisher WM and ACK quorum lifecycle * test: cover publisher ACK decline lifecycle logs * test: cover storage ACK lifecycle logs * feat: log publisher ACK decline lifecycle * test: cover publisher chain failure lifecycle log * feat: log publisher chain failure lifecycle * feat: log storage ACK lifecycle * test: cover finalization lifecycle logs * feat: log finalization lifecycle * test: cover SWM share ACK lifecycle logs * feat: log SWM share ACK lifecycle * test: cover SWM reject lifecycle logs * feat: log SWM reject lifecycle * test: cover non-decline ACK lifecycle outcomes * test: cover SWM validation reject metadata * feat: thread SWM reject metadata * feat: log all ACK quorum peer outcomes * test: cover storage ACK decline metadata * feat: log storage ACK response metadata * test: cover sender key decrypt failure logs * feat: log sender key decrypt failures * test: cover finalization no-data lifecycle logs * feat: log finalization receiver lifecycle * test: cover sender key setup lifecycle logs * feat: log sender key setup lifecycle * test: cover sender key asset UAL compatibility * fix: keep sender key asset UAL off v1 AAD * test: cover SWM retryable asset UAL metadata * fix: keep SWM retryable lifecycle metadata * test: cover SWM receive lifecycle log * feat: log SWM receive lifecycle by asset UAL * test: cover SWM validation failure lifecycle log * feat: log SWM validation failures by asset UAL * test: cover SWM validation pass lifecycle log * feat: log SWM validation passes by asset UAL * test: cover SWM state change lifecycle log * feat: log SWM state changes by asset UAL * test: cover Sender Key setup decline lifecycle * feat: carry asset UAL on Sender Key setup ACKs * test: cover finalization applied lifecycle log * feat: mark applied finalization logs terminal * test: cover finalization failure lifecycle target * fix: preserve finalization failure target metadata * test: cover finalization rejection lifecycle logs * test: cover reconcile lifecycle asset UAL logs * feat: emit reconcile lifecycle asset decisions * test: cover agent reconcile lifecycle logs * feat: log agent reconcile lifecycle events * test: cover durable sync lifecycle asset UAL logs * feat: emit durable sync lifecycle asset events * test: cover agent durable sync lifecycle logs * feat: log agent durable sync lifecycle events * test: cover durable sync request response lifecycle logs * feat: emit durable sync request response lifecycle events * test: cover durable sync skip lifecycle logs * feat: emit durable sync skip lifecycle events * test: cover durable sync failure lifecycle logs * feat: emit durable sync failure lifecycle events * test: cover reconcile sweep lifecycle logs * feat: emit reconcile sweep lifecycle events * test: cover reconcile active fetch lifecycle logs * feat: emit reconcile active fetch lifecycle events * test: cover reconcile core fill lifecycle logs * feat: emit reconcile core fill lifecycle events * test: cover delayed reconcile cursor lifecycle logs * fix: retain reconcile cursor asset metadata * test: cover KA lifecycle log proof trail * feat: add KA lifecycle log proof builder * test: require KA lifecycle log proof handoff * docs: add KA lifecycle log proof handoff * test: cover connected KA lifecycle log proof * feat: summarize connected KA lifecycle proof trail * test: require recorded KA lifecycle grep evidence * docs: record KA lifecycle grep evidence * docs: add KA publish lifecycle logging context * Harden KA lifecycle log correlation * Keep lifecycle proof and AAD boundaries internal * Fix KA lifecycle log correlation trust boundaries * Address KA lifecycle logging review comments * Address KA lifecycle logging follow-up review * Address remaining KA lifecycle review feedback * Address KA lifecycle review follow-ups * Gate detailed KA lifecycle logs behind debug flag * Gate KA lifecycle debug logs in config * Scope KA publish lifecycle debug logs * Fix KA publish lifecycle peer and ACK logs * Fix KA lifecycle UAL lookup hot paths * Avoid stale SWM UAL for inline ACK logs --------- Co-authored-by: Zvonimir <zvonimir@MacBook-Pro-2.local>
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.
test: capture KA lifecycle logger contract
feat: add KA lifecycle logger helper
test: cover KA lifecycle payload safety
feat: redact KA lifecycle payload metadata
test: define KA lifecycle token contract
feat: define KA lifecycle stage tokens
test: expose KA lifecycle logger from core root
feat: export KA lifecycle logger contract
test: preserve full KA lifecycle identifiers
fix: keep full KA lifecycle identifiers
test: cover publisher KA lifecycle logs
test: cover receiver SWM lifecycle logs
feat: log receiver SWM lifecycle apply
test: cover SWM asset UAL derivation
feat: derive SWM lifecycle asset UAL
feat: emit publisher KA lifecycle logs
test: cover sender key lifecycle logs
feat: log sender key lifecycle decrypt
test: require publisher WM and ACK quorum lifecycle logs
feat: log publisher WM and ACK quorum lifecycle
test: cover publisher ACK decline lifecycle logs
test: cover storage ACK lifecycle logs
feat: log publisher ACK decline lifecycle
test: cover publisher chain failure lifecycle log
feat: log publisher chain failure lifecycle
feat: log storage ACK lifecycle
test: cover finalization lifecycle logs
feat: log finalization lifecycle
test: cover SWM share ACK lifecycle logs
feat: log SWM share ACK lifecycle
test: cover SWM reject lifecycle logs
feat: log SWM reject lifecycle
test: cover non-decline ACK lifecycle outcomes
test: cover SWM validation reject metadata
feat: thread SWM reject metadata
feat: log all ACK quorum peer outcomes
test: cover storage ACK decline metadata
feat: log storage ACK response metadata
test: cover sender key decrypt failure logs
feat: log sender key decrypt failures
test: cover finalization no-data lifecycle logs
feat: log finalization receiver lifecycle
test: cover sender key setup lifecycle logs
feat: log sender key setup lifecycle
test: cover sender key asset UAL compatibility
fix: keep sender key asset UAL off v1 AAD
test: cover SWM retryable asset UAL metadata
fix: keep SWM retryable lifecycle metadata
test: cover SWM receive lifecycle log
feat: log SWM receive lifecycle by asset UAL
test: cover SWM validation failure lifecycle log
feat: log SWM validation failures by asset UAL
test: cover SWM validation pass lifecycle log
feat: log SWM validation passes by asset UAL
test: cover SWM state change lifecycle log
feat: log SWM state changes by asset UAL
test: cover Sender Key setup decline lifecycle
feat: carry asset UAL on Sender Key setup ACKs
test: cover finalization applied lifecycle log
feat: mark applied finalization logs terminal
test: cover finalization failure lifecycle target
fix: preserve finalization failure target metadata
test: cover finalization rejection lifecycle logs
test: cover reconcile lifecycle asset UAL logs
feat: emit reconcile lifecycle asset decisions
test: cover agent reconcile lifecycle logs
feat: log agent reconcile lifecycle events
test: cover durable sync lifecycle asset UAL logs
feat: emit durable sync lifecycle asset events
test: cover agent durable sync lifecycle logs
feat: log agent durable sync lifecycle events
test: cover durable sync request response lifecycle logs
feat: emit durable sync request response lifecycle events
test: cover durable sync skip lifecycle logs
feat: emit durable sync skip lifecycle events
test: cover durable sync failure lifecycle logs
feat: emit durable sync failure lifecycle events
test: cover reconcile sweep lifecycle logs
feat: emit reconcile sweep lifecycle events
test: cover reconcile active fetch lifecycle logs
feat: emit reconcile active fetch lifecycle events
test: cover reconcile core fill lifecycle logs
feat: emit reconcile core fill lifecycle events
test: cover delayed reconcile cursor lifecycle logs
fix: retain reconcile cursor asset metadata
test: cover KA lifecycle log proof trail
feat: add KA lifecycle log proof builder
test: require KA lifecycle log proof handoff
docs: add KA lifecycle log proof handoff
test: cover connected KA lifecycle log proof
feat: summarize connected KA lifecycle proof trail
test: require recorded KA lifecycle grep evidence
docs: record KA lifecycle grep evidence
docs: add KA publish lifecycle logging context
Harden KA lifecycle log correlation
Keep lifecycle proof and AAD boundaries internal
Fix KA lifecycle log correlation trust boundaries
Address KA lifecycle logging review comments
Address KA lifecycle logging follow-up review
Address remaining KA lifecycle review feedback
Address KA lifecycle review follow-ups
Gate detailed KA lifecycle logs behind debug flag
Gate KA lifecycle debug logs in config
Scope KA publish lifecycle debug logs
Fix KA publish lifecycle peer and ACK logs
Fix KA lifecycle UAL lookup hot paths
Avoid stale SWM UAL for inline ACK logs
Summary
Changes
Test Plan
pnpm test)pnpm build)dkg start(if applicable)Related Issues