Problem
agent-interface, the CLI Bridge provider, and the Tangle provider do not expose one normalized execution observation.
Braid can observe per-turn model usage, but it cannot consistently identify the provider location, effective resources, account usage, or subscription limits.
The CLI Bridge usage capability means response usage only.
It does not expose plan, quota, or remaining subscription usage.
The Tangle provider narrows the sandbox SDK and drops safe identity, placement, resource, and billing methods.
Required contract
Add optional typed observation surfaces for:
- provider environment and provider session identity;
- lifecycle, cleanup, continuity, and persistence;
- configured endpoint location without credentials;
- requested and verified placement;
- requested and effective CPU, RAM, disk, and accelerator resources;
- current and peak resource use;
- per-execution model usage and cost provenance;
- per-environment compute billing when available;
- account usage, credits, plan, quota, and period;
- known, stale, unavailable, redacted, and unknown states.
Providers must never expose API keys, bearer tokens, SSH credentials, secret values, credential-bearing URLs, or internal listener addresses.
Acceptance
- A fake CLI Bridge reports response usage and marks subscription quota unavailable.
- A capable bridge reports plan, quota, remaining amount, period, and freshness.
- A Tangle sandbox reports safe provider identity, resolved placement, requested resources, current CPU and RAM use, and account usage.
- Missing values remain absent or explicitly unavailable.
- No missing numeric field becomes measured zero.
- Live and replayed observations preserve the same identifiers and provenance.
- Provider contract tests reject credential-bearing observation payloads.
Evidence
Braid audited agent-interface@0.46.1, CLI Bridge provider 0.4.3, and Tangle provider 0.6.1.
Braid currently needs a narrow local adapter to retain data already available in @tangle-network/sandbox@0.19.4.
Problem
agent-interface, the CLI Bridge provider, and the Tangle provider do not expose one normalized execution observation.Braid can observe per-turn model usage, but it cannot consistently identify the provider location, effective resources, account usage, or subscription limits.
The CLI Bridge
usagecapability means response usage only.It does not expose plan, quota, or remaining subscription usage.
The Tangle provider narrows the sandbox SDK and drops safe identity, placement, resource, and billing methods.
Required contract
Add optional typed observation surfaces for:
Providers must never expose API keys, bearer tokens, SSH credentials, secret values, credential-bearing URLs, or internal listener addresses.
Acceptance
Evidence
Braid audited
agent-interface@0.46.1, CLI Bridge provider0.4.3, and Tangle provider0.6.1.Braid currently needs a narrow local adapter to retain data already available in
@tangle-network/sandbox@0.19.4.