Make every coding agent inherit your project’s decisions

Whale gives each agent the decisions that apply to its task, then verifies the change with deterministic checks.

Whale Igniter 2.0 beta is available. Try the decision engine while the stable 1.x workflow remains supported.

$npm install -g whale-igniter@next
View beta on npm

2.0.0-beta.1 · Node ≥ 20 · No API key required · MIT

Project continuity

Your decisions should survive every agent.

Whale keeps decisions and their reasoning in the repo, scopes them to the files being changed and checks the result.

Project-owned decisions

Foundations, components, decisions and approved exceptions stay as versioned JSON and Markdown next to your code.

Inherited by every agent

CLI and MCP compile only the decisions relevant to the files an agent will change.

Verified against reality

Deterministic checks return exact evidence. Approved exceptions remain narrow, expiring and visible.

my-app · whale ignite
$ 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
Decision loop

Give agents context before they act.

Whale can discern what applies to a task, verify the resulting diff and keep every exception explicit.

$ whale decide                         # record a scoped policy and its reason
$ whale context --files src/Card.css   # compile only relevant decisions
$ whale check --diff origin/main       # return exact blocking evidence
$ whale exception propose              # request a narrow, expiring waiver
$ whale exception approve EXC-0001 --approved-by design-platform
Read and write

Use the same decision engine in chat and terminal.

MCP clients receive scoped context and structured findings from the same deterministic model used by the CLI.

ToolWhat it does
whale_project_overviewFull project brief: stack, foundations, packs, context.
whale_list_componentsComponent catalog with files, variants, states and tokens.
whale_list_decisionsArchitectural decisions with rationale and status.
whale_constraints_for_filesOnly the enforceable decisions that apply to the files being changed.
whale_explain_policyScope, rationale, consequences and enforcement for one decision.
whale_check_diffDeterministic findings and applied exceptions for added diff lines.
Controlled exceptions

Keep exceptions narrow and accountable.

A proposal never weakens enforcement. Approval records who accepted it, where it applies and when it expires.

$ whale exception propose
# status: proposed · enforcement unchanged

$ whale exception approve EXC-0001 --approved-by design-platform
# status: approved · scoped waiver active · audit trail preserved
Core commands

A small CLI that gives decisions operational weight.

Fully local and deterministic. No API key required for any core flow.

CommandWhat it does
whale ignite my-appBootstrap a new Whale workspace.
whale adoptScan an existing project and propose components and foundations.
whale decideRecord a scoped, enforceable decision.
whale context --files <paths...>Compile the decisions relevant to an agent task.
whale check --diff <ref>Verify added lines against active decisions.
whale exception proposeRequest an expiring exception without changing enforcement.
whale mcp config --client cursorConfigure an MCP client (Claude Code, Cursor, Zed).
Local-first. Core flows run offline, no data leaves your machine.
No telemetry. No analytics, ever. API keys stay in env vars.
MIT. Generated files are yours to keep and modify.

Let the next agent inherit the right decisions.

Try the 2.0 beta in a real project. Stable 1.x workflows remain available.

$npm install -g whale-igniter@next
View beta on npm