@longtable/provider-claude 0.1.43 → 0.1.44

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.
Files changed (2) hide show
  1. package/dist/skills.js +24 -5
  2. package/package.json +4 -4
package/dist/skills.js CHANGED
@@ -64,7 +64,7 @@ function baseSkillSpecs(surface = "compact") {
64
64
  "- Treat `.longtable/` state as the project source of truth when present.",
65
65
  "- The compact visible shortcut set is methods, measure, theory, reviewer, and voice. Other roles remain available through this router when the request calls for them.",
66
66
  "- Prefer natural language over asking the researcher to run shell role commands.",
67
- "- For `$longtable-interview`, use natural-language turns for the interview and reserve structured options for final First Research Shape confirmation.",
67
+ "- For `$longtable-interview`, use natural-language turns for the interview and reserve structured options for final Research Specification confirmation, with First Research Shape kept as the shorter handle layer.",
68
68
  "- Do not let unrelated pending Researcher Checkpoints interrupt the interview. Mention them only as separate unresolved checkpoints, and treat them as blocking only when the researcher is confirming, saving, or recording a research decision.",
69
69
  "- If a Researcher Checkpoint is needed, ask a short structured question with meaningful options and wait for the researcher.",
70
70
  "- If changing LongTable product language, README positioning, or checkpoint policy, ask a Meta-Decision Checkpoint first.",
@@ -97,7 +97,7 @@ function baseSkillSpecs(surface = "compact") {
97
97
  },
98
98
  {
99
99
  name: "longtable-interview",
100
- description: "Use for `$longtable-interview`: create or continue a LongTable research-start interview inside Claude Code, then store a First Research Shape through MCP/state.",
100
+ description: "Use for `$longtable-interview`: create or continue a LongTable research-start interview inside Claude Code, then store a First Research Shape and Research Specification through MCP/state.",
101
101
  triggers: ["$longtable-interview", "longtable interview", "start research interview", "first research shape"],
102
102
  body: [
103
103
  "## Purpose",
@@ -114,8 +114,11 @@ function baseSkillSpecs(surface = "compact") {
114
114
  "6. Record turns with MCP `append_interview_turn` when available.",
115
115
  "7. Continue until there is content-based readiness for a provisional `first_research_handle`; never stop merely because a fixed number of turns has passed.",
116
116
  "8. Store the First Research Shape with MCP `summarize_interview`.",
117
- "9. Use MCP `confirm_first_research_shape` for the final structured confirmation.",
118
- "10. If the researcher explicitly cancels the interview, use MCP `cancel_interview` when available. Do not cancel durable state for a casual topic change unless the researcher says to cancel the interview.",
117
+ "9. Store the fuller Research Specification with MCP `summarize_research_specification` when the interview has enough detail.",
118
+ "10. Show the Research Specification Preview explicitly before asking for confirmation.",
119
+ "11. Use MCP `confirm_research_specification` for the final structured confirmation.",
120
+ "12. Use MCP `confirm_first_research_shape` only when the researcher wants to stop at the shorter shape layer.",
121
+ "13. If the researcher explicitly cancels the interview, use MCP `cancel_interview` when available. Do not cancel durable state for a casual topic change unless the researcher says to cancel the interview.",
119
122
  "",
120
123
  "## Opening",
121
124
  "",
@@ -167,7 +170,23 @@ function baseSkillSpecs(surface = "compact") {
167
170
  "- nextAction",
168
171
  "- confidence",
169
172
  "",
170
- "Use structured options only for the final confirmation or true checkpoint boundaries. Show the options in the researcher's current language when possible, usually: save/confirm, ask one more question, revise, or keep open. If MCP is unavailable, continue in natural language but do not claim that state was written.",
173
+ "The First Research Shape is the short handle layer. It is useful for early resume context, but it is not the full research specification.",
174
+ "",
175
+ "## Research Specification",
176
+ "",
177
+ "Before ending a substantive interview, convert the First Research Shape into a fuller Research Specification when the conversation provides enough material:",
178
+ "",
179
+ "- title",
180
+ "- researchDirection: question, purpose, scope boundary, inclusion/exclusion criteria",
181
+ "- constructOntology: core constructs, distinctions, and terms that should not be collapsed",
182
+ "- theoryAndFraming: theory anchors, alternatives, and overreach risks",
183
+ "- measurementCoding: variables/constructs, evidence types, coding rules, and open standards",
184
+ "- methodAnalysis: design, analysis options, data sufficiency criteria, and unsettled choices",
185
+ "- evidenceAccess: required sources, access requirements, and evidence standards",
186
+ "- epistemicAlignment: researcher knowledge, project-state priority, AI inference limits, and the conflict-resolution rule",
187
+ "- protectedDecisions, openQuestions, nextActions, and confidence",
188
+ "",
189
+ "Show a clear `Research Specification Preview` in the researcher's current language before confirmation. Then call `confirm_research_specification`, whose structured options should usually be: save/confirm, ask one more question, revise a section, or keep open. If MCP is unavailable, continue in natural language but do not claim that state was written.",
171
190
  "",
172
191
  "If a confirmed First Research Shape already exists, do not reopen the interview automatically. Summarize the existing shape and ask whether to continue from it, revise it, or explicitly start a new interview."
173
192
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longtable/provider-claude",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "private": false,
5
5
  "description": "Claude adapter surface for LongTable",
6
6
  "type": "module",
@@ -21,9 +21,9 @@
21
21
  "typecheck": "tsc -p tsconfig.json --noEmit"
22
22
  },
23
23
  "dependencies": {
24
- "@longtable/checkpoints": "0.1.43",
25
- "@longtable/core": "0.1.43",
26
- "@longtable/setup": "0.1.43"
24
+ "@longtable/checkpoints": "0.1.44",
25
+ "@longtable/core": "0.1.44",
26
+ "@longtable/setup": "0.1.44"
27
27
  },
28
28
  "devDependencies": {
29
29
  "typescript": "^5.6.0"