paput-mcp 4.2.22 → 4.2.23
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.
|
@@ -67,7 +67,12 @@ Episode requirements:
|
|
|
67
67
|
- Do not treat memo count as proof of ability.
|
|
68
68
|
- If the material is too thin, report what is missing instead of forcing episodes.
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
Achievements draft (always include):
|
|
71
|
+
- Alongside the episodes, always draft an updated "achievements" list: 3-5 factual bullets (max 100 characters each, max 10 total) describing what was built and is running, grounded in the project description and public linked memos.
|
|
72
|
+
- Achievements are user-owned source material, not generated evidence. Keep them factual: no judgment narrative (that belongs to episodes) and no invented metrics.
|
|
73
|
+
- Present the achievements draft for the user to edit and approve. Save only after explicit approval via paput_upsert_skill_sheet_project. Omit the achievements field to keep existing bullets; pass an empty array only when the user wants to clear them.
|
|
74
|
+
|
|
75
|
+
Present both drafts (episodes and achievements) to the user first. Save episodes only after the user explicitly approves them by calling paput_update_skill_sheet_project_episodes with project_id and the approved episodes. Report any dropped_ids from the save response.`;
|
|
71
76
|
return {
|
|
72
77
|
structuredContent: {
|
|
73
78
|
project,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../src/handlers/get-skill-sheet-project-episodes-context/handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAGlE,MAAM,eAAe,GAAG,GAAG,CAAC;AAE5B,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAA2C,EAC3C,SAAoB;IAEpB,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,CAAC,UAAU,KAAK,QAAQ,EAAE,CAAC;QACrD,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,wBAAwB;iBAC/B;aACF;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AAS,CAAC,CAAC;QACzB,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAErB,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;YAAE,MAAM;QAClC,IAAI,IAAI,CAAC,CAAC;IACZ,CAAC,QAAQ,KAAK,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,GAAG,KAAK,EAAE;IAEtD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,KAAK,UAAU,iBAAiB,CAC9B,SAAoB,EACpB,SAAiB,EACjB,QAAiB;IAEjB,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,SAAS,EAAE;QAC1C,UAAU,EAAE,SAAS;QACrB,SAAS,EAAE,QAAQ;QACnB,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,CAAC;KACT,CAAC,CAAC;IAEH,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QACpB,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,IAAI,+BAA+B,CAAC,CAAC;IACnE,CAAC;IAED,OAAO,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,EAAE,MAAM,IAAI,CAAC,CAAC;AACnD,CAAC"}
|
|
@@ -16,7 +16,7 @@ Draft project episodes for the skill sheet project detail page. Episodes explain
|
|
|
16
16
|
2. Call `paput_get_skill_sheet_project_episodes_context` with `project_id`.
|
|
17
17
|
3. Read `structuredContent.public_memos` and cluster the public linked memos by decision or operating-practice theme.
|
|
18
18
|
4. Draft 2-3 episodes when the material supports them. Generate fewer, or none, when the public memos are thin.
|
|
19
|
-
5. Present the draft in the user's language and tone. Explain that each episode will become the project's "design and judgment" section.
|
|
19
|
+
5. Present the draft in the user's language and tone, together with the achievements draft (see "Achievements Draft" below). Explain that each episode will become the project's "design and judgment" section.
|
|
20
20
|
6. Do not save unless the user explicitly asks to save, update, or apply the episodes.
|
|
21
21
|
7. If the user asks to save, call `paput_update_skill_sheet_project_episodes` with the approved `project_id` and `episodes`.
|
|
22
22
|
8. Report any `dropped_ids` from the save response. If a saved episode has no resolved public supporting memos, tell the user it may be hidden on the public profile.
|
|
@@ -43,12 +43,12 @@ Each episode has:
|
|
|
43
43
|
- If public linked memos do not support a claim, drop the claim.
|
|
44
44
|
- If the material is thin, say what is missing and suggest capturing or publishing better project-linked decision/operation memos.
|
|
45
45
|
|
|
46
|
-
## Achievements
|
|
46
|
+
## Achievements Draft (always propose)
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Always propose an `achievements` draft alongside the episodes draft: 3-5 factual bullets (max 100 characters each, max 10 total) describing what was built and is running, grounded in the project description and public linked memos.
|
|
49
49
|
|
|
50
|
-
- Achievements are user-owned source material, not generated evidence. Present them as a draft for the user to edit and approve.
|
|
51
|
-
- Use `paput_upsert_skill_sheet_project` to save achievements only after explicit approval.
|
|
50
|
+
- Achievements are user-owned source material, not generated evidence. Present them as a draft for the user to edit and approve, and keep them factual: no judgment narrative (that belongs to episodes) and no invented metrics.
|
|
51
|
+
- Use `paput_upsert_skill_sheet_project` to save achievements only after explicit approval. Saving episodes and saving achievements are separate tool calls; the user may approve one and not the other.
|
|
52
52
|
- Omit `achievements` when calling `paput_upsert_skill_sheet_project` if the user wants to keep existing bullets. Pass `achievements: []` only when the user explicitly wants to clear them.
|
|
53
53
|
|
|
54
54
|
## Rules
|