qing
db54921066
fix(aibox): batch I audit fixes - prompt write cap, light-subagent cancel propagation, atomic history writes
Remaining-item sweep (audit report §12):
- N9: cap prompt file writes (identity/soul/status, 10k chars) to bound
persistent-injection surface
- F5: run_light_subagent switches to stream_chat + parent cancel_event
(mid-stream interrupt); ExpressEmotionTool injects parent event
- Q4: busy_timeout=10s on mark_as_triggered (multi-process DB contention)
- Q5: malformed reminder_time tasks returned as due (were silently dropped
by SQL-level string filter, which is now Python-side authoritative check)
- Q7b: load_conversation realpath prefix check (../ traversal defense)
- Q8: atomic JSON writes (tmp+os.replace) for index/current/archive
- F6: dedicated ws command executor for /new, /reload_prompts
- F9: --once hard-exit backstop after soft timeout
- PromptManager singleton lock; limit=0 semantics (None = no LIMIT)
2026-08-18 03:09:05 +00:00
..
2026-08-13 15:48:55 +08:00
2026-08-17 17:28:41 +08:00
2026-08-17 16:58:33 +08:00
2026-08-18 07:44:17 +08:00
2026-08-13 16:26:41 +08:00
2026-08-17 22:37:30 +08:00
2026-08-15 09:51:59 +08:00
2026-08-13 16:54:32 +08:00
2026-08-15 09:51:59 +08:00
2026-08-13 15:48:55 +08:00
2026-08-17 22:47:37 +08:00
2026-08-18 07:21:29 +08:00
2026-08-18 02:33:17 +00:00
2026-08-18 03:09:05 +00:00
2026-08-18 00:52:39 +08:00
2026-08-17 16:32:22 +08:00
2026-08-13 15:48:55 +08:00
2026-08-13 15:48:55 +08:00