aayudha docs Built from de79988 (2026-10-26)

brain

Keeps the product's lasting knowledge as linked notes that link to issues and outlive any one person.

Field Value
In plain words Keeps the product's lasting knowledge as linked notes that link to issues and outlive any one person.
Journey stage Explain it
Accountable seat Product Strategist (Arjun)
Does the work Arjun, the Accountable seat's twin, in the chore model lane, with the seat's paired human when it has one
Consulted Founder (Atri), Revenue Architect (Kuber)
Informed Marketer & Documenter (Sauti)
Layers it can touch none: it changes no product code
Who reasons no model: it is deterministic
Writes as the bot identity (a GitHub App); without one, your identity, tagged as human fallback
Where it runs the aayu command, a skill in your agent, an MCP tool (read-only unless [mcp] expose_writes is on)
The skill your agent reads skills/brain/SKILL.md

When to use it

Use it to keep what the product is and why: the vision, the principles, the direction, the objectives and the objections against them, the decisions and their reasons, and what each capability does. Issues stay the record of the work; a note links an issue by number and never copies it. When a person leaves, the notes stay, each owned by a seat.

On a public repository the brain branch is public: write only what is already public.

Run it

aayu brain <action>
Input Required What it does
<action> yes init: create the brain branch and the vault; checkpoint: refresh the generated blocks from the repository's records and keep every word a person wrote; check: links, frontmatter, sources, STE sentence length, and no pasted Completion Goal line or issue label; open: print how to open the vault in Obsidian. One of: init, checkpoint, check, open.
--workstream no With init: add a workstream folder with its own index and map of content, linked up into the root vault.
--dir no With check: check a local folder (a worktree of the brain branch) instead of the branch's tip on the remote.

What you get back

init writes the vault to the brain branch. checkpoint writes one commit with the notes it changed. check writes nothing and reports each problem. open prints the steps to open the vault.

You should see, for each action:

Exit 4 means that the branch is missing or that it is not an aayudha vault. The message names the next step. See exit codes and everything else.

Gates

It checks these before it acts, and stops when one fails:

What only a person does

The registry reserves no step of this verb for a person.

What's next

See every skill.