返回 CodeWhale
runtime-contract-budget.json
根目录 / scripts / runtime-contract-budget.json
1 {
2 "_agy_20261114_main_remeasure": "2026-11-14: record merged CW-8215 (059529678f5) schema growth on Act and Operate full catalogs (plan replan_if and send_later delay_seconds parameters: 87575 -> 87803 bytes, 21894 -> 21951 estimated tokens; +228 B / +57 estimated tokens) measured provider-free on current origin/main (9b567b2b25a + native_runtime Windows fix); tool identities, Plan surfaces, active surfaces, and prompt ceilings are unchanged. bytes/4 remains an estimate, not provider usage or billing.",
3 "_claude_20261017_task_shell_wait": "2026-10-17: ecf50ab598 makes task_shell_wait eager on Act/Operate (DEFAULT_ACTIVE_NATIVE_TOOLS; Plan registers only the foreground shell, so its surfaces gain no tool). The bash description, timeout parameter and backgrounded-result texts now name task_shell_wait directly instead of via tool_search. Measured provider-free on macOS aarch64 from 72c1327be4: Act/Operate active 37822 -> 38870 B (+1048 = task_shell_wait schema plus the wording), 9456 -> 9718 estimated tokens, 14 -> 15 tools, name-set identity re-hashed; Act/Operate full 84503 -> 84582 (+79), Plan active 36292 -> 36370 (+78), Plan full 55282 -> 55360 (+78) from the wording alone. Removes the mid-session tool_search activation and change:tool_surface re-pin each background job used to cost (CW-7450). Re-lock from a Linux Lint run if CI reports drift. bytes/4 remains an estimate, not provider usage or billing.",
4 "_claude_20261108_eager_agents_ask_options": "2026-11-08: 5ba1aa63bc (eager sub-agents and goals by default, clearer tool text) and 080554911c (ask the user with options when a choice is theirs) intentionally grow the base system prompt from 7231 to 9063 bytes and change every representative-stage identity; the shared tool-description edits are recorded in their commit messages. Measured provider-free on macOS aarch64 with the existing runtime-contract metric tests on source e59a119643. Hosted Linux Lint on e59a119643 reported only the base-stage identity change, so the numeric ceilings are unchanged in kind.",
5 "_codex_0101_remeasure": "2026-10-01: lock the composed candidate measurement after the audited composition-required schema repair (46835a2fc, D04-11) and shared finance-timeout documentation (7c36620d4, D03-m3). Their parent-surface causal controls are recorded in 6655b191e. Act/Operate full catalog measured 84151 bytes / 21038 estimated tokens versus stale 83988 / 20997; no tools or surface identities changed. Plan/active surfaces and other budgets use their measured values. Estimate only, not provider usage. Receipt: CW/artifacts/codex-0101-takeover-20260930/root-runtime-contract-receipt.json.",
6 "_codex_20261005_main_remeasure": "2026-10-05: pair already-merged tool description disclosures with exact hosted Linux measurement on main 3684e2a776fd6ef4f07e8d75e8429d4bed52858b, CI 37359068458 Lint job 111929025135. Only Act/Operate full catalog ceilings failed: 84865 bytes / 21217 estimated tokens versus 84151 / 21038 (+714 B / +179). Accept only that measured increase; tool identities, active/Plan surfaces, prompt and other ceilings unchanged. Estimate only, not provider usage. Wave composition has its own measurement.",
7 "_codex_20261005_wave_remeasure": "2026-10-05: exact provider-free measurement of wave 7903b9645: Act/Operate full 85359 B / 21340 estimated tokens, +644 B / +161 over stale 84715 / 21179. The merged tool-documentation disclosures add 714 B (hosted main measurement); factual description rewrites reduce the common full surface by 70 B (Plan 54336 -> 54266), yielding +644. Only these four numeric ceilings increase. All identity checks and other existing ceilings pass. Receipt CW/artifacts/codex-engine-takeover-20261005/wave-runtime-contract.json. Correction: a53b58b058 incorrectly said this budget check passed; it failed on exactly these four fields. No hosted/native qualification or provider usage implied.",
8 "_codex_20261006_contributor_remeasure": "2026-10-06: provider-free composed release measurement. Existing bounded agent-wait timeout disclosure adds 172 schema bytes to active surfaces; contributor locale descriptions add 189 Plan full / 259 Act and Operate full bytes beyond that shared disclosure. Accept exactly measured tool schema ceilings: Plan full 54697 B / 13675 estimated tokens, active 34882 / 8721; Act and Operate full 85790 / 21448, active 36412 / 9103. All tool identities/counts, prompt identities and skill-discovery contracts remain unchanged. Other measured decreases are locked. Receipt CW/artifacts/takeover-0101-20261005/runtime-contract-final-receipt.json. bytes/4 estimates are not provider usage or billing.",
9 "_codex_20261011_goal_yield_remeasure": "2026-10-11: update_goal's progress description names yield, which update_goal now accepts with a progress estimate (407cb8ebb3). Hosted Linux measurement, CI run 38144890574 Lint job 114486327862: +7 B on every Plan/Act/Operate full and active surface (+1 to +2 estimated tokens). No tool enters or leaves a surface; identities unchanged.",
10 "_codex_20261012_bash_description": "2026-10-12: the optional display-only bash description property adds exactly 112 serialized bytes and 28 estimated tokens to each active/full Plan/Act/Operate tool catalog. Catalog names and counts are unchanged; only new sessions pin this schema. Description values remain append-only ToolUse history. Canonical macOS provider-free measurement: CW/artifacts/0102-handoff-20261012/bash-contract-receipt.json.",
11 "_codex_20261031_engine_move_prompt_measurement": "2026-10-31: four existing provider-free metric tests on macOS aarch64 after the Engine relocation reproduce the pre-b984e31290 prompt bytes and every representative-stage identity exactly. b984e31290 had absorbed a 3-byte raw / 5-byte normalized host-dependent decrease without a prompt source change. Restore only those measured fields; tool catalogs remain byte-for-byte at the archive-tool budget. Receipt: CW/artifacts/engine-move-takeover-20261031/runtime-metrics-move.json. This is a local measurement; the following DSH batch pins linux and /bin/bash through the existing recorded-environment guard, independent of host shell detection; all representative identities and byte counts remain exact. No provider usage or billing is measured.",
12 "_codex_20261031_goal_schema_7177": "PR #7177 changes exactly two update_goal description strings: +134 and +122 serialized bytes, +256 total on every full/active Plan, Act and Operate catalog. Counts and name identities are unchanged. Four existing metric tests on Engine binary SHA-256 648735f5b55dadcc8dd113ca462f07b83d01846c940c161d89ce7434ad889f04 confirm all 55 ceilings exactly. Existing prompt/event golden checks pass after re-recording the derived hashes, byte counts and bounded descriptions. Receipts: CW/artifacts/dsh-upgrade-takeover-20261031/runtime-contract.json and *-verify.log. No provider behavior or usage is claimed.",
13 "_comment": "One-way numeric ceilings and exact structural identities for the provider-free runtime contract. Decreases pass; increases or identity changes fail. Lock in decreases with: python3 scripts/check-runtime-contract-budget.py --update The v0.9.8 child-receipt restore grew every production tool surface by 1496 schema bytes / 374 estimated tokens (agent tool). The v0.9.8 workshop read/tool-result byte fields then grew every production tool surface by 371 schema bytes / 93 estimated tokens. Both raises are explicit maintainer decisions; identities stay on the pre-raise digests only if the name set is unchanged \u2014 re-measure on Linux CI if Lint reports identity drift. The v0.9.8 pinned session prefix added the <context_update> sentence to the base prompt (5848 -> 6084 bytes, every representative stage re-hashed), and the host-side Workflow/Goal verbs plus honest child posture grew the tool catalog (active 16531 -> 16602 bytes, full 71473 -> 72371); both are explicit v0.9.8 maintainer decisions measured from the release train. The v0.9.9 configured-skills change hides only custom configured-root paths, preserves discoverable default-root paths, normalizes Windows prompt separators, and trims 50 redundant skills-prompt bytes. The skill/memory/goal/handoff identities were re-measured without raising any ceiling. Explicit maintainer decision for #5473/#5492. The v0.9.10 full surfaces intentionally add the safe read_media tool; their measured schemas remain below the prior byte/token ceilings. Representative prompt byte metrics now use the same host-independent normalized text as their identities; the normalized base is 6089 bytes. The v0.9.11 model-visible sub-agent surface intentionally retires six legacy agents/* tools in favor of the canonical agent tool; all affected schema and prompt metrics decrease. The v0.9.12 plugin prompt-match slice intentionally adds the request_plugin_install tool to the full tool surfaces (plan full: +518 schema bytes / +130 estimated tokens / 29 -> 30 tools) so a strong prompt match can surface the human review CTA; explicit maintainer decision for #5663/#5579. The v0.9.13 profile pins a non-executed bare bash shell so interpreter guidance is reproducible across hosts. The duplicate tts catalog entry is intentionally hidden; speech remains canonical and the alias remains available for saved-transcript dispatch. Explicit v0.9.13 maintainer decision (2026-09-08): after removing 1426 repeated guidance bytes and pinning the bash-v2 fixture, accept only the measured tool byte/token ceilings from all-features macOS source e27735bb63c897f88061c71567701fd971f5d396, verified libtest SHA-256 5e8cbe213f32c4ecdec63494c4de5e31857b4a40134edf7b21a55bca926b1b38: active 13274/3319 in every mode, Plan full 39885/9972, Act/Operate full 67603/16901, with no margin. Against the prior budget, active +390 bytes is agent -41 plus retained bash command syntax +431. Plan full also retains Git commit_plan +253, update_goal progress +583, github bounded local-report guidance +127, review complete-input refusal +35, and send_later dispatching status +14. Act/Operate full instead has github +2151 and additionally speech +230, hidden tts -2120, and tasks/automation exact model-route fields +274 each. The older budget predates v0.9.12: that tag had already removed 361 agent bytes and added the two 274-byte route fields; the retained initial increase versus the tag is 751 source-attributed bytes (agent +320, bash +431), not the +390 budget delta. Only the seven active definitions form the initial request; full catalogs include deferred tools. Estimated tokens use the existing bytes/4 heuristic, not provider usage or billing. Prompt, representative-context, skill-discovery and tool-name identities/ceilings are unchanged. Explicit v0.9.13 maintainer decision (2026-09-09): source ccc5dadfa2279545bf084d37cff3617e41ceaae2 intentionally exposes create_goal, get_goal and update_goal before continuation, so all three initial surfaces now contain ten tools. Measure exact source 4648d148eea64782be857eda6952af2c539cbfcc with the hosted macOS all-features libtest SHA-256 4485c88c7a8b66b8bb9a135807321e417a1e266457ecb74cffc7dfb92f850fc4: four exact provider-free metric tests pass. Active schemas are exactly 17847 bytes / 4462 estimated tokens (+4573 / +1143 for the three eager goal definitions); Plan full is 40597 / 10150 and Act/Operate full is 68315 / 17079, with no margin. The +712 full-catalog bytes are request_user_input guidance +358, update_goal state-change guidance +98, list_dir home-relative path guidance +56, explicit review max_passes schema +197, and three defer_loading true-to-false values +3. The three active name sets/digests, their counts, and measured active/full byte/token ceilings change; full name identities and all prompt, representative-context and skill-discovery measurements remain unchanged. This updates the earlier seven-tool initial-request receipt; bytes/4 remains an estimate, not measured provider usage or billing. 2026-10-05: the shell handoff grew every surface by 564 schema bytes / 141 estimated tokens. The bash and action=run descriptions now say a command still running after the foreground wait moves to the background and is not killed, and name task_shell_wait. No tool entered or left a surface. Measured on macOS aarch64; the Linux Lint run reported the same deltas. The one-way numeric and exact identity gates remain enforced. Explicit v0.9.13 maintainer decision (2026-09-10): the +765 active/full tool-schema bytes since source 4648d148ee are exactly source-attributed \u2014 the agent tool's followup/parked-child continuation guidance (b6fad79373: +144 action description, +43 message parameter, +169 resume_from parameter) and the read tool's real output budget (e7f7c71e2c: +164 description, +245 for the new max_bytes parameter). No tool enters or leaves any surface: every name-set identity, count, and all prompt, representative-context and skill-discovery measurements are unchanged; only the measured byte/token ceilings move, to active 18612/4653 in every mode, Plan full 41362/10341, and Act/Operate full 69080/17270, with no margin. bytes/4 remains an estimate, not measured provider usage or billing. The one-way numeric and exact identity gates remain enforced. Explicit v0.9.13 maintainer decision (2026-09-13): source 5bfe88c8e8f45266ea1f9abce87c76b2eed894af intentionally keeps the native workflow tool eager on Plan/Act/Operate first-turn surfaces (DEFAULT_ACTIVE_NATIVE_TOOLS; commit 9e49d0918). Active name sets gain `workflow` (10\u219211 tools); active schema ceilings move to 29402/7351 with margin pending exact Linux --update lock-in. Full catalogs already advertised workflow; only a small defer_loading true\u2192false spelling bump is reserved (+32 bytes / +8 tokens). Prompt, representative-context, and skill-discovery measurements are unchanged. Do not remove workflow from Plan. bytes/4 remains an estimate, not measured provider usage or billing. The one-way numeric and exact identity gates remain enforced. Explicit v0.9.13 maintainer decision (2026-09-13, CI lock-in after b4d48e9a4): Linux Lint run 34766373771 measured the intentional eager `workflow` surface at active 31438/7860 in every mode, Plan full 50801/12701, and Act/Operate full 78513/19629. Prior ceilings (29402/7351 active, Plan full 41394/10349, Act/Operate full 69112/17278) under-counted the workflow schema body plus defer_loading true\u2192false on full catalogs; name-set identities are unchanged and `workflow` stays on Plan. Lock ceilings to those measured values with no margin. bytes/4 remains an estimate, not measured provider usage or billing. The one-way numeric and exact identity gates remain enforced. Explicit v0.9.14 maintainer decision (2026-09-16): #5715 intentionally adds the two bounded read-only recall tools `session_get` and `session_search` to the Act/Operate full catalogs (50 -> 52 tools), so both full name-set identities and their digests move to 1203d192385fd2b02227ef9e4212e5379bc5cbb813a373f12539406b5958aef1. Plan full is unchanged: the session tools are not offered there. Measured on macOS aarch64 all-features from source 55a9e1b778fa; per the 2026-09-13 precedent the exact byte/token ceilings must be re-locked from a Linux Lint run if CI reports drift. bytes/4 remains an estimate, not measured provider usage or billing. The one-way numeric and exact identity gates remain enforced. Explicit v0.9.14 maintainer decision (2026-09-17, #6319): re-measure from source b0866943b4 on macOS aarch64 all-features; per the 2026-09-13 precedent the exact byte/token ceilings must be re-locked from a Linux Lint run if CI reports drift. No tool enters or leaves any surface (52 tools; every name-set identity unchanged). Representative stages and system prompt grow exactly +742 bytes per stage/mode (base 6089 -> 6831, prompt 6084 -> 6826) for the deliberate dc32272f15 Bearing article plus mandate-first scope law; every stage re-hashed. Tool growth is exactly source-attributed per tool (measured per-tool at 55a9e1b778fa vs HEAD): agent +670 (2ca54ea8da #6282 output-token-cap parameter, 3c9c62571a spawn-requirement docs, 85d8dc7501 #6278 exact_files sentence, less 3dcb41f5d2 #6272 release-clause trim and the a7a8bdb338 token-allowance description removal), workflow +424 (a035914336 #6232 plan-child cwd property, serialized twice via phases/items and top-level children/items), Git +867 (b89349286f #6298 merge_tree verify surface), Run +158 (233da9fb76 #6296 bounded cwd), read +91 (f6fb5f42d1 #6283 size/truncated/line_count response fields), create_goal +76 (4de9e9e281 model-decides-goals description rewrite). Active 31453 -> 32714 (+1261 = agent +670, workflow +424, read +91, create_goal +76); Plan full 50816 -> 52944 (+2128 = active +1261 plus Git +867); Act/Operate full 79531 -> 81817 (+2286 = Plan full +2128 plus Run +158). bytes/4 remains an estimate, not measured provider usage or billing. The one-way numeric and exact identity gates remain enforced. Explicit v0.9.14 maintainer decision (2026-09-19 overnight): Code Mode Phase-1 advertises `execute_tools` on Act/Operate full catalogs (52 -> 53 tools; Plan full unchanged). Default Direct mode keeps it deferred (`defer_loading: true`), so active surfaces are unchanged. Name-set identity digests move with the sorted name list; measured tool JSON is 884 bytes (+885 including the catalog comma) so Act/Operate full ceilings lock to 82702/20676. bytes/4 remains an estimate, not measured provider usage or billing. The one-way numeric and exact identity gates remain enforced. Explicit v0.10.0 source reconciliation (2026-09-19): retain the existing agent cwd parameter (+256 serialized bytes in every surface) and tasks create name parameter (+121 bytes in Act/Operate full only), both already present before the preceding execute_tools lock-in. Linux CI run 35490467762 measured active 32970/8243, Plan full 53200/13300, and Act/Operate full 83079/20770. Each increase is attributed to exactly one schema property; no margin, tool identity, prompt or representative-context change. These are schema byte/4 estimates, not billed tokens. Explicit v0.10.0 maintainer decision (2026-09-22): 91b5898a2 intentionally makes `load_skill` eager so the `## Skills` instruction in the base prompt is actually callable \u2014 it was deferred behind tool_search, so the prompt told the model to call a tool that was not in the array it was printed beside. load_skill is read-only, so it joins the active sets of Plan, Act and Operate (11 -> 12 tools; +816 schema bytes / +204 estimated tokens in every mode, active ceilings lock to 33786/8447). Full catalogs move only by the defer_loading true->false spelling plus that schema body (+245 bytes / +61-62 tokens). Representative stages re-hash and each move +149 bytes with the total +37 tokens: dc32272f15 landed the Bearing article and mandate-first scope law, and 91b5898a2 rewrote the Skills paragraph every stage renders. No other name-set identity, count, prompt or skill-discovery measurement changes. Measured from 6bafe6e72 on macOS aarch64 all-features; per the 2026-09-13 precedent the exact byte/token ceilings must be re-locked from a Linux Lint run if CI reports drift. bytes/4 remains an estimate, not measured provider usage or billing. The one-way numeric and exact identity gates remain enforced. Explicit maintainer decision (#6562, PR #6583, 2026-09-25): code mode for MCP is on by default ([features] code_mode = true), so `execute_tools` is eager on the Act/Operate first-turn surfaces (12 -> 13 tools; active 33876/8469 -> 35406/8852, +1530 bytes / +383 estimated tokens) and its definition text now documents nested MCP/plugin calls through the direct-call gate (Act/Operate full 83384/20846 -> 84029/21008, +645 bytes). Plan is unchanged: execute_tools is not offered there. `code_mode = false` restores the prior deferred surface. Measured on macOS aarch64 all-features; re-lock from a Linux Lint run if CI reports drift. Re-measured after merging main 2026-09-25: active 35392/8848 (-14, main's 4b0f54edb fork_context trim), Act/Operate full 83737/20935 (-292: the same -14 plus -278 not attributed per tool in this merge); decreases locked with --update, identities unchanged. bytes/4 remains an estimate, not measured provider usage or billing. Explicit maintainer decision (PR #6589, 2026-09-25): the agent tool declares `runtime` (local|cloud; cloud only proposes a /dispatch job the person confirms) and `remote` (github|cnb|gitee) as schema properties so the model can request a cloud proposal without an undeclared field. Both descriptions were trimmed (-303 bytes) before locking, which also keeps the parent prompt+catalog surface under PARENT_SURFACE_BYTE_CEILING; the remaining +284 bytes / +71 estimated tokens land on every surface that carries agent (Plan/Act/Operate active and full: active 35676/8919 Act/Operate, 34146/8537 Plan; full 84021/21006 Act/Operate, 53785/13447 Plan). No tool enters or leaves any surface; identities unchanged. Measured on macOS aarch64 all-features; re-lock from a Linux Lint run if CI reports drift. bytes/4 remains an estimate, not measured provider usage or billing.",
14 "_compaction_archive_recall_20261031": "2026-10-31: the compaction-archive recall slice adds context_archive_get and context_archive_search to every production surface that already carries the other read tools - Plan active 13 -> 15, Plan full 30 -> 32, Act/Operate active 15 -> 17, Act/Operate full 51 -> 53, measured provider-free on Windows x86_64 as +875 active bytes and +1923 full bytes per Act/Operate surface. No tool left a surface. --update also absorbed pre-existing drift from the prompt and tool commits merged after the 2026-10-26 budget lock (4cf2d2cff ran with [skip ci]): the representative base stage and the system-prompt byte counts move by 3-5 bytes with no matching source change in this slice. 55 metrics, 21 identities. bytes/4 remains an estimate, not provider usage or billing.",
15 "_cw8266_mcp_payloads": "2026-11-18: CW-8266 documents execute_tools unwrapped JSON truncation/ref (+77 B active) and retrieve_tool_result mode=json/jsonpath (+356 B full), reconciled atop v9d toolbox-v3 + automation.rs trim (-8 B Plan full, -61 B Act/Operate full): Act/Operate active 30032 -> 30109 B (7508 -> 7528 est. tokens), Act/Operate full 87653 -> 88025 B (21914 -> 22007 est. tokens), Plan full 58011 -> 58003 B (14503 -> 14501 est. tokens). Measured provider-free on Linux x86_64 Boat farm via print_mode_tool_catalog_metrics; all tool names/counts/identities unchanged. bytes/4 remains an estimate, not provider usage or billing.",
16 "_cw8266_toolbox": "2026-11-18: CW-8266 removes `lsp` from `tool_registry` when LSP is disabled (`!lsp_manager.config().enabled`) and derives `tool_search`'s description from the deferred catalog: Act/Operate full tools 55 -> 54 (identity d67b680503178673d506a71f502e1d7b89087d1a3c6833dda45b14143d6a630e, 88621 -> 87653 B, 22156 -> 21914 est. tokens), Act/Operate active 30093 -> 30032 B (7524 -> 7508 est. tokens), Plan full 58128 -> 58011 B (14532 -> 14503 est. tokens), Plan active 27445 -> 27328 B (6862 -> 6832 est. tokens). Measured provider-free on Linux x86_64 Boat farm via print_mode_tool_catalog_metrics; all other identities and prompt/context/skill ceilings unchanged. bytes/4 remains an estimate, not provider usage or billing.",
17 "_cw_0105_harness_fixes": "2026-12-01: v0.10.5 Wave 1 harness fixes document Code Mode in-VM discovery (tools.list, tools.search, tools.describe, tools.<namespace>.<op> proxies) on execute_tools and tighten verify/Git tool descriptions while moving the tool cache breakpoint to the last eager tool. Measured provider-free on macOS aarch64 from e8cb121b175 via the four runtime-contract metric tests: Act/Operate active 27122 -> 27386 B (+264 B, 6781 -> 6847 est. tokens), Act/Operate full 92252 -> 92790 B (+538 B, 23063 -> 23198 est. tokens), Plan full 59634 -> 59664 B (+30 B, 14909 -> 14916 est. tokens), Plan active 25733 -> 25725 B (-8 B, 6434 -> 6432 est. tokens). All 21 tool-name/stage identities, system-prompt ceilings, representative-context ceilings, and skill-discovery metrics are unchanged. bytes/4 remains an estimate, not provider usage or billing.",
18 "_cw_0105_wave4b_codemode_cuts": "2026-12-01: v0.10.5 Wave 4b admits execute_tools in Plan mode so Plan, Act, and Operate share one 13-tool active head without tool_search on the wire, and cuts deprecated/merged full-surface tools (context_archive_get, diagnostics, finance, harness, note, project_map, session_get, tool_search, verify). Measured provider-free on macOS aarch64 atop Wave 4a+4b via scripts/measure-runtime-contract.py (55 metrics, 21 identities): Plan/Act/Operate active 26062 B (6516 est. tokens, 13 tools; down from Act 27386 B / 14 tools; Plan swaps tool_search for execute_tools +337 B to match Act byte-for-byte), Plan full 59664 -> 59447 B (14862 est. tokens, 32 tools), Act/Operate full 92790 -> 85176 B (-7614 B, 21294 est. tokens, 55 -> 46 tools). Re-lock from a Linux Lint run if CI reports host drift. bytes/4 remains an estimate, not provider usage or billing.",
19 "_lean_harness_20261109": "2026-11-09: the lean harness (CURRENT_DECISIONS \u00a794; CW-7923/CW-7926) intentionally shrinks the prompt core (base representative stage 9063 -> 5749 bytes; total 11707 -> 7181), drops the skills index from the prompt (discovery is load_skill by search), defers context_archive_get, context_archive_search and workflow behind tool_search, moves workspace instructions into a history message, and pages read results in lines only. Every representative-stage identity re-hashes and numeric ceilings move down with the smaller surfaces. Measured provider-free on macOS aarch64 from fdff4514a9 with the existing runtime-contract metric tests through scripts/dev-cargo.sh. bytes/4 remains an estimate, not provider usage or billing.",
20 "_pr7046_jsonpath_description": "2026-10-22: grew by the merged contributor PR #7046 (b961994290), which documented the JSONPath subset the web tool actually accepts. That is one model-visible description string on web_tool's `fields` argument: active catalog +132 bytes, full catalog +295 bytes, the same in act, operate and plan. No tool was added and no identity changed; the growth is the text the model needs to stop sending recursive descent and filters that the parser rejects. Remeasured on afeb9cea31's tree, 55 metrics, 21 identities.",
21 "_sub_20261114_task_shell_wait": "2026-11-14: task_shell_wait adds optional task_ids and until (\"any\"|\"all\") on Act/Operate (Plan does not register task_shell_wait). Measured provider-free on Linux x86_64 atop CW-8215's runtime-contract budget: Act/Operate active tool schemas 29275 -> 29697 B (+422 B), 7319 -> 7425 estimated tokens; Act/Operate full tool schemas 87803 -> 88225 B (+422 B), 21951 -> 22057 estimated tokens. Plan schemas, all tool names/counts/identities, representative-context stages, skill-discovery, and system-prompt ceilings are unchanged. bytes/4 remains an estimate, not provider usage or billing.",
22 "document_kind": "codewhale.runtime_contract_budget",
23 "representative_context": {
24 "fixture_id": "representative-v1",
25 "stages": {
26 "base": {
27 "bytes": 5761,
28 "identity_sha256": "df227bb2b66a04a0770271cb9e65b2331a7ec1fbe23c5dca694fc8e08f48d975"
29 },
30 "goal": {
31 "bytes": 6805,
32 "delta_bytes": 81,
33 "identity_sha256": "55e8c340d2aa16350595a2695cab1e79627908c488ab4d24c667afdb330c0dc2"
34 },
35 "handoff": {
36 "bytes": 7194,
37 "delta_bytes": 389,
38 "identity_sha256": "83600739b1e12117872006cced0c34360b22748f350b74ede3d2f9e7a5442bf0"
39 },
40 "instructions": {
41 "bytes": 5761,
42 "delta_bytes": 0,
43 "identity_sha256": "df227bb2b66a04a0770271cb9e65b2331a7ec1fbe23c5dca694fc8e08f48d975"
44 },
45 "memory": {
46 "bytes": 6724,
47 "delta_bytes": 963,
48 "identity_sha256": "519972b308bbba8d115764387de04d2631a80475e868ba0dad0d90857abfbbbe"
49 },
50 "project": {
51 "bytes": 5761,
52 "delta_bytes": 0,
53 "identity_sha256": "df227bb2b66a04a0770271cb9e65b2331a7ec1fbe23c5dca694fc8e08f48d975"
54 },
55 "skill": {
56 "bytes": 5761,
57 "delta_bytes": 0,
58 "identity_sha256": "df227bb2b66a04a0770271cb9e65b2331a7ec1fbe23c5dca694fc8e08f48d975"
59 }
60 },
61 "system_prompt_blocks": 5,
62 "total_bytes": 7194,
63 "total_tokens_est": 1799
64 },
65 "schema_version": 1,
66 "skill_discovery": {
67 "first_delta": {
68 "directories_visited": 0,
69 "root_discovery_calls": 0,
70 "skill_md_read_attempts": 0
71 },
72 "second_delta": {
73 "directories_visited": 0,
74 "root_discovery_calls": 0,
75 "skill_md_read_attempts": 0
76 }
77 },
78 "system_prompt": {
79 "modes": {
80 "act": {
81 "mode_instructions_bytes": 0,
82 "mode_instructions_tokens_est": 0,
83 "system_prompt_blocks": 4,
84 "system_prompt_bytes": 5756,
85 "system_prompt_tokens_est": 1439
86 },
87 "operate": {
88 "mode_instructions_bytes": 0,
89 "mode_instructions_tokens_est": 0,
90 "system_prompt_blocks": 4,
91 "system_prompt_bytes": 5756,
92 "system_prompt_tokens_est": 1439
93 },
94 "plan": {
95 "mode_instructions_bytes": 0,
96 "mode_instructions_tokens_est": 0,
97 "system_prompt_blocks": 4,
98 "system_prompt_bytes": 5756,
99 "system_prompt_tokens_est": 1439
100 }
101 }
102 },
103 "tool_catalog": {
104 "execution_shell": "bash",
105 "modes": {
106 "act": {
107 "active": {
108 "bytes": 26454,
109 "identity_sha256": "cde66c25ad4a63e3fb21489a41483598b9ecb8a07ac4e546fa9b4f17f515821e",
110 "tokens_est": 6614,
111 "tool_names": [
112 "agent",
113 "bash",
114 "create_goal",
115 "edit",
116 "execute_tools",
117 "file_search",
118 "grep_files",
119 "list_dir",
120 "load_skill",
121 "present",
122 "read",
123 "todo_write",
124 "write"
125 ],
126 "tools": 13
127 },
128 "full": {
129 "bytes": 85568,
130 "identity_sha256": "e7f1bf5e750b0c06196fd0bdcf6cf010cc672efb91d0eb6a5f6a2d08eb529ad3",
131 "tokens_est": 21392,
132 "tool_names": [
133 "Git",
134 "Run",
135 "Web",
136 "agent",
137 "apply_patch",
138 "automation",
139 "bash",
140 "context_archive_search",
141 "create_goal",
142 "edit",
143 "execute_tools",
144 "file_search",
145 "get_goal",
146 "github",
147 "grep_files",
148 "handle_read",
149 "list_dir",
150 "load_skill",
151 "notify",
152 "present",
153 "read",
154 "read_media",
155 "request_plugin_install",
156 "request_user_input",
157 "retrieve_tool_result",
158 "revert_turn",
159 "review",
160 "rlm",
161 "send_later",
162 "session_search",
163 "show_data",
164 "speech",
165 "task_shell_wait",
166 "tasks",
167 "terminal_cancel",
168 "terminal_reset",
169 "terminal_run",
170 "terminal_send",
171 "terminal_wait",
172 "todo_write",
173 "tui_help",
174 "update_goal",
175 "validate_data",
176 "web.run",
177 "workflow",
178 "write"
179 ],
180 "tools": 46
181 }
182 },
183 "operate": {
184 "active": {
185 "bytes": 26454,
186 "identity_sha256": "cde66c25ad4a63e3fb21489a41483598b9ecb8a07ac4e546fa9b4f17f515821e",
187 "tokens_est": 6614,
188 "tool_names": [
189 "agent",
190 "bash",
191 "create_goal",
192 "edit",
193 "execute_tools",
194 "file_search",
195 "grep_files",
196 "list_dir",
197 "load_skill",
198 "present",
199 "read",
200 "todo_write",
201 "write"
202 ],
203 "tools": 13
204 },
205 "full": {
206 "bytes": 85568,
207 "identity_sha256": "e7f1bf5e750b0c06196fd0bdcf6cf010cc672efb91d0eb6a5f6a2d08eb529ad3",
208 "tokens_est": 21392,
209 "tool_names": [
210 "Git",
211 "Run",
212 "Web",
213 "agent",
214 "apply_patch",
215 "automation",
216 "bash",
217 "context_archive_search",
218 "create_goal",
219 "edit",
220 "execute_tools",
221 "file_search",
222 "get_goal",
223 "github",
224 "grep_files",
225 "handle_read",
226 "list_dir",
227 "load_skill",
228 "notify",
229 "present",
230 "read",
231 "read_media",
232 "request_plugin_install",
233 "request_user_input",
234 "retrieve_tool_result",
235 "revert_turn",
236 "review",
237 "rlm",
238 "send_later",
239 "session_search",
240 "show_data",
241 "speech",
242 "task_shell_wait",
243 "tasks",
244 "terminal_cancel",
245 "terminal_reset",
246 "terminal_run",
247 "terminal_send",
248 "terminal_wait",
249 "todo_write",
250 "tui_help",
251 "update_goal",
252 "validate_data",
253 "web.run",
254 "workflow",
255 "write"
256 ],
257 "tools": 46
258 }
259 },
260 "plan": {
261 "active": {
262 "bytes": 23234,
263 "identity_sha256": "49492065e7e3ed0fdf4edf8e0d8965846e25d72c949d86c6509a7357fdc3f5a5",
264 "tokens_est": 5809,
265 "tool_names": [
266 "agent",
267 "create_goal",
268 "edit",
269 "execute_tools",
270 "file_search",
271 "grep_files",
272 "list_dir",
273 "load_skill",
274 "present",
275 "read",
276 "todo_write",
277 "write"
278 ],
279 "tools": 12
280 },
281 "full": {
282 "bytes": 56619,
283 "identity_sha256": "51e7d1b206641306703e893afdea97cf8661ecbd0d3f2f8f908e820dfd100fdb",
284 "tokens_est": 14155,
285 "tool_names": [
286 "Git",
287 "Web",
288 "agent",
289 "automation",
290 "context_archive_search",
291 "create_goal",
292 "edit",
293 "execute_tools",
294 "file_search",
295 "get_goal",
296 "github",
297 "grep_files",
298 "handle_read",
299 "list_dir",
300 "load_skill",
301 "notify",
302 "present",
303 "read",
304 "read_media",
305 "request_plugin_install",
306 "request_user_input",
307 "review",
308 "send_later",
309 "show_data",
310 "tasks",
311 "todo_write",
312 "update_goal",
313 "validate_data",
314 "web.run",
315 "workflow",
316 "write"
317 ],
318 "tools": 31
319 }
320 }
321 },
322 "surface_profile": "production-default-builtins-no-mcp-no-host-interpreters-bash-v2"
323 }
324 }
325
325 lines JSON