Recovered from crashed session (Node OOM). Repo contains full P0-P6 scaffold: plugin.json/marketplace.json, AGENTS.md, ADRs 0001-0006, lh CLI (init/index/graph/lane/run/memory/host/report/doctor), 10 .github/agents, 12 CLI skills, instructions, context7 mcp.json, and unit/e2e test suite. Fixed: run.mjs read --in-tokens/--out-tokens but tests and CLI docs use --input-tokens/--output-tokens, so telemetry totals were always 0. Now accepts both forms. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
20 lines
715 B
Markdown
20 lines
715 B
Markdown
---
|
|
applyTo: '**'
|
|
description: Project instructions for contributors working on redsen-lean-harness itself.
|
|
---
|
|
|
|
# redsen-lean-harness Contributor Rules
|
|
|
|
1. Work in ESM `.mjs` modules.
|
|
2. Require Node >= 20.
|
|
3. Add zero native dependencies.
|
|
4. Keep CLI output terse; LLMs consume it.
|
|
5. Put shared contracts in `src/lib/`.
|
|
6. Export command modules with the project command signature.
|
|
7. Keep command implementations imperative and deterministic.
|
|
8. Prefer small pure helpers over hidden global state.
|
|
9. Keep `.github/` behavior aligned with AGENTS.md.
|
|
10. Do not duplicate long behavior in prompts or skills.
|
|
11. Validate with existing scripts only.
|
|
12. Never write secrets to config, memory, tests, or fixtures.
|