Ingest repo content
memory_ingestScan a git repository and write reference memories including repo overview, file tree, and doc contents. Run once to seed memory when adopting a repo.
Instructions
Scan the current git repo (tracked + non-ignored files) and write reference memories: a repo overview (stack, npm scripts, file types), the file-structure tree, and the contents of docs (README, CONTRIBUTING, docs/*). Idempotent — re-running updates the same entries in a single commit. Run this once when adopting a repo to seed memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDocs | No | Max doc files to capture (default 20). | |
| maxDepth | No | File-tree depth before collapsing (default 3). | |
| repoPath | No | A path inside the target repo. Defaults to the server's cwd. | |
| maxDocBytes | No | Max bytes per doc (default 4000). |