{ "_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", "document_kind": "codewhale.runtime_contract_budget", "representative_context": { "fixture_id": "representative-v1", "stages": { "base": { "bytes": 5848, "identity_sha256": "7d0769c098849fb2d3f6a626befc566f0587e6ad299aeb7a616089ab7bbf60fc" }, "goal": { "bytes": 8011, "delta_bytes": 81, "identity_sha256": "b2175a39f0451f081b03733a82dd874591d5ddfb4d03c0f36ce08e1b30ea658e" }, "handoff": { "bytes": 8399, "delta_bytes": 388, "identity_sha256": "ecb467503b923e06d7644e45269fc74aa51917c36678ac595f3913cdd6792990" }, "instructions": { "bytes": 6300, "delta_bytes": 131, "identity_sha256": "e5a74b827fd93335c1962ab2bdeb71a97a770d5bb4bc3757e32be25db8362037" }, "memory": { "bytes": 7930, "delta_bytes": 963, "identity_sha256": "c4ecd1ac059fd9e7bd7850ce171745f7deaba6530f255662bcc89c28d76589ae" }, "project": { "bytes": 6169, "delta_bytes": 321, "identity_sha256": "9ae2524b00cf3aa7b924811eda5a334bc6d20aa3d8826e18814ed55585fb026c" }, "skill": { "bytes": 6967, "delta_bytes": 667, "identity_sha256": "2ab9229910c4e552d1e6a39d96602afe6d31ebce83a9fd97853fb6d5deb32ac9" } }, "system_prompt_blocks": 6, "total_bytes": 8399, "total_tokens_est": 2100 }, "schema_version": 1, "skill_discovery": { "first_delta": { "directories_visited": 1, "root_discovery_calls": 1, "skill_md_read_attempts": 1 }, "second_delta": { "directories_visited": 0, "root_discovery_calls": 0, "skill_md_read_attempts": 0 } }, "system_prompt": { "modes": { "act": { "mode_instructions_bytes": 0, "mode_instructions_tokens_est": 0, "system_prompt_blocks": 4, "system_prompt_bytes": 5848, "system_prompt_tokens_est": 1462 }, "operate": { "mode_instructions_bytes": 0, "mode_instructions_tokens_est": 0, "system_prompt_blocks": 4, "system_prompt_bytes": 5848, "system_prompt_tokens_est": 1462 }, "plan": { "mode_instructions_bytes": 0, "mode_instructions_tokens_est": 0, "system_prompt_blocks": 4, "system_prompt_bytes": 5848, "system_prompt_tokens_est": 1462 } } }, "tool_catalog": { "modes": { "act": { "active": { "bytes": 13435, "identity_sha256": "8411bddfc0d7fce72ec53dfeef341f28e6a3cfe37b98a721dc05b17d53b0a13e", "tokens_est": 3359, "tool_names": [ "agent", "bash", "edit", "read", "todo_write", "tool_search", "write" ], "tools": 7 }, "full": { "bytes": 68377, "identity_sha256": "8f3b51d6221804baac42de911d89f772b89c38a1320da7ebb6d3bdc96c4efb79", "tokens_est": 17095, "tool_names": [ "Git", "Run", "Web", "agent", "agents/coordinate", "agents/followup", "agents/interrupt", "agents/list", "agents/message", "agents/wait", "apply_patch", "automation", "bash", "create_goal", "diagnostics", "edit", "file_search", "fim_edit", "finance", "get_goal", "github", "grep_files", "handle_read", "harness", "list_dir", "load_skill", "lsp", "note", "notify", "project_map", "read", "request_user_input", "retrieve_tool_result", "revert_turn", "review", "send_later", "speech", "task_shell_start", "task_shell_wait", "tasks", "terminal/cancel", "terminal/reset", "terminal/run", "terminal/send", "terminal/wait", "todo_write", "tool_search", "tts", "tui_help", "update_goal", "validate_data", "verify", "web.run", "workflow", "write" ], "tools": 55 } }, "operate": { "active": { "bytes": 13435, "identity_sha256": "8411bddfc0d7fce72ec53dfeef341f28e6a3cfe37b98a721dc05b17d53b0a13e", "tokens_est": 3359, "tool_names": [ "agent", "bash", "edit", "read", "todo_write", "tool_search", "write" ], "tools": 7 }, "full": { "bytes": 68377, "identity_sha256": "8f3b51d6221804baac42de911d89f772b89c38a1320da7ebb6d3bdc96c4efb79", "tokens_est": 17095, "tool_names": [ "Git", "Run", "Web", "agent", "agents/coordinate", "agents/followup", "agents/interrupt", "agents/list", "agents/message", "agents/wait", "apply_patch", "automation", "bash", "create_goal", "diagnostics", "edit", "file_search", "fim_edit", "finance", "get_goal", "github", "grep_files", "handle_read", "harness", "list_dir", "load_skill", "lsp", "note", "notify", "project_map", "read", "request_user_input", "retrieve_tool_result", "revert_turn", "review", "send_later", "speech", "task_shell_start", "task_shell_wait", "tasks", "terminal/cancel", "terminal/reset", "terminal/run", "terminal/send", "terminal/wait", "todo_write", "tool_search", "tts", "tui_help", "update_goal", "validate_data", "verify", "web.run", "workflow", "write" ], "tools": 55 } }, "plan": { "active": { "bytes": 13435, "identity_sha256": "8411bddfc0d7fce72ec53dfeef341f28e6a3cfe37b98a721dc05b17d53b0a13e", "tokens_est": 3359, "tool_names": [ "agent", "bash", "edit", "read", "todo_write", "tool_search", "write" ], "tools": 7 }, "full": { "bytes": 41371, "identity_sha256": "2cf3e5b6810e7840ee2d2df2b6dd81a24058e3e916acdb1199aff3abae916a41", "tokens_est": 10343, "tool_names": [ "Git", "Web", "agent", "agents/coordinate", "agents/followup", "agents/interrupt", "agents/list", "agents/message", "agents/wait", "automation", "bash", "create_goal", "diagnostics", "edit", "file_search", "get_goal", "github", "grep_files", "handle_read", "list_dir", "load_skill", "notify", "read", "request_user_input", "review", "send_later", "tasks", "todo_write", "tool_search", "update_goal", "validate_data", "web.run", "workflow", "write" ], "tools": 34 } } }, "surface_profile": "production-default-builtins-no-mcp-no-host-interpreters-v1" } }