@longtable/provider-claude 0.1.66 → 0.1.67

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 -36
  2. package/package.json +4 -4
package/dist/skills.js CHANGED
@@ -58,8 +58,8 @@ function baseSkillSpecs(surface = "compact") {
58
58
  "- `longtable: use editor, reviewer, methods, measurement, and voice perspectives as a panel to evaluate this manuscript section. Do not collapse disagreement too early.`",
59
59
  "- `$longtable-methods`, `$longtable-measure`, `$longtable-theory`, `$longtable-reviewer`, or `$longtable-voice` when the researcher explicitly wants that shortcut.",
60
60
  "- `$longtable-start` to create or continue the first research-start interview.",
61
- "- `$longtable-interview` to run the unified interview surface: structured follow-up after a Research Specification exists, or critical/grill-me mode when the researcher asks for pressure testing.",
62
- "- `$critical-interview` as a compatibility alias for `$longtable-interview` critical mode.",
61
+ "- `$longtable-interview` to run a LongTable grilling interview with one high-leverage question and a recommended answer at a time.",
62
+ "- `$critical-interview` as a compatibility alias for `$longtable-interview`.",
63
63
  "- `$scholar-research` for scholarly evidence recovery, citation-slot research, and legal full-text readiness.",
64
64
  "",
65
65
  "## Rules",
@@ -70,7 +70,7 @@ function baseSkillSpecs(surface = "compact") {
70
70
  "- 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.",
71
71
  "- 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.",
72
72
  "- For `$longtable-start`, use natural-language turns for the interview and reserve structured options for final Research Specification confirmation; First Research Shape is only a shorter handle/resume layer.",
73
- "- For `$longtable-interview`, use option-first follow-up choices only after a usable Research Specification exists. For critical/grill-me mode, ask one relentless sharpening question at a time, and stop when remaining questions repeat the same tension without producing a new decision. Always include an escape hatch such as Other, free text, or one open follow-up question when presenting options.",
73
+ "- For `$longtable-interview`, ask one relentless sharpening question at a time. State the tension, give the recommended answer, and ask the researcher to accept, revise, or reject it. Stop when remaining questions repeat the same tension without producing a new decision.",
74
74
  "- 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.",
75
75
  "- If a Researcher Checkpoint is needed, ask a short structured question with meaningful options and wait for the researcher.",
76
76
  "- If changing LongTable product language, README positioning, or checkpoint policy, ask a Meta-Decision Checkpoint first.",
@@ -103,10 +103,10 @@ function baseSkillSpecs(surface = "compact") {
103
103
  },
104
104
  {
105
105
  name: "critical-interview",
106
- description: "Compatibility alias for `$longtable-interview` critical mode.",
106
+ description: "Compatibility alias for `$longtable-interview`.",
107
107
  triggers: ["$critical-interview", "critical interview", "research grill", "grill my research"],
108
108
  body: [
109
- "Compatibility alias: run `$longtable-interview` in Critical Interview Mode. Do not run a separate interview contract here."
109
+ "Compatibility alias: run `$longtable-interview`. Do not run a separate interview contract here."
110
110
  ]
111
111
  },
112
112
  {
@@ -157,8 +157,8 @@ function baseSkillSpecs(surface = "compact") {
157
157
  "## Required Routing",
158
158
  "",
159
159
  "- Use this flow when the user invokes `$longtable-start`.",
160
- "- Use this flow when the user invokes `$longtable-interview` but the workspace has no usable Research Specification.",
161
- "- If only a First Research Shape exists, continue into the next Research Specification question or preview before any option-only follow-up interview.",
160
+ "- Use this flow when the user explicitly wants a first research-start interview rather than a pressure interview.",
161
+ "- If only a First Research Shape exists and the researcher wants to complete startup, continue into the next Research Specification question or preview.",
162
162
  "",
163
163
  "## Flow",
164
164
  "",
@@ -250,55 +250,45 @@ function baseSkillSpecs(surface = "compact") {
250
250
  },
251
251
  {
252
252
  name: "longtable-interview",
253
- description: "Use for `$longtable-interview`: run the unified LongTable interview surface, including option-first follow-up after a usable Research Specification and critical/grill-me pressure testing when requested.",
253
+ description: "Use for `$longtable-interview`: run a LongTable grilling interview for research plans, arguments, methods, evidence standards, manuscripts, and product decisions.",
254
254
  triggers: ["$longtable-interview", "longtable interview", "follow-up research interview", "research specification interview"],
255
255
  body: [
256
256
  "## Purpose",
257
257
  "",
258
- "Run the unified LongTable interview inside Claude Code. It handles structured follow-up decisions after a usable Research Specification exists and critical pressure-testing when the researcher asks to be grilled.",
258
+ "Run a LongTable grilling interview inside Claude Code. The goal is to sharpen the next research decision, not to present a questionnaire.",
259
259
  "",
260
- "## Required Routing",
260
+ "## Required Context",
261
261
  "",
262
262
  "- First inspect `CURRENT.md` and `.longtable/state.json` when available.",
263
- "- If MCP `read_research_specification` is available, use its `readiness.usableForInterview` result as the gate.",
264
- "- Usable means the shared readiness gate allows interview, normally a confirmed Research Specification.",
265
- "- If the request asks for critical interview, pressure testing, grilling, or relentless challenge, stay in this skill and run Critical Interview Mode.",
266
- "- For ordinary follow-up, if no usable Research Specification exists, route to `$longtable-start` immediately.",
267
- "- For ordinary follow-up, if only a First Research Shape exists, route to `$longtable-start` and continue into the next Research Specification question or preview.",
268
- "- Do not run an option-only interview before the Research Specification exists.",
263
+ "- If MCP `read_research_specification` is available, use it as context, not as a gate.",
264
+ "- If the answer can be found in `CURRENT.md`, `.longtable/`, the codebase, supplied documents, or cited evidence, inspect those first instead of asking.",
265
+ "- Do not route away to `$longtable-start` merely because a Research Specification is missing.",
266
+ "- If the researcher explicitly wants a first research-start interview, use `$longtable-start`; otherwise keep the grilling interview here.",
269
267
  "",
270
268
  "## When To Use",
271
269
  "",
272
- "- The user invokes `$longtable-interview` and a usable Research Specification exists.",
273
- "- The user invokes `$critical-interview`; treat it as a compatibility alias for this skill's Critical Interview Mode.",
270
+ "- The user invokes `$longtable-interview`.",
271
+ "- The user invokes `$critical-interview`; treat it as a compatibility alias for this skill.",
274
272
  "- The user asks for a grill-me-style, critical, pressure, or relentless interview.",
275
273
  "- The user wants to revise, extend, or resolve a decision in an existing Research Specification.",
276
- "- The user needs a bounded follow-up interview around a checkpoint, spec patch, evidence boundary, method choice, coding rule, or protected decision.",
274
+ "- The user needs a pressure interview around a checkpoint, spec patch, evidence boundary, method choice, coding rule, or protected decision.",
277
275
  "",
278
- "## Critical Interview Mode",
276
+ "## Grilling Loop",
279
277
  "",
280
- "- Run a relentless LongTable interview to sharpen a research plan, argument, method, manuscript, or product decision.",
281
- "- Ask one question at a time. Each question must expose a decision, hidden assumption, weak boundary, unsupported claim, or evidence gap.",
278
+ "- Ask one question at a time.",
279
+ "- Each question must expose a decision, hidden assumption, weak boundary, unsupported claim, or evidence gap.",
280
+ "- For each question, state the tension, give the recommended answer, and ask the researcher to accept, revise, or reject it.",
282
281
  "- Continue only while the next question can produce a new decision, sharper boundary, stronger evidence standard, or clearer open tension.",
283
282
  "- Stop when remaining questions repeat the same tension without producing a new decision.",
284
- "- If `.longtable/` exists, record the result as a `DecisionRecord`, Research Specification patch, or explicit open tension when MCP/state tools are available.",
285
283
  "",
286
284
  "## Flow",
287
285
  "",
288
- "1. Read the current Research Specification when available and identify whether the request is ordinary follow-up or Critical Interview Mode.",
289
- "2. For ordinary follow-up, present a small option-first choice set tied to the current specification.",
290
- "3. Include an escape hatch such as `Other`, free text, or `ask one open question first`.",
291
- "4. For Critical Interview Mode, ask the next highest-leverage sharpening question instead of a menu.",
286
+ "1. Read available project state and identify the highest-leverage unresolved tension.",
287
+ "2. Ask exactly one question.",
288
+ "3. Include `Tension:`, `Recommended answer:`, and `Question:` in the prompt.",
289
+ "4. Ask the researcher to accept, revise, or reject the recommended answer.",
292
290
  "5. If the answer changes the specification, propose or apply a Research Specification patch through MCP/state when available.",
293
- "6. Record the resulting decision as a `DecisionRecord` or explicit open tension; never silently overwrite conflicting research commitments.",
294
- "",
295
- "## Option UI Policy",
296
- "",
297
- "- Use MCP/native structured elicitation when available.",
298
- "- Use terminal selector only when the runtime has interactive TTY support.",
299
- "- Use numbered/plain text fallback when structured UI is unavailable.",
300
- "- Treat UI as transport. The durable product contract remains `QuestionRecord -> DecisionRecord`.",
301
- "- Do not require tmux. If a future Codex popup transport is tmux-only, label it as optional and provide fallback."
291
+ "6. Record the resulting decision as a `DecisionRecord`, Research Specification patch, or explicit open tension when MCP/state tools are available; never silently overwrite conflicting research commitments."
302
292
  ]
303
293
  },
304
294
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longtable/provider-claude",
3
- "version": "0.1.66",
3
+ "version": "0.1.67",
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.66",
25
- "@longtable/core": "0.1.66",
26
- "@longtable/setup": "0.1.66"
24
+ "@longtable/checkpoints": "0.1.67",
25
+ "@longtable/core": "0.1.67",
26
+ "@longtable/setup": "0.1.67"
27
27
  },
28
28
  "devDependencies": {
29
29
  "typescript": "^5.6.0"