paput-mcp 4.2.2 → 4.2.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,12 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: paput-dashboard-analysis
|
|
3
|
-
description: Use this to analyze the user's PaPut dashboard, goals, skill sheet, memos, notes, and categories; identify current position, strengths,
|
|
3
|
+
description: Use this to analyze the user's PaPut dashboard, goals, skill sheet, memos, notes, and categories. Read the user through the judgment axis — the thickness of their decision / operation / principle memos — not raw volume or category counts; identify current position, strengths, thin axes, what to learn next, and career-history phrasing; optionally save the generated dashboard analysis when the user asks to save it.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# PaPut Dashboard Analysis
|
|
7
7
|
|
|
8
8
|
Analyze the user's PaPut dashboard and goals. Use this skill when the user asks about dashboard analysis, goals, progress, strengths, weak areas, next learning topics, or career-history phrasing.
|
|
9
9
|
|
|
10
|
+
Read the user through the JUDGMENT axis, not raw volume. The durable, hard-to-commoditize part of what they accumulate is their judgment and practice — captured as `memo_type`: `decision` (judgment criteria), `operation` (operating practices), `principle` (stated stances). `knowledge` is commodity. `structuredContent.dashboard_summary.memo_type_counts` holds the per-type accumulation; assess the user by how thick those three durable axes are, with categories as a secondary lens for the domains they work in.
|
|
11
|
+
|
|
10
12
|
## Workflow
|
|
11
13
|
|
|
12
14
|
1. Call `paput_get_dashboard_analysis_context`.
|
|
@@ -17,15 +19,15 @@ Analyze the user's PaPut dashboard and goals. Use this skill when the user asks
|
|
|
17
19
|
|
|
18
20
|
## Analysis Points
|
|
19
21
|
|
|
20
|
-
Include these points when relevant:
|
|
22
|
+
Include these points when relevant, read through the decision / operation / principle axes:
|
|
21
23
|
|
|
22
|
-
- Current position
|
|
23
|
-
-
|
|
24
|
-
- Areas that have been growing recently
|
|
25
|
-
- Thin or underdeveloped
|
|
26
|
-
- Knowledge missing against active goals
|
|
27
|
-
-
|
|
28
|
-
- Phrasing suitable for a skill sheet or career history
|
|
24
|
+
- Current position — which judgment axes are thick, which are thin (from `memo_type_counts`).
|
|
25
|
+
- Strengths — the judgment criteria and operating practices the user has accumulated (decision / operation / principle), with the domains (categories) they show up in as supporting context. knowledge alone is not a strength.
|
|
26
|
+
- Areas that have been growing recently.
|
|
27
|
+
- Thin or underdeveloped axes — name the thin memo_type (e.g. principle is thin) and what that means, not just thin categories.
|
|
28
|
+
- Knowledge missing against active goals.
|
|
29
|
+
- What to do next to thicken the thin durable axis (e.g. distill recurring decisions into principles, capture operating practices / eval / review as operation), rather than just "learn more".
|
|
30
|
+
- Phrasing suitable for a skill sheet or career history.
|
|
29
31
|
|
|
30
32
|
## Rules
|
|
31
33
|
|
|
@@ -33,8 +35,10 @@ Include these points when relevant:
|
|
|
33
35
|
- Use active goals as the main analysis basis.
|
|
34
36
|
- Treat archived goals as historical context.
|
|
35
37
|
- Do not recalculate dashboard continuity from activities. Use the dashboard summary values returned by the API.
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
+
- Frame current position, strengths, and thin areas by decision / operation / principle thickness — not by how many memos or categories accumulated. Use categories as a secondary lens for the domains, not the main axis.
|
|
39
|
+
- `knowledge`-type memos are commodity. Do not present knowledge volume as a strength on its own.
|
|
40
|
+
- When the thin axis is `principle` or `operation`, say so plainly and make the next step about thickening it (distilling decisions into principles, capturing eval / observability / review as operation).
|
|
41
|
+
- In each saved item's `description`, speak in the judgment/practice/principle axis (which memo_type backs the strength, which type is thin). The output fields are unchanged; the axis is carried in the wording.
|
|
38
42
|
- When saving, map the generated result to:
|
|
39
43
|
- `current_summary`
|
|
40
44
|
- `strengths`
|
|
@@ -32,6 +32,7 @@ export async function handleGetDashboardAnalysisContext(_args, apiClient) {
|
|
|
32
32
|
const prompt = buildPrompt({
|
|
33
33
|
dashboardSummary,
|
|
34
34
|
goals,
|
|
35
|
+
memoTypeCounts: dashboardSummary.memo_type_counts || [],
|
|
35
36
|
recentMemoCount: recentMemos.length,
|
|
36
37
|
noteCount: notes.length,
|
|
37
38
|
categoryCount: categories?.length || 0,
|
|
@@ -90,15 +91,20 @@ async function safeFetch(fetcher) {
|
|
|
90
91
|
function buildPrompt(context) {
|
|
91
92
|
const activeGoals = context.goals.filter((goal) => goal.status === 'active');
|
|
92
93
|
const archivedGoals = context.goals.filter((goal) => goal.status === 'archived');
|
|
94
|
+
const countOf = (key) => context.memoTypeCounts.find((entry) => entry.key === key)?.count ?? 0;
|
|
95
|
+
const memoTypeLine = `decision ${countOf('decision')}, operation ${countOf('operation')}, principle ${countOf('principle')}, knowledge ${countOf('knowledge')}`;
|
|
93
96
|
return `Create a dashboard analysis as the MCP client AI, using the PaPut data in structuredContent. paput-mcp does not contain analysis logic, so you should read the source data and adapt the analysis to the user's goals and context. Write the final output in the user's language and match the user's tone when possible.
|
|
94
97
|
|
|
98
|
+
Lead with the judgment axis, not raw volume. The durable, hard-to-commoditize part of what the user accumulates is their JUDGMENT and PRACTICE — captured as memo_type: decision (judgment criteria), operation (operating practices: observability, eval, testing, review), and principle (stated stances). knowledge is commodity. So assess the user by how thick those three axes are, not by how many memos or categories they have. structuredContent.dashboard_summary.memo_type_counts holds the per-type accumulation.
|
|
99
|
+
|
|
95
100
|
Assumptions:
|
|
96
101
|
- Do not recalculate dashboard continuity from activities. Use the summary values returned by the API.
|
|
97
102
|
- Treat active goals as the current basis for analysis and archived goals as historical context.
|
|
98
|
-
-
|
|
103
|
+
- Frame current position, strengths, and thin areas in terms of decision / operation / principle thickness — not "how much knowledge has accumulated". Categories describe the domains the user works in; use them as a secondary lens, not the main axis. knowledge is commodity and is not a strength on its own.
|
|
99
104
|
- If existing skill sheet or project AI summaries are available, use them as references for career-history phrasing.
|
|
100
105
|
|
|
101
106
|
Context summary:
|
|
107
|
+
- Memo type accumulation (the main axis): ${memoTypeLine}
|
|
102
108
|
- Total memo count: ${context.dashboardSummary.total_memo_count}
|
|
103
109
|
- Total note count: ${context.dashboardSummary.total_note_count}
|
|
104
110
|
- Recent memo count: ${context.dashboardSummary.recent_memo_count}
|
|
@@ -112,14 +118,14 @@ Context summary:
|
|
|
112
118
|
- Saved analysis: ${context.hasSavedAnalysis ? 'available' : 'not available'}
|
|
113
119
|
|
|
114
120
|
Include these analysis points:
|
|
115
|
-
1. The user's current position
|
|
116
|
-
2.
|
|
117
|
-
3. Areas that have been growing recently
|
|
118
|
-
4. Thin or underdeveloped
|
|
119
|
-
5. Knowledge missing against the user's goals
|
|
120
|
-
6.
|
|
121
|
-
7. Phrasing that can be used in a skill sheet or career history
|
|
121
|
+
1. The user's current position, read through the judgment/practice/principle axes (which axes are thick, which are thin).
|
|
122
|
+
2. Strengths — the judgment criteria and operating practices the user has accumulated (decision / operation / principle), with the domains (categories) they show up in as supporting context.
|
|
123
|
+
3. Areas that have been growing recently.
|
|
124
|
+
4. Thin or underdeveloped axes — name the memo_type that is thin (e.g. principle is thin) and what that means, not just thin categories.
|
|
125
|
+
5. Knowledge missing against the user's goals.
|
|
126
|
+
6. What to do next to thicken the thin durable axis (e.g. distill recurring decisions into principles, capture operating practices), rather than just "learn more".
|
|
127
|
+
7. Phrasing that can be used in a skill sheet or career history.
|
|
122
128
|
|
|
123
|
-
If saving the result, build values suitable for paput_update_dashboard_analysis: current_summary, strengths, growing_areas, weak_areas, next_knowledge_suggestions, and analyzed_at. strengths, growing_areas, and weak_areas should include title, description, category_names, memo_count, and goal_ids. next_knowledge_suggestions should include title, reason, priority, category_names, and goal_ids.`;
|
|
129
|
+
If saving the result, build values suitable for paput_update_dashboard_analysis: current_summary, strengths, growing_areas, weak_areas, next_knowledge_suggestions, and analyzed_at. strengths, growing_areas, and weak_areas should include title, description, category_names, memo_count, and goal_ids — and in each description speak in the judgment/practice/principle axis (e.g. which memo_type backs the strength, which type is thin). next_knowledge_suggestions should include title, reason, priority, category_names, and goal_ids.`;
|
|
124
130
|
}
|
|
125
131
|
//# sourceMappingURL=handler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handler.js","source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C,CAAC,CAAC,eAAe;;EAEvE,MAAM,EAAE;iBACD;aACF;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,YAAY,GAChB,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,CAAC;QAE3D,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,oDAAoD,YAAY,EAAE;iBACzE;aACF;YACD,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;AACH,CAAC;AAED,KAAK,UAAU,SAAS,CAAI,OAAyB;IACnD,IAAI,CAAC;QACH,OAAO,MAAM,OAAO,EAAE,CAAC;IACzB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED,SAAS,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../src/handlers/get-dashboard-analysis-context/handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAElE,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,MAAM,CAAC,KAAK,UAAU,iCAAiC,CACrD,KAA0C,EAC1C,SAAoB;IAEpB,IAAI,CAAC;QACH,MAAM,CAAC,gBAAgB,EAAE,KAAK,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;YAClD,m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