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
fix(memory): rename MCP tool names to comply with strict client naming regex (#59)
MCP clients like Antigravity enforce the tool-name pattern
^[a-zA-Z0-9_-]{1,64}$, which rejects the existing memory.storeKnowledge,
memory.updateKnowledge, and memory.searchKnowledge tool names because of
the dot separator. Rename to memory_storeKnowledge, memory_updateKnowledge,
memory_searchKnowledge so the server is loadable across all MCP clients.
To keep existing users on older init templates from breaking, the
CallTool dispatcher also accepts the deprecated dotted names as
backward-compat aliases. The aliases can be removed in the next major.
Exports the TOOLS array and adds a unit test that asserts every
registered tool name satisfies the MCP naming regex, guarding against
future regressions when new tools are added.
Updates README examples and all per-agent remember command templates
(Claude, Cursor, Codex, Gemini, Antigravity, GitHub Copilot, generic
agent workflows) to reference the new names. Historical design docs
under docs/ai/ are intentionally left unchanged as frozen records.
Fixes#40
Copy file name to clipboardExpand all lines: .agent/workflows/remember.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,6 @@ Help me store it in the knowledge memory service.
7
7
1.**Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
8
8
2.**Search Before Store** — Check for existing similar entries first with `npx ai-devkit@latest memory search --query "<topic>"` to avoid duplicates.
9
9
3.**Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
10
-
4.**Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
10
+
4.**Store** — Call `memory_storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
11
11
5.**Confirm** — Summarize what was saved and offer to retrieve related memory entries when helpful.
12
12
6.**Next Command Guidance** — Continue with the current lifecycle phase command (`/execute-plan`, `/check-implementation`, `/writing-test`, etc.) as needed.
Copy file name to clipboardExpand all lines: .claude/commands/remember.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,6 @@ Help me store it in the knowledge memory service.
7
7
1.**Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
8
8
2.**Search Before Store** — Check for existing similar entries first with `npx ai-devkit@latest memory search --query "<topic>"` to avoid duplicates.
9
9
3.**Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
10
-
4.**Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
10
+
4.**Store** — Call `memory_storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
11
11
5.**Confirm** — Summarize what was saved and offer to retrieve related memory entries when helpful.
12
12
6.**Next Command Guidance** — Continue with the current lifecycle phase command (`/execute-plan`, `/check-implementation`, `/writing-test`, etc.) as needed.
Copy file name to clipboardExpand all lines: .codex/commands/remember.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,6 @@ Help me store it in the knowledge memory service.
7
7
1.**Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
8
8
2.**Search Before Store** — Check for existing similar entries first with `npx ai-devkit@latest memory search --query "<topic>"` to avoid duplicates.
9
9
3.**Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
10
-
4.**Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
10
+
4.**Store** — Call `memory_storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
11
11
5.**Confirm** — Summarize what was saved and offer to retrieve related memory entries when helpful.
12
12
6.**Next Command Guidance** — Continue with the current lifecycle phase command (`/execute-plan`, `/check-implementation`, `/writing-test`, etc.) as needed.
Copy file name to clipboardExpand all lines: .cursor/commands/remember.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,6 @@ Help me store it in the knowledge memory service.
7
7
1.**Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
8
8
2.**Search Before Store** — Check for existing similar entries first with `npx ai-devkit@latest memory search --query "<topic>"` to avoid duplicates.
9
9
3.**Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
10
-
4.**Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
10
+
4.**Store** — Call `memory_storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
11
11
5.**Confirm** — Summarize what was saved and offer to retrieve related memory entries when helpful.
12
12
6.**Next Command Guidance** — Continue with the current lifecycle phase command (`/execute-plan`, `/check-implementation`, `/writing-test`, etc.) as needed.
Copy file name to clipboardExpand all lines: .gemini/commands/remember.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,6 @@ prompt='''Help me store it in the knowledge memory service.
4
4
1. **Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
5
5
2. **Search Before Store** — Check for existing similar entries first with `npx ai-devkit@latest memory search --query "<topic>"` to avoid duplicates.
6
6
3. **Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
7
-
4. **Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
7
+
4. **Store** — Call `memory_storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
8
8
5. **Confirm** — Summarize what was saved and offer to retrieve related memory entries when helpful.
9
9
6. **Next Command Guidance** — Continue with the current lifecycle phase command (`/execute-plan`, `/check-implementation`, `/writing-test`, etc.) as needed.'''
Copy file name to clipboardExpand all lines: .github/prompts/remember.prompt.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,6 @@ Help me store it in the knowledge memory service.
7
7
1.**Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
8
8
2.**Search Before Store** — Check for existing similar entries first with `npx ai-devkit@latest memory search --query "<topic>"` to avoid duplicates.
9
9
3.**Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
10
-
4.**Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
10
+
4.**Store** — Call `memory_storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
11
11
5.**Confirm** — Summarize what was saved and offer to retrieve related memory entries when helpful.
12
12
6.**Next Command Guidance** — Continue with the current lifecycle phase command (`/execute-plan`, `/check-implementation`, `/writing-test`, etc.) as needed.
Copy file name to clipboardExpand all lines: commands/remember.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,6 @@ Help me store it in the knowledge memory service.
7
7
1.**Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
8
8
2.**Search Before Store** — Check for existing similar entries first with `npx ai-devkit@latest memory search --query "<topic>"` to avoid duplicates.
9
9
3.**Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
10
-
4.**Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
10
+
4.**Store** — Call `memory_storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
11
11
5.**Confirm** — Summarize what was saved and offer to retrieve related memory entries when helpful.
12
12
6.**Next Command Guidance** — Continue with the current lifecycle phase command (`/execute-plan`, `/check-implementation`, `/writing-test`, etc.) as needed.
Copy file name to clipboardExpand all lines: packages/cli/templates/commands/remember.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,6 @@ Help me store it in the knowledge memory service.
7
7
1.**Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
8
8
2.**Search Before Store** — Check for existing similar entries first with `npx ai-devkit@latest memory search --query "<topic>"` to avoid duplicates.
9
9
3.**Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
10
-
4.**Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
10
+
4.**Store** — Call `memory_storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
11
11
5.**Confirm** — Summarize what was saved and offer to retrieve related memory entries when helpful.
12
12
6.**Next Command Guidance** — Continue with the current lifecycle phase command (`/execute-plan`, `/check-implementation`, `/writing-test`, etc.) as needed.
0 commit comments