TL;DR
Move the campaign methodology and accumulated principles out of "re-sent every prompt" into the target repo's .nous/<run-id>/CLAUDE.md. Claude Code auto-loads it on every session. Auto-memory persists per-iteration learnings across sessions.
Why this matters
Right now Nous re-injects the campaign brief, methodology, and accumulated principles into every claude -p call. Claude Code already has two persistence mechanisms loaded automatically every session: CLAUDE.md and auto-memory. Using them both reduces token spend AND simplifies the orchestrator (less prompt assembly).
What's already shipped
Proposed approach
- On
nous run, write the campaign methodology + current principles into <repo>/.nous/<run-id>/CLAUDE.md.
- Pass
--add-dir <repo>/.nous/<run-id> (or the SDK equivalent) so Claude Code auto-loads it.
- After each iteration, regenerate the CLAUDE.md with updated principles and last-iteration handoff (deterministic Python — no LLM).
- Use auto-memory for longer-tail learnings ("at high saturation, binary gating loses discriminatory power vs ordinal scheduling") that persist across runs.
- The orchestrator's
prompts/methodology/*.md stays as the source of truth, but it's installed into CLAUDE.md per-campaign rather than re-sent every call.
Acceptance criteria
Part of #120.
TL;DR
Move the campaign methodology and accumulated principles out of "re-sent every prompt" into the target repo's
.nous/<run-id>/CLAUDE.md. Claude Code auto-loads it on every session. Auto-memory persists per-iteration learnings across sessions.Why this matters
Right now Nous re-injects the campaign brief, methodology, and accumulated principles into every
claude -pcall. Claude Code already has two persistence mechanisms loaded automatically every session: CLAUDE.md and auto-memory. Using them both reduces token spend AND simplifies the orchestrator (less prompt assembly).What's already shipped
Proposed approach
nous run, write the campaign methodology + current principles into<repo>/.nous/<run-id>/CLAUDE.md.--add-dir <repo>/.nous/<run-id>(or the SDK equivalent) so Claude Code auto-loads it.prompts/methodology/*.mdstays as the source of truth, but it's installed into CLAUDE.md per-campaign rather than re-sent every call.Acceptance criteria
<repo>/.nous/<run-id>/CLAUDE.mdis created onnous runand updated each iteration.Part of #120.