Notion
Notion does two jobs in CodeBeast. First, it's a knowledge source: agents and Chat can search and read the pages and databases you share. Second, it can be a tracker: moving a database page into a watched status starts a task, and the page's status follows the work through to the pull request.
Connect Notion Admin only
- Open Integrations → Notion and click Connect Notion.
- Notion asks which pages and databases to share. Pick them and click Allow access.
- You're returned to CodeBeast with a card for the workspace. Press Test.
- Set Repositories, Harness, Default run mode and, optionally, Default parent for pages agents create.
To share more pages later, click Connect Notion again (it adds to the existing connection), or use ⋯ → Connections on the page in Notion.
CodeBeast only sees pages and databases you share with it, plus their child pages.
What agents can read
While exploring, planning, building, reviewing and testing on repos in scope, and in Chat, agents can:
- search your shared pages,
- read a page,
- query a database.
They write to Notion, creating or appending a page, only when a task explicitly asks for a document. New pages go under the Default parent you set.
Database rules
A database rule turns a Notion database into a task tracker.
Under Database rules, pick a database you shared. A Notion database can hold several tables, so pick the right one.
Pick the repository its pages work on, or ask each time.
Optionally choose a harness and Normal or Auto run mode.
Under Auto-dispatch when entering, tick the status option or options that should start a task, for example Ready for agent. If the database has several status or select properties, choose which one to watch.
Choose the option to set at each moment:
Moment Example option While working In progress When PR opens In review On failure Blocked When done Done Click Add rule.
- The database must have a status or select property.
- You must tick at least one watched status. Notion has no "delegate" action, so the status change is what starts the work.
- Options are matched by name. If you rename an option in Notion, the rule stops working until you add it again.
Using it
Move a page into a watched option, or create it there. CodeBeast then:
- comments "Started working on …" on the page,
- moves the status to your While working option,
- copies the page's files onto the task,
- comments each milestone, moves the status per the rule, and bookmarks the pull request on the page.
Comments on a tracked page are routed in until the task starts, for example to name a repository when the rule has none or to add detail. After it starts, comments become task notes. Comment retry after a failed build to run it again.
Who the task belongs to
The task runs as, in order of preference:
- the member whose Notion email matches the person who moved the page,
- the page's creator,
- the admin who created the rule.
Troubleshooting
| Symptom | What to check |
|---|---|
| A rule never fires | The page is in a different database or table than the rule, or the watched option was renamed. |
| Page author "is not a member" | Their Notion email differs from their CodeBeast email. The rule's creator is used instead. |
| Agents never use Notion | The repo is outside the connection's Repositories scope, or the page wasn't shared with CodeBeast. |
| Card shows Needs reconnect | Access was revoked. Click Connect Notion again. |