feat(voyage): define high-effort behavior + amend brief Non-Goal/SC1 + coordinator normalization (Decision B)
Wave 6 / Step 10 — autonomy-gated. Operator confirmed: gemini-bridge substitution for plan-critic doubling AND SC1 amendment to resolver-invariant encoding (decisions.local.json recorded). - commands/trekplan.md: gemini-bridge plan-review Pass 2 on post-revision plan in high-effort mode (replaces fragile plan-critic doubling per risk-assessor). - commands/trekresearch.md: full swarm + contrarian-researcher + gemini-bridge always-on. - commands/trekreview.md: skip Pass 3 reasonableness + invoke coordinator normalization rule. - commands/trekexecute.md: gates_mode = closed (strict manifest-audit, main-merge pauses); flag override still wins. - agents/review-coordinator.md: Pass 3 high-effort normalization — substitute unknown rule_key with PLAN_EXECUTE_DRIFT, preserve original in original_rule_key. - .claude/projects/2026-05-13-trekflow-solo-lane/brief.md (gitignored, not committed): Non-Goal amendment locks low/high tiers; SC1 amendment authorizes resolver-invariant interpretation. - tests/lib/doc-consistency.test.mjs: +4 pins for the "### High-effort behavior (v5.1.1)" heading per command. Tests: 578 pass, 0 fail, 2 skipped (+4 from 574). Closes #7 (operator-gated decisions captured + coordinator normalization landed). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
07ae1e30e9
commit
c1b7bad389
6 changed files with 114 additions and 0 deletions
|
|
@ -585,3 +585,29 @@ test('v5.1 — voyage README.md mentions phase_signals', () => {
|
|||
assert.ok(t.includes('phase_signals'),
|
||||
'voyage README.md must mention phase_signals (v5.1 "What\'s new" bullet)');
|
||||
});
|
||||
|
||||
// --- v5.1.1 — High-effort behavior sub-section per command (Step 10) ---
|
||||
|
||||
test('v5.1.1 — commands/trekplan.md contains ### High-effort behavior (v5.1.1) sub-section', () => {
|
||||
const t = read('commands/trekplan.md');
|
||||
assert.match(t, /^### High-effort behavior \(v5\.1\.1\)$/m,
|
||||
'trekplan.md must contain ### High-effort behavior (v5.1.1) sub-section under Composition rule (Decision B + gemini-bridge)');
|
||||
});
|
||||
|
||||
test('v5.1.1 — commands/trekresearch.md contains ### High-effort behavior (v5.1.1) sub-section', () => {
|
||||
const t = read('commands/trekresearch.md');
|
||||
assert.match(t, /^### High-effort behavior \(v5\.1\.1\)$/m,
|
||||
'trekresearch.md must contain ### High-effort behavior (v5.1.1) sub-section under Composition rule (contrarian-researcher + gemini-bridge always-on)');
|
||||
});
|
||||
|
||||
test('v5.1.1 — commands/trekreview.md contains ### High-effort behavior (v5.1.1) sub-section', () => {
|
||||
const t = read('commands/trekreview.md');
|
||||
assert.match(t, /^### High-effort behavior \(v5\.1\.1\)$/m,
|
||||
'trekreview.md must contain ### High-effort behavior (v5.1.1) sub-section under Composition rule (skip Pass 3 + coordinator normalization)');
|
||||
});
|
||||
|
||||
test('v5.1.1 — commands/trekexecute.md contains ### High-effort behavior (v5.1.1) sub-section', () => {
|
||||
const t = read('commands/trekexecute.md');
|
||||
assert.match(t, /^### High-effort behavior \(v5\.1\.1\)$/m,
|
||||
'trekexecute.md must contain ### High-effort behavior (v5.1.1) sub-section under Composition rule (gates_mode = closed)');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue