diff --git a/README.md b/README.md index d7c100e7..0cd89b20 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ and human teammates working the same codebase at the same time.

+Package summary ([about_description.txt](./about_description.txt)): Guardian T-Rex for your multi-agent repo. Isolated worktrees, file locks, and PR-only merges stop parallel Codex & Claude agents from overwriting each other's work. Auto-wires Oh My Codex, Oh My Claude, OpenSpec, and Caveman.

npm version diff --git a/scripts/agent-branch-start.sh b/scripts/agent-branch-start.sh index 14b36c0a..a9816423 100755 --- a/scripts/agent-branch-start.sh +++ b/scripts/agent-branch-start.sh @@ -419,7 +419,7 @@ meaningful_slug_tokens() { | awk ' length($0) < 4 { next } $0 ~ /^[0-9]+$/ { next } - $0 ~ /^(agent|agents|branch|codex|claude|continue|dirty|existing|fix|from|implement|make|matching|reuse|start|task|that|this|update|with|worktree|worktrees)$/ { next } + $0 ~ /^(agent|agents|branch|codex|claude|continue|dirty|existing|fix|from|implement|make|matching|openspec|reuse|start|task|that|this|update|with|worktree|worktrees)$/ { next } !seen[$0]++ { print } ' } diff --git a/templates/scripts/agent-branch-start.sh b/templates/scripts/agent-branch-start.sh index 14b36c0a..a9816423 100755 --- a/templates/scripts/agent-branch-start.sh +++ b/templates/scripts/agent-branch-start.sh @@ -419,7 +419,7 @@ meaningful_slug_tokens() { | awk ' length($0) < 4 { next } $0 ~ /^[0-9]+$/ { next } - $0 ~ /^(agent|agents|branch|codex|claude|continue|dirty|existing|fix|from|implement|make|matching|reuse|start|task|that|this|update|with|worktree|worktrees)$/ { next } + $0 ~ /^(agent|agents|branch|codex|claude|continue|dirty|existing|fix|from|implement|make|matching|openspec|reuse|start|task|that|this|update|with|worktree|worktrees)$/ { next } !seen[$0]++ { print } ' } diff --git a/test/doctor.test.js b/test/doctor.test.js index 01ecdc28..1cf1c014 100644 --- a/test/doctor.test.js +++ b/test/doctor.test.js @@ -116,9 +116,9 @@ Trailing project notes after managed block. assert.match(currentAgents, /Guardex is enabled by default/); assert.match(currentAgents, /GUARDEX_ON=0/); assert.match(currentAgents, /GUARDEX_ON=1/); - assert.match(currentAgents, /Small tasks stay in direct caveman-only mode\./); - assert.match(currentAgents, /Promote to OMX orchestration only when the task is medium\/large/); - assert.match(currentAgents, /explicit final completion\/cleanup section/); + assert.match(currentAgents, /Small tasks stay direct and caveman-only\./); + assert.match(currentAgents, /Promote to full Guardex \/ OMX orchestration only when scope grows into:/); + assert.match(currentAgents, /final completion\/cleanup section/); assert.match(currentAgents, /PR URL \+ final `MERGED` evidence/); assert.doesNotMatch(currentAgents, /legacy managed clause/); assert.match(result.stdout, /refreshed gitguardex-managed block/); diff --git a/test/setup.test.js b/test/setup.test.js index 8b615d15..50c8a00e 100644 --- a/test/setup.test.js +++ b/test/setup.test.js @@ -645,11 +645,11 @@ Trailing project notes after managed block. ); assert.match( nextAgents, - /Never implement directly on the local\/base branch checkout; keep it unchanged and perform all edits in the agent sub-branch\/worktree\./, + /Never implement directly on the local\/base branch checkout\. Keep it unchanged and perform all edits in the agent sub-branch\/worktree\./, ); - assert.match(nextAgents, /Small tasks stay in direct caveman-only mode\./); - assert.match(nextAgents, /Promote to OMX orchestration only when the task is medium\/large/); - assert.match(nextAgents, /explicit final completion\/cleanup section/); + assert.match(nextAgents, /Small tasks stay direct and caveman-only\./); + assert.match(nextAgents, /Promote to full Guardex \/ OMX orchestration only when scope grows into:/); + assert.match(nextAgents, /final completion\/cleanup section/); assert.match(nextAgents, /PR URL \+ final `MERGED` evidence/); assert.doesNotMatch(nextAgents, /legacy managed clause/); });