fix(kvb-org-organize): move the council root out of /tmp with a lossless migration
councilroot.py resolves one durable council root for every script and migrates the old /tmp root under the held locks: a preflight conflict moves nothing, each legacy file is renamed to a staging name before it is copied so a late writer is merged by the catch-up, id-less journals merge by line multiset, a differing whole file is kept beside its namesake, and a crash marker makes install copy the skills and report. One settings-file list, managed drop-ins included, serves councilroot.py and queue.py. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14). 🎯 Fix: 88 % 💥 Break: 7 % 💸 Tokens: 100 % ⏱️ Velocity: 100 % 🛡️ Security: 100 % 🏆 Score: 82 🚦 Gate: ⛔ fix 88 % < 90, break 7 % > 5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
699f3227c9
commit
8726ed37a7
47 files changed
+2199
-191
No files matched your search
@@ -13,6 +13,7 @@ services:
|
||||
read_only: true
|
||||
environment:
|
||||
TMPDIR: /scratch
|
||||
AGENTS_COUNCIL_ROOT: "${KVB_ORCHESTRATOR_COUNCIL:?written into .env by scripts/install.sh}"
|
||||
cap_drop:
|
||||
- ALL
|
||||
security_opt:
|
||||
@@ -36,9 +37,9 @@ services:
|
||||
- --public-port
|
||||
- "${KVB_ORCHESTRATOR_PORT:?set in .env}"
|
||||
- --council
|
||||
- /tmp/agents-council
|
||||
- "${KVB_ORCHESTRATOR_COUNCIL:?written into .env by scripts/install.sh}"
|
||||
- --pages
|
||||
- /tmp/kvb-git-diff
|
||||
- "${KVB_ORCHESTRATOR_COUNCIL:?written into .env by scripts/install.sh}/pages"
|
||||
- --state
|
||||
- /state
|
||||
- --host-state
|
||||
@@ -88,13 +89,9 @@ services:
|
||||
tmpfs:
|
||||
- /scratch:size=64m,mode=1777,noexec,nosuid,nodev
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /tmp
|
||||
target: /tmp
|
||||
read_only: true
|
||||
- type: bind
|
||||
source: "${KVB_ORCHESTRATOR_COUNCIL:?written into .env by scripts/install.sh}"
|
||||
target: /tmp/agents-council
|
||||
target: "${KVB_ORCHESTRATOR_COUNCIL:?written into .env by scripts/install.sh}"
|
||||
bind:
|
||||
create_host_path: false
|
||||
- type: bind
|
||||
|
||||
Reference in new issue
Block a user