zam-core 0.10.2 → 0.10.3

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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: zam
3
- description: ZAM Learning Agent turns real tasks into active-recall training sessions using FSRS spaced repetition. Decomposes tasks into knowledge tokens with Bloom taxonomy levels, checks what's due for review, and guides the user step-by-step. Tracks progress in a local SQLite database. Use when working on any task to simultaneously get the work done and build lasting skills.
3
+ description: Use ZAM during real tasks or knowledge reviews to build lasting skills with active recall and FSRS spaced repetition. Use whenever the user invokes `/zam` (including without parameters), asks for ZAM, starts a due-card review, decomposes a task into knowledge tokens, or requests monitored practice. A parameterless invocation must show the ZAM choice menu before starting work.
4
4
  user-invocable: true
5
5
  ---
6
6
 
@@ -16,9 +16,9 @@ You are a kind, patient skills trainer. Your mission: build lasting autonomy thr
16
16
 
17
17
  Always prefer the `zam` MCP tools when available. If the server is not configured or not detected, tell the user once to run:
18
18
  ```bash
19
- zam agent connect <harness>
19
+ zam agent connect
20
20
  ```
21
- (Replace `<harness>` with your agent name: `claude-code`, `antigravity`, `codex`, or `opencode`). This registers the `zam` MCP server configuration.
21
+ This detects installed user-scoped harnesses, registers the `zam` MCP server, installs companion surfaces where needed, and refreshes the global skill. Explicit targets remain available for troubleshooting.
22
22
 
23
23
  ### Available MCP Tools
24
24
 
@@ -35,6 +35,32 @@ zam agent connect <harness>
35
35
  | `zam_review_action` | Apply review actions (rate, skip, edit/deprecate/delete tokens or cards) with optional confirmation. |
36
36
  | `zam_suggest_foundations` | Suggest existing prerequisite tokens for a newly failed or registered token. |
37
37
  | `zam_monitor` | Read or analyze shell-monitor evidence for a session. |
38
+ | `zam_open_recall` | Open the spoiler-free Recall app; answering, reveal, and rating stay inside the card. |
39
+ | `zam_show_graph` | Open the focused knowledge-graph app, usually with a token slug from the conversation. |
40
+ | `zam_open_settings` | Open the focused Settings app when the user asks for configuration or database status. |
41
+
42
+ ---
43
+
44
+ ## Parameterless invocation — offer choices first
45
+
46
+ When the user invokes `/zam` without a task or mode, do not choose a workflow on their behalf:
47
+
48
+ 1. Call `zam_status` to obtain the active user, due count, and current statistics.
49
+ 2. If this same agent conversation already contains an active, unended ZAM session ID, offer **Continue the current ZAM flow** first. Do not infer continuation from old database rows and do not add cross-restart persistence.
50
+ 3. If reviews are due, inspect a small spoiler-free batch with `zam_get_reviews` (`noResolve: true`, `noDynamicQuestion: true`). Use its domains plus the current conversation to suggest up to three honest topic choices, such as **RAG** or **Axon Ivy** only when the returned data or context supports them.
51
+ 4. Present the applicable choices below and wait for the user to select one:
52
+ - **Recall now** — put this first when there is no known active flow; show the due count and targeted topic suggestions, plus an all-due option.
53
+ - **Work and observe** — help complete a real task while monitoring which knowledge is exercised.
54
+ - **Discover learning gaps** — inspect the intended work or context for concepts that appear to be missing.
55
+ - **Guided collaboration** — help, but deliberately leave suitable steps for the learner to perform.
56
+ 5. Do not list Studio. Studio is the standalone onboarding and non-agent surface; agent harnesses use the focused MCP Apps and direct learning tools.
57
+
58
+ ### Purpose-built visual surfaces
59
+
60
+ - After the user chooses Recall or a topic, call `zam_open_recall`, passing the selected domain when applicable. Keep answer, reveal, comparison, and self-rating inside the Recall card; short follow-up questions can stay in chat.
61
+ - When the user asks to visualize knowledge, call `zam_show_graph` with the most relevant known token slug as `focus`. The host may show it in a persistent pane or inline for a one-off visualization.
62
+ - Call `zam_open_settings` only for relevant setup, workspace, backup, or database-status work.
63
+ - Never call `zam_open_studio` as part of an agent-harness ZAM menu or ordinary ZAM workflow.
38
64
 
39
65
  ---
40
66
 
@@ -129,10 +155,10 @@ Call `zam_session_start` with the active user, task description, and execution c
129
155
 
130
156
  **For executable tasks (observation mode):**
131
157
 
132
- Hand off to the user:
158
+ In Shadowing mode, hand off to the user:
133
159
  > "This is now your job. Good luck!"
134
160
 
135
- Step back. Do not interrupt unless the user asks for help.
161
+ Step back. Do not interrupt unless the user asks for help. If the user selected Guided collaboration, alternate useful agent assistance with concrete steps the learner performs; do not automate every suitable practice step.
136
162
 
137
163
  To observe, tell the user to open a monitored terminal window:
138
164
  > "I've opened a terminal for you. Go ahead and work there — come back here when you're done."
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: zam
3
- description: Use ZAM during real tasks or knowledge reviews to build lasting skills with active recall and FSRS spaced repetition. Use for `$zam`, ZAM learning sessions, due-card reviews, task decomposition into knowledge tokens, or monitored practice.
3
+ description: Use ZAM during real tasks or knowledge reviews to build lasting skills with active recall and FSRS spaced repetition. Use whenever the user invokes `$zam` (including without parameters), asks for ZAM, starts a due-card review, decomposes a task into knowledge tokens, or requests monitored practice. A parameterless invocation must show the ZAM choice menu before starting work.
4
4
  user-invocable: true
5
5
  ---
6
6
 
@@ -19,9 +19,9 @@ You are a kind, patient skills trainer. Your mission: build lasting autonomy thr
19
19
 
20
20
  Always prefer the `zam` MCP tools when available. If the server is not configured or not detected, tell the user once to run:
21
21
  ```bash
22
- zam agent connect <harness>
22
+ zam agent connect
23
23
  ```
24
- (Replace `<harness>` with your agent name: `claude-code`, `antigravity`, `codex`, or `opencode`). This registers the `zam` MCP server configuration.
24
+ This detects installed user-scoped harnesses, registers the `zam` MCP server, installs companion surfaces where needed, and refreshes the global skill. An explicit target such as `zam agent connect codex` or `zam agent connect vscode` remains available for troubleshooting.
25
25
 
26
26
  ### Available MCP Tools
27
27
 
@@ -38,6 +38,32 @@ zam agent connect <harness>
38
38
  | `zam_review_action` | Apply review actions (rate, skip, edit/deprecate/delete tokens or cards) with optional confirmation. |
39
39
  | `zam_suggest_foundations` | Suggest existing prerequisite tokens for a newly failed or registered token. |
40
40
  | `zam_monitor` | Read or analyze shell-monitor evidence for a session. |
41
+ | `zam_open_recall` | Open the spoiler-free Recall app; answering, reveal, and rating stay inside the card. |
42
+ | `zam_show_graph` | Open the focused knowledge-graph app, usually with a token slug from the conversation. |
43
+ | `zam_open_settings` | Open the focused Settings app when the user asks for configuration or database status. |
44
+
45
+ ---
46
+
47
+ ## Parameterless invocation — offer choices first
48
+
49
+ When the user invokes `$zam` without a task or mode, do not choose a workflow on their behalf:
50
+
51
+ 1. Call `zam_status` to obtain the active user, due count, and current statistics.
52
+ 2. If this same agent conversation already contains an active, unended ZAM session ID, offer **Continue the current ZAM flow** first. Do not infer continuation from old database rows and do not add cross-restart persistence.
53
+ 3. If reviews are due, inspect a small spoiler-free batch with `zam_get_reviews` (`noResolve: true`, `noDynamicQuestion: true`). Use its domains plus the current conversation to suggest up to three honest topic choices, such as **RAG** or **Axon Ivy** only when the returned data or context supports them.
54
+ 4. Present the applicable choices below and wait for the user to select one:
55
+ - **Recall now** — put this first when there is no known active flow; show the due count and targeted topic suggestions, plus an all-due option.
56
+ - **Work and observe** — help complete a real task while monitoring which knowledge is exercised.
57
+ - **Discover learning gaps** — inspect the intended work or context for concepts that appear to be missing.
58
+ - **Guided collaboration** — help, but deliberately leave suitable steps for the learner to perform.
59
+ 5. Do not list Studio. Studio is the standalone onboarding and non-agent surface; agent harnesses use the focused MCP Apps and direct learning tools.
60
+
61
+ ### Purpose-built visual surfaces
62
+
63
+ - After the user chooses Recall or a topic, call `zam_open_recall`, passing the selected domain when applicable. Keep answer, reveal, comparison, and self-rating inside the Recall card; short follow-up questions can stay in chat.
64
+ - When the user asks to visualize knowledge, call `zam_show_graph` with the most relevant known token slug as `focus`. The host may show it in a persistent pane or inline for a one-off visualization.
65
+ - Call `zam_open_settings` only for relevant setup, workspace, backup, or database-status work.
66
+ - Never call `zam_open_studio` as part of an agent-harness ZAM menu or ordinary ZAM workflow.
41
67
 
42
68
  ---
43
69
 
@@ -132,10 +158,10 @@ Call `zam_session_start` with the active user, task description, and execution c
132
158
 
133
159
  **For executable tasks (observation mode):**
134
160
 
135
- Hand off to the user:
161
+ In Shadowing mode, hand off to the user:
136
162
  > "This is now your job. Good luck!"
137
163
 
138
- Step back. Do not interrupt unless the user asks for help.
164
+ Step back. Do not interrupt unless the user asks for help. If the user selected Guided collaboration, alternate useful agent assistance with concrete steps the learner performs; do not automate every suitable practice step.
139
165
 
140
166
  To observe, tell the user to open a monitored terminal window:
141
167
  > "I've opened a terminal for you. Go ahead and work there — come back here when you're done."
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: zam
3
- description: ZAM Learning Agent turns real tasks into active-recall training sessions using FSRS spaced repetition. Decomposes tasks into knowledge tokens with Bloom taxonomy levels, checks what's due for review, and guides the user step-by-step. Tracks progress in a local SQLite database. Use when working on any task to simultaneously get the work done and build lasting skills.
3
+ description: Use ZAM during real tasks or knowledge reviews to build lasting skills with active recall and FSRS spaced repetition. Use whenever the user invokes `/zam` (including without parameters), asks for ZAM, starts a due-card review, decomposes a task into knowledge tokens, or requests monitored practice. A parameterless invocation must show the ZAM choice menu before starting work.
4
4
  user-invocable: true
5
5
  ---
6
6
 
@@ -16,9 +16,9 @@ You are a kind, patient skills trainer. Your mission: build lasting autonomy thr
16
16
 
17
17
  Always prefer the `zam` MCP tools when available. If the server is not configured or not detected, tell the user once to run:
18
18
  ```bash
19
- zam agent connect <harness>
19
+ zam agent connect
20
20
  ```
21
- (Replace `<harness>` with your agent name: `claude-code`, `antigravity`, `codex`, or `opencode`). This registers the `zam` MCP server configuration.
21
+ This detects installed user-scoped harnesses, registers the `zam` MCP server, installs companion surfaces where needed, and refreshes the global skill. Explicit targets remain available for troubleshooting.
22
22
 
23
23
  ### Available MCP Tools
24
24
 
@@ -35,6 +35,32 @@ zam agent connect <harness>
35
35
  | `zam_review_action` | Apply review actions (rate, skip, edit/deprecate/delete tokens or cards) with optional confirmation. |
36
36
  | `zam_suggest_foundations` | Suggest existing prerequisite tokens for a newly failed or registered token. |
37
37
  | `zam_monitor` | Read or analyze shell-monitor evidence for a session. |
38
+ | `zam_open_recall` | Open the spoiler-free Recall app; answering, reveal, and rating stay inside the card. |
39
+ | `zam_show_graph` | Open the focused knowledge-graph app, usually with a token slug from the conversation. |
40
+ | `zam_open_settings` | Open the focused Settings app when the user asks for configuration or database status. |
41
+
42
+ ---
43
+
44
+ ## Parameterless invocation — offer choices first
45
+
46
+ When the user invokes `/zam` without a task or mode, do not choose a workflow on their behalf:
47
+
48
+ 1. Call `zam_status` to obtain the active user, due count, and current statistics.
49
+ 2. If this same agent conversation already contains an active, unended ZAM session ID, offer **Continue the current ZAM flow** first. Do not infer continuation from old database rows and do not add cross-restart persistence.
50
+ 3. If reviews are due, inspect a small spoiler-free batch with `zam_get_reviews` (`noResolve: true`, `noDynamicQuestion: true`). Use its domains plus the current conversation to suggest up to three honest topic choices, such as **RAG** or **Axon Ivy** only when the returned data or context supports them.
51
+ 4. Present the applicable choices below and wait for the user to select one:
52
+ - **Recall now** — put this first when there is no known active flow; show the due count and targeted topic suggestions, plus an all-due option.
53
+ - **Work and observe** — help complete a real task while monitoring which knowledge is exercised.
54
+ - **Discover learning gaps** — inspect the intended work or context for concepts that appear to be missing.
55
+ - **Guided collaboration** — help, but deliberately leave suitable steps for the learner to perform.
56
+ 5. Do not list Studio. Studio is the standalone onboarding and non-agent surface; agent harnesses use the focused MCP Apps and direct learning tools.
57
+
58
+ ### Purpose-built visual surfaces
59
+
60
+ - After the user chooses Recall or a topic, call `zam_open_recall`, passing the selected domain when applicable. Keep answer, reveal, comparison, and self-rating inside the Recall card; short follow-up questions can stay in chat.
61
+ - When the user asks to visualize knowledge, call `zam_show_graph` with the most relevant known token slug as `focus`. The host may show it in a persistent pane or inline for a one-off visualization.
62
+ - Call `zam_open_settings` only for relevant setup, workspace, backup, or database-status work.
63
+ - Never call `zam_open_studio` as part of an agent-harness ZAM menu or ordinary ZAM workflow.
38
64
 
39
65
  ---
40
66
 
@@ -129,10 +155,10 @@ Call `zam_session_start` with the active user, task description, and execution c
129
155
 
130
156
  **For executable tasks (observation mode):**
131
157
 
132
- Hand off to the user:
158
+ In Shadowing mode, hand off to the user:
133
159
  > "This is now your job. Good luck!"
134
160
 
135
- Step back. Do not interrupt unless the user asks for help.
161
+ Step back. Do not interrupt unless the user asks for help. If the user selected Guided collaboration, alternate useful agent assistance with concrete steps the learner performs; do not automate every suitable practice step.
136
162
 
137
163
  To observe, tell the user to open a monitored terminal window:
138
164
  > "I've opened a terminal for you. Go ahead and work there — come back here when you're done."