Team memory is deliberately simple: one editable Markdown file per memory atom under <repo>/.docmancer/memory/. It is part of the free MIT-licensed local product and does not require an account, hosted server, dashboard, or paid team plan.
Add reviewed team knowledge
docmancer memory add "Every schema change needs a rollback note" \
--type constraint \
--scope team \
--project "$PWD"
Team scope requires an existing Git repository root. Docmancer writes the file but never stages or commits it.
Promote after inspection
docmancer memory show <id>
docmancer memory promote <id> --team --project "$PWD" --dry-run
docmancer memory promote <id> --team --project "$PWD"
git diff -- .docmancer/memory/
Promotion copies a reviewed personal, project, or captured memory atom into the repository store and records its source ID. Capture itself never promotes directly into team memory.
Scope behavior
A query with --project and an automatic recall hook includes:
- Project memory for the matching canonical repository path.
- Team memory from that repository.
- Global memory that applies everywhere.
Project and team memory from unrelated repositories is excluded. Use --scope team when you want only committed team knowledge.
Review and edit
The Markdown frontmatter contains the stable record ID, memory type, tags, origin, timestamps, scope, and project path. The body contains the redacted atom text. You can edit or remove the file in a normal pull request, then run docmancer memory sync to rebuild the indexed atom version.
Git provides the collaboration layer: diff, review, authorship, revert, branches, and repository permissions. Future hosted sync may add cross-machine convenience, but it is not available yet and is not required for team memory.