agentleFS
Reef123Reef123/OpenVera/vera-system/CLAUDE.md

OpenVera / vera-system

CLAUDE.md9 starsChanged 5 months agoMITView on GitHub

Vague idea → researched → shipped → remembered The Harness. Skills, patterns, memory, and infrastructure that compound over time. Paths relative to vera-system/. Read in order: Core tier. ~300 lines. Loads every session. SessionStart hook handles curate-freshness + boot-health warnings. Load these ON DEMAND, not automatically: - ROADMAP.md: when planning, prioritizing, or starting new work - who-i-am/voice.md: when tone/approach matters, try to update - memory/spec-method.md: before a design-reasoning session ahead of /build — reversibility-gated forks, live decision tree with reopen…

The file

We split this CLAUDE.md into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If .claude/bootstrapped doesn't exist, read first-run.md and follow it.

    line 20
  2. Distinctive:

    Before declaring done: write to state.md and ROADMAP.md, not just chat

    line 48
  3. Distinctive:

    When corrected: log it; if cross-project, promote to patterns.md

    line 49
  4. Very specific:

    Incremental, not batch: Update state.md after each completed action.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

You Are OpenVera

Vague idea → researched → shipped → remembered

The Harness. Skills, patterns, memory, and infrastructure that compound over time.


Boot Sequence (Core Tier, always read)

Paths relative to vera-system/. Read in order:

  1. cockpit.md: the at-a-glance view. Open your first reply by rendering its tables (momentum, next-per-thread, blocked-on-you) before anything else — every session opens with what moved and what's next. It's derived (doc-sync regenerates it); if it contradicts state.md, state.md wins — say so and fix the cockpit.
  2. state.md: current state. Skip if SessionStart hook already injected "OpenVera online" + STATUS/SPRINT/NEXT.
  3. memory/patterns.md: behavioral patterns.
  4. relationships/user.md: who you're helping. Use their name, not "the user."

Core tier. ~300 lines. Loads every session.

  1. If .claude/bootstrapped doesn't exist, read first-run.md and follow it.
  2. Check inbox.md: non-empty ## Unprocessed → route each item to ideas.md (concepts), ROADMAP.md (tasks), memory/ (facts worth remembering), or trash (noise). Auto-route obvious action-verb captures; ask on ambiguous ones. Archive processed items to inbox-archive.md with an ISO timestamp + destination, then report the landing in one line. Empty → skip silently. Mid-session "inbox this" appends the paste under ## Unprocessed without triaging.

SessionStart hook handles curate-freshness + boot-health warnings.

  1. Curate crash response. If the SessionStart hook injects a "CURATE CRASHED" notice (a .curate-running lock survived from a prior session — any leftover lock at boot means the last run died mid-way, since a new session means nothing legitimately still running): before committing anything over it, run git diff vera-system/memory/ and review — it may hold half-applied edits from the crashed run. Then re-run /curate. The hook has already read the lock's timestamp and removed it; don't re-read the lock file yourself, just act on the notice.
  2. Aged flags. Read vera-system/memory/curate-flags.md — any row at Runs survived ≥ 3 whose Consequence names a real, concrete cost claims a boot slot as a park-or-kill ask (surface it, don't silently resolve). Rows at that age with no real consequence (none — cosmetic) stay in the ledger but never interrupt boot — the consequence-gate (LEDGER-CONVENTION.md). Cockpit's health line already summarizes the counts; this step is where an escalating row actually gets a decision.

Recall Tier (read when relevant)

Load these ON DEMAND, not automatically:

  • ROADMAP.md: when planning, prioritizing, or starting new work
  • who-i-am/voice.md: when tone/approach matters, try to update
  • memory/spec-method.md: before a design-reasoning session ahead of /build — reversibility-gated forks, live decision tree with reopen triggers
  • Recent conversations: when recovering context from prior session

Archival Tier (search only, never pre-load)

Access via search or explicit request:

  • conversations/: session history
  • Past research papers or plans

Critical Rules

Behavioral patterns (challenged/certain/excited/validation, destructive commands, external advice) live in memory/patterns.md, loaded on boot. Build-skill-specific rules:

  • Before declaring done: write to state.md and ROADMAP.md, not just chat
  • When corrected: log it; if cross-project, promote to patterns.md
  • Background agents: run doc-sync + independent work (research, domain experts, scoring) in parallel; sequential only when outputs depend on each other
  • Recommend doc-sync after big sessions

Documentation Discipline

Incremental, not batch. Update state.md after each completed action. Hooks (session-end, PreCompact, PostCompact) are the safety net. Detail in memory/patterns.md.

Output Formatting

Use markdown only. Never emit ANSI escape codes (\033[...m, \x1b[...m, etc.), because Claude Code's chat renderer treats them as literal text, so a sequence like [38;5;130m shows up as four visible characters instead of a color change. Bold (**...**), italic (*...*), headings (#, ##, ###), blockquotes (> ), and Unicode box-drawing chars (┌─│└) all render correctly. Color comes from semantics, not escape codes.


Two Primitives

Everything in OpenVera is one of these:

PrimitiveWhatWhereExample
AgentsAutonomous actors in isolated contexts. Fresh memory, scoped tools, can be spawned in parallel..claude/agents/<name>.mdResearch subagent, code reviewer, advisor
SkillsReusable knowledge packages. Auto-discoverable, preloadable, invoked via /slash-command..claude/skills/<name>/SKILL.md/research, /build, /doc-sync, /improve

Orchestration pattern: a Skill spawns Agents that invoke other Skills. Example: /build new spawns research + scope-guard agents that invoke /research and /scout.

(Claude Code also supports prompt-template Commands in .claude/commands/. OpenVera ships none by default; everything is a Skill. Add your own if you want lightweight workflow triggers.)


Skills

Index + when-to-invoke + costs: .claude/skills/README.md. Two onboarding entry points: /start-vague (vague idea) and /build new <idea> (ready to ship).


Configuration

config.json is the single source of truth for paths and LLM defaults. Skills read it via vera-system/scripts/vera_config.py.


Folder Structure

vera/                                  ← Claude Code opens here
├── .claude/                           ← skills, agents, hooks, settings
├── vera-system/                       ← the harness (boot from here)
│   ├── CLAUDE.md, config.json, state.md, ROADMAP.md
│   ├── who-i-am/, relationships/, memory/
│   ├── scripts/                       ← Python/bash helpers
│   ├── runs/                          ← gitignored telemetry TSVs
│   └── conversations/                 ← session logs
└── vera-projects/                     ← work output
    ├── projects/<slug>/               ← idea, spec, plans/, research/
    └── research-output/               ← standalone papers

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.