04 · Architecture split
One pure forecasting core. One operational owner. One public explanation.
TokenEconomy should own deterministic estimation. Agent Studio should own observations, UI, and decisions. The website should explain the method and publish only scoped, timestamped aggregates.
Research plan only: every implementation boundary below still requires explicit operator GO.
Three ownership boundaries
TOKENECONOMY LIBRARY
Math and contracts
- Normalized observation and scope contracts
- Structural/statistical validity and estimability
- Robust effective-capacity estimate + interval
- Forecast v1 result for every candidate
- Confidence/status/reason codes
- Pure deterministic tests and fixtures
AGENT STUDIO
Evidence and decisions
- Quota probes, parsers, start/end capture
- Bus/run/config joins and persistence
- Contextual parser/window/overlap/attribution gates
- Calibration cohorts and scheduling
- Card UI, headroom, reset, audit events
- Shadow validation and AGT-2055 advisory input
WEBSITE
Method and aggregates
- Public, human-readable method
- Generated aggregate snapshot after validation
- Scope, range, confidence, sample, as-of labels
- Privacy-reviewed, no raw tasks/accounts
- Self-contained publish-time HTML
- No provider-official language
The handoff
Operational data moves inward as normalized contracts; decisions and publication stay with their owning applications.
Studio observations
tokens + snapshots + run facts
tokens + snapshots + run facts
→
TokenEconomy
calibrate + forecast + explain status
calibrate + forecast + explain status
→
Studio / website
decide locally · explain publicly
decide locally · explain publicly
No I/O in the library: no quota probe, parser, persistence, current clock, account lookup, event bus read, UI, log side effect, or launch/wait policy.
How this fits TE-1 and TE-2
TE-1 · Pricing catalog ↗
Computes dollar cost from dated price data. Dollar price cannot supply the subscription quota denominator and must never proxy it.
TE-2 · SuggestModel ↗
Ranks capability/cost fit and leaves downshift/throttle/wait policy to Studio. The forecast adds a separate quantitative signal; it does not silently rewrite that ranking.
The policy boundary follows Studio's token-budget load-management concept ↗ and future AGT-2055 admission integration.
Boundary failures to prevent
| Failure | Why it is wrong | Boundary rule |
|---|---|---|
| Studio reimplements the estimator | Two formulas drift and forecasts become unauditable. | Studio constructs contracts; TokenEconomy computes. |
| Library reaches into Studio storage | Pure tests and reuse disappear; runtime concerns leak inward. | All data arrives as explicit immutable inputs. |
Forecast mutates SuggestModel | Ordinal fit and quantitative quota evidence become inseparable. | Return a distinct signal; Studio composes the decision. |
| Website calls operational storage live | Leaks data and breaks the self-contained static-site contract. | Publish privacy-reviewed aggregates generated and inlined at release time. |
| Uncalibrated becomes zero | Missing evidence looks like free capacity. | Typed unknown status propagates to UI and admission. |
A second operator gate still exists
TokenEconomy 0.2.0 is published on nuget.org. Studio can consume the released package today with
dotnet add package TokenEconomy; release operations are documented in the publishing guide ↗. This plan performs no release step.