Sed-pipeline (16 patterns, longest-match-first) sweeper residuelle ultra*-treff i prose, command-narrativ, agent-prompts, hook-kommentarer, doc-prosa. Pipeline-utvidelser fra V4-prompten: - BSD-syntax [[:<:]]ultra[[:>:]] istedenfor \bultra\b (BSD sed mangler \b) - 6 compound-patterns for ultraplan/ultraexecute/ultraresearch/ultrabrief/ ultrareview/ultracontinue uten -local-suffiks - ultra*-stats glob -> trek*-stats glob - Linje-eksklusjon redusert til ultra-cc-architect (Q8); session-state- eksklusjonen var over-protektiv - File-eksklusjon utvidet til settings.json, package.json, plugin.json, hele .claude/-treet (gitignored + V5-territorium) Q8-undantak holdt: architecture-discovery.mjs + project-discovery.mjs urort. Filnavn-konvensjon holdt: .session-state.local.json + *.local.* preservert. Manuell narrative-fix: tests/lib/agent-frontmatter.test.mjs linje 10 mangled "/ultra*-local" til "/voyage*-local" (ingen slik kommando finnes); korrigert til "/trek*". Residualer utenfor scope (V5 handterer): package.json + .claude-plugin/ plugin.json (Step 12-14 versjons-bump). .claude/* er gitignored spec-historikk med tilsiktet BEFORE/AFTER-narrativ. Part of voyage-rebrand session 3 (Wave 4 / Step 10). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2.3 KiB
2.3 KiB
Contributing to trekplan
This is a solo project. Issues are welcome. PRs may be considered but are not expected.
Reporting bugs
Open an issue with:
- Plugin version (from
.claude-plugin/plugin.json) - Claude Code version (
claude --version) - What you did, what you expected, what happened instead
- Whether it fails consistently or occasionally
Suggesting features or improvements
Open an issue describing:
- The problem you ran into
- What you think would solve it
- Any alternatives you considered
Design principles
Changes to this plugin must preserve:
- Pure markdown — no scripts, no dependencies, no platform-specific code
- Cross-platform — must work identically on Mac, Linux, and Windows
- Cost-aware — Sonnet for exploration, Opus only for planning
- Privacy-first — never read files outside the repo, never log secrets
- Honest — if a task is trivial, say so instead of inflating the plan
Architecture
| File | Purpose |
|---|---|
.claude-plugin/plugin.json |
Plugin manifest |
commands/trekresearch.md |
The /trekresearch slash command — research orchestration |
commands/trekplan.md |
The /trekplan slash command — planning orchestration |
commands/trekexecute.md |
The /trekexecute slash command — execution orchestration |
agents/*.md |
19 specialized agents for research, exploration, review, and orchestration |
templates/plan-template.md |
Structured plan output format |
templates/research-brief-template.md |
Research brief format with triangulation and confidence |
templates/spec-template.md |
Spec file format |
templates/session-spec-template.md |
Session spec format for headless execution |
templates/headless-launch-template.md |
Launch script template |
The command files are the core. All logic lives in markdown.
Testing locally
claude --plugin-dir /path/to/trekplan
# Then in the session:
/trekresearch <research question>
/trekplan <describe a task>
/trekexecute <path to plan>
Verify:
/trekresearch: Research agents spawn, brief written to.claude/research//trekplan: Exploration agents spawn in parallel, plan follows template, plan written to.claude/plans/, adversarial review runs/trekexecute: Steps execute with verify + checkpoint per step