返回 CodeWhale
runtime-contract-budget.json
根目录 / scripts / runtime-contract-budget.json
1 {
2 "_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",
3 "document_kind": "codewhale.runtime_contract_budget",
4 "representative_context": {
5 "fixture_id": "representative-v1",
6 "stages": {
7 "base": {
8 "bytes": 6740,
9 "identity_sha256": "d88255e429527fd5e4adc5be09c57cd75c71f8cb7e3dcc7ebe69e6395465f47c"
10 },
11 "goal": {
12 "bytes": 8903,
13 "delta_bytes": 81,
14 "identity_sha256": "ea2b56a3257c14d001aa553621d9b6fc4662e280378755c3fdc661aa50c53e2a"
15 },
16 "handoff": {
17 "bytes": 9291,
18 "delta_bytes": 388,
19 "identity_sha256": "aa82137bff95eda6642820089ed1a6931394f58e65085c2ceed5d81b1b27f831"
20 },
21 "instructions": {
22 "bytes": 7192,
23 "delta_bytes": 131,
24 "identity_sha256": "0e4b77464c3177cb3e0a60d1d805f111b1ee8dc3ff377ad7dfb8b9615cc885df"
25 },
26 "memory": {
27 "bytes": 8822,
28 "delta_bytes": 963,
29 "identity_sha256": "228a9bc9f776bb3fffff9276c2efc8faad1674b7a5fc4318ec1f9558ae37eaf3"
30 },
31 "project": {
32 "bytes": 7061,
33 "delta_bytes": 321,
34 "identity_sha256": "bace3ab6908c66aa0393ce76b55b21d93fbb468eb5ae57797faa4e5cca802f8d"
35 },
36 "skill": {
37 "bytes": 7859,
38 "delta_bytes": 667,
39 "identity_sha256": "c241969df355f1d1d472de7860832e5e86ec6546ad5f757d739139febfc82625"
40 }
41 },
42 "system_prompt_blocks": 6,
43 "total_bytes": 9291,
44 "total_tokens_est": 2323
45 },
46 "schema_version": 1,
47 "skill_discovery": {
48 "first_delta": {
49 "directories_visited": 1,
50 "root_discovery_calls": 1,
51 "skill_md_read_attempts": 1
52 },
53 "second_delta": {
54 "directories_visited": 0,
55 "root_discovery_calls": 0,
56 "skill_md_read_attempts": 0
57 }
58 },
59 "system_prompt": {
60 "modes": {
61 "act": {
62 "mode_instructions_bytes": 891,
63 "mode_instructions_tokens_est": 223,
64 "system_prompt_blocks": 4,
65 "system_prompt_bytes": 6740,
66 "system_prompt_tokens_est": 1685
67 },
68 "operate": {
69 "mode_instructions_bytes": 1671,
70 "mode_instructions_tokens_est": 418,
71 "system_prompt_blocks": 4,
72 "system_prompt_bytes": 7520,
73 "system_prompt_tokens_est": 1880
74 },
75 "plan": {
76 "mode_instructions_bytes": 517,
77 "mode_instructions_tokens_est": 130,
78 "system_prompt_blocks": 4,
79 "system_prompt_bytes": 6366,
80 "system_prompt_tokens_est": 1592
81 }
82 }
83 },
84 "tool_catalog": {
85 "modes": {
86 "act": {
87 "active": {
88 "bytes": 23010,
89 "identity_sha256": "d1b4a84c257b31324adc3a026b1ed56423285bd03283f159278c98b6bd7d1400",
90 "tokens_est": 5753,
91 "tool_names": [
92 "Bash",
93 "File",
94 "Git",
95 "Run",
96 "agent",
97 "load_skill",
98 "tasks",
99 "tool_search",
100 "work_update"
101 ],
102 "tools": 9
103 },
104 "full": {
105 "bytes": 67607,
106 "identity_sha256": "54e7530bfbee85550f4f90cde9c03dab6e790b84b3a4072bcb8ab906baa2b0e1",
107 "tokens_est": 16902,
108 "tool_names": [
109 "Bash",
110 "File",
111 "Git",
112 "Run",
113 "Web",
114 "agent",
115 "agents/coordinate",
116 "agents/followup",
117 "agents/interrupt",
118 "agents/list",
119 "agents/message",
120 "agents/wait",
121 "automation",
122 "create_goal",
123 "diagnostics",
124 "fim_edit",
125 "finance",
126 "get_goal",
127 "github",
128 "handle_read",
129 "harness",
130 "load_skill",
131 "lsp",
132 "note",
133 "notify",
134 "project_map",
135 "request_user_input",
136 "retrieve_tool_result",
137 "revert_turn",
138 "review",
139 "send_later",
140 "speech",
141 "task_shell_start",
142 "task_shell_wait",
143 "tasks",
144 "terminal/cancel",
145 "terminal/reset",
146 "terminal/run",
147 "terminal/send",
148 "terminal/wait",
149 "tool_search",
150 "tts",
151 "update_goal",
152 "validate_data",
153 "verify",
154 "web.run",
155 "work_update",
156 "workflow"
157 ],
158 "tools": 48
159 }
160 },
161 "operate": {
162 "active": {
163 "bytes": 23010,
164 "identity_sha256": "d1b4a84c257b31324adc3a026b1ed56423285bd03283f159278c98b6bd7d1400",
165 "tokens_est": 5753,
166 "tool_names": [
167 "Bash",
168 "File",
169 "Git",
170 "Run",
171 "agent",
172 "load_skill",
173 "tasks",
174 "tool_search",
175 "work_update"
176 ],
177 "tools": 9
178 },
179 "full": {
180 "bytes": 67607,
181 "identity_sha256": "54e7530bfbee85550f4f90cde9c03dab6e790b84b3a4072bcb8ab906baa2b0e1",
182 "tokens_est": 16902,
183 "tool_names": [
184 "Bash",
185 "File",
186 "Git",
187 "Run",
188 "Web",
189 "agent",
190 "agents/coordinate",
191 "agents/followup",
192 "agents/interrupt",
193 "agents/list",
194 "agents/message",
195 "agents/wait",
196 "automation",
197 "create_goal",
198 "diagnostics",
199 "fim_edit",
200 "finance",
201 "get_goal",
202 "github",
203 "handle_read",
204 "harness",
205 "load_skill",
206 "lsp",
207 "note",
208 "notify",
209 "project_map",
210 "request_user_input",
211 "retrieve_tool_result",
212 "revert_turn",
213 "review",
214 "send_later",
215 "speech",
216 "task_shell_start",
217 "task_shell_wait",
218 "tasks",
219 "terminal/cancel",
220 "terminal/reset",
221 "terminal/run",
222 "terminal/send",
223 "terminal/wait",
224 "tool_search",
225 "tts",
226 "update_goal",
227 "validate_data",
228 "verify",
229 "web.run",
230 "work_update",
231 "workflow"
232 ],
233 "tools": 48
234 }
235 },
236 "plan": {
237 "active": {
238 "bytes": 17365,
239 "identity_sha256": "6c8219db35f4279723ba77291079cf5c78a4a335acb2b3cf4b684610ada50852",
240 "tokens_est": 4342,
241 "tool_names": [
242 "File",
243 "Git",
244 "agent",
245 "load_skill",
246 "tasks",
247 "tool_search",
248 "work_update"
249 ],
250 "tools": 7
251 },
252 "full": {
253 "bytes": 42087,
254 "identity_sha256": "e44f5cc1c77e86a0fd5f3664441afeb3d913dc19b8a8f3b9a0385ee98f78b42e",
255 "tokens_est": 10522,
256 "tool_names": [
257 "File",
258 "Git",
259 "Web",
260 "agent",
261 "agents/coordinate",
262 "agents/followup",
263 "agents/interrupt",
264 "agents/list",
265 "agents/message",
266 "agents/wait",
267 "automation",
268 "create_goal",
269 "diagnostics",
270 "get_goal",
271 "github",
272 "handle_read",
273 "load_skill",
274 "notify",
275 "request_user_input",
276 "retrieve_tool_result",
277 "review",
278 "send_later",
279 "tasks",
280 "tool_search",
281 "update_goal",
282 "validate_data",
283 "web.run",
284 "work_update",
285 "workflow"
286 ],
287 "tools": 29
288 }
289 }
290 },
291 "surface_profile": "production-default-builtins-no-mcp-no-host-interpreters-v1"
292 }
293 }
294
294 lines JSON