Skip to content

fix: consume until-revoked Flow release receipts - #473

Merged
abrichr merged 2 commits into
mainfrom
codex/flow-until-revoked-receipt-20260909
Sep 9, 2026
Merged

abrichr merged 2 commits into
mainfrom
codex/flow-until-revoked-receipt-20260909

Conversation

@abrichr

@abrichr abrichr commented Sep 9, 2026

Copy link
Copy Markdown
Member

Flow now accepts the canonical verifier's required expires_at: null value. The producer preserves the admission expiry, but Flow rejected null with expires_at/string_type, so receipts for admissions valid until revocation could not decode.

The field remains required. The consumer can't replace a missing expiry with null. Supplied timestamps still expire at the exact boundary; malformed timestamps, future verification times, altered object bytes, invalid self-binding digests, and local release identity drift still fail validation.

Release integration depends on the companion Cloud guard for current authority and revocation state. That guard checks the current canonical trust objects during retention, dispatch, poll, and initial/resume/continue permit issuance. Keep publication gated until the complete Cloud boundary review passes. Receipt decoding preserves the canonical expiry; authorization still requires the surrounding current-state checks.

Validation: 157 focused receipt and hosted tests pass, along with Ruff 0.16.5, type checks for 290 source files, release consistency, and the claims structure gate. A receipt generated by canonical .github source 80761c2ce46eb9365ea3b3a6982f37cab00dea7d from the registered public Flow objects also passes exact-byte decoding and local identity comparison. That deterministic fixture is a compatibility test, with no live signing or authorization claim.

Opened by an agent session, not the founder.

Signed-off-by: Richard Abrich <richard.abrich@mldsai.com>
Signed-off-by: Richard Abrich <richard.abrich@mldsai.com>
@abrichr
abrichr merged commit 8186b38 into main Sep 9, 2026
16 checks passed
@abrichr
abrichr deleted the codex/flow-until-revoked-receipt-20260909 branch September 9, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant