@longtable/provider-codex 0.1.52 → 0.1.54

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 +13 -10
  2. package/package.json +4 -4
package/dist/skills.js CHANGED
@@ -52,8 +52,8 @@ function baseSkillSpecs(surface = "compact") {
52
52
  "- `lt review: ...`",
53
53
  "- `lt panel: ...`",
54
54
  "- `use the LongTable methods critic on this design`",
55
- "- `$longtable: deploy a research team to review this measurement plan, show the main disagreements, and ask me what decision should be recorded before you revise it.`",
56
- "- `$longtable: use editor, reviewer, methods, measurement, and voice perspectives to evaluate this manuscript section. Do not collapse disagreement too early.`",
55
+ "- `$longtable: run a panel review of this measurement plan, show the main disagreements, and ask me what decision should be recorded before you revise it.`",
56
+ "- `$longtable: use editor, reviewer, methods, measurement, and voice perspectives as a panel to evaluate this manuscript section. Do not collapse disagreement too early.`",
57
57
  "- `$longtable-methods`, `$longtable-measure`, `$longtable-theory`, `$longtable-reviewer`, or `$longtable-voice` when the researcher explicitly wants that shortcut.",
58
58
  "- `$longtable-start` to create or continue the first research-start interview.",
59
59
  "- `$longtable-interview` to run a structured follow-up interview after a Research Specification exists.",
@@ -73,11 +73,11 @@ function baseSkillSpecs(surface = "compact") {
73
73
  "- For low-risk reversible work, proceed with explicit assumptions instead of interrupting.",
74
74
  "- For LongTable product, hook, setup, release, or documentation work, do not create research-state QuestionRecords.",
75
75
  "",
76
- "## Panel And Team Behavior",
76
+ "## Panel Behavior",
77
77
  "",
78
- "- If the user asks for a panel, team, disagreement, or multiple perspectives, treat that as permission to coordinate multiple LongTable roles.",
79
- "- Use provider-native subagents only when the current Codex runtime makes them available and the user's request clearly calls for multi-agent work.",
80
- "- If native subagents are unavailable, use LongTable's sequential panel fallback and make the fallback explicit in the technical record.",
78
+ "- If the user asks for a panel, disagreement, team-style review, debate, or multiple perspectives, route to the LongTable panel surface first.",
79
+ "- Treat `lt panel` as the primary in-Codex collaborative surface; keep deprecated team-command aliases hidden and disabled.",
80
+ "- Use LongTable's sequential panel fallback as the stable surface and make the fallback explicit in the technical record.",
81
81
  "- Do not expose hidden reasoning, tool logs, or private chain-of-thought. Expose a structured deliberation record instead.",
82
82
  "- A structured deliberation record must include: roles consulted, each role's main claim or objection, the disagreement map, the decision options, the recommended option when defensible, and the exact researcher-facing question.",
83
83
  "- If the panel converges, explain what changed the disagreement; if it does not converge, preserve the unresolved conflict instead of collapsing it into one confident synthesis.",
@@ -136,8 +136,9 @@ function baseSkillSpecs(surface = "compact") {
136
136
  "9. Store the fuller Research Specification with MCP `summarize_research_specification` when the interview has enough detail. If enough detail already exists, go directly to this step after or instead of the shape handle.",
137
137
  "10. Show the Research Specification Preview explicitly before asking for confirmation.",
138
138
  "11. Use MCP `confirm_research_specification` for the final research-facing option UI checkpoint.",
139
- "12. Use MCP `confirm_first_research_shape` only when the researcher wants to stop at the shorter shape layer.",
140
- "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.",
139
+ "12. If confirmation is unavailable, timed out, or deferred, say that the draft Research Specification was saved and that confirmation remains the next action.",
140
+ "13. Use MCP `confirm_first_research_shape` only when the researcher wants to stop at the shorter shape layer.",
141
+ "14. 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.",
141
142
  "",
142
143
  "## Opening Questions",
143
144
  "",
@@ -246,6 +247,8 @@ function baseSkillSpecs(surface = "compact") {
246
247
  "## Required Routing",
247
248
  "",
248
249
  "- First inspect `CURRENT.md` and `.longtable/state.json` when available.",
250
+ "- If MCP `read_research_specification` is available, use its `readiness.usableForInterview` result as the gate.",
251
+ "- Usable means the shared readiness gate allows interview, normally a confirmed Research Specification.",
249
252
  "- If no usable Research Specification exists, route to `$longtable-start` immediately.",
250
253
  "- If only a First Research Shape exists, route to `$longtable-start` and continue into the next Research Specification question or preview.",
251
254
  "- Do not run an option-only interview before the Research Specification exists.",
@@ -281,7 +284,7 @@ function baseSkillSpecs(surface = "compact") {
281
284
  const fullOnly = [
282
285
  {
283
286
  name: "longtable-panel",
284
- description: "Use when LongTable should run a panel or team-style review with visible role disagreement.",
287
+ description: "Use when LongTable should run a panel review with visible role disagreement.",
285
288
  body: [
286
289
  "## Purpose",
287
290
  "",
@@ -290,7 +293,7 @@ function baseSkillSpecs(surface = "compact") {
290
293
  "## When To Use",
291
294
  "",
292
295
  "- The user says `lt panel`.",
293
- "- The user asks for disagreement, multiple perspectives, a team review, or pre-commit challenge.",
296
+ "- The user asks for disagreement, multiple perspectives, team-style review, debate, or pre-commit challenge.",
294
297
  "- The work touches several research risks at once, such as theory, methods, measurement, venue fit, ethics, or authorship.",
295
298
  "",
296
299
  "## Output Contract",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longtable/provider-codex",
3
- "version": "0.1.52",
3
+ "version": "0.1.54",
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.52",
19
- "@longtable/core": "0.1.52",
20
- "@longtable/setup": "0.1.52"
18
+ "@longtable/checkpoints": "0.1.54",
19
+ "@longtable/core": "0.1.54",
20
+ "@longtable/setup": "0.1.54"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^22.10.1",