@fingerskier/augment 0.4.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/LICENSE +201 -201
  2. package/README.md +494 -450
  3. package/dist/cli.js +5 -4
  4. package/dist/cli.js.map +1 -1
  5. package/dist/daemon/client.d.ts +6 -0
  6. package/dist/daemon/client.js +19 -0
  7. package/dist/daemon/client.js.map +1 -1
  8. package/dist/daemon/http.js +79 -9
  9. package/dist/daemon/http.js.map +1 -1
  10. package/dist/daemon/lifetime-lock.js +12 -12
  11. package/dist/db.js +107 -107
  12. package/dist/decoction.d.ts +51 -0
  13. package/dist/decoction.js +184 -0
  14. package/dist/decoction.js.map +1 -0
  15. package/dist/hooks.d.ts +8 -5
  16. package/dist/hooks.js +49 -20
  17. package/dist/hooks.js.map +1 -1
  18. package/dist/install.d.ts +14 -2
  19. package/dist/install.js +189 -1
  20. package/dist/install.js.map +1 -1
  21. package/dist/mcp/apps.js +480 -480
  22. package/dist/mcp/server.js +83 -0
  23. package/dist/mcp/server.js.map +1 -1
  24. package/dist/memory/files.js +21 -2
  25. package/dist/memory/files.js.map +1 -1
  26. package/dist/memory/project.d.ts +3 -0
  27. package/dist/memory/project.js +20 -0
  28. package/dist/memory/project.js.map +1 -1
  29. package/dist/pi/extension.d.ts +6 -0
  30. package/dist/pi/extension.js +74 -20
  31. package/dist/pi/extension.js.map +1 -1
  32. package/dist/proposals.js +16 -15
  33. package/dist/proposals.js.map +1 -1
  34. package/dist/service.d.ts +134 -2
  35. package/dist/service.js +578 -51
  36. package/dist/service.js.map +1 -1
  37. package/docs/FEATURES.md +771 -615
  38. package/docs/verify-memory-flow.md +4 -3
  39. package/integrations/claude/skills/augment-context/SKILL.md +74 -74
  40. package/integrations/claude/skills/augment-decoction/SKILL.md +36 -0
  41. package/integrations/claude/skills/augment-dream/SKILL.md +34 -0
  42. package/integrations/claude/skills/augment-dream/agents/openai.yaml +4 -0
  43. package/integrations/claude/skills/augment-sleep/SKILL.md +26 -26
  44. package/integrations/codex/SKILL.md +107 -74
  45. package/integrations/examples/claude-mcp-config.json +17 -17
  46. package/integrations/examples/codex-mcp-config.json +17 -17
  47. package/integrations/examples/grok-mcp-config.toml +18 -0
  48. package/integrations/grok/AGENTS.md +61 -0
  49. package/integrations/pi/skills/augment-decoction/SKILL.md +37 -0
  50. package/integrations/pi/skills/augment-dream/SKILL.md +36 -0
  51. package/package.json +85 -84
  52. package/dist/tally.d.ts +0 -46
  53. package/dist/tally.js +0 -94
  54. package/dist/tally.js.map +0 -1
@@ -126,6 +126,7 @@ eyeball.
126
126
  - **Retrieval floor calibration (resolved).** The `(cos+1)/2` mis-normalization
127
127
  is fixed by an empirically-anchored cosine rescale (`SEMANTIC_COSINE_BASELINE`
128
128
  0.33), and abstention is now proven on the real model by `npm run test:model`.
129
- Remaining retrieval-quality follow-ups (Phase 2 dogfood tally, credential-warn,
130
- HF revision pin) are tracked in `.council/memory/retrieval-quality-roadmap.md`
131
- and [ROADMAP.md](../ROADMAP.md).
129
+ Remaining retrieval-quality follow-ups (ordinary-upsert credential warnings
130
+ and HF revision pinning) are tracked in
131
+ `.council/memory/retrieval-quality-roadmap.md` and
132
+ [ROADMAP.md](../ROADMAP.md).
@@ -1,74 +1,74 @@
1
- ---
2
- name: augment-context
3
- description: Use Augment MCP memories to gather and persist project context during coding sessions.
4
- ---
5
-
6
- # Augment Context
7
-
8
- Use this skill when working in a repository with the Augment MCP server available.
9
-
10
- ## Session Start
11
-
12
- 1. Call `init_project`.
13
- 2. Call `search` with the user's task summary.
14
- 3. Read exact memories when search results identify likely governing context.
15
-
16
- ## Memory Insights
17
-
18
- When the user asks for memory insights, stats, health, or an overview of what
19
- Augment knows, call `memory_insights` (and `memory_graph` when they want to see
20
- how memories connect). In hosts that support MCP Apps these render interactive
21
- dashboard snippets; elsewhere they return a text summary — either way, relay the
22
- findings rather than re-deriving them from raw memories.
23
-
24
- ## Before Code Changes
25
-
26
- 1. Search for the file, component, command, error, or behavior being touched.
27
- 2. If the work depends on a prior decision, read and follow the relevant `SPEC`
28
- or `ARCH` memory.
29
- 3. If no relevant memory exists but the task creates a durable requirement or
30
- decision, create one before implementation.
31
-
32
- ## Memory Triggers
33
-
34
- Call `upsert` whenever one of these durable events happens:
35
-
36
- - A requirement, API contract, data model, or tool contract is clarified:
37
- use `SPEC`.
38
- - An implementation approach, tradeoff, transport choice, persistence model, or
39
- architecture decision is made: use `ARCH`.
40
- - A bug, risk, failing behavior, or blocker is discovered: use `ISSUE`.
41
- - Follow-up work is intentionally deferred: use `TODO`.
42
- - A meaningful implementation milestone is completed: use `WORK`.
43
- - A test scenario, regression case, or verification rule is learned: use `SPEC`
44
- or `WORK`, whichever is more durable.
45
-
46
- ## Links
47
-
48
- After creating or updating a memory:
49
-
50
- 1. Use `link` when a memory implements, depends on, blocks, parents, or relates
51
- to another memory.
52
- 2. Prefer linking new `WORK` notes to the `SPEC`, `ARCH`, `ISSUE`, or `TODO`
53
- they address.
54
-
55
- ## Session Finish
56
-
57
- For almost every session that did real work (skip only pure Q&A, read-only
58
- inspection, or trivial mechanical ops like 'commit & push'):
59
-
60
- 1. Upsert a concise `WORK` memory with what changed, key files, and verification.
61
- 2. Upsert or update `TODO` memories for known remaining work.
62
- 3. Link the final `WORK` memory to the relevant planning/decision memories.
63
-
64
- ## Guardrails
65
-
66
- - Do not store secrets, credentials, tokens, or private keys.
67
- - Do not store huge logs, dependency dumps, generated files, or full source files.
68
- - Keep each memory focused; split large notes before calling `upsert`.
69
- - Treat numeric memory IDs as local handles. Relative paths are the durable identity.
70
- - Use returned search text directly as context; do not ask Augment to summarize.
71
- - Default to upserting when a turn did real work; only skip pure Q&A, read-only
72
- inspection, or trivial mechanical ops. When unsure, upsert.
73
- - Do not create memories for facts already obvious from the current diff, or that
74
- duplicate an existing memory (update that one instead).
1
+ ---
2
+ name: augment-context
3
+ description: Use Augment MCP memories to gather and persist project context during coding sessions.
4
+ ---
5
+
6
+ # Augment Context
7
+
8
+ Use this skill when working in a repository with the Augment MCP server available.
9
+
10
+ ## Session Start
11
+
12
+ 1. Call `init_project`.
13
+ 2. Call `search` with the user's task summary.
14
+ 3. Read exact memories when search results identify likely governing context.
15
+
16
+ ## Memory Insights
17
+
18
+ When the user asks for memory insights, stats, health, or an overview of what
19
+ Augment knows, call `memory_insights` (and `memory_graph` when they want to see
20
+ how memories connect). In hosts that support MCP Apps these render interactive
21
+ dashboard snippets; elsewhere they return a text summary — either way, relay the
22
+ findings rather than re-deriving them from raw memories.
23
+
24
+ ## Before Code Changes
25
+
26
+ 1. Search for the file, component, command, error, or behavior being touched.
27
+ 2. If the work depends on a prior decision, read and follow the relevant `SPEC`
28
+ or `ARCH` memory.
29
+ 3. If no relevant memory exists but the task creates a durable requirement or
30
+ decision, create one before implementation.
31
+
32
+ ## Memory Triggers
33
+
34
+ Call `upsert` whenever one of these durable events happens:
35
+
36
+ - A requirement, API contract, data model, or tool contract is clarified:
37
+ use `SPEC`.
38
+ - An implementation approach, tradeoff, transport choice, persistence model, or
39
+ architecture decision is made: use `ARCH`.
40
+ - A bug, risk, failing behavior, or blocker is discovered: use `ISSUE`.
41
+ - Follow-up work is intentionally deferred: use `TODO`.
42
+ - A meaningful implementation milestone is completed: use `WORK`.
43
+ - A test scenario, regression case, or verification rule is learned: use `SPEC`
44
+ or `WORK`, whichever is more durable.
45
+
46
+ ## Links
47
+
48
+ After creating or updating a memory:
49
+
50
+ 1. Use `link` when a memory implements, depends on, blocks, parents, or relates
51
+ to another memory.
52
+ 2. Prefer linking new `WORK` notes to the `SPEC`, `ARCH`, `ISSUE`, or `TODO`
53
+ they address.
54
+
55
+ ## Session Finish
56
+
57
+ For almost every session that did real work (skip only pure Q&A, read-only
58
+ inspection, or trivial mechanical ops like 'commit & push'):
59
+
60
+ 1. Upsert a concise `WORK` memory with what changed, key files, and verification.
61
+ 2. Upsert or update `TODO` memories for known remaining work.
62
+ 3. Link the final `WORK` memory to the relevant planning/decision memories.
63
+
64
+ ## Guardrails
65
+
66
+ - Do not store secrets, credentials, tokens, or private keys.
67
+ - Do not store huge logs, dependency dumps, generated files, or full source files.
68
+ - Keep each memory focused; split large notes before calling `upsert`.
69
+ - Treat numeric memory IDs as local handles. Relative paths are the durable identity.
70
+ - Use returned search text directly as context; do not ask Augment to summarize.
71
+ - Default to upserting when a turn did real work; only skip pure Q&A, read-only
72
+ inspection, or trivial mechanical ops. When unsure, upsert.
73
+ - Do not create memories for facts already obvious from the current diff, or that
74
+ duplicate an existing memory (update that one instead).
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: augment-decoction
3
+ description: Distill recurring cross-project memory into generic SPEC/ARCH records and optionally remove fully subsumed originals. Use when the user asks to "decoct", "glean", generalize, or clean up repeated memories across projects.
4
+ ---
5
+
6
+ # Augment Decoction
7
+
8
+ Decoction extracts durable, project-independent knowledge from recurring
9
+ memories. It is separate from sleep: sleep consolidates settled work within one
10
+ project, while decoction finds patterns across projects and writes them under
11
+ `.generic/`.
12
+
13
+ 1. Call `decoction_glean` with `action: "discover"`. If no cluster spans at
14
+ least four distinct projects, report that and stop.
15
+ 2. Pick a cluster and `read` every source. Synthesize one generic record:
16
+ - use SPEC for a reusable contract or rule;
17
+ - use ARCH for a reusable decision or tradeoff;
18
+ - retain only claims supported across the projects;
19
+ - put every source used in `derived_from`.
20
+ 3. Suggest source removal only when the generic preserves the original's entire
21
+ durable content. Do not suggest a source that also contains project-specific
22
+ facts, history, caveats, or unresolved work.
23
+ 4. Call `decoction_glean` with `action: "write"`, the complete draft, and the
24
+ reasoned `suggested_removals`. For an existing generic, read it fresh and
25
+ pass both of its expected hashes.
26
+ 5. Report the generic path and any warnings. Warnings are advisory and do not
27
+ block the write.
28
+ 6. Show each suggested cleanup path and reason verbatim. Ask for explicit user
29
+ approval of the exact paths; never infer approval from approval of the
30
+ generic itself.
31
+ 7. Only after approval, call `decoction_cleanup` with the generic path and the
32
+ approved source paths. Report every deletion and any failure.
33
+
34
+ Cleanup hard-deletes the selected originals after retargeting inbound links to
35
+ the generic. It has no journal or rollback. The user may approve a subset or
36
+ decline cleanup entirely.
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: augment-dream
3
+ description: Explore globally recalled Augment memories and propose speculative memories or links for explicit user approval. Use when the user asks to "dream" over memory, imagine hypotheses, or surface hidden connections across the current, generic, or foreign projects.
4
+ ---
5
+
6
+ # Augment Dream
7
+
8
+ Dreams are hypotheses, not established facts. Discover and draft freely, but
9
+ never mutate the corpus before the user explicitly approves a named proposal.
10
+ Use a real project as the active project; `.generic` is inspiration or a link
11
+ target only.
12
+
13
+ 1. Call `search` separately for each exploratory query, always passing the
14
+ active `project_name` and the singular `query` argument. Use normal global
15
+ results as ranked: the current project receives its normal priority, while
16
+ generic and foreign memories remain eligible.
17
+ Do not reserve a generic quota or add a generic fallback.
18
+ 2. Call `read` with each useful result's numeric memory id, and retain its
19
+ returned relative path for provenance. Imagine 1-5 coherent candidates:
20
+ - dream memory: a new record in the active project, with `derived_from`
21
+ equal to the exact inspiration paths;
22
+ - dream link: a link from an active-project memory to any current, generic,
23
+ or foreign memory.
24
+ Generic-only and foreign-only inspiration are valid.
25
+ 3. Call `dream_propose` for each worthwhile candidate. State the speculation
26
+ plainly in the content and rationale; do not present it as settled truth.
27
+ 4. Show each proposal to the user. Only after explicit approval call
28
+ `dream_apply` with its filename. Call `dream_reject` when the user rejects
29
+ it. If approval is unclear, leave the proposal pending.
30
+ 5. Report the applied speculative memory or link and its `dream:` commit.
31
+
32
+ Keep evidence and conjecture distinguishable. Do not invent supporting source
33
+ paths, and do not rewrite a foreign memory: foreign projects are inspiration
34
+ and link targets only.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Augment Dream"
3
+ short_description: "Propose speculative memory connections"
4
+ default_prompt: "Use $augment-dream to explore memory and propose speculative memories or links for my approval."
@@ -1,26 +1,26 @@
1
- ---
2
- name: augment-sleep
3
- description: Consolidate settled WORK memories into durable SPEC/ARCH records via user-approved sleep proposals. Use when the user asks to "sleep", consolidate, or distill project memory.
4
- ---
5
-
6
- # Augment Sleep
7
-
8
- Sleep folds related, settled WORK memories into one durable SPEC or ARCH
9
- record. You draft; the user approves; `sleep_apply` writes. Never skip the
10
- approval step.
11
-
12
- 1. Call `sleep_candidates` (current project unless the user names one).
13
- If no clusters, report that and stop.
14
- 2. For each cluster (or the one the user picks): `read` every member, then
15
- draft ONE consolidated record — SPEC if a stable contract emerged, ARCH if
16
- a decision stuck. The draft must state every fact worth keeping from the
17
- sources; sources will be archived (down-weighted, never deleted).
18
- 3. Call `sleep_propose` with the draft (kind, name, content,
19
- derived_from = the cluster's relative paths). Tell the user where the
20
- proposal file lives — they may edit it directly before approving.
21
- 4. Show the user the draft and ask for approval. On an explicit yes, call
22
- `sleep_apply` with the proposal filename. On no, call `sleep_reject`.
23
- 5. Report what was consolidated, what was archived, and the git commit.
24
-
25
- Constraints: one project per pass; never invent facts not present in the
26
- sources; if a cluster mixes unrelated work, propose only the coherent subset.
1
+ ---
2
+ name: augment-sleep
3
+ description: Consolidate settled WORK memories into durable SPEC/ARCH records via user-approved sleep proposals. Use when the user asks to "sleep", consolidate, or distill project memory.
4
+ ---
5
+
6
+ # Augment Sleep
7
+
8
+ Sleep folds related, settled WORK memories into one durable SPEC or ARCH
9
+ record. You draft; the user approves; `sleep_apply` writes. Never skip the
10
+ approval step.
11
+
12
+ 1. Call `sleep_candidates` (current project unless the user names one).
13
+ If no clusters, report that and stop.
14
+ 2. For each cluster (or the one the user picks): `read` every member, then
15
+ draft ONE consolidated record — SPEC if a stable contract emerged, ARCH if
16
+ a decision stuck. The draft must state every fact worth keeping from the
17
+ sources; sources will be archived (down-weighted, never deleted).
18
+ 3. Call `sleep_propose` with the draft (kind, name, content,
19
+ derived_from = the cluster's relative paths). Tell the user where the
20
+ proposal file lives — they may edit it directly before approving.
21
+ 4. Show the user the draft and ask for approval. On an explicit yes, call
22
+ `sleep_apply` with the proposal filename. On no, call `sleep_reject`.
23
+ 5. Report what was consolidated, what was archived, and the git commit.
24
+
25
+ Constraints: one project per pass; never invent facts not present in the
26
+ sources; if a cluster mixes unrelated work, propose only the coherent subset.
@@ -1,74 +1,107 @@
1
- ---
2
- name: augment-context
3
- description: Use Augment MCP memories to gather and persist project context during coding sessions.
4
- ---
5
-
6
- # Augment Context
7
-
8
- Use this skill when working in a repository with the Augment MCP server available.
9
-
10
- ## Session Start
11
-
12
- 1. Call `init_project`.
13
- 2. Call `search` with the user's task summary.
14
- 3. Read exact memories when search results identify likely governing context.
15
-
16
- ## Memory Insights
17
-
18
- When the user asks for memory insights, stats, health, or an overview of what
19
- Augment knows, call `memory_insights` (and `memory_graph` when they want to see
20
- how memories connect). In hosts that support MCP Apps these render interactive
21
- dashboard snippets; elsewhere they return a text summary — either way, relay the
22
- findings rather than re-deriving them from raw memories.
23
-
24
- ## Before Code Changes
25
-
26
- 1. Search for the file, component, command, error, or behavior being touched.
27
- 2. If the work depends on a prior decision, read and follow the relevant `SPEC`
28
- or `ARCH` memory.
29
- 3. If no relevant memory exists but the task creates a durable requirement or
30
- decision, create one before implementation.
31
-
32
- ## Memory Triggers
33
-
34
- Call `upsert` whenever one of these durable events happens:
35
-
36
- - A requirement, API contract, data model, or tool contract is clarified:
37
- use `SPEC`.
38
- - An implementation approach, tradeoff, transport choice, persistence model, or
39
- architecture decision is made: use `ARCH`.
40
- - A bug, risk, failing behavior, or blocker is discovered: use `ISSUE`.
41
- - Follow-up work is intentionally deferred: use `TODO`.
42
- - A meaningful implementation milestone is completed: use `WORK`.
43
- - A test scenario, regression case, or verification rule is learned: use `SPEC`
44
- or `WORK`, whichever is more durable.
45
-
46
- ## Links
47
-
48
- After creating or updating a memory:
49
-
50
- 1. Use `link` when a memory implements, depends on, blocks, parents, or relates
51
- to another memory.
52
- 2. Prefer linking new `WORK` notes to the `SPEC`, `ARCH`, `ISSUE`, or `TODO`
53
- they address.
54
-
55
- ## Session Finish
56
-
57
- For almost every session that did real work (skip only pure Q&A, read-only
58
- inspection, or trivial mechanical ops like 'commit & push'):
59
-
60
- 1. Upsert a concise `WORK` memory with what changed, key files, and verification.
61
- 2. Upsert or update `TODO` memories for known remaining work.
62
- 3. Link the final `WORK` memory to the relevant planning/decision memories.
63
-
64
- ## Guardrails
65
-
66
- - Do not store secrets, credentials, tokens, or private keys.
67
- - Do not store huge logs, dependency dumps, generated files, or full source files.
68
- - Keep each memory focused; split large notes before calling `upsert`.
69
- - Treat numeric memory IDs as local handles. Relative paths are the durable identity.
70
- - Use returned search text directly as context; do not ask Augment to summarize.
71
- - Default to upserting when a turn did real work; only skip pure Q&A, read-only
72
- inspection, or trivial mechanical ops. When unsure, upsert.
73
- - Do not create memories for facts already obvious from the current diff, or that
74
- duplicate an existing memory (update that one instead).
1
+ ---
2
+ name: augment-context
3
+ description: Use Augment MCP memories to gather and persist project context during coding sessions.
4
+ ---
5
+
6
+ # Augment Context
7
+
8
+ Use this skill when working in a repository with the Augment MCP server available.
9
+
10
+ ## Session Start
11
+
12
+ 1. Call `init_project`.
13
+ 2. Call `search` with the user's task summary.
14
+ 3. Read exact memories when search results identify likely governing context.
15
+
16
+ ## Memory Insights
17
+
18
+ When the user asks for memory insights, stats, health, or an overview of what
19
+ Augment knows, call `memory_insights` (and `memory_graph` when they want to see
20
+ how memories connect). In hosts that support MCP Apps these render interactive
21
+ dashboard snippets; elsewhere they return a text summary — either way, relay the
22
+ findings rather than re-deriving them from raw memories.
23
+
24
+ ## Before Code Changes
25
+
26
+ 1. Search for the file, component, command, error, or behavior being touched.
27
+ 2. If the work depends on a prior decision, read and follow the relevant `SPEC`
28
+ or `ARCH` memory.
29
+ 3. If no relevant memory exists but the task creates a durable requirement or
30
+ decision, create one before implementation.
31
+
32
+ ## Memory Triggers
33
+
34
+ Call `upsert` whenever one of these durable events happens:
35
+
36
+ - A requirement, API contract, data model, or tool contract is clarified:
37
+ use `SPEC`.
38
+ - An implementation approach, tradeoff, transport choice, persistence model, or
39
+ architecture decision is made: use `ARCH`.
40
+ - A bug, risk, failing behavior, or blocker is discovered: use `ISSUE`.
41
+ - Follow-up work is intentionally deferred: use `TODO`.
42
+ - A meaningful implementation milestone is completed: use `WORK`.
43
+ - A test scenario, regression case, or verification rule is learned: use `SPEC`
44
+ or `WORK`, whichever is more durable.
45
+
46
+ ## Links
47
+
48
+ After creating or updating a memory:
49
+
50
+ 1. Use `link` when a memory implements, depends on, blocks, parents, or relates
51
+ to another memory.
52
+ 2. Prefer linking new `WORK` notes to the `SPEC`, `ARCH`, `ISSUE`, or `TODO`
53
+ they address.
54
+
55
+ ## Decoction
56
+
57
+ When the user asks to decoct, glean, or generalize cross-project memory:
58
+
59
+ 1. Call `decoction_glean` with `action: "discover"`, then read every source in
60
+ the selected cluster.
61
+ 2. Draft one reusable SPEC or ARCH under `.generic/`, keeping only claims
62
+ supported across the projects and listing every source in `derived_from`.
63
+ 3. Suggest removal only for originals whose entire durable content the generic
64
+ preserves. Call `decoction_glean` with `action: "write"`; report advisory
65
+ warnings without treating them as write failures. When updating an existing
66
+ generic, read it fresh and pass both expected hashes.
67
+ 4. Show the exact suggested paths and reasons. Call `decoction_cleanup` only
68
+ after explicit approval of those paths; the hard deletes have no rollback.
69
+
70
+ Decoction is separate from sleep: sleep consolidates settled work inside one
71
+ project, while decoction extracts reusable knowledge across projects.
72
+
73
+ ## Dreaming
74
+
75
+ When the user asks to dream over memory or surface speculative connections:
76
+
77
+ 1. Search globally with the current project context, then read the relevant
78
+ current, generic, and foreign memories.
79
+ 2. Call `dream_propose` for each candidate memory or link. Dream memories land
80
+ in the current real project (`.generic` is never active); dream links start
81
+ there but may target another project. State what evidence inspired the idea
82
+ and what remains unverified.
83
+ 3. Present each editable proposal. Call `dream_apply` only after explicit user
84
+ approval; otherwise call `dream_reject`.
85
+
86
+ Never present a dream as established fact.
87
+
88
+ ## Session Finish
89
+
90
+ For almost every session that did real work (skip only pure Q&A, read-only
91
+ inspection, or trivial mechanical ops like 'commit & push'):
92
+
93
+ 1. Upsert a concise `WORK` memory with what changed, key files, and verification.
94
+ 2. Upsert or update `TODO` memories for known remaining work.
95
+ 3. Link the final `WORK` memory to the relevant planning/decision memories.
96
+
97
+ ## Guardrails
98
+
99
+ - Do not store secrets, credentials, tokens, or private keys.
100
+ - Do not store huge logs, dependency dumps, generated files, or full source files.
101
+ - Keep each memory focused; split large notes before calling `upsert`.
102
+ - Treat numeric memory IDs as local handles. Relative paths are the durable identity.
103
+ - Use returned search text directly as context; do not ask Augment to summarize.
104
+ - Default to upserting when a turn did real work; only skip pure Q&A, read-only
105
+ inspection, or trivial mechanical ops. When unsure, upsert.
106
+ - Do not create memories for facts already obvious from the current diff, or that
107
+ duplicate an existing memory (update that one instead).
@@ -1,17 +1,17 @@
1
- {
2
- "mcpServers": {
3
- "augment": {
4
- "command": "npm",
5
- "args": [
6
- "exec",
7
- "--prefix",
8
- "C:\\Users\\you\\.augment\\npm-exec",
9
- "--",
10
- "augment-mcp"
11
- ],
12
- "env": {
13
- "AUGMENT_MEMORY_ROOT": "C:\\Users\\you\\Dropbox\\augment-memories"
14
- }
15
- }
16
- }
17
- }
1
+ {
2
+ "mcpServers": {
3
+ "augment": {
4
+ "command": "npm",
5
+ "args": [
6
+ "exec",
7
+ "--prefix",
8
+ "C:\\Users\\you\\.augment\\npm-exec",
9
+ "--",
10
+ "augment-mcp"
11
+ ],
12
+ "env": {
13
+ "AUGMENT_MEMORY_ROOT": "C:\\Users\\you\\Dropbox\\augment-memories"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -1,17 +1,17 @@
1
- {
2
- "mcpServers": {
3
- "augment": {
4
- "command": "npm",
5
- "args": [
6
- "exec",
7
- "--prefix",
8
- "C:\\Users\\you\\.augment\\npm-exec",
9
- "--",
10
- "augment-mcp"
11
- ],
12
- "env": {
13
- "AUGMENT_MEMORY_ROOT": "C:\\Users\\you\\Dropbox\\augment-memories"
14
- }
15
- }
16
- }
17
- }
1
+ {
2
+ "mcpServers": {
3
+ "augment": {
4
+ "command": "npm",
5
+ "args": [
6
+ "exec",
7
+ "--prefix",
8
+ "C:\\Users\\you\\.augment\\npm-exec",
9
+ "--",
10
+ "augment-mcp"
11
+ ],
12
+ "env": {
13
+ "AUGMENT_MEMORY_ROOT": "C:\\Users\\you\\Dropbox\\augment-memories"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,18 @@
1
+ # Example Grok Build MCP config fragment.
2
+ # Paste into ~/.grok/config.toml (user) or .grok/config.toml (project),
3
+ # or run: npx -y @fingerskier/augment install grok --scope user --memory-root "..."
4
+
5
+ [mcp_servers.augment]
6
+ command = "npm"
7
+ args = [
8
+ "exec",
9
+ "--prefix",
10
+ "C:\\Users\\you\\.augment\\npm-exec",
11
+ "--",
12
+ "augment-mcp",
13
+ ]
14
+ enabled = true
15
+ startup_timeout_sec = 60
16
+
17
+ [mcp_servers.augment.env]
18
+ AUGMENT_MEMORY_ROOT = "C:\\Users\\you\\Dropbox\\augment-memories"
@@ -0,0 +1,61 @@
1
+ # Augment Memory Workflow
2
+
3
+ When the Augment MCP server is configured, use it as the local project memory.
4
+
5
+ ## Session Start
6
+
7
+ 1. Call `init_project` (via the `augment` MCP tools).
8
+ 2. Call `search` with the user's task summary.
9
+ 3. Read exact memories when search results identify likely governing context.
10
+
11
+ ## Before Code Changes
12
+
13
+ 1. Search for the file, component, command, error, or behavior being touched.
14
+ 2. If the work depends on a prior decision, read and follow the relevant `SPEC`
15
+ or `ARCH` memory.
16
+ 3. If no relevant memory exists but the task creates a durable requirement or
17
+ decision, create one before implementation.
18
+
19
+ ## Memory Triggers
20
+
21
+ Call `upsert` whenever one of these durable events happens:
22
+
23
+ - A requirement, API contract, data model, or tool contract is clarified:
24
+ use `SPEC`.
25
+ - An implementation approach, tradeoff, transport choice, persistence model, or
26
+ architecture decision is made: use `ARCH`.
27
+ - A bug, risk, failing behavior, or blocker is discovered: use `ISSUE`.
28
+ - Follow-up work is intentionally deferred: use `TODO`.
29
+ - A meaningful implementation milestone is completed: use `WORK`.
30
+ - A test scenario, regression case, or verification rule is learned: use `SPEC`
31
+ or `WORK`, whichever is more durable.
32
+
33
+ ## Links
34
+
35
+ After creating or updating a memory:
36
+
37
+ 1. Use `link` when a memory implements, depends on, blocks, parents, or relates
38
+ to another memory.
39
+ 2. Prefer linking new `WORK` notes to the `SPEC`, `ARCH`, `ISSUE`, or `TODO`
40
+ they address.
41
+
42
+ ## Session Finish
43
+
44
+ For almost every session that did real work (skip only pure Q&A, read-only
45
+ inspection, or trivial mechanical ops like 'commit & push'):
46
+
47
+ 1. Upsert a concise `WORK` memory with what changed, key files, and verification.
48
+ 2. Upsert or update `TODO` memories for known remaining work.
49
+ 3. Link the final `WORK` memory to the relevant planning/decision memories.
50
+
51
+ ## Guardrails
52
+
53
+ - Do not store secrets, credentials, tokens, or private keys.
54
+ - Do not store huge logs, dependency dumps, generated files, or full source files.
55
+ - Keep each memory focused; split large notes before calling `upsert`.
56
+ - Treat numeric memory IDs as local handles. Relative paths are the durable identity.
57
+ - Use returned search text directly as context; do not ask Augment to summarize.
58
+ - Default to upserting when a turn did real work; only skip pure Q&A, read-only
59
+ inspection, or trivial mechanical ops. When unsure, upsert.
60
+ - Do not create memories for facts already obvious from the current diff, or that
61
+ duplicate an existing memory (update that one instead).