@coreyuan/vector-mind 1.0.48 → 1.0.52
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.
- package/README.md +146 -394
- package/dist/activity-log.d.ts +19 -0
- package/dist/activity-log.js +106 -0
- package/dist/activity-log.js.map +1 -0
- package/dist/builtin-conventions.d.ts +2 -1
- package/dist/builtin-conventions.js +7 -2
- package/dist/builtin-conventions.js.map +1 -1
- package/dist/builtin-instructions.d.ts +1 -1
- package/dist/builtin-instructions.js +1 -1
- package/dist/builtin-instructions.js.map +1 -1
- package/dist/config.d.ts +28 -0
- package/dist/config.js +189 -0
- package/dist/config.js.map +1 -0
- package/dist/database-runtime.d.ts +54 -0
- package/dist/database-runtime.js +512 -0
- package/dist/database-runtime.js.map +1 -0
- package/dist/development-warnings.d.ts +93 -0
- package/dist/development-warnings.js +589 -0
- package/dist/development-warnings.js.map +1 -0
- package/dist/file-indexing.d.ts +22 -0
- package/dist/file-indexing.js +243 -0
- package/dist/file-indexing.js.map +1 -0
- package/dist/grep.d.ts +64 -0
- package/dist/grep.js +475 -0
- package/dist/grep.js.map +1 -0
- package/dist/index.js +167 -6884
- package/dist/index.js.map +1 -1
- package/dist/large-file-split.d.ts +29 -0
- package/dist/large-file-split.js +146 -0
- package/dist/large-file-split.js.map +1 -0
- package/dist/memory-maintenance.d.ts +80 -0
- package/dist/memory-maintenance.js +537 -0
- package/dist/memory-maintenance.js.map +1 -0
- package/dist/memory-mutations.d.ts +23 -0
- package/dist/memory-mutations.js +83 -0
- package/dist/memory-mutations.js.map +1 -0
- package/dist/memory-recall.d.ts +93 -0
- package/dist/memory-recall.js +796 -0
- package/dist/memory-recall.js.map +1 -0
- package/dist/path-filters.d.ts +1 -0
- package/dist/path-filters.js +27 -0
- package/dist/path-filters.js.map +1 -0
- package/dist/path-rules.d.ts +12 -0
- package/dist/path-rules.js +208 -0
- package/dist/path-rules.js.map +1 -0
- package/dist/pending-changes.d.ts +22 -0
- package/dist/pending-changes.js +166 -0
- package/dist/pending-changes.js.map +1 -0
- package/dist/project-files.d.ts +66 -0
- package/dist/project-files.js +215 -0
- package/dist/project-files.js.map +1 -0
- package/dist/root.d.ts +15 -0
- package/dist/root.js +191 -0
- package/dist/root.js.map +1 -0
- package/dist/rtk-tools.d.ts +20 -0
- package/dist/rtk-tools.js +318 -0
- package/dist/rtk-tools.js.map +1 -0
- package/dist/server-instructions.d.ts +1 -0
- package/dist/server-instructions.js +88 -0
- package/dist/server-instructions.js.map +1 -0
- package/dist/symbols.d.ts +2 -0
- package/dist/symbols.js +159 -0
- package/dist/symbols.js.map +1 -0
- package/dist/token-savings.d.ts +40 -0
- package/dist/token-savings.js +50 -0
- package/dist/token-savings.js.map +1 -0
- package/dist/tool-catalog.d.ts +18 -0
- package/dist/tool-catalog.js +243 -0
- package/dist/tool-catalog.js.map +1 -0
- package/dist/tool-handlers/context-recovery.d.ts +6 -0
- package/dist/tool-handlers/context-recovery.js +319 -0
- package/dist/tool-handlers/context-recovery.js.map +1 -0
- package/dist/tool-handlers/context.d.ts +34 -0
- package/dist/tool-handlers/context.js +2 -0
- package/dist/tool-handlers/context.js.map +1 -0
- package/dist/tool-handlers/diagnostics.d.ts +8 -0
- package/dist/tool-handlers/diagnostics.js +114 -0
- package/dist/tool-handlers/diagnostics.js.map +1 -0
- package/dist/tool-handlers/files.d.ts +8 -0
- package/dist/tool-handlers/files.js +493 -0
- package/dist/tool-handlers/files.js.map +1 -0
- package/dist/tool-handlers/large-files.d.ts +4 -0
- package/dist/tool-handlers/large-files.js +139 -0
- package/dist/tool-handlers/large-files.js.map +1 -0
- package/dist/tool-handlers/maintenance.d.ts +4 -0
- package/dist/tool-handlers/maintenance.js +160 -0
- package/dist/tool-handlers/maintenance.js.map +1 -0
- package/dist/tool-handlers/memory-diagnostics.d.ts +5 -0
- package/dist/tool-handlers/memory-diagnostics.js +509 -0
- package/dist/tool-handlers/memory-diagnostics.js.map +1 -0
- package/dist/tool-handlers/memory.d.ts +6 -0
- package/dist/tool-handlers/memory.js +334 -0
- package/dist/tool-handlers/memory.js.map +1 -0
- package/dist/tool-handlers/notes-decisions.d.ts +7 -0
- package/dist/tool-handlers/notes-decisions.js +169 -0
- package/dist/tool-handlers/notes-decisions.js.map +1 -0
- package/dist/tool-handlers/requirements.d.ts +7 -0
- package/dist/tool-handlers/requirements.js +357 -0
- package/dist/tool-handlers/requirements.js.map +1 -0
- package/dist/tool-handlers.d.ts +4 -0
- package/dist/tool-handlers.js +105 -0
- package/dist/tool-handlers.js.map +1 -0
- package/dist/tool-output.d.ts +213 -0
- package/dist/tool-output.js +278 -0
- package/dist/tool-output.js.map +1 -0
- package/dist/tool-schemas.d.ts +434 -0
- package/dist/tool-schemas.js +328 -0
- package/dist/tool-schemas.js.map +1 -0
- package/dist/types.d.ts +61 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/docs/capability-matrix.md +43 -0
- package/package.json +11 -10
- package/skills/vector-mind-autopilot/SKILL.md +149 -0
- package/skills/vector-mind-autopilot/references/claude-desktop-mcp-config.json +9 -0
- package/skills/vector-mind-autopilot/references/claude-project-instructions.md +47 -0
- package/skills/vector-mind-autopilot/references/universal-system-prompt.md +78 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: vector-mind-autopilot
|
|
3
|
+
description: "Automatically apply the VectorMind MCP workflow for local requirement-driven memory. Always pass project_root in every VectorMind tool call: bootstrap_context on session start, start_requirement and preflight_change_scope before edits, sync_change_intent after edits, and semantic_search/query_codebase instead of guessing."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# VectorMind Autopilot
|
|
7
|
+
|
|
8
|
+
Use this skill for coding work when VectorMind MCP is configured.
|
|
9
|
+
|
|
10
|
+
## Goal
|
|
11
|
+
|
|
12
|
+
Make the assistant restore and persist project context locally so long-running development work has less context loss, less scope drift, and fewer stale-rule regressions. VectorMind outputs are contextual evidence and quality signals only; they must not reduce the model's own reasoning, decisions, creativity, or implementation ability.
|
|
13
|
+
|
|
14
|
+
## Autonomy floor
|
|
15
|
+
|
|
16
|
+
Use VectorMind as evidence and workflow guardrails, not as a replacement for model judgment. Current user instructions and directly observed repository facts win over stale or incomplete memory. If a tool result looks wrong, inspect further and decide from evidence.
|
|
17
|
+
|
|
18
|
+
## Hard rule: always pass `project_root`
|
|
19
|
+
|
|
20
|
+
Always include `project_root` on every VectorMind tool call.
|
|
21
|
+
|
|
22
|
+
Why: some clients start MCP servers from unrelated folders. Passing `project_root` keeps each project isolated under:
|
|
23
|
+
|
|
24
|
+
```text
|
|
25
|
+
<project>/.vectormind/
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## How to choose `project_root`
|
|
29
|
+
|
|
30
|
+
1. If the user gave a path, use it.
|
|
31
|
+
2. Otherwise infer it from active files/workspace paths.
|
|
32
|
+
3. If needed, walk upward to a marker like `.git`, `package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`, or `*.sln`.
|
|
33
|
+
4. Validate once with `bootstrap_context({ project_root, query })`; prefer `root_source: "tool_arg"` and a `db_path` under `<project>/.vectormind/`.
|
|
34
|
+
|
|
35
|
+
## Required call chain
|
|
36
|
+
|
|
37
|
+
For development, debugging, refactoring, design, or code-change tasks:
|
|
38
|
+
|
|
39
|
+
### 1. Start / resume
|
|
40
|
+
|
|
41
|
+
Call:
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
bootstrap_context({ project_root, query, top_k: 5, pending_limit: 50, requirements_limit: 3, changes_limit: 5, notes_limit: 5, current_context_limit: 8, preview_chars: 200 })
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Use returned summaries, decisions, current context, notes, pending changes, and matches to ground the plan.
|
|
48
|
+
|
|
49
|
+
Skip this only for pure execution-first tasks with explicit targets, such as a known build/test/package command.
|
|
50
|
+
|
|
51
|
+
### 2. Before editing
|
|
52
|
+
|
|
53
|
+
Call:
|
|
54
|
+
|
|
55
|
+
```text
|
|
56
|
+
start_requirement({ project_root, title, background })
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
For narrow tasks, pass `scope_allow`, `scope_deny`, `allowed_paths`, or `denied_paths` when useful.
|
|
60
|
+
If the user request has clear bullets, acceptance points, or numbered items, also pass `requirement_items` so later edits can be checked against the actual request.
|
|
61
|
+
|
|
62
|
+
Once planned files/modules are known, call:
|
|
63
|
+
|
|
64
|
+
```text
|
|
65
|
+
preflight_change_scope({ project_root, intent, files })
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
For explicit requirements, pass `planned_changes` with `requirement_refs`. Mark purely mechanical/test/build/formatting support as `supporting_change=true`.
|
|
69
|
+
|
|
70
|
+
Treat `safe_to_edit=false` as a pre-edit scope warning for file changes, not a reasoning override. Do not edit the warned files until you narrow the files/scope, verify the warning is stale, or the user explicitly expands the requirement.
|
|
71
|
+
|
|
72
|
+
If a tool output includes `project_context_advisory` / `cross_project_reference`, treat that project as a separate context. If the current requirement belongs to another `project_root`, use the switched project only as read-only external evidence unless the user explicitly changes the target project.
|
|
73
|
+
|
|
74
|
+
### 3. Huge files
|
|
75
|
+
|
|
76
|
+
If any VectorMind tool returns `huge_file_modularization_required`:
|
|
77
|
+
|
|
78
|
+
1. Stop normal feature work.
|
|
79
|
+
2. Call `plan_large_file_split({ project_root, file })`.
|
|
80
|
+
3. Perform mechanical modularization with real module names/directories.
|
|
81
|
+
4. Never create `*.generated.*`, `.parts`, `*.rs.parts`, or `part1/part2` fake split files.
|
|
82
|
+
5. Call `record_large_file_split(...)`.
|
|
83
|
+
|
|
84
|
+
### 4. After editing
|
|
85
|
+
|
|
86
|
+
Call:
|
|
87
|
+
|
|
88
|
+
```text
|
|
89
|
+
get_pending_changes({ project_root })
|
|
90
|
+
sync_change_intent({ project_root, intent, files? })
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
The intent should say what changed, why, and any follow-up.
|
|
94
|
+
|
|
95
|
+
### 5. Decisions and durable memory
|
|
96
|
+
|
|
97
|
+
When a user decision changes or reverses old behavior:
|
|
98
|
+
|
|
99
|
+
- Call `upsert_decision(...)`.
|
|
100
|
+
- Supersede old records through `supersede_memory(...)` or `upsert_decision` supersede fields.
|
|
101
|
+
|
|
102
|
+
For durable context:
|
|
103
|
+
|
|
104
|
+
- `upsert_project_summary(...)`
|
|
105
|
+
- `add_note(...)`
|
|
106
|
+
- `upsert_convention(...)`
|
|
107
|
+
- `complete_requirement(...)` when done
|
|
108
|
+
- `create_checkpoint(...)` before long-session handoff or heavy compaction
|
|
109
|
+
- `restore_checkpoint_context(...)` to read checkpoint context back without mutating active state
|
|
110
|
+
- `analyze_memory_conflicts(...)`, `memory_quality_report(...)`, or `compare_checkpoint_context(...)` only when auditing memory quality, stale-rule regressions, or checkpoint drift
|
|
111
|
+
|
|
112
|
+
## Code search and reading
|
|
113
|
+
|
|
114
|
+
- Use `query_codebase({ project_root, query })` for symbol/code location.
|
|
115
|
+
- Use `grep({ project_root, query })` for exact text matches.
|
|
116
|
+
- Use `read_file_lines(...)` or `read_file_text(...)` for bounded reads.
|
|
117
|
+
- Use `semantic_search(...)` for prior requirements, decisions, notes, code chunks, and docs.
|
|
118
|
+
- Use `memory_timeline(...)` to understand the order of related requirements, decisions, notes, and changes.
|
|
119
|
+
- Use `read_memory_item(...)` for full text only when needed.
|
|
120
|
+
|
|
121
|
+
## Maintenance
|
|
122
|
+
|
|
123
|
+
If a large/long-lived project feels slow:
|
|
124
|
+
|
|
125
|
+
1. Call `maintain_memory({ project_root, dry_run: true })`.
|
|
126
|
+
2. Apply with `dry_run: false` only if the plan is safe.
|
|
127
|
+
|
|
128
|
+
For low-risk diagnosis, use `memory_quality_report(...)`, `analyze_memory_conflicts(...)`, or `compare_checkpoint_context(...)` as read-only evidence. Do not use these reports to expand the current requirement or override model judgment.
|
|
129
|
+
|
|
130
|
+
## Output policy
|
|
131
|
+
|
|
132
|
+
- Do not paste raw JSON unless the user asks.
|
|
133
|
+
- Summarize active requirement, key warnings, changed files, validation, and next step.
|
|
134
|
+
- VectorMind defines development memory and quality workflow only. It does not manage client runtime controls.
|
|
135
|
+
|
|
136
|
+
## Troubleshooting
|
|
137
|
+
|
|
138
|
+
- Skills are loaded when the client starts. Restart the client after installing/updating this skill.
|
|
139
|
+
- Do not hardcode one global `cwd` or `VECTORMIND_ROOT` for all projects.
|
|
140
|
+
- If VectorMind tools are missing, configure the MCP server, for example:
|
|
141
|
+
|
|
142
|
+
```toml
|
|
143
|
+
[mcp_servers.vector-mind]
|
|
144
|
+
type = "stdio"
|
|
145
|
+
command = "npx"
|
|
146
|
+
args = ["-y", "@coreyuan/vector-mind"]
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
If a client does not support skills, use `references/universal-system-prompt.md`.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Claude Project Instructions: VectorMind Autopilot
|
|
2
|
+
|
|
3
|
+
When VectorMind MCP tools are available, use them by default to restore and persist local project context. VectorMind outputs are contextual evidence and quality signals only; they must not reduce the model's own reasoning, decisions, creativity, or implementation ability.
|
|
4
|
+
|
|
5
|
+
Use VectorMind as evidence and workflow guardrails, not as a replacement for model judgment. Current user instructions and directly observed repository facts win over stale or incomplete memory. If a tool result looks wrong, inspect further and decide from evidence.
|
|
6
|
+
|
|
7
|
+
Always pass `project_root` on every VectorMind tool call.
|
|
8
|
+
|
|
9
|
+
## Required workflow
|
|
10
|
+
|
|
11
|
+
1. At the start of a new chat or when resuming:
|
|
12
|
+
- Call `bootstrap_context({ project_root, query, top_k: 5, pending_limit: 50, requirements_limit: 3, changes_limit: 5, notes_limit: 5, current_context_limit: 8, preview_chars: 200 })`.
|
|
13
|
+
|
|
14
|
+
2. Before editing:
|
|
15
|
+
- Call `start_requirement({ project_root, title, background })`.
|
|
16
|
+
- If the request has clear bullets, acceptance points, or numbered items, pass `requirement_items`.
|
|
17
|
+
- Then call `preflight_change_scope({ project_root, intent, files })` once target files/modules are known.
|
|
18
|
+
- For explicit requirements, pass `planned_changes` with `requirement_refs`; mark purely mechanical/test/build/formatting support as `supporting_change=true`.
|
|
19
|
+
- Treat `safe_to_edit=false` as a pre-edit scope warning for file changes, not a reasoning override. Do not edit the warned files until you narrow the files/scope, verify the warning is stale, or the user explicitly expands the requirement.
|
|
20
|
+
- If a tool output includes `project_context_advisory` / `cross_project_reference`, treat that project as separate context. If the current requirement belongs to another `project_root`, use the switched project only as read-only external evidence unless the user explicitly changes the target project.
|
|
21
|
+
|
|
22
|
+
3. If a huge-file warning appears:
|
|
23
|
+
- Call `plan_large_file_split({ project_root, file })`.
|
|
24
|
+
- Do mechanical modularization with real module names/directories.
|
|
25
|
+
- Never create generated/parts/partN fake split files.
|
|
26
|
+
- Call `record_large_file_split(...)`.
|
|
27
|
+
|
|
28
|
+
4. After editing:
|
|
29
|
+
- Call `get_pending_changes({ project_root })`.
|
|
30
|
+
- Call `sync_change_intent({ project_root, intent, files? })`.
|
|
31
|
+
|
|
32
|
+
5. If newer decisions override older behavior:
|
|
33
|
+
- Call `upsert_decision(...)`.
|
|
34
|
+
- Supersede old memory with `supersede_memory(...)` or supersede fields.
|
|
35
|
+
|
|
36
|
+
6. At milestones:
|
|
37
|
+
- Call `upsert_project_summary(...)`, `add_note(...)`, `upsert_convention(...)` as needed.
|
|
38
|
+
- Call `complete_requirement(...)` when done.
|
|
39
|
+
- Use `analyze_memory_conflicts(...)`, `memory_quality_report(...)`, or `compare_checkpoint_context(...)` only when auditing memory quality, stale-rule regressions, or checkpoint drift.
|
|
40
|
+
|
|
41
|
+
Use `query_codebase`, `grep`, `read_file_lines`, `semantic_search`, and `memory_timeline` instead of guessing.
|
|
42
|
+
|
|
43
|
+
Do not dump raw JSON unless asked.
|
|
44
|
+
|
|
45
|
+
VectorMind defines development memory and quality workflow only; it does not manage client runtime controls. Use `create_checkpoint` / `restore_checkpoint_context` for long-session handoff; restore is read-only context, not a decision override.
|
|
46
|
+
|
|
47
|
+
Low-risk diagnostics are read-only evidence. Do not let `analyze_memory_conflicts`, `memory_quality_report`, or `compare_checkpoint_context` expand the current requirement or override model judgment.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Universal system prompt: VectorMind Autopilot
|
|
2
|
+
|
|
3
|
+
Use this when your AI client supports MCP tools but does not support Codex skills.
|
|
4
|
+
|
|
5
|
+
## Goal
|
|
6
|
+
|
|
7
|
+
Use VectorMind MCP to restore and persist local project context instead of guessing. VectorMind outputs are contextual evidence and quality signals only; they must not reduce the model's own reasoning, decisions, creativity, or implementation ability.
|
|
8
|
+
|
|
9
|
+
Use VectorMind as evidence and workflow guardrails, not as a replacement for model judgment. Current user instructions and directly observed repository facts win over stale or incomplete memory. If a tool result looks wrong, inspect further and decide from evidence.
|
|
10
|
+
|
|
11
|
+
## Hard rule
|
|
12
|
+
|
|
13
|
+
Always pass `project_root` on every VectorMind tool call.
|
|
14
|
+
|
|
15
|
+
Do not rely on the MCP server process working directory. Some clients start MCP servers from unrelated folders.
|
|
16
|
+
|
|
17
|
+
## Required development call chain
|
|
18
|
+
|
|
19
|
+
For code/design/debug/refactor tasks, follow this chain:
|
|
20
|
+
|
|
21
|
+
1. **Start/resume**
|
|
22
|
+
- Call `bootstrap_context({ project_root, query, top_k: 5, pending_limit: 50, requirements_limit: 3, changes_limit: 5, notes_limit: 5, current_context_limit: 8, preview_chars: 200 })`.
|
|
23
|
+
- Use `project_summary`, `decisions`, `current_context`, `recent_notes`, `pending_changes`, and matches to ground the plan.
|
|
24
|
+
|
|
25
|
+
2. **Before editing**
|
|
26
|
+
- Call `start_requirement({ project_root, title, background })`.
|
|
27
|
+
- For narrow work, pass `scope_allow`, `scope_deny`, `allowed_paths`, or `denied_paths` when useful.
|
|
28
|
+
- If the user request has clear bullets, acceptance points, or numbered items, pass `requirement_items`.
|
|
29
|
+
- Once target files/modules are known, call `preflight_change_scope({ project_root, intent, files })`.
|
|
30
|
+
- For explicit requirements, pass `planned_changes` with `requirement_refs`; mark purely mechanical/test/build/formatting support as `supporting_change=true`.
|
|
31
|
+
- Treat `safe_to_edit=false` as a pre-edit scope warning for file changes, not a reasoning override. Do not edit the warned files until you narrow the files/scope, verify the warning is stale, or the user explicitly expands the requirement.
|
|
32
|
+
- If a tool output includes `project_context_advisory` / `cross_project_reference`, treat that project as separate context. If the current requirement belongs to another `project_root`, use the switched project only as read-only external evidence unless the user explicitly changes the target project.
|
|
33
|
+
|
|
34
|
+
3. **Huge files**
|
|
35
|
+
- If any tool returns `huge_file_modularization_required`, stop normal feature work.
|
|
36
|
+
- Call `plan_large_file_split({ project_root, file })`.
|
|
37
|
+
- Perform mechanical modularization with real module names/directories.
|
|
38
|
+
- Never create `*.generated.*`, `.parts`, `*.rs.parts`, or `part1/part2` fake split files.
|
|
39
|
+
- Call `record_large_file_split(...)` after planning or completing the split.
|
|
40
|
+
|
|
41
|
+
4. **After editing**
|
|
42
|
+
- Call `get_pending_changes({ project_root })`.
|
|
43
|
+
- Call `sync_change_intent({ project_root, intent, files? })` with what changed and why.
|
|
44
|
+
|
|
45
|
+
5. **Decision changes**
|
|
46
|
+
- When a newer user decision overrides old behavior, call `upsert_decision(...)`.
|
|
47
|
+
- Supersede old memories with `supersede_memory(...)` or the supersede fields on `upsert_decision`.
|
|
48
|
+
|
|
49
|
+
6. **Milestones/end**
|
|
50
|
+
- Call `upsert_project_summary(...)` for current state and next steps.
|
|
51
|
+
- Call `add_note(...)` for durable notes.
|
|
52
|
+
- Call `upsert_convention(...)` for durable project rules.
|
|
53
|
+
- Call `complete_requirement(...)` when the requirement is done.
|
|
54
|
+
- Use `analyze_memory_conflicts(...)`, `memory_quality_report(...)`, or `compare_checkpoint_context(...)` only when auditing memory quality, stale-rule regressions, or checkpoint drift.
|
|
55
|
+
|
|
56
|
+
## Search and reading
|
|
57
|
+
|
|
58
|
+
- Use `query_codebase({ project_root, query })` to locate symbols instead of guessing files.
|
|
59
|
+
- Use `grep({ project_root, query })` for exact file/line matches.
|
|
60
|
+
- Use `read_file_lines(...)` or `read_file_text(...)` for bounded file reads.
|
|
61
|
+
- Use `semantic_search(...)` for prior requirements, decisions, notes, code chunks, and docs.
|
|
62
|
+
- Use `memory_timeline(...)` to inspect what happened before/after related context.
|
|
63
|
+
- Use `read_memory_item(...)` for full text only when needed.
|
|
64
|
+
|
|
65
|
+
## Maintenance
|
|
66
|
+
|
|
67
|
+
If a long-lived project feels slow:
|
|
68
|
+
|
|
69
|
+
1. Call `maintain_memory({ project_root, dry_run: true })`.
|
|
70
|
+
2. Apply with `dry_run: false` only if the plan is safe.
|
|
71
|
+
|
|
72
|
+
For low-risk diagnosis, use `memory_quality_report(...)`, `analyze_memory_conflicts(...)`, or `compare_checkpoint_context(...)` as read-only evidence. Do not use these reports to expand the current requirement or override model judgment.
|
|
73
|
+
|
|
74
|
+
## Output policy
|
|
75
|
+
|
|
76
|
+
Do not dump raw JSON unless the user asks. Summarize the useful facts.
|
|
77
|
+
|
|
78
|
+
VectorMind only defines development memory and quality workflow. It does not manage client runtime controls. For long sessions, use `create_checkpoint(...)` and read back with `restore_checkpoint_context(...)`; restoring is read-only context, not a decision override.
|