Project-owned decisions
Foundations, components, decisions and approved exceptions stay as versioned JSON and Markdown next to your code.
Whale Igniter turns foundations, components, decisions and approved exceptions into living constraints every agent can read, follow and verify.
Node ≥ 20 · No API key required · MIT
Whale keeps project decisions and their reasoning in the repo, then checks whether implementation still follows them.
Foundations, components, decisions and approved exceptions stay as versioned JSON and Markdown next to your code.
One sync updates CLAUDE.md, AGENTS.md and the wiki for Claude Code, Codex, Cursor and Copilot.
Whale detects drift from project foundations and preserves the reason behind every intentional exception.
$ whale ignite my-app # a structured intelligence layer, in one command my-app/ ├── whale.config.json foundations, stack, theme ├── CLAUDE.md agent brief, auto-synced ├── intelligence/ │ ├── components.json catalog, variants, states │ ├── decisions/ one ADR per decision │ └── refinements/ approved exceptions └── llm-wiki/ readable, one file per concern # every agent inherits the same decisions and reasons
Whale exposes project intelligence through MCP. Agents can consult decisions before changing code and record useful knowledge as they work.
| Tool | What it does |
|---|---|
| whale_project_overview | Full project brief: stack, foundations, packs, context. |
| whale_list_components | Component catalog with files, variants, states and tokens. |
| whale_list_decisions | Architectural decisions with rationale and status. |
| whale_list_refinements | Approved exceptions with context for intentional drift. |
| whale_insights | Live analysis: orphans, coverage gaps, tensions, drift. |
| whale_record_decision | Log an architectural decision straight from the agent. |
Whale reads CSS, JSX, Vue and Svelte and flags what falls outside your foundations. Record an intentional exception once to preserve the reason.
$ whale insights drift spacing # off-grid spacing in CSS, JSX, Vue, Svelte $ whale insights drift color # raw hex values outside your token set $ whale insights drift radii --review # accept or queue each issue
Fully local and deterministic. No API key required for any core flow.
| Command | What it does |
|---|---|
| whale ignite my-app | Bootstrap a new Whale workspace. |
| whale adopt | Scan an existing project and propose components and foundations. |
| whale sync | Regenerate CLAUDE.md, the wiki and agent context. |
| whale check | Validation and project insights. |
| whale mcp config --client cursor | Configure an MCP client (Claude Code, Cursor, Zed). |
One command creates the source of truth. Every configured agent reads the same decisions from then on.