chore(cleanup): R-b R3 — profiles, phase signals and the effort dialog removed, one fixed path per command
The four profiles, the resolver, the profile validator and docs/profiles.md go; /trekbrief Phase 3.5 and the brief's phase_signals checks go (an older brief's key is ignored); MANIFEST_PROFILE_DRIFT and profile_used go. Every Profile, Composition rule, Sequencing gate and High-effort section leaves the commands. Decision 209: /trekresearch runs the full swarm with contrarian-researcher as wave 2 every run; /trekreview and the coordinator run all four passes with no high-effort normalization. Voyage agents are spawned with no model (their own model: opus applies); the two built-in spawns pass model "opus". --profile stays in the parser as a retired flag that swallows its value. §Model & effort moves to docs/architecture.md; the sequencing-gate eval case goes. Files removed: 44 (43 from the R3 list + tests/commands/trekreview.test.mjs, whose every test pinned removed text). Files edited: 43. Tests: 2467 (2466 pass / 0 fail / 1 skipped) before, 2309 (2309 pass / 0 fail / 0 skipped) after. Durable check: all three groups green, none pending. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
32621dcb63
commit
2a35d067d9
87 changed files with 225 additions and 4967 deletions
|
|
@ -69,7 +69,6 @@ auto_research: false
|
|||
interview_turns: 5
|
||||
source: interview
|
||||
framing: new-direction
|
||||
phase_signals_partial: true
|
||||
---
|
||||
|
||||
# Task: JWT auth
|
||||
|
|
@ -116,28 +115,7 @@ Find what was missed.
|
|||
- All BLOCKER findings get a fix-plan.
|
||||
`;
|
||||
|
||||
// signals blocks
|
||||
const GOOD_SIGNALS = `phase_signals:
|
||||
- phase: plan
|
||||
effort: high
|
||||
model: opus
|
||||
`;
|
||||
const BAD_PHASE_SIGNALS = `phase_signals:
|
||||
- phase: nonsense
|
||||
effort: high
|
||||
`;
|
||||
const BAD_EFFORT_SIGNALS = `phase_signals:
|
||||
- phase: plan
|
||||
effort: turbo
|
||||
`;
|
||||
const BAD_MODEL_SIGNALS = `phase_signals:
|
||||
- phase: plan
|
||||
effort: high
|
||||
model: gpt4
|
||||
`;
|
||||
|
||||
// convenience builders
|
||||
const v21 = (s) => s.replace('brief_version: "2.0"', 'brief_version: "2.1"');
|
||||
const withLine = (s, line) => s.replace('source: interview\n', `source: interview\n${line}`);
|
||||
|
||||
// ---- the canonical in-scope set + a class-balanced pair for each -------------
|
||||
|
|
@ -151,12 +129,6 @@ const IN_SCOPE_CODES = [
|
|||
'BRIEF_MISSING_SECTION',
|
||||
'BRIEF_INVALID_FRAMING',
|
||||
'BRIEF_MISSING_FRAMING',
|
||||
'BRIEF_V51_MISSING_SIGNALS',
|
||||
'BRIEF_SIGNALS_MUTUALLY_EXCLUSIVE',
|
||||
'BRIEF_INVALID_PHASE_SIGNALS',
|
||||
'BRIEF_INVALID_PHASE_SIGNAL_PHASE',
|
||||
'BRIEF_INVALID_EFFORT',
|
||||
'BRIEF_INVALID_MODEL',
|
||||
];
|
||||
|
||||
const CASES = {
|
||||
|
|
@ -192,30 +164,6 @@ const CASES = {
|
|||
fail: GOOD_BRIEF_22.replace('framing: new-direction\n', ''),
|
||||
pass: GOOD_BRIEF_22,
|
||||
},
|
||||
BRIEF_V51_MISSING_SIGNALS: {
|
||||
fail: v21(GOOD_BRIEF),
|
||||
pass: GOOD_BRIEF, // 2.0 — gate inactive
|
||||
},
|
||||
BRIEF_SIGNALS_MUTUALLY_EXCLUSIVE: {
|
||||
fail: withLine(v21(GOOD_BRIEF), `phase_signals_partial: true\n${GOOD_SIGNALS}`),
|
||||
pass: withLine(v21(GOOD_BRIEF), 'phase_signals_partial: true\n'),
|
||||
},
|
||||
BRIEF_INVALID_PHASE_SIGNALS: {
|
||||
fail: withLine(GOOD_BRIEF, 'phase_signals: notalist\n'),
|
||||
pass: withLine(v21(GOOD_BRIEF), GOOD_SIGNALS),
|
||||
},
|
||||
BRIEF_INVALID_PHASE_SIGNAL_PHASE: {
|
||||
fail: withLine(v21(GOOD_BRIEF), BAD_PHASE_SIGNALS),
|
||||
pass: withLine(v21(GOOD_BRIEF), GOOD_SIGNALS),
|
||||
},
|
||||
BRIEF_INVALID_EFFORT: {
|
||||
fail: withLine(v21(GOOD_BRIEF), BAD_EFFORT_SIGNALS),
|
||||
pass: withLine(v21(GOOD_BRIEF), GOOD_SIGNALS),
|
||||
},
|
||||
BRIEF_INVALID_MODEL: {
|
||||
fail: withLine(v21(GOOD_BRIEF), BAD_MODEL_SIGNALS),
|
||||
pass: withLine(v21(GOOD_BRIEF), GOOD_SIGNALS),
|
||||
},
|
||||
};
|
||||
|
||||
test('gate coverage — CASES keys exactly match IN_SCOPE_CODES (no silent gap)', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue