feat(voyage): document --profile flag in all 6 commands — SC #4 + arv-policy
Step 7 av v4.1-execute (Wave 3, Session 4). Legg ny "## Profile (v4.1)"-seksjon i hver kommando-fil rett før "## Hard rules": - trekbrief.md: --profile + VOYAGE_PROFILE + premium default - trekresearch.md: + economy/balanced auto-disable external_research_enabled - trekplan.md: + plan.md frontmatter recording for inheritance - trekexecute.md: + 4-step resolution (flag > env > inheritance > default) - trekreview.md: + opus-default for review-deepening - trekcontinue.md: spesiell — INHERITANCE er default (ikke premium), --profile overstyr emitter stderr-advarsel Tester (13 nye, baseline 432 → 445): - 6 commands × 2 (--profile + VOYAGE_PROFILE) - trekcontinue.md "inheritance"-keyword Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
9e01ce30b5
commit
71fcf6065a
7 changed files with 181 additions and 0 deletions
|
|
@ -829,6 +829,31 @@ Record format (one JSON line):
|
|||
If `${CLAUDE_PLUGIN_DATA}` is not set or not writable, skip tracking silently.
|
||||
Never let tracking failures block the main workflow.
|
||||
|
||||
## Profile (v4.1)
|
||||
|
||||
Accepts `--profile <name>` where `<name>` is `economy`, `balanced`, `premium`,
|
||||
or a custom profile under `voyage-profiles/`. Default: `premium`.
|
||||
|
||||
Resolution order (per `lib/profiles/resolver.mjs`):
|
||||
1. `--profile` flag (source: `flag`)
|
||||
2. `VOYAGE_PROFILE` env-var (source: `env`)
|
||||
3. `premium` default (source: `default`)
|
||||
|
||||
The selected profile drives `phase_models.plan` (model used for the planning
|
||||
LLM), `parallel_agents_min`/`max` (the exploration swarm size), and is
|
||||
recorded in `plan.md` frontmatter so `/trekexecute` and `/trekcontinue` can
|
||||
inherit it across the pipeline.
|
||||
|
||||
Examples:
|
||||
```
|
||||
/trekplan --profile economy --project .claude/projects/2026-05-09-add-auth
|
||||
/trekplan --profile balanced --brief brief.md
|
||||
VOYAGE_PROFILE=balanced /trekplan --project ...
|
||||
```
|
||||
|
||||
Stats records emit `profile`, `phase_models`, `parallel_agents`, and
|
||||
`profile_source` so operators can audit which profile drove which session.
|
||||
|
||||
## Hard rules
|
||||
|
||||
- **Brief-driven**: Every plan decision must trace back to a section of the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue