Objective
Introduce a checked-in weak-type budget for public API declarations and incrementally tighten remaining domain boundaries after the MCP contract rollout.
Dependency
Follow-up after the generated Agent Server contract and canonical typed MCP settings API land.
Scope
Migrate in reviewable increments:
- conversation creation and workspace configuration;
- event/action/observation discriminated unions;
- agent-profile skills and condenser settings;
- remote state; and
- remaining public
any declarations.
The budget records existing approved weak locations with reasons; new or widened weak locations fail CI; removing an entry permanently lowers the budget. Evaluate generic transport internals and deliberately opaque proxy payloads separately from public domain contracts.
Exit criteria
The budget acts as a ratchet rather than a target, preventing new public type regressions while allowing incremental cleanup.
Objective
Introduce a checked-in weak-type budget for public API declarations and incrementally tighten remaining domain boundaries after the MCP contract rollout.
Dependency
Follow-up after the generated Agent Server contract and canonical typed MCP settings API land.
Scope
Migrate in reviewable increments:
anydeclarations.The budget records existing approved weak locations with reasons; new or widened weak locations fail CI; removing an entry permanently lowers the budget. Evaluate generic transport internals and deliberately opaque proxy payloads separately from public domain contracts.
Exit criteria
The budget acts as a ratchet rather than a target, preventing new public type regressions while allowing incremental cleanup.