Repository navigation
Persist trusted clock ordering beside the policy grant fence - #402
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
…264-trusted-clock
|
Ordered source integration after #401 landed as Root reviewed the complete58-line clock primitive,74-line PG fixture test and documentation: qualified SOURCE PASS for the unmounted decision-time slice. Pinned challenge/authority/epoch/nonce, copied bigint validity/sample values, bounded numeric validation, durable sequence/watermark/quarantine and half-open proof expiry are preserved. Refusals return normally for the caller transaction to commit conservative history. No route or production migration mounts this helper, and #401 does not call it. Physical commit/network expiry, production verifier and restore continuity remain explicit external dependencies. The candidate’s four source/test/doc blobs exactly equal the reviewed original |
Unmounted T264 source, stacked on #401. Disposable PostgreSQL 15 test passed with synthetic verifier output and a fresh client pool. Focused strict TypeScript check passed. No trusted time source is configured; deployment, restored-cluster continuity and physical commit or HTTP expiry guarantees remain open.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Persists trusted clock ordering beside the policy grant fence in PostgreSQL so surviving process restarts cannot reorder or replay responses.
checkClockAtDecisionto lock the clock row, challenge an independent verifier, and persist the latest sequence and interval in the same transaction as the decision.Written for commit d7ceb27. Summary will update on new commits.