@longtable/provider-codex 0.1.64 → 0.1.66
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 +26 -14
- package/package.json +4 -4
package/dist/skills.js
CHANGED
|
@@ -57,8 +57,8 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
57
57
|
"- `$longtable: use editor, reviewer, methods, measurement, and voice perspectives as a panel to evaluate this manuscript section. Do not collapse disagreement too early.`",
|
|
58
58
|
"- `$longtable-methods`, `$longtable-measure`, `$longtable-theory`, `$longtable-reviewer`, or `$longtable-voice` when the researcher explicitly wants that shortcut.",
|
|
59
59
|
"- `$longtable-start` to create or continue the first research-start interview.",
|
|
60
|
-
"- `$longtable-interview` to run
|
|
61
|
-
"- `$critical-interview`
|
|
60
|
+
"- `$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.",
|
|
61
|
+
"- `$critical-interview` as a compatibility alias for `$longtable-interview` critical mode.",
|
|
62
62
|
"- `$scholar-research` for scholarly evidence recovery, citation-slot research, and legal full-text readiness.",
|
|
63
63
|
"",
|
|
64
64
|
"## Routing Rules",
|
|
@@ -67,7 +67,7 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
67
67
|
"- `lt review` starts with the strongest weakness, objection, or missing evidence.",
|
|
68
68
|
"- `lt panel` creates a visible multi-role review with synthesis, role opinions, conflict summary, and a decision prompt.",
|
|
69
69
|
"- `$longtable-start` runs the provider-native LongTable start interview. It replaces the old CLI start questionnaire as the primary research-start surface.",
|
|
70
|
-
"- `$longtable-interview` is
|
|
70
|
+
"- `$longtable-interview` is the unified interview surface. Ordinary option-first follow-up requires a usable Research Specification; critical/grill-me requests stay in `$longtable-interview` critical mode.",
|
|
71
71
|
"- Natural references to methods, measurement, theory, reviewer, editor, ethics, venue, or voice should foreground the matching LongTable role.",
|
|
72
72
|
"- The compact visible shortcut set is panel, methods, measure, theory, reviewer, and voice. Other roles remain available through this router when the request calls for them.",
|
|
73
73
|
"- When research responsibility is about to shift, surface a Researcher Checkpoint before closure.",
|
|
@@ -102,7 +102,7 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
102
102
|
"- 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.",
|
|
103
103
|
"- 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.",
|
|
104
104
|
"- For `$longtable-start`, use natural-language turns for the interview and reserve MCP option UI for the final research-facing Research Specification checkpoint; First Research Shape is only a shorter handle/resume layer.",
|
|
105
|
-
"- For `$longtable-interview`, use option-first follow-up choices only after a usable Research Specification exists. Always include an escape hatch such as Other, free text, or one open follow-up question.",
|
|
105
|
+
"- 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.",
|
|
106
106
|
"- 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.",
|
|
107
107
|
"- When the `mcp__longtable_state__.elicit_question` tool is available, use it first for researcher checkpoints so Codex can show the MCP elicitation UI and LongTable can record the answer as `mcp_elicitation`.",
|
|
108
108
|
"- Use `longtable question --print --provider codex --prompt \"...\"` only as a fallback when the MCP tool is unavailable, unsupported, declined, canceled, or blocked by the client.",
|
|
@@ -113,10 +113,10 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
name: "critical-interview",
|
|
116
|
-
description: "
|
|
116
|
+
description: "Compatibility alias for `$longtable-interview` critical mode.",
|
|
117
117
|
disableModelInvocation: true,
|
|
118
118
|
body: [
|
|
119
|
-
"
|
|
119
|
+
"Compatibility alias: run `$longtable-interview` in Critical Interview Mode. Do not run a separate interview contract here."
|
|
120
120
|
]
|
|
121
121
|
},
|
|
122
122
|
{
|
|
@@ -284,34 +284,46 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
286
|
name: "longtable-interview",
|
|
287
|
-
description: "Use for `$longtable-interview`: run
|
|
287
|
+
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.",
|
|
288
288
|
body: [
|
|
289
289
|
"## Purpose",
|
|
290
290
|
"",
|
|
291
|
-
"Run
|
|
291
|
+
"Run the unified LongTable interview inside Codex. It handles structured follow-up decisions after a usable Research Specification exists and critical pressure-testing when the researcher asks to be grilled.",
|
|
292
292
|
"",
|
|
293
293
|
"## Required Routing",
|
|
294
294
|
"",
|
|
295
295
|
"- First inspect `CURRENT.md` and `.longtable/state.json` when available.",
|
|
296
296
|
"- If MCP `read_research_specification` is available, use its `readiness.usableForInterview` result as the gate.",
|
|
297
297
|
"- Usable means the shared readiness gate allows interview, normally a confirmed Research Specification.",
|
|
298
|
-
"- If
|
|
299
|
-
"-
|
|
298
|
+
"- If the request asks for critical interview, pressure testing, grilling, or relentless challenge, stay in this skill and run Critical Interview Mode.",
|
|
299
|
+
"- For ordinary follow-up, if no usable Research Specification exists, route to `$longtable-start` immediately.",
|
|
300
|
+
"- 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.",
|
|
300
301
|
"- Do not run an option-only interview before the Research Specification exists.",
|
|
301
302
|
"",
|
|
302
303
|
"## When To Use",
|
|
303
304
|
"",
|
|
304
305
|
"- The user invokes `$longtable-interview` and a usable Research Specification exists.",
|
|
306
|
+
"- The user invokes `$critical-interview`; treat it as a compatibility alias for this skill's Critical Interview Mode.",
|
|
307
|
+
"- The user asks for a grill-me-style, critical, pressure, or relentless interview.",
|
|
305
308
|
"- The user wants to revise, extend, or resolve a decision in an existing Research Specification.",
|
|
306
309
|
"- The user needs a bounded follow-up interview around a checkpoint, spec patch, evidence boundary, method choice, coding rule, or protected decision.",
|
|
307
310
|
"",
|
|
311
|
+
"## Critical Interview Mode",
|
|
312
|
+
"",
|
|
313
|
+
"- Run a relentless LongTable interview to sharpen a research plan, argument, method, manuscript, or product decision.",
|
|
314
|
+
"- Ask one question at a time. Each question must expose a decision, hidden assumption, weak boundary, unsupported claim, or evidence gap.",
|
|
315
|
+
"- Continue only while the next question can produce a new decision, sharper boundary, stronger evidence standard, or clearer open tension.",
|
|
316
|
+
"- Stop when remaining questions repeat the same tension without producing a new decision.",
|
|
317
|
+
"- If `.longtable/` exists, record the result as a `DecisionRecord`, Research Specification patch, or explicit open tension when MCP/state tools are available.",
|
|
318
|
+
"",
|
|
308
319
|
"## Core Flow",
|
|
309
320
|
"",
|
|
310
|
-
"1. Read the current Research Specification and identify the
|
|
311
|
-
"2.
|
|
321
|
+
"1. Read the current Research Specification when available and identify whether the request is ordinary follow-up or Critical Interview Mode.",
|
|
322
|
+
"2. For ordinary follow-up, present a small option-first choice set tied to the current specification.",
|
|
312
323
|
"3. Include an escape hatch such as `Other`, free text, or `ask one open question first`.",
|
|
313
|
-
"4.
|
|
314
|
-
"5.
|
|
324
|
+
"4. For Critical Interview Mode, ask the next highest-leverage sharpening question instead of a menu.",
|
|
325
|
+
"5. If the answer changes the specification, propose or apply a Research Specification patch through MCP/state when available.",
|
|
326
|
+
"6. Record the resulting decision as a `DecisionRecord` or explicit open tension; never silently overwrite conflicting research commitments.",
|
|
315
327
|
"",
|
|
316
328
|
"## Option UI Policy",
|
|
317
329
|
"",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longtable/provider-codex",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.66",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Codex adapter surface for LongTable",
|
|
6
6
|
"type": "module",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@longtable/checkpoints": "0.1.
|
|
19
|
-
"@longtable/core": "0.1.
|
|
20
|
-
"@longtable/setup": "0.1.
|
|
18
|
+
"@longtable/checkpoints": "0.1.66",
|
|
19
|
+
"@longtable/core": "0.1.66",
|
|
20
|
+
"@longtable/setup": "0.1.66"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^22.10.1",
|