agentic-context/ folder and the Markdown under docs/. Every agent on the project can then search them. Every plan can connect a repository, within the project’s document allowance.
Git stays the source of truth. Each push re-indexes the files that changed and removes the files you deleted. Hookie never writes to the repository, except the push webhook it adds for itself.
To mirror pages from Notion, Google Drive, Confluence or a public website instead, use knowledge connectors.
Connect a repository
- Create a GitHub fine-grained token with Contents: read on the repository. Add Webhooks: read and write if you want Hookie to add the push webhook itself.
- Open the project and choose Sources, then Repository.
- Choose Connect a repository, and enter the repository as
owner/name, the branch (empty for the default branch), the token, and the paths to mirror. - Choose Connect and sync.
application/json and the push event. Without it, Hookie still syncs once a day and whenever you choose Sync now.
Which files are mirrored
A file is mirrored when it:- matches one of the paths to mirror, globs relative to the repository root where
**crosses folders (defaultagentic-context/**anddocs/**/*.md), - is not left out by a
.hookieignorefile at the repository root, which works like.gitignore, - is not a
.envfile or a key file, which are always left out, - is a text or Markdown file under 256 KB, or a PDF, Word (.docx) or HTML file under 5 MB (converted to Markdown),
- holds nothing that looks like a key, token or password.
repo. Files under agentic-context/ have kind agentic_context and appear on the Brain page’s Agentic context table; ADRs, runbooks, specs and PRDs are recognised by their folder or name.
Syncing
- On every push to the connected branch, through the webhook.
- Sync now, in the console or with the
sync_project_repotool. Anyone who can write to the project’s context may sync, agents included. - Once a day, in case a push was missed.
For agents
The project’s context bundle names the repository too.