Type metrics request closure semantics

This commit is contained in:
Meta Vens 2026-07-13 02:15:41 +01:00
commit fdb81b6609
6 changed files with 245 additions and 63 deletions

View file

@ -799,6 +799,15 @@ parses through `closure_contracts.rs` and checks exact request, CultMesh, Odin,
and authority semantics. A regression fixture proves commented denial text
cannot conceal `direct_tool_execution = true`.
## Metrics-request prose substituted for accounting contracts
`repo.metrics_request` closure inferred request identity, prerequisite receipt
contracts, packet requirements, and denied accounting authority from arbitrary
substrings. The typed metrics contract now owns those meanings. Closure checks
exact fields and accepted-summary equality; a comment claiming
`spend_authorized = false` cannot conceal an actual spend grant. Bifrost or the
Maintainer remains the required accounting authority.
## Unresolved: provider receipts without chronology
Bifrost body-change/GitHub publication receipts are externally owned and their

View file

@ -234,8 +234,9 @@ Historical implementation detail belongs in git history, smoke artifacts, and th
## Next real move
Continue the modeling pass beyond receipt writers. Tool-request closure now uses
the typed family contract and cannot accept comment-counterfeit execution seals.
Continue the modeling pass beyond receipt writers. Tool-request and
metrics-request closure now use typed family contracts and cannot accept
comment-counterfeit execution or spend seals.
Inventory remaining substring closure families and production paths where a
projection, cache, adapter, scheduler, coordinator, or compatibility surface
asserts a fact owned elsewhere. For each candidate, name the owner, allowed