@longtable/cli 0.1.9 → 0.1.11

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/README.md CHANGED
@@ -2,11 +2,16 @@
2
2
 
3
3
  Researcher-facing CLI for LongTable.
4
4
 
5
- LongTable is designed around a simple contract:
5
+ LongTable is an npm-first, provider-neutral research harness. It keeps the core
6
+ product contract in project files and shared packages, while Codex skills,
7
+ Claude skills, and future MCP surfaces remain generated adapter artifacts.
8
+
9
+ The basic contract is:
6
10
 
7
11
  1. seed the researcher profile once
8
12
  2. create a workspace for each project
9
13
  3. continue the research conversation inside that workspace
14
+ 4. preserve decisions, tensions, and evidence as durable project state
10
15
 
11
16
  ## Install
12
17
 
@@ -75,6 +80,17 @@ longtable start
75
80
  longtable resume --cwd "<project-path>"
76
81
  longtable roles
77
82
  longtable ask --cwd "<project-path>" --prompt "..."
83
+ longtable panel --prompt "..."
84
+ longtable codex install-skills
85
+ longtable claude install-skills
86
+ ```
87
+
88
+ Useful structured routes for scripts and debugging:
89
+
90
+ ```bash
91
+ longtable panel --prompt "review this methods section" --json
92
+ longtable review --role methods_critic,measurement_auditor --panel --prompt "review this methods section" --json
93
+ longtable ask --prompt "lt panel: show the disagreement before I commit" --json
78
94
  ```
79
95
 
80
96
  ## Inside Codex
@@ -90,6 +106,71 @@ lt panel: Show me the disagreement before I commit.
90
106
  lt methods: Where is the design vulnerable?
91
107
  ```
92
108
 
109
+ Provider-native surfaces are available when installed:
110
+
111
+ ```bash
112
+ longtable codex install-skills
113
+ longtable claude install-skills
114
+ ```
115
+
116
+ Codex skills include `longtable`, `longtable-panel`, and generated role-specific
117
+ skills such as `longtable-methods-critic`. If your Codex build exposes explicit
118
+ skill shortcuts, `$longtable` is the manual entry. Do not depend on `/prompts`;
119
+ current Codex builds may reject it.
120
+
121
+ Claude Code skills include `longtable`, `longtable-panel`, and generated
122
+ role-specific skills such as `longtable-methods-critic`. They are adapter files
123
+ generated from the LongTable role registry.
124
+
125
+ ## Panel Orchestration
126
+
127
+ Panel orchestration is for moments where disagreement matters: methods risk,
128
+ measurement validity, theory fit, literature positioning, and claims that need
129
+ challenge before they become project memory.
130
+
131
+ The CLI creates a provider-neutral `PanelPlan` and returns a planned
132
+ `PanelResult`. When native subagents are unavailable, LongTable uses a stable
133
+ sequential fallback prompt. That keeps the same research semantics available in
134
+ Codex and Claude Code without making either provider's native question or agent
135
+ tool the source of truth.
136
+
137
+ Inside a LongTable project workspace, panel planning also appends an
138
+ `InvocationRecord` to `.longtable/state.json`, creates a pending follow-up
139
+ `QuestionRecord`, and refreshes `CURRENT.md`.
140
+
141
+ ```bash
142
+ longtable decide --answer evidence --rationale "Need citation support before continuing."
143
+ ```
144
+
145
+ Default panel roles include:
146
+
147
+ - `reviewer`
148
+ - `methods_critic`
149
+ - `measurement_auditor`
150
+ - `theory_critic`
151
+
152
+ Use `--role` to constrain the panel when the research problem is already clear.
153
+
154
+ ## Evidence And Search Direction
155
+
156
+ LongTable should not behave like a generic web scraper. Research search should
157
+ start from scholarly routes when the user needs literature discovery, citation
158
+ verification, publication metadata, or evidence-backed research decisions.
159
+
160
+ Planned scholarly routes include arXiv, Crossref, OpenAlex, Semantic Scholar,
161
+ PubMed/NCBI, ERIC, DOAJ, and Unpaywall. They have different setup requirements:
162
+ some work without keys, some require a contact email, and some need API keys for
163
+ reliable use.
164
+
165
+ Citation support should be checked explicitly. A reference can be useful as
166
+ background while still failing to support the specific claim attached to it.
167
+
168
+ See:
169
+
170
+ - [Research Search](https://github.com/HosungYou/LongTable/blob/main/docs/RESEARCH-SEARCH.md)
171
+ - [Evidence Policy](https://github.com/HosungYou/LongTable/blob/main/docs/EVIDENCE-POLICY.md)
172
+ - [LongTable Command Surface](https://github.com/HosungYou/LongTable/blob/main/docs/LONGTABLE-COMMAND-SURFACE.md)
173
+
93
174
  ## Validation
94
175
 
95
176
  ```bash