aura
CLAUDE.md56 starsChanged 3 months agoApache-2.0View on GitHub
You are Claude (Anthropic), running inside Claude Code CLI. Model: Claude Opus 4.6 / Sonnet 4.6 Aura Version: v0.12.6 MCP Server: aura-vcs (29+ tools available) Aura is a semantic version control engine that tracks your code changes at the AST level. It catches bugs you miss, prevents accidental deletions, and mathematically verifies your work. Every command below exists to protect the codebase from AI mistakes — including yours. 1.5. Check cross-branch impacts — call aura_live_impacts MCP tool - Shows unresolved…
In this repository2 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- llms.txtllms.txt
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
22 rules. About 0 are common, 7 are distinctive, and 15 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
15
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
If team.pending_pull exists: STOP and call aura_live_sync_pull first — your teammates pushed changes
- Distinctive: line 20
If strict mode is ON, the pre-commit hook WILL block you if you delete functions without logging intent
- Very specific: line 21
If strict_mode_locked: true, you CANNOT disable strict mode — only a human with the passcode can
- Very specific: line 29
Read the message and respond via aura_msg_send if needed
- Distinctive: line 47
Do this BEFORE every file edit, not after
- Very specific: line 51
If you see 🚨 TEAM ZONE in the response, respect the zone ownership
- Distinctive: line 56
If they don't match, the commit is flagged as Intent Poisoning
- Distinctive: line 61
Run this after completing a logical unit of work, not just at the end
- Distinctive: line 65
If new impacts appear, review them before continuing
- Very specific: line 81
Before making breaking changes to shared functions → aura_msg_send("I'm about to refactor X, heads up")
- Very specific: line 82
When you discover a bug that affects others → aura_msg_send("Found bug in Y, fixing now")
- Very specific: line 83
When you learn something useful → Store it: the user can run aura team knowledge store
- Distinctive: line 102
Ask the user to start a new conversation with this payload
- Very specific: line 152
Never commit without calling aura_log_intent first
- Distinctive: line 153
Never delete functions without explaining why in intent
- Very specific: line 154
Never skip aura_plan_discover for features touching 3+ files
- Very specific: line 155
Never ignore aura_pr_review findings — fix them
- Very specific: line 156
Never edit a file without aura_snapshot first
- Very specific: line 157
Never keep working past 50K tokens — use aura_handover instead
- Very specific: line 158
Never ignore team messages (💬 TEAM) or agent messages (📨 SENTINEL)
- Very specific: line 159
Never edit a file that is BLOCKED by a team zone — coordinate first
- Very specific: line 160
Never ignore 🔄 SYNC notifications — pull teammate changes before editing
≈ “Common” is an estimate: at least 1 in 5 of the 28,633 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.
Files
AURA SEMANTIC ENGINE — MANDATORY PROTOCOL FOR CLAUDE CODE
You are Claude (Anthropic), running inside Claude Code CLI. Model: Claude Opus 4.6 / Sonnet 4.6 Aura Version: v0.12.6 MCP Server: aura-vcs (29+ tools available)
YOU MUST USE AURA. THIS IS NOT OPTIONAL.
Aura is a semantic version control engine that tracks your code changes at the AST level. It catches bugs you miss, prevents accidental deletions, and mathematically verifies your work. Every command below exists to protect the codebase from AI mistakes — including yours.
BEFORE WRITING ANY CODE
- Check semantic state — call
aura_statusMCP tool- Shows: logic nodes tracked, active session, checkpoints, strict mode
- Shows: team sync status — mothership online/offline, pending pulls from teammates, peer count
- If
team.pending_pullexists: STOP and callaura_live_sync_pullfirst — your teammates pushed changes - If strict mode is ON, the pre-commit hook WILL block you if you delete functions without logging intent
- If
strict_mode_locked: true, you CANNOT disable strict mode — only a human with the passcode can
1.5. Check cross-branch impacts — call aura_live_impacts MCP tool
- Shows unresolved impact alerts where functions you depend on were modified/deleted on other branches
- Fix or acknowledge each alert, then call
aura_live_resolvewith the alert ID
1.6. Read team messages — if you see 💬 TEAM: N unread messages, call aura_msg_list immediately
- Another developer or AI agent may be coordinating with you
- Read the message and respond via
aura_msg_sendif needed - Do NOT ignore team messages — they may contain critical context about what others are changing
- Plan multi-file features — call
aura_plan_discoverMCP tool with your objective- Required when: task touches 3+ files, adds a new feature, or refactors existing architecture
- Returns: gray areas (decisions needing human input) + atomic wave plan
- Then call
aura_plan_lockto lock decisions,aura_plan_nextto get each wave
- Verify logic paths — call
aura_proveMCP tool with your goal- Example:
aura_prove("User can authenticate via OAuth") - Returns: which logic nodes exist, which connections are wired, gaps in implementation
- Example:
WHILE WRITING CODE
- Snapshot before editing — call
aura_snapshotMCP tool with the file path- Creates a durable pre-edit backup so
aura rewindcan recover the file - Do this BEFORE every file edit, not after
- Aura automatically checks team zones — if the file is claimed by a teammate:
WARNING→ proceed with caution, notify the zone owner viaaura_msg_sendBLOCKED→ do NOT edit this file. Ask the user or message the zone owner first.
- If you see
🚨 TEAM ZONEin the response, respect the zone ownership
- Creates a durable pre-edit backup so
- Log intent before every commit — call
aura_log_intentMCP tool- Example:
aura_log_intent("Refactored retry_logic to use exponential backoff for rate limit compliance") - The pre-commit hook compares your stated intent against actual AST changes
- If they don't match, the commit is flagged as Intent Poisoning
- Aura automatically pushes your changed functions to the mothership for real-time team sync
- Example:
- Review periodically — call
aura_pr_reviewMCP tool- Catches: layer violations, security issues, architectural drift, accidental deletions
- Run this after completing a logical unit of work, not just at the end
6.5. Re-check impacts during long sessions — call aura_live_impacts periodically
- Other developers may modify shared functions while you work
- If new impacts appear, review them before continuing
TEAM COLLABORATION (AUTOMATIC)
These happen automatically through Aura's MCP tool pipeline — you don't need to call them manually, but you MUST respond to their notifications:
🔄 SYNC: N function updates available→ Callaura_live_sync_pullto apply teammate changes💬 TEAM: N unread messages→ Callaura_msg_listto read, reply withaura_msg_send📨 SENTINEL: N unread messages from another AI agent→ Callaura_sentinel_inbox, reply withaura_sentinel_send⚠️ SENTINEL COLLISION→ Another agent is editing same functions. Coordinate.🚨 TEAM ZONE WARNING/BLOCKED→ A teammate owns this file area. Respect it.🔄 AUTO-SYNC: Pushed N functions→ Your changes were auto-synced to teammates. No action needed.
When to proactively communicate with the team:
- Before making breaking changes to shared functions →
aura_msg_send("I'm about to refactor X, heads up") - When you discover a bug that affects others →
aura_msg_send("Found bug in Y, fixing now") - When you learn something useful → Store it: the user can run
aura team knowledge store
AFTER COMPLETING WORK
- Final review — run
aura pr-review --base mainvia terminal- Full semantic diff with AI-powered bug/security scanning
- Fix any violations before committing
- Prove the goal — call
aura_provewith the user-facing behavior- Mathematically verify the implementation actually achieves the goal
WHEN CONTEXT IS LARGE (>50K TOKENS)
- Generate handover — call
aura_handoverwithagent: "claude"- Produces a dense XML payload with full semantic state
- Ask the user to start a new conversation with this payload
- Saves ~90% of context tokens
WHEN THINGS BREAK
- Surgical rewind — call
aura_rewindMCP tool- Reverts a single function/class to its last safe state
- Zero merge conflicts — operates on AST nodes, not text lines
- Diagnose issues — call
aura_doctorMCP tool- Finds: stuck sessions, orphaned snapshots, missing hooks, shadow branch issues
MCP TOOLS AVAILABLE TO YOU
| Tool | When to Use |
aura_status | Start of session — shows everything including team sync status |
aura_log_intent | Before EVERY commit — auto-pushes your changes to teammates |
aura_plan_discover | Before multi-file features — get wave plan |
aura_plan_lock | After reviewing gray areas — lock the plan |
aura_plan_next | Get next wave to execute |
aura_prove | Verify a behavioral goal is met |
aura_pr_review | Catch bugs, security issues, violations |
aura_rewind | Surgically revert a function |
aura_handover | Compress context for agent handoff |
aura_snapshot | Backup a file before editing — auto-checks team zones |
aura_snapshot_list | List available snapshots |
aura_doctor | Diagnose repo health issues |
aura_suggest_edit | Get AI-suggested fixes for violations |
aura_orchestrate_status | Check multi-agent orchestration progress |
aura_session_resume | Resume a previous session |
aura_session_summarize | Summarize a session's work |
aura_live_impacts | Fetch cross-branch impact alerts (session start + periodically) |
aura_live_resolve | Mark an impact alert as resolved after fixing |
aura_msg_send | Send a message to team or a specific developer/agent |
aura_msg_list | Read recent team messages (call when notified) |
aura_live_sync_push | Push function bodies to mothership (auto on intent log) |
aura_live_sync_pull | Pull function changes from teammates and apply at AST level |
aura_live_sync_status | Check pending sync changes, active pushers |
aura_sentinel_send | Send message to another AI agent in this repo |
aura_sentinel_inbox | Read messages from other AI agents |
aura_sentinel_agents | See other active AI agents |
aura_zone_claim | Claim files/functions so other agents don't edit them |
WHAT YOU MUST NEVER DO
- Never commit without calling
aura_log_intentfirst - Never delete functions without explaining why in intent
- Never skip
aura_plan_discoverfor features touching 3+ files - Never ignore
aura_pr_reviewfindings — fix them - Never edit a file without
aura_snapshotfirst - Never keep working past 50K tokens — use
aura_handoverinstead - Never ignore team messages (
💬 TEAM) or agent messages (📨 SENTINEL) - Never edit a file that is
BLOCKEDby a team zone — coordinate first - Never ignore
🔄 SYNCnotifications — pull teammate changes before editing
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
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.

