You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/context/atlas.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ mcptools atlas status # Index health summary
36
36
mcptools atlas status --json # JSON output
37
37
mcptools atlas index --dry-run # Show what would be indexed (by tier)
38
38
mcptools atlas update --dry-run # Show what would change (adds/mods/deletes)
39
+
git status --porcelain | mcptools atlas index --stdin # Index only the listed paths
39
40
```
40
41
41
42
The `index` and `update` commands display ETA and elapsed time during LLM description phases, and print total elapsed time on completion.
@@ -58,6 +59,14 @@ After the tree-sitter scan, `atlas index` performs a single bottom-up pass over
58
59
59
60
Because directories are processed deepest-first, parent directories always see their children's descriptions. The Ollama provider requires a running Ollama server (`ollama serve`) and the model to be available.
60
61
62
+
Descriptions are expected in `SHORT:` / `LONG:` form. When a model ignores that format, the response is still accepted: the first line (truncated to 80 characters) becomes the short description and the remaining text becomes the long one. Only an empty response is an error.
63
+
64
+
### `atlas index --stdin` — Index an Explicit Path List
65
+
66
+
`atlas index --stdin` reads file paths from standard input, one per line, instead of walking the repository. Each line may be a plain path (`src/foo.ts`) or `git status --porcelain` output (`M src/foo.ts`, `?? new.ts`, `R old.ts -> new.ts` — the new path wins). Blank lines and `#` comments are ignored, as are paths that don't resolve to a file.
67
+
68
+
Only the listed files are indexed: the existing index is neither cleared nor hash-checked, so `--stdin` adds to or refreshes the index rather than rebuilding it. `skip_patterns` are not applied — the caller decides what to feed in.
69
+
61
70
### `atlas peek` for Files and Directories
62
71
63
72
`atlas peek <path>` accepts either a file or directory path. For files it shows the file summary and symbol signatures. For directories it shows the directory description, child entries with their descriptions, and aggregated symbols.
All fields are optional and fall back to defaults. Environment variables override config file values.
88
98
99
+
Fields may also be written flat, without the `[atlas]` header. When a key appears both flat and under `[atlas]`, the `[atlas]` value wins.
100
+
101
+
### Ignore Patterns
102
+
103
+
The `skip_patterns` field accepts glob patterns (powered by the `globset` crate), matched against repository-relative paths. Files matching any pattern are skipped by the `index` and `update` repo walks, so they never enter the index and never appear in tree, peek, or status output. `atlas index --stdin` bypasses these patterns. An invalid pattern fails the command.
104
+
105
+
Common patterns:
106
+
-`"*.test.ts"` — skip test files by extension
107
+
-`"*.md"` — skip markdown files
108
+
-`"packages/mom/**"` — skip an entire directory tree
0 commit comments