Before
Scattered context
Chats, handoffs, docs, and decisions lose connection.
Open-source product · CLI and MCP · 2026
I created a local-first system that helps every coding agent inherit the same product decisions, understand their reasoning, and verify the implementation against them.

Challenge
Coding agents can generate quickly, but each new session starts with an incomplete understanding of the product.
Important choices often live in chat history, memory, or scattered documentation. A new agent may know the codebase without knowing why the system uses specific tokens, components, patterns, or exceptions.
The product opportunity was to make that reasoning part of the repository and keep it close to implementation.
Before
Chats, handoffs, docs, and decisions lose connection.
Whale
One source of truth lives next to the code.
After
Every configured agent inherits the same decisions.
Product model
Whale stores project intelligence as JSON and Markdown. The files stay versioned with the product, so teams and agents can review how decisions change over time.
A sync regenerates agent briefs and a wiki for Claude Code, Codex, Cursor, and Copilot. The source remains consistent even when the interface consuming it changes.
Stack, theme, tokens, spacing, radii, and project conventions.
Files, variants, states, tokens, and implementation coverage.
One versioned record for each architectural choice and its reason.
Approved exceptions that preserve the context behind intentional drift.
whale.config.json
CLAUDE.md
AGENTS.md
intelligence/
components.json
decisions/
refinements/
llm-wiki/Experience
The command model separates setup, adoption, synchronization, and validation. Each command answers one clear user need and keeps automation predictable.
| Command | Flow |
|---|---|
whale ignite my-app | Start with shared context Creates foundations, agent instructions, project intelligence, and a readable wiki for a new project. |
whale adopt | Bring an existing repo in Scans the codebase and proposes components and foundations for review before writing them. |
whale sync | Keep every agent current Regenerates the wiki and instruction files for the configured coding agents. |
whale check | Verify alignment Runs validation and project insights to reveal drift, gaps, and unresolved decisions. |
Agent interface
Agents can read project decisions before changing code and record useful knowledge while they work.
The MCP layer turns project intelligence into focused tools. An agent can request only the context needed for the current task instead of loading a full documentation set.
| Tool | Returns |
|---|---|
whale_project_overview | Project stack, foundations, packs, and context |
whale_list_components | Component files, variants, states, and tokens |
whale_list_decisions | Architectural choices with rationale and status |
whale_list_refinements | Approved exceptions and their context |
whale_insights | Orphans, coverage gaps, tensions, and drift |
whale_record_decision | A way for agents to preserve new knowledge |
Verification
Whale reads CSS, JSX, Vue, and Svelte files to detect values that fall outside the project foundations. Current checks cover spacing, colors, and radii.
An intentional difference can be recorded as a refinement. The system preserves its reason and stops treating it as unexplained drift.
$ whale insights drift spacing
3 off-grid values found
$ whale insights drift color
2 raw colors outside tokens
$ whale insights drift radii --review
review, accept, or queue each issueOutcome
Whale Igniter reached version 1.6.3 through 22 published versions in its first two months.
Core workflows run offline and require no API key. The package has no telemetry, uses an MIT license, and keeps generated files under the user's control.
Current npm version
Published versions
Agent ecosystems supported
Telemetry in core workflows
Reflection
Continue improving project health insights, agent integrations, and the bridge between design foundations and implementation.
Next project
A Figma plugin that turns repetitive setup into one batch.
Read next case study