zam-core 0.4.2 → 0.4.4

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.
@@ -271,12 +271,15 @@ For each due token, ask a conceptual question at the right Bloom level:
271
271
 
272
272
  **CRITICAL: Stop and WAIT for the user to provide their answer. Do not ask for the rating until the user has attempted to answer the conceptual question.**
273
273
 
274
- After the user answers, ask:
275
- > "How did that feel? 1 = drew a blank, 2 = hard recall, 3 = knew it, 4 = instant"
276
-
277
- **WAIT for the user to provide a rating (1-4).**
278
-
279
- Submit the rating and log the step.
274
+ After the user answers, always run this explicit review loop:
275
+
276
+ 1. **Check the answer first.** Compare the user's answer with the token concept, the recall question, and any resolved source context. Decide whether it is `correct`, `partially correct`, or `incorrect`.
277
+ 2. **Give learning feedback before asking for a rating.** State the verdict, give a short reference answer, and explain what was missing or incorrect. Keep this concise, but never skip it — this is where the learning happens.
278
+ 3. **Suggest a self-rating.** Propose a rating using the 1-4 scale, based on correctness and recall quality: 4 = complete and instant, 3 = correct with small hesitation or minor gap, 2 = partially correct or needed correction, 1 = blank/incorrect/needed help.
279
+ 4. **Ask the user to choose the final rating.**
280
+ > "My suggested rating is <n>. How do you want to rate it? 1 = drew a blank, 2 = hard recall/partial, 3 = knew it, 4 = instant"
281
+ 5. **WAIT for the user to provide a rating (1-4).**
282
+ 6. **Only then submit the rating and log the step.** Never save the suggested rating without the user's confirmation.
280
283
 
281
284
  #### Leveraging Source Links for AI Agent Context
282
285
  When a token has a `source_link`, `zam bridge get-review` resolves it for you and returns a `resolvedContext` object alongside `prompt` — you no longer need to fetch the file or URL yourself. Its shape:
@@ -367,12 +367,15 @@ For each due token, ask a conceptual question at the right Bloom level:
367
367
 
368
368
  **CRITICAL: Stop and WAIT for the user to provide their answer. Do not ask for the rating until the user has attempted to answer the conceptual question.**
369
369
 
370
- After the user answers, ask:
371
- > "How did that feel? 1 = drew a blank, 2 = hard recall, 3 = knew it, 4 = instant"
372
-
373
- **WAIT for the user to provide a rating (1-4).**
374
-
375
- Submit the rating and log the step.
370
+ After the user answers, always run this explicit review loop:
371
+
372
+ 1. **Check the answer first.** Compare the user's answer with the token concept, the recall question, and any resolved source context. Decide whether it is `correct`, `partially correct`, or `incorrect`.
373
+ 2. **Give learning feedback before asking for a rating.** State the verdict, give a short reference answer, and explain what was missing or incorrect. Keep this concise, but never skip it — this is where the learning happens.
374
+ 3. **Suggest a self-rating.** Propose a rating using the 1-4 scale, based on correctness and recall quality: 4 = complete and instant, 3 = correct with small hesitation or minor gap, 2 = partially correct or needed correction, 1 = blank/incorrect/needed help.
375
+ 4. **Ask the user to choose the final rating.**
376
+ > "My suggested rating is <n>. How do you want to rate it? 1 = drew a blank, 2 = hard recall/partial, 3 = knew it, 4 = instant"
377
+ 5. **WAIT for the user to provide a rating (1-4).**
378
+ 6. **Only then submit the rating and log the step.** Never save the suggested rating without the user's confirmation.
376
379
 
377
380
  #### Leveraging Source Links for AI Agent Context
378
381
  When a token has a `source_link`, `zam bridge get-review` resolves it for you and returns a `resolvedContext` object alongside `prompt` — you no longer need to fetch the file or URL yourself. Its shape:
@@ -271,12 +271,15 @@ For each due token, ask a conceptual question at the right Bloom level:
271
271
 
272
272
  **CRITICAL: Stop and WAIT for the user to provide their answer. Do not ask for the rating until the user has attempted to answer the conceptual question.**
273
273
 
274
- After the user answers, ask:
275
- > "How did that feel? 1 = drew a blank, 2 = hard recall, 3 = knew it, 4 = instant"
276
-
277
- **WAIT for the user to provide a rating (1-4).**
278
-
279
- Submit the rating and log the step.
274
+ After the user answers, always run this explicit review loop:
275
+
276
+ 1. **Check the answer first.** Compare the user's answer with the token concept, the recall question, and any resolved source context. Decide whether it is `correct`, `partially correct`, or `incorrect`.
277
+ 2. **Give learning feedback before asking for a rating.** State the verdict, give a short reference answer, and explain what was missing or incorrect. Keep this concise, but never skip it — this is where the learning happens.
278
+ 3. **Suggest a self-rating.** Propose a rating using the 1-4 scale, based on correctness and recall quality: 4 = complete and instant, 3 = correct with small hesitation or minor gap, 2 = partially correct or needed correction, 1 = blank/incorrect/needed help.
279
+ 4. **Ask the user to choose the final rating.**
280
+ > "My suggested rating is <n>. How do you want to rate it? 1 = drew a blank, 2 = hard recall/partial, 3 = knew it, 4 = instant"
281
+ 5. **WAIT for the user to provide a rating (1-4).**
282
+ 6. **Only then submit the rating and log the step.** Never save the suggested rating without the user's confirmation.
280
283
 
281
284
  #### Leveraging Source Links for AI Agent Context
282
285
  When a token has a `source_link`, `zam bridge get-review` resolves it for you and returns a `resolvedContext` object alongside `prompt` — you no longer need to fetch the file or URL yourself. Its shape: