Skip to content

feat(governed): enforce signed decisions on transfers - #39

Merged
TeoSlayer merged 3 commits into
mainfrom
feat/governed-control-boundaries
Aug 7, 2026
Merged

TeoSlayer merged 3 commits into
mainfrom
feat/governed-control-boundaries

Conversation

@TeoSlayer

@TeoSlayer TeoSlayer commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add governed delivery and stream frames bound to signed Pilot intents and decisions
  • enforce disclosure, quota, retention, receipt, and receiver-side replay controls
  • preserve the existing unmanaged service path when governance is not configured
  • consume the public common decision contracts rather than private platform source

Verification

  • GOWORK=off go test -race ./...
  • GOWORK=off go vet ./...

teovl and others added 3 commits August 7, 2026 02:55
Preservation snapshot of uncommitted working-tree work (repo survey 2026-08-02).
WIP branch — do NOT push directly; split into reviewed PRs first. Build scratch
excluded via .gitignore.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ications

M5: a verified governed envelope (frame, stream INIT, or event) was a bearer
capability with no receiver-side replay protection — any peer that observed one
could re-send the exact bytes within the 5-minute intent TTL, producing
duplicate authorized deliveries/publications and re-charging the signing
agent's quota (cross-agent grief) plus provenance confusion. Add a bounded
per-receiver replay guard keyed on the signature-authenticated
(tenant, agent, intent-id), TTL = the intent's own ExpiresAt, checked at the
single admit/govern chokepoint before quota and before the side effect. A
legitimate retry carries a fresh intent (fresh nonce/id), so this rejects only
true replays — full governed stream/publish suites still pass. Regression tests
added.

SECURITY_REVIEW_v1.14 M5.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@TeoSlayer
TeoSlayer merged commit 6e678ec into main Aug 7, 2026
5 checks passed
@TeoSlayer
TeoSlayer deleted the feat/governed-control-boundaries branch August 7, 2026 00:02
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.

2 participants