@longtable/provider-claude 0.1.59 → 0.1.60
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.
- package/dist/skills.js +48 -0
- package/package.json +4 -4
package/dist/skills.js
CHANGED
|
@@ -59,6 +59,8 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
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
61
|
"- `$longtable-interview` to run a structured follow-up interview after a Research Specification exists.",
|
|
62
|
+
"- `$critical-interview` for a relentless LongTable interview that sharpens a research plan, argument, method, or product decision.",
|
|
63
|
+
"- `$scholar-research` for scholarly evidence recovery, citation-slot research, and legal full-text readiness.",
|
|
62
64
|
"",
|
|
63
65
|
"## Rules",
|
|
64
66
|
"",
|
|
@@ -99,6 +101,50 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
99
101
|
"If the `longtable` command is available and canonical prompt rendering would help, use `longtable ask --print --prompt \"...\"` or `longtable panel --print --prompt \"...\"` as an adapter aid. Do not make shell commands the user's primary interface."
|
|
100
102
|
]
|
|
101
103
|
},
|
|
104
|
+
{
|
|
105
|
+
name: "critical-interview",
|
|
106
|
+
description: "A relentless LongTable interview to sharpen a research plan, argument, method, or product decision.",
|
|
107
|
+
triggers: ["$critical-interview", "critical interview", "research grill", "grill my research"],
|
|
108
|
+
body: [
|
|
109
|
+
"Run a LongTable critical interview session. Continue only while questions sharpen the research or design; stop when remaining questions repeat the same tension without producing a new decision."
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: "scholar-research",
|
|
114
|
+
description: "LongTable scholarly evidence recovery and citation-slot research using host-agent orchestration, legal OA/fulltext connectors, evidence ledgers, and Researcher Checkpoints.",
|
|
115
|
+
triggers: ["$scholar-research", "scholar research", "citation slot", "scholarly evidence", "PDF evidence"],
|
|
116
|
+
body: [
|
|
117
|
+
"Run a LongTable scholar-research session.",
|
|
118
|
+
"",
|
|
119
|
+
"Treat `.longtable/` as the source of truth. Recover only legally accessible scholarly evidence. Do not bypass paywalls, authentication, robots.txt, WAFs, or access controls. Use host-agent orchestration for parallel research, but write journal, evidence ledger, claim ledger, fallback ledger, and citation-slot matrix into `.longtable/research-runs/<run-id>/`.",
|
|
120
|
+
"",
|
|
121
|
+
"## Required Flow",
|
|
122
|
+
"",
|
|
123
|
+
"1. Start with a citation-slot matrix or DOI/title/URL seed batch; free-form literature search is post-MVP.",
|
|
124
|
+
"2. Run `longtable scholar-research doctor` before evidence recovery and surface any missing connector readiness.",
|
|
125
|
+
"3. Create or reuse a run scaffold with `longtable scholar-research scaffold --cwd <project> --json`.",
|
|
126
|
+
"4. Search in this order: DOI/title seed, Crossref/OpenAlex/Semantic Scholar metadata, Unpaywall OA status, arXiv/SSRN/ERIC/PubMed/PMC/CORE/DOAJ/repository sweep, publisher landing page, legal PDF/full text, fallback ledger.",
|
|
127
|
+
"5. Mark citation slots `filled` only when full text produced an extracted quote/claim. Metadata, abstract, or fallback evidence is `provisional`, not filled.",
|
|
128
|
+
"6. Stop for a Researcher Checkpoint when access is restricted, when a strong claim has weak evidence, or when synthesis would change the research direction.",
|
|
129
|
+
"",
|
|
130
|
+
"## Safety Boundary",
|
|
131
|
+
"",
|
|
132
|
+
"- Do not bypass paywalls, authentication, robots.txt, WAFs, or access controls.",
|
|
133
|
+
"- Do not automate institution login, cookie reuse, proxy/VPN bypass, or session extraction.",
|
|
134
|
+
"- Request manual upload only when the researcher says they have legitimate access.",
|
|
135
|
+
"- Record failure reasons with the LongTable taxonomy: `not_found`, `no_full_text`, `restricted_access`, `robots_or_terms_blocked`, `ambiguous_match`, `download_failed`, `parse_failed`, `weak_evidence`.",
|
|
136
|
+
"",
|
|
137
|
+
"## Output Contract",
|
|
138
|
+
"",
|
|
139
|
+
"- `.longtable/research-runs/<run-id>/journal.md`",
|
|
140
|
+
"- `.longtable/research-runs/<run-id>/expansion-log.md`",
|
|
141
|
+
"- `.longtable/research-runs/<run-id>/claim-ledger.md`",
|
|
142
|
+
"- `.longtable/research-runs/<run-id>/evidence-ledger.md`",
|
|
143
|
+
"- `.longtable/research-runs/<run-id>/fallback-ledger.md`",
|
|
144
|
+
"- `.longtable/research-runs/<run-id>/citation-slot-matrix.md`",
|
|
145
|
+
"- `.longtable/research-runs/<run-id>/sources/manifest.jsonl`"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
102
148
|
{
|
|
103
149
|
name: "longtable-start",
|
|
104
150
|
description: "Use for `$longtable-start`: create or continue a LongTable research-start interview inside Claude Code, then store a Research Specification through MCP/state, with First Research Shape kept as an optional short handle layer.",
|
|
@@ -312,6 +358,8 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
312
358
|
return surface === "full"
|
|
313
359
|
? specs
|
|
314
360
|
: specs.filter((spec) => spec.name === "longtable" ||
|
|
361
|
+
spec.name === "critical-interview" ||
|
|
362
|
+
spec.name === "scholar-research" ||
|
|
315
363
|
spec.name === "longtable-start" ||
|
|
316
364
|
spec.name === "longtable-interview" ||
|
|
317
365
|
spec.name === "longtable-panel");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longtable/provider-claude",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.60",
|
|
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.
|
|
25
|
-
"@longtable/core": "0.1.
|
|
26
|
-
"@longtable/setup": "0.1.
|
|
24
|
+
"@longtable/checkpoints": "0.1.60",
|
|
25
|
+
"@longtable/core": "0.1.60",
|
|
26
|
+
"@longtable/setup": "0.1.60"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"typescript": "^5.6.0"
|