@longtable/provider-claude 0.1.43 → 0.1.45

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 +26 -5
  2. package/package.json +4 -4
package/dist/skills.js CHANGED
@@ -64,7 +64,9 @@ 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 systematic review, meta-analysis, PDF collection, full-text extraction, institutionally licensed sources, or TDM work, ensure `longtable access setup` readiness exists or surface an ACCESS CHECKPOINT before continuing.",
68
+ "- Access setup records capability status only. The researcher handles VPN/proxy/library/SSO login directly; LongTable must not store passwords, API keys, tokens, PDFs, or full text in setup state.",
69
+ "- 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
70
  "- 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
71
  "- If a Researcher Checkpoint is needed, ask a short structured question with meaningful options and wait for the researcher.",
70
72
  "- If changing LongTable product language, README positioning, or checkpoint policy, ask a Meta-Decision Checkpoint first.",
@@ -97,7 +99,7 @@ function baseSkillSpecs(surface = "compact") {
97
99
  },
98
100
  {
99
101
  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.",
102
+ 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
103
  triggers: ["$longtable-interview", "longtable interview", "start research interview", "first research shape"],
102
104
  body: [
103
105
  "## Purpose",
@@ -114,8 +116,11 @@ function baseSkillSpecs(surface = "compact") {
114
116
  "6. Record turns with MCP `append_interview_turn` when available.",
115
117
  "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
118
  "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.",
119
+ "9. Store the fuller Research Specification with MCP `summarize_research_specification` when the interview has enough detail.",
120
+ "10. Show the Research Specification Preview explicitly before asking for confirmation.",
121
+ "11. Use MCP `confirm_research_specification` for the final structured confirmation.",
122
+ "12. Use MCP `confirm_first_research_shape` only when the researcher wants to stop at the shorter shape layer.",
123
+ "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
124
  "",
120
125
  "## Opening",
121
126
  "",
@@ -167,7 +172,23 @@ function baseSkillSpecs(surface = "compact") {
167
172
  "- nextAction",
168
173
  "- confidence",
169
174
  "",
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.",
175
+ "The First Research Shape is the short handle layer. It is useful for early resume context, but it is not the full research specification.",
176
+ "",
177
+ "## Research Specification",
178
+ "",
179
+ "Before ending a substantive interview, convert the First Research Shape into a fuller Research Specification when the conversation provides enough material:",
180
+ "",
181
+ "- title",
182
+ "- researchDirection: question, purpose, scope boundary, inclusion/exclusion criteria",
183
+ "- constructOntology: core constructs, distinctions, and terms that should not be collapsed",
184
+ "- theoryAndFraming: theory anchors, alternatives, and overreach risks",
185
+ "- measurementCoding: variables/constructs, evidence types, coding rules, and open standards",
186
+ "- methodAnalysis: design, analysis options, data sufficiency criteria, and unsettled choices",
187
+ "- evidenceAccess: required sources, Corpus and Access Plan, full-text/PDF route, TDM or institutional-access requirements, and evidence standards",
188
+ "- epistemicAlignment: researcher knowledge, project-state priority, AI inference limits, and the conflict-resolution rule",
189
+ "- protectedDecisions, openQuestions, nextActions, and confidence",
190
+ "",
191
+ "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
192
  "",
172
193
  "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
194
  ]
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.45",
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.45",
25
+ "@longtable/core": "0.1.45",
26
+ "@longtable/setup": "0.1.45"
27
27
  },
28
28
  "devDependencies": {
29
29
  "typescript": "^5.6.0"