Commit 9f3f186
committed
fix: audit remediation wave for REPOSITORY_AUDIT_2026-07-10 findings F-01..F-16
Safe mutation pipeline (F-01): per-call duplicate signatures registered
only on success, serialized mutation chain for world/component/lua/skill
tools, streamed mutating calls deferred to turn completion.
Packaging (F-02): Hub-facing mods code extracted into optional
CoreAI.Mods.Hub assembly; honest package dependency graphs.
World state (F-04/F-05/F-06): inactive objects in save/clean-slate,
Reset clears unresolved list, load_scene validates Build Settings plus
Lua whitelist, WebGL IDBFS flush, always-on auto-save, mods rehydrate
waits for WorldRestoreCompleted.
Audit log (F-07): bounded queue with drop-oldest marker, commit
seq/hash only after successful write, rotation marker+anchor entries,
serialized flushes, shared CoreAiWebGlPersistence helper.
Lua sandbox (F-08): per-instruction GC allocation budget (64 MB) on
MoonSharp and Lua-CSharp, table.concat output cap.
LLM resilience (F-09/F-10): fallback on internal streaming timeout with
commit-aware streaming, orchestrator MaxPending admission cap, binary
insertion, lifetime CTS and complete Dispose contract.
Version stores (F-11): VersionRetentionPolicy bounds history, stable
revision Index, index-based revert in both mod runtimes.
Mod events (F-13): per-subscriber isolation. Diagnostics (F-16/F-23):
capped trace sink, throttled IMGUI dashboards.
Hub mods UX: version history/revert, bundled-update badge, clipboard
export/import, cached mod list with debounced search.
Also: agent camera/vision feature scaffolding and demo cleanups from
the optimization review (#1-6, #11-14).
Note: EditMode/PlayMode verification of this wave is still pending; two
compile-blocking test regressions introduced alongside it were restored
to HEAD (see Docs/REPOSITORY_AUDIT_2_2026-07-10.md, finding A-01).1 parent 196e31b commit 9f3f186
150 files changed
Lines changed: 6494 additions & 986 deletions
File tree
- Assets
- CoreAI.Demos
- FullAccess/Scripts
- Hub
- LiveMechanicsMods
- Scripts
- LiveMechanics/Scripts
- LuaMods/Scripts
- MiniRpg
- ModdableUnits/Scripts
- CoreAIHub
- Editor
- Runtime
- CoreAIMods
- Runtime
- Composition
- HubIntegration
- Hub
- Infrastructure
- LuaExecution
- Messaging
- Sandbox
- Tests
- EditMode
- CoreAI
- Docs
- Runtime/Core
- Audit
- Features
- AgentMemory
- Hub
- Llm
- Orchestration
- RuntimeVersioning
- CoreAiUnity
- Docs
- Runtime/Source
- Composition
- Features
- AgentMemory/Infrastructure
- Audit
- Diagnostics
- Llm/Infrastructure
- Lua/Infrastructure
- Vision
- World
- Infrastructure
- Infrastructure
- Tests
- EditMode
- Audit
- PlayMode/FastNoLlm
- Scenes/AutoSaves
- Docs
- CoreAI
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
| 110 | + | |
113 | 111 | | |
114 | 112 | | |
115 | 113 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
| 78 | + | |
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | | - | |
84 | | - | |
85 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
86 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | 300 | | |
307 | 301 | | |
308 | 302 | | |
| |||
323 | 317 | | |
324 | 318 | | |
325 | 319 | | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | 320 | | |
352 | 321 | | |
353 | 322 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 69 | + | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
Lines changed: 0 additions & 69 deletions
This file was deleted.
Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | | - | |
| 143 | + | |
146 | 144 | | |
147 | 145 | | |
148 | 146 | | |
| |||
Lines changed: 38 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
76 | | - | |
77 | | - | |
78 | | - | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| |||
93 | 98 | | |
94 | 99 | | |
95 | 100 | | |
| 101 | + | |
| 102 | + | |
96 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
97 | 119 | | |
98 | 120 | | |
99 | 121 | | |
| |||
398 | 420 | | |
399 | 421 | | |
400 | 422 | | |
401 | | - | |
402 | | - | |
| 423 | + | |
403 | 424 | | |
404 | 425 | | |
405 | 426 | | |
406 | 427 | | |
407 | 428 | | |
408 | | - | |
| 429 | + | |
409 | 430 | | |
410 | 431 | | |
411 | 432 | | |
| |||
427 | 448 | | |
428 | 449 | | |
429 | 450 | | |
430 | | - | |
| 451 | + | |
431 | 452 | | |
432 | | - | |
| 453 | + | |
433 | 454 | | |
434 | | - | |
| 455 | + | |
435 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
436 | 463 | | |
437 | 464 | | |
438 | | - | |
| 465 | + | |
439 | 466 | | |
440 | | - | |
| 467 | + | |
441 | 468 | | |
442 | 469 | | |
443 | 470 | | |
| |||
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| |||
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
201 | | - | |
202 | | - | |
203 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
204 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
205 | 224 | | |
206 | 225 | | |
207 | 226 | | |
| |||
0 commit comments