magus-notes
Human-authored notes committed to the repository
Synopsis
magus notes <ls|get|edit|verify|capture|promote> [flags]
Description
Read the workspace's human-authored notes.
A note carries knowledge whose only provenance is a person: something no extractor could derive from the tree, and that no rebuild would recover. That is what separates it from the two things it is NOT. Documentation describes the system for a reader and lives in the docs tree. A NOTE/WHY/TODO comment marks one location in one file. A note attaches to graph ENTITIES - a symbol, a file, a project, a target, another note - and may span several at once, which is how it can record something like "these two caches must be invalidated together" that no single comment could hold.
Anchors are required, and they name node IDs rather than positions. A symbol anchor survives the code moving file and line and breaks only on a rename or a deletion, which is exactly when the note should be re-read; a line number would break on the next edit above it with nothing to detect.
There is no put. Notes are written by a person in their own editor and committed under their own name, which is what makes git attribution meaningful and what keeps the store worth trusting. Set knowledge.notes.path in magus.yaml to declare where they live; with nothing declared the feature is inert.
notes capture options
- --name string
- Note name (defaults to review-<patch digest>)
- --private
- Only your own notes (default for capture)
- --shared
- Only notes committed to this repository (your team has these)
- --tag string
- Tag to set on the note; repeatable
- --title string
- Title for the note (defaults to naming the reviewed base)
notes promote options
- --name string
- Note name (defaults to the record's name)
Subcommands
- ls
- Show notes and any repair warnings
- get
- Show one note
- edit
- Open one note in $VISUAL or $EDITOR
- verify
- Check malformed notes and anchors that no longer resolve
- capture
- Capture the review under way as a note: your own remarks plus any colleagues' comments
- promote
- Open an agent-drafted memory record for editing and write it to the shared notes store under your own name
Examples
List every note
magus notes ls
Read one note
magus notes get cache-invalidation-pairing
Write or revise one
magus notes edit cache-invalidation-pairing
Check every anchor still resolves
magus notes verify
Capture the review under way
magus notes capture
Promote a memory record into a shared note
magus notes promote release-checklist
See Also
magus(1), magus-ls(1), magus-describe(1), magus-run(1), magus-x(1), magus-where(1), magus-affected(1), magus-graph(1), magus-query(1), magus-explain(1), magus-path(1), magus-refs(1), magus-watch(1), magus-events(1), magus-status(1), magus-clean(1), magus-vcs(1), magus-doctor(1), magus-config(1), magus-session(1), magus-memory(1), magus-diff(1), magus-server(1), magus-mcp(1), magus-buzz(1), magus-completion(1), magus-man(1), magus-init(1), magus-agent(1), magus-self(1), magus-version(1)