*Continent · 5 territory*
## Summary
The harness, not the engine, does the spend arithmetic: it reserves before a call, commits or releases after, and hands the engine a projected total to compare, while the in-memory reference harness is the contract's shape and a real deployment swaps in its own stores.
## Explanation
- In README.md the harness keeps a spend ledger with an atomic reserve-then-commit: before the call it reserves the amount and supplies the projected spend for the week as committed spend plus held reservations, and the rule is the plain comparison over 500 to deny.
- The harness keeps a spend ledger with an atomic reserve-then-commit: before the call it reserves the amount and supplies `projected_spend_this_week` = committe…
- In Neuroverseos-governance:doc:BOUNDARY.md the ledger reserves, then commits or releases, and what this week's spend would be if the call ran is computed before evaluation and after the tool runs.
- The harness's ledger, with atomic reserve then commit or release, computes what this week's spend would be if the call ran, before evaluation and after the too…
- In Neuroverseos-governance:doctrine:AGENTS.md and Neuroverseos-governance:doc:CHANGELOG.md a reference harness named referenceHarness, with a SpendLedger whose reserve(bucket, amount) returns projected, commit and release synchronously, a NonceSet and a HistoryStore, is described as in-memory and a starting point, and harnessFromData builds a harness from the JSON a d6 case carries.
- `adapters/tool-call/reference-harness.ts` and `case-harness.ts` provide `referenceHarness` with `SpendLedger` (synchronous reserve/commit/release), `NonceSet`,…
- The reference harness is `referenceHarness`, `SpendLedger` (synchronous `reserve(bucket, amount) → { projected, commit, release }`, with cumulative limits as t…
- The reference harness (referenceHarness, SpendLedger, NonceSet, HistoryStore) is in-memory and a starting point, and a production harness replaces the stores a…
- In Neuroverseos-governance:doctrine:AGENTS.md a real deployment implements the Harness interface over its own stores, keeping reserve and consumed.claim atomic, implementing reconcile for uncertain outcomes, keeping facts and derive its own, and never letting the requester's payload reach facts except through declared args.
- A harness for a real deployment implements `Harness` (`adapters/tool-call/index.ts`) over your stores, keeping `reserve` and `consumed.claim` atomic (a transac…
- In Neuroverseos-governance:doc:BOUNDARY.md a production harness replaces the stores and keeps the contract.
- The reference harness (referenceHarness, SpendLedger, NonceSet, HistoryStore) is in-memory and a starting point, and a production harness replaces the stores a…
- In Neuroverseos-governance:doc:CHANGELOG.md cumulative limits are the harness's arithmetic, with the engine only comparing.
- The reference harness is `referenceHarness`, `SpendLedger` (synchronous `reserve(bucket, amount) → { projected, commit, release }`, with cumulative limits as t…
- In Neuroverseos-governance:doctrine:AGENTS.md the d6 cases prove a deployment's harness through harnessFromData's shape or with the deployment's own tests.
- A harness for a real deployment implements `Harness` (`adapters/tool-call/index.ts`) over your stores, keeping `reserve` and `consumed.claim` atomic (a transac…
- In Neuroverseos-governance:doc:SPEC.md the harness computes a projected total with an atomic reserve-then-commit, supplies it as a fact, and the rule is a plain comparison; the engine adds nothing.
- Cumulative limits are the harness's arithmetic: it computes a projected total (e.g. projected_spend_this_week) with an atomic reserve-then-commit, supplies it…
- In Neuroverseos-governance:doc:SPEC.md the third ruling is that cumulative limits are the harness's arithmetic — an atomic reserve-then-commit supplying a projected total as a fact — and the engine compares and never adds.
- The third ruling is that cumulative limits are the harness's arithmetic (an atomic reserve-then-commit supplying a projected total as a fact), and the engine c…
- In Neuroverseos-governance:doc:BOUNDARY.md two concurrent calls both fit under a cumulative limit because the harness reserves before it asks and commits after the tool runs, and the engine compares the projected total it is given.
- Two concurrent calls both fit under a cumulative limit because the harness reserves before it asks and commits after the tool runs, and the engine compares the…
- In Neuroverseos-governance:doc:PRINCIPLES.md a missing total is a refusal, never zero.
- Cumulative limits are the harness's arithmetic — it reserves the amount and supplies the projected total as a fact — so a missing total is a refusal, never zer…
- On Oct 19, 2026, a changelog entry for Neuroverseos-governance records that Harness.consumed now requires claim and release, and that a harness over a shared store must make claim a transaction or a conditional insert.
- `Harness.consumed` now requires `claim` and `release`, and a harness over a shared store must make `claim` a transaction or a conditional insert.
- A second account of the same change states that Harness.consumed now requires claim and release, and that a custom harness over a shared store must make claim a transaction or a conditional insert.
- Harness.consumed now requires claim and release, and a custom harness over a shared store must make claim a transaction or a conditional insert.
- The records do not describe any deployment's own stores, its reconcile implementation, or its own tests, across Neuroverseos-governance:doctrine:AGENTS.md and Neuroverseos-governance:doc:BOUNDARY.md.
- A harness for a real deployment implements `Harness` (`adapters/tool-call/index.ts`) over your stores, keeping `reserve` and `consumed.claim` atomic (a transac…
- The reference harness (referenceHarness, SpendLedger, NonceSet, HistoryStore) is in-memory and a starting point, and a production harness replaces the stores a…
- The records do not say what the harness does when a reservation is made and the tool then throws, nor how a released reservation is reconciled, across Neuroverseos-governance:doc:SPEC.md, Neuroverseos-governance:doc:BOUNDARY.md and Neuroverseos-governance:doc:PRINCIPLES.md.
- Cumulative limits are the harness's arithmetic: it computes a projected total (e.g. projected_spend_this_week) with an atomic reserve-then-commit, supplies it…
- The third ruling is that cumulative limits are the harness's arithmetic (an atomic reserve-then-commit supplying a projected total as a fact), and the engine c…
- Two concurrent calls both fit under a cumulative limit because the harness reserves before it asks and commits after the tool runs, and the engine compares the…
- Cumulative limits are the harness's arithmetic — it reserves the amount and supplies the projected total as a fact — so a missing total is a refusal, never zer…
## Threads
- The spend ledger that reserves before a call and commits or releases after the tool runs
- The harness keeps a spend ledger with an atomic reserve-then-commit: before the call it reserves the amount and supplies `projected_spend_this_week` = committe…
- The harness's ledger, with atomic reserve then commit or release, computes what this week's spend would be if the call ran, before evaluation and after the too…
- The reference harness — referenceHarness, SpendLedger, NonceSet, HistoryStore — as in-memory shape, with production swapping in its own stores
- `adapters/tool-call/reference-harness.ts` and `case-harness.ts` provide `referenceHarness` with `SpendLedger` (synchronous reserve/commit/release), `NonceSet`,…
- The project is not a store, a clock, a ledger or a live feed for production: the reference harness's in-memory `SpendLedger`, `NonceSet` and `HistoryStore` are…
- The reference harness is in-memory (`SpendLedger.reserve(bucket, amount) → { projected, commit, release }`, `NonceSet`, `HistoryStore`), and production replace…
- The reference harness is `referenceHarness`, `SpendLedger` (synchronous `reserve(bucket, amount) → { projected, commit, release }`, with cumulative limits as t…
- The reference harness (referenceHarness, SpendLedger, NonceSet, HistoryStore) is in-memory and a starting point, and a production harness replaces the stores a…
- Cumulative limits as the harness's arithmetic, with the engine only comparing and a missing total refused
- The arithmetic behind a cumulative limit (reserve, commit, release) is the harness's, and the engine only compares.
- Cumulative limits are the harness's arithmetic: it computes a projected total (e.g. projected_spend_this_week) with an atomic reserve-then-commit, supplies it…
- The third ruling is that cumulative limits are the harness's arithmetic (an atomic reserve-then-commit supplying a projected total as a fact), and the engine c…
- Cumulative limits are the harness's arithmetic — it reserves the amount and supplies the projected total as a fact — so a missing total is a refusal, never zer…
- What a real deployment's harness must do: atomic reserve and claim, reconcile, declared args, d6 cases
- A harness for a real deployment implements `Harness` (`adapters/tool-call/index.ts`) over your stores, keeping `reserve` and `consumed.claim` atomic (a transac…
- Harness.consumed now requiring claim and release, with claim a transaction or conditional insert over a shared store
- `Harness.consumed` now requires `claim` and `release`, and a harness over a shared store must make `claim` a transaction or a conditional insert.
- Harness.consumed now requires claim and release, and a custom harness over a shared store must make claim a transaction or a conditional insert.
## How it formed
On Oct 18, 2026, README.md set the ledger rule as a plain comparison over 500 to deny; on Oct 19, 2026, the changelog and a second account added that Harness.consumed now requires claim and release, with claim atomic over a shared store.
- The harness keeps a spend ledger with an atomic reserve-then-commit: before the call it reserves the amount and supplies `projected_spend_this_week` = committe…
- `Harness.consumed` now requires `claim` and `release`, and a harness over a shared store must make `claim` a transaction or a conditional insert.
- Harness.consumed now requires claim and release, and a custom harness over a shared store must make claim a transaction or a conditional insert.
## What's still open
What a deployment's own stores and reconcile look like, and what the ledger shows after a tool throws following a reservation, is not described.
- A harness for a real deployment implements `Harness` (`adapters/tool-call/index.ts`) over your stores, keeping `reserve` and `consumed.claim` atomic (a transac…
- Cumulative limits are the harness's arithmetic: it computes a projected total (e.g. projected_spend_this_week) with an atomic reserve-then-commit, supplies it…
- Cumulative limits are the harness's arithmetic — it reserves the amount and supplies the projected total as a fact — so a missing total is a refusal, never zer…
## Consultant
**Where it shows up** — The reserve-then-commit ledger keeps coming up: README.md's 500-to-deny rule, the projected weekly total in Neuroverseos-governance:doc:BOUNDARY.md, and the concurrent-calls case where reserving before asking lets both fit under one limit.
**A question to sit with** — When a tool throws after the harness has reserved the amount, what should the ledger show the next call — and who decides that?
**A way forward** — Keep the reserve-then-commit shape and write down the throw-after-reserve case as a d6 case, so the reconcile path is proven the same way the deployment harness is.
## Ideas
- Cumulative-limit arithmetic belongs to the harness, which reserves and supplies a projected total as a fact, while the engine only compares and never adds.
- A missing projected total should be treated as a refusal rather than assumed to be zero.
- The in-memory reference harness is only a starting point; a real deployment should swap in its own stores while keeping the same contract.
- The harness's in-memory stores are the contract's shape, not a product, so the project should not become a store, clock, ledger or live feed for production.
- Reserve and claim should be atomic, and reconcile should handle uncertain outcomes.
- A requester's payload should never reach the facts except through declared args.
- Reserving before asking and committing after the tool runs lets two concurrent calls both fit under one cumulative limit.
## History
Earlier, Bevia read this as: “The harness, not the engine, does the spend arithmetic: it reserves before a call, commits or releases after, and hands the engine a projected total to compare, while the in-memory reference harness is the contract's shape and a real deployment swaps in its own stores.” (until 2026-11-22)
## Territories
- [[Bevia/World/Territories/Reference harness, claim and release, and the stores a deployment replaces|Reference harness, claim and release, and the stores a deployment replaces]]
- [[Bevia/World/Territories/In-memory reference harness and the stores a deployment replaces|In-memory reference harness and the stores a deployment replaces]]
- [[Bevia/World/Territories/Cumulative limits as the harness's arithmetic|Cumulative limits as the harness's arithmetic]]
- [[Bevia/World/Territories/Harness.consumed requires claim and release|Harness.consumed requires claim and release]]
- [[Bevia/World/Territories/Reserve-then-commit spend ledger and weekly projection|Reserve-then-commit spend ledger and weekly projection]]