mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
f2ed2b28ef
- ISOLATE_KEEP promoted to a global so --keep survives cmd_test return into the trap scope - early-die and default-stack protection: failed --isolate setup no longer tears down the default stack; half-initialized state is cleaned up on the way out - liveness/PID/age reaping signals with a sweep lock: heartbeat updates, own-pid lock release, tombstones, and a claim-then-verify duplicate-name guard close slot-registry races (TOCTOU, lock takeover, reap order) - teardown robustness: --volumes on every compose down, failed-down runs preserve state for diagnosis, reap remnants get a compose-down, path-traversal guard, uniform rm guards under set -e - name validation: --isolate names must start with a lowercase letter or digit; reserved name 'showcase' rejected (it aliases the default stack) - fail-loud warning before pre-down of an existing stack; help text updated Result of an 8-round, 7-agent code-review loop with red-green verified fixes.
6.9 KiB
Executable File
6.9 KiB
Executable File