The company brain
that knows why.

Deploy runbook

Deploy runbook

We deploy from main on weekdays before 3pm. Anyone on the platform team can ship.
Before you deploy
Backups are newer than 24 hours
Tell the channel before and after
Rollback
Redeploy the previous build, then run migrate status. If the schema moved forward, restore from the latest backup instead.
Priya Shah with Claude Code CLI
Tuesday's rollback failed: the schema had already moved. Per Slack postmortem.
2 minutes ago
1 line added
+ If the schema moved forward, restore from the latest backup instead.
Daniel Reyes with ChatGPT
First draft, from last quarter's deploy notes.
12 days ago
1 line added
+ Redeploy the previous build, then run migrate status.
Open page history
Confirm the health check is green before you tell the channel.
After a rollback
Open an incident page and link it here
Note the build you rolled back to
Schedule the review within two days
Claude

What's our rollback policy if a migration has already run? I thought we just redeploy.

AKB · search“rollback migration”2 pages
AKB · page_readDeploy runbookread
AKB · historyDeploy runbook4 changes

Not any more. The runbook now says: redeploy the previous build, then run migrate status. If the schema has moved forward, restore from the latest backup instead of rolling back.

Why it changed: Priya Shah added the restore step 2 minutes ago, working with Claude Code. Her reason was that Tuesday's rollback failed because the schema had already moved, per the Slack postmortem. Before that, the page only said to redeploy.

Deploy runbookPage history
Reply to Claude…AKB
Tickets

Tickets

TableList
TicketStatusPriorityLast edit
Rollback fails when the schema has movedIn progressP1
Block deploys when backups are staleDoneP1
Add a restore drill to onboardingOpenP2
Publish the incident reviewOpenP3
Rotate the deploy keysBlockedP2
Move staging to the new clusterOpenP3
+ New
Deploy runbook

Page history

Deploy runbook
  1. Priya Shah with Claude Code CLI · 2 minutes ago
    Tuesday's rollback failed: the schema had already moved. Per Slack postmortem.
    + If the schema moved forward, restore from the latest backup instead.
  2. Marcus Okafor with Copilot · yesterday
    Stale backups made Tuesday's restore slower than it should have been.
    + Backups are newer than 24 hours
  3. Leo Novak · 3 days ago
    Edited this page.
  4. Daniel Reyes with ChatGPT · 12 days ago
    First draft, from last quarter's deploy notes.
    + Redeploy the previous build, then run migrate status.
Daniel ReyesChatGPT
Marcus OkaforCopilot
Leo NovakDesktop app
Priya ShahClaude Code
2 / 4 · In another app

Ask from any agent, and get the why

Agents outside the app reach your knowledge over MCP. They read the page and its history, so they can tell you what the policy is and why it changed.

3 / 4

Databases, for managing real work

Track tickets, incidents and decisions in tables with your own properties and views. Agents read and update them with the same access you have.

4 / 4

The whole story of a page

Every change is kept with who made it, the reason an agent gave, and what was added or removed.

Don't hand your company's brain to another company...

Your docs. Their rules:

Rate limit exceededYour agent can try again in 58 minutes.
Export not availableBulk export isn't included in your plan.Upgrade
Team plan $19.99 per user, per month
This agent isn't approvedOnly listed apps can read this workspace.
Terms of service
“…you may not create persistent copies, archives, indexes, or long-term data stores.”

Your server. Your data. Your rules:

Every edit says why
Priya Shah with Claude CodeTuesday's rollback failed: the schema had already moved.
Any agent
Self-hosted $0 per user, per month
Nothing phones homeNo telemetry. Your docs never leave your server.
Leave any timeExport everything, history included.knowledge.akb.zip
1 / 3 · For agents

Agents act on your behalf.

Through the CLI, an agent skill, MCP or the API. It's one interface, with your permissions and your name on every change.

2 / 3 · Plain Markdown

It's just files.

A folder of plain Markdown stays up to date on your machine. Any agent can read it with ordinary shell tools.

3 / 3 · No lock-in

Leave anytime.

Export as Markdown. No gotchas. Good riddance... we won't miss you. I'm not lonely anyway.

$ akb --json search 'rollback OR rollbacks'
# the Deploy runbook, with the matching excerpt

$ akb --json page read PAGE_ID
# structured blocks, each with an ID and a version

$ akb --json --run RUN_ID \
    --reason 'Add the restore path when the schema has moved' \
    block replace PAGE_ID BLOCK_ID --text 'Redeploy the previous…'
# accepted, and recorded against this run

$ akb --json history list PAGE_ID --limit 25
# every change, with its author and its reason
$ ls knowledge/
README.md   pages/   assets/

$ grep -ril "rollback" knowledge/pages/
knowledge/pages/deploy-runbook--<page-id>.md
knowledge/pages/incident-log--<page-id>.md

$ head -6 knowledge/pages/deploy-runbook--*.md
# front matter with the page's ID and properties,
# then the page itself as Markdown
# readable Markdown
$ akb markdown export --page-ids PAGE_ID \
    --output ./export

# the full archive: content, history, attachments
$ akb archive export --page-ids PAGE_ID \
    --output knowledge.akb.zip

# arriving from Notion
$ akb notion inspect ./notion-export.zip \
    --source-namespace SOURCE_UUID
Self-host

Yours to run.

On your laptop, just for you. Or on your own hardware, for the whole company. Either way it's one Docker Compose project, with no vendor account.

Start with one account
An email and a password is all it takes. Two-factor and single sign-on are there if your company needs them.
Encrypted backups
Scheduled copies sealed to your own keys, with restore tooling included.
Nothing phones home
No telemetry is built in. Logs and traces go only where you send them.
from a checkout of the repository
$ ./scripts/self-host-init http://localhost:3000
$ docker compose build app
$ docker compose up --detach --wait postgres
$ docker compose run --rm -T migrate
$ docker compose up --detach --wait app electric

For now the app builds from source. Release images and packaged installers will follow.