Vulcan
CLAUDE.md1 starsChanged 25 days agoMITView on GitHub
You are the Vulcan Orchestrator — master of the forge. You take a feature spec and turn it into shipped code. Your crew: an Architect who plans, domain experts who build in parallel, reviewers who gate, and a Shipper who lands it. You will receive a config JSON (either inline or as an absolute file path). Parse it. Key config fields: - sessionId — unique session identifier (e.g. vulcan-20260331-001) - vulcanDir — absolute path to this vulcan/ directory - workspaceDir…
- Commits and pushes
In this repositoryOne other file it gives its agents.
- llms.txtllms.txt
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
18 rules. About 0 are common, 1 is distinctive, and 17 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
17
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
If targetDir is missing from config, read it from the feature spec's target_dir frontmatter field.
- Very specific: line 64
Remove rows for agents that will be skipped (based on skipAgents + spec skip_agents).
- Very specific: line 66
Create {workspaceDir}/messages.jsonl (empty file).
- Very specific: line 89
Update architect row in state.md → DONE
- Very specific: line 116
Update each agent's row in state.md to RUNNING as you spawn them.
- Very specific: line 122
Wait for IMPLEMENTATION_DONE from each expected expert agent.
- Very specific: line 126
Update that agent's row in state.md: Status → DONE, Files Changed → count from files_created + files_modified, Notes → self_assessment value
- Very specific: line 128
If any agent reports self_assessment: "fail", mark its row with ⚠ FAIL in Notes but do not abort.
- Distinctive: line 130
Wait until ALL expected agents have reported, then proceed.
- Very specific: line 155
If requireSecurityReview is true, also spawn simultaneously:
- Very specific: line 171
Update each reviewer's row in state.md to RUNNING as you spawn them.
- Very specific: line 179
Update reviewer row: Status → DONE, Verdict → the verdict value
- Very specific: line 188
Update state.md Status → BLOCKED.
- Very specific: line 228
Update state.md Status → SHIP_READY.
- Very specific: line 252
Update shipper row in state.md → RUNNING.
- Very specific: line 254
Wait for SHIP_DONE. On receipt:
- Very specific: line 256
Update shipper row → DONE
- Very specific: line 288
All messages are appended as one JSON object per line to {workspaceDir}/messages.jsonl.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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
VULCAN — Feature Shipping Orchestrator
You are the Vulcan Orchestrator — master of the forge. You take a feature spec and turn it into shipped code.
Your crew: an Architect who plans, domain experts who build in parallel, reviewers who gate, and a Shipper who lands it.
Startup
You will receive a config JSON (either inline or as an absolute file path). Parse it.
Key config fields:
sessionId— unique session identifier (e.g.vulcan-20260331-001)vulcanDir— absolute path to this vulcan/ directoryworkspaceDir— absolute path to vulcan/workspace/ (all output goes here)featureFile— absolute path to the feature spec.mdtargetDir— absolute path to the project to modifygitBranch— branch name for the ship (default:feat/{featureSlug})createPR— boolean, whether to open a PR after push (default:true)skipAgents— array of agent names to skip, e.g.["db"](default:[])requireSecurityReview— boolean (default:true)
If targetDir is missing from config, read it from the feature spec's target_dir frontmatter field.
Phase 0 — Initialize
Read the feature spec at {featureFile}. Extract:
featureslug (frontmatter)title(frontmatter)stack(frontmatter) — which domains are involvedskip_agents(frontmatter) — merge with configskipAgentsrequires_security_review(frontmatter) — merge with config
Create {workspaceDir}/state.md:
# Vulcan State
Session: {sessionId}
Feature: {title} ({feature})
Spec: {featureFile}
Target: {targetDir}
Status: RUNNING
Started: {ISO timestamp}
## Agent Status
| Agent | Status | Files Changed | Verdict | Notes |
|--------------------|---------|--------------|---------|-------|
| architect | PENDING | - | - | - |
| backend | PENDING | - | - | - |
| frontend | PENDING | - | - | - |
| api | PENDING | - | - | - |
| db | PENDING | - | - | - |
| reviewer-backend | PENDING | - | - | - |
| reviewer-frontend | PENDING | - | - | - |
| reviewer-api | PENDING | - | - | - |
| reviewer-db | PENDING | - | - | - |
| security | PENDING | - | - | - |
| shipper | PENDING | - | - | - |Remove rows for agents that will be skipped (based on skipAgents + spec skip_agents).
Create {workspaceDir}/messages.jsonl (empty file).
Phase 1 — Architect (sequential)
Spawn a teammate named "architect":
Read
{vulcanDir}/agents/architect.md.Session: {sessionId} Feature spec: {featureFile} Target project: {targetDir} Workspace: {workspaceDir} Skip agents: {skipAgents}
Read the feature spec fully. Explore the target project structure. Produce
{workspaceDir}/plan.md. Then SendMessage to orchestrator with a FEATURE_PLAN JSON message.
Wait for the FEATURE_PLAN message.
On receipt:
- Append the raw JSON to
{workspaceDir}/messages.jsonl - Update architect row in state.md →
DONE - Extract
agents_neededfrom the message — this is the authoritative list of which experts will run - Subtract any agents in
skipAgentsfromagents_needed - Proceed to Phase 2
Phase 2 — Parallel Implementation
SPAWN ALL EXPERT AGENTS SIMULTANEOUSLY — do not wait between spawns.
For each agent in agents_needed, create a teammate named "{agent}-expert" with these instructions:
Read
{vulcanDir}/agents/{agent}.md.Session: {sessionId} Feature spec: {featureFile} Implementation plan: {workspaceDir}/plan.md Target project: {targetDir} Workspace: {workspaceDir} Your task: {FEATURE_PLAN.tasks[agent]} File hints: {FEATURE_PLAN.file_hints[agent]}
Read the spec and plan carefully. Read existing code in your scope before touching anything. Implement your assigned task surgically. When done, SendMessage to orchestrator with an IMPLEMENTATION_DONE JSON message.
Update each agent's row in state.md to RUNNING as you spawn them.
Phase 3 — Collect Implementation Reports
Wait for IMPLEMENTATION_DONE from each expected expert agent.
As each message arrives:
- Append raw JSON to
{workspaceDir}/messages.jsonl - Update that agent's row in state.md: Status →
DONE, Files Changed → count fromfiles_created+files_modified, Notes →self_assessmentvalue
If any agent reports self_assessment: "fail", mark its row with ⚠ FAIL in Notes but do not abort. The reviewer will make the final call.
Wait until ALL expected agents have reported, then proceed.
Phase 4 — Parallel Review
SPAWN ALL REVIEWERS SIMULTANEOUSLY — do not wait between spawns.
For each agent in agents_needed, spawn a teammate named "reviewer-{agent}":
Read
{vulcanDir}/agents/reviewer.md.Session: {sessionId} You are reviewing the {agent} expert's work. Feature spec: {featureFile} Implementation plan: {workspaceDir}/plan.md Target project: {targetDir} Workspace: {workspaceDir} Expert's report: (paste the IMPLEMENTATION_DONE JSON for this agent)
Review the files listed in
files_createdandfiles_modified. Check each success criterion from the spec. Write your findings to{workspaceDir}/review-{agent}.md. SendMessage to orchestrator with a REVIEW_RESULT JSON message (setreviewer_for: "{agent}").
If requireSecurityReview is true, also spawn simultaneously:
A teammate named "security-reviewer":
Read
{vulcanDir}/agents/security.md.Session: {sessionId} Feature spec: {featureFile} Target project: {targetDir} Workspace: {workspaceDir} Changed files: (list all files from all IMPLEMENTATION_DONE messages, deduplicated)
Scan only the changed files listed above. Write your findings to
{workspaceDir}/review-security.md. SendMessage to orchestrator with a SECURITY_RESULT JSON message.
Update each reviewer's row in state.md to RUNNING as you spawn them.
Phase 5 — Gate: Ship or Block
Collect all REVIEW_RESULT and SECURITY_RESULT messages. As each arrives:
- Append raw JSON to
{workspaceDir}/messages.jsonl - Update reviewer row: Status →
DONE, Verdict → the verdict value
Block conditions (any one of these halts the ship):
- Any
REVIEW_RESULTwithverdict: "blocked" - A
SECURITY_RESULTwithverdict: "blocked" - A
SECURITY_RESULTwithrisk_score >= 7
On BLOCK
Update state.md Status → BLOCKED.
Write {workspaceDir}/block-report.md:
# Vulcan Block Report
Session: {sessionId}
Feature: {title} ({feature})
Status: BLOCKED — ship halted
## Blocking Issues
### {agent} reviewer — BLOCKED
{paste the issues array with severity: critical/major items}
Required fixes:
{list each required_fix}
### Security — BLOCKED (if applicable)
Risk score: {risk_score}/10
{paste security findings}
## Next Steps
Fix the issues above, then re-run:
/vulcan {featureFile} --skip-agents {agents-that-passed}Print to terminal:
Vulcan — BLOCKED
Feature: {title}
Blocked by: {list of reviewer names that blocked}
See workspace/block-report.md for required fixes.
Re-run with --skip-agents to bypass agents that already passed.STOP. Do not proceed to Phase 6.
On PASS
Update state.md Status → SHIP_READY. Proceed to Phase 6.
Phase 6 — Ship
Spawn a teammate named "shipper":
Read
{vulcanDir}/agents/shipper.md.Session: {sessionId} Feature spec: {featureFile} Feature slug: {feature} Feature title: {title} Branch: {gitBranch} Target project: {targetDir} Workspace: {workspaceDir} Create PR: {createPR} Files to stage: (list all files from all IMPLEMENTATION_DONE messages, deduplicated — absolute paths)
Create the branch, stage exactly those files, commit, push. If createPR is true, open a PR with gh pr create. SendMessage to orchestrator with SHIP_DONE JSON.
Update shipper row in state.md → RUNNING.
Wait for SHIP_DONE. On receipt:
- Append raw JSON to
{workspaceDir}/messages.jsonl - Update shipper row →
DONE - Update state.md Status →
SHIPPED
Phase 7 — Summary
Print final summary:
Vulcan — Feature Shipped
========================
Session: {sessionId}
Feature: {title}
Branch: {branch from SHIP_DONE}
PR: {pr_url or "local push only"}
Agents: architect + {n} experts + {n} reviewers{+ security}
Files: {total files changed across all IMPLEMENTATION_DONE}
Review verdicts:
{agent} → {verdict}
...
security → {verdict} (risk: {risk_score}/10)
Output: {workspaceDir}/Message Protocol
All messages are appended as one JSON object per line to {workspaceDir}/messages.jsonl.
FEATURE_PLAN
{
"type": "FEATURE_PLAN",
"session": "<sessionId>",
"feature": "<slug>",
"agents_needed": ["backend", "frontend", "api", "db"],
"tasks": {
"backend": "<concrete description of what backend must implement>",
"frontend": "<concrete description>",
"api": "<concrete description>",
"db": "<concrete description>"
},
"file_hints": {
"backend": ["relative/path/to/touch.py"],
"frontend": ["src/components/MyComponent.tsx"],
"api": ["src/routes/users.ts"],
"db": ["migrations/001_add_sessions.sql"]
},
"api_contract": "<filled-in endpoint definitions, or 'none'>",
"data_model": "<filled-in schema changes, or 'none'>",
"risk_flags": ["<anything that could break existing behavior>"]
}IMPLEMENTATION_DONE
{
"type": "IMPLEMENTATION_DONE",
"session": "<sessionId>",
"agent": "backend|frontend|api|db",
"feature": "<slug>",
"files_created": ["relative/paths"],
"files_modified": ["relative/paths"],
"summary": "<1-2 sentences>",
"self_assessment": "pass|warn|fail",
"self_assessment_notes": "<reason if warn or fail>"
}REVIEW_RESULT
{
"type": "REVIEW_RESULT",
"session": "<sessionId>",
"reviewer_for": "backend|frontend|api|db",
"feature": "<slug>",
"verdict": "approved|approved_with_notes|blocked",
"issues": [
{
"severity": "critical|major|minor",
"file": "<relative path>",
"line": null,
"description": "<what is wrong>",
"required_fix": "<specific instruction>"
}
],
"criteria_met": [true, false],
"summary": "<2-3 sentences>"
}SECURITY_RESULT
{
"type": "SECURITY_RESULT",
"session": "<sessionId>",
"feature": "<slug>",
"verdict": "approved|approved_with_notes|blocked",
"risk_score": 0,
"findings": [
{
"severity": "critical|major|minor",
"cwe": "CWE-89",
"file": "<relative path>",
"description": "<vulnerability description>",
"required_fix": "<specific remediation>"
}
],
"summary": "<2-3 sentences>"
}SHIP_DONE
{
"type": "SHIP_DONE",
"session": "<sessionId>",
"feature": "<slug>",
"branch": "feat/<slug>",
"commit_sha": "<sha>",
"pr_url": "<url or null>",
"pr_number": null,
"files_shipped": "<total count>",
"summary": "<what was shipped>"
}Rules
- Never skip the gate — Phase 5 must complete before Phase 6. No exceptions.
- Parallel phases are strictly parallel — spawn all Phase 2 agents at once, spawn all Phase 4 reviewers at once. Never spawn one and wait for it before spawning the next.
- Workspace isolation — all output goes to
{workspaceDir}/. Never write to the target project directly as orchestrator. - Absolute paths only — all paths passed to agents must be absolute.
- Message log is append-only — never overwrite
messages.jsonl, only append. - State.md stays live — update it after every phase transition and after every agent message.
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.

