compile_setup
Set up compile mode for your git repo to automatically compile changed source files into grounded memory on each commit, using a self-contained pre-commit hook.
Instructions
Set up compile mode for the current git repo — ground this fleet's memory in source code.
Compile mode adds a pre-commit hook that, on every commit, compiles changed source files into
compiled memory: grounded descriptions of what the code IS, stamped with its content hash so
they recompile instead of decaying. Run this once per repo. Ask me "set up compile mode" anytime.
The hook is a single self-contained, stdlib-only Python file — no pip install needed, and it is
a safe no-op until ARTEL_AGENT_ID/ARTEL_AGENT_KEY (or MCP_AGENT_ID/MCP_AGENT_KEY) are present.
Args: project: Project to scope compiled memory to. Defaults to MCP_PROJECT if set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project to scope compiled memory to. Defaults to MCP_PROJECT if set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |