@longtable/cli 0.1.15 → 0.1.17

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
@@ -19,34 +19,25 @@ The basic contract is:
19
19
  npm install -g @longtable/cli
20
20
  ```
21
21
 
22
- For global npm installs, LongTable also bootstraps provider-native skill files:
23
-
24
- - Codex skills are written to `~/.codex/skills/`.
25
- - Claude Code skills are written when the `claude` command is detected.
26
- - `LONGTABLE_POSTINSTALL_PROVIDERS=all npm install -g @longtable/cli` installs
27
- both provider skill sets.
28
- - `LONGTABLE_SKIP_POSTINSTALL=1 npm install -g @longtable/cli` skips the skill
29
- bootstrap.
30
-
31
- MCP config writes are intentionally opt-in:
32
-
33
- ```bash
34
- longtable mcp install --provider codex --write
35
- ```
36
-
37
- During `longtable init --flow interview`, LongTable asks whether to configure
38
- MCP and whether provider-native team/subagent surfaces should be used when they
39
- are available. The stable fallback remains LongTable's sequential panel.
22
+ The npm install only installs the CLI. It does not write Codex skills, MCP
23
+ config, hooks, tmux state, or provider runtime files without explicit setup
24
+ approval.
40
25
 
41
26
  ## Primary Flow
42
27
 
43
28
  ```bash
29
+ longtable setup --provider codex
44
30
  longtable init --flow interview
45
31
  longtable start
46
32
  cd "<project-path>"
47
33
  codex
48
34
  ```
49
35
 
36
+ `longtable setup --provider codex` is the permission-first setup route. It asks
37
+ which runtime surfaces LongTable may enable and explains why each choice matters:
38
+ CLI only, skills, skills + MCP, skills + MCP + sentinel, intervention posture,
39
+ tmux HUD/console, and team discussion mode.
40
+
50
41
  Return later:
51
42
 
52
43
  ```bash
@@ -100,6 +91,10 @@ longtable resume --cwd "<project-path>"
100
91
  longtable roles
101
92
  longtable ask --cwd "<project-path>" --prompt "..."
102
93
  longtable panel --prompt "..."
94
+ longtable sentinel --prompt "Should I define a new measurement construct?"
95
+ longtable hud --watch
96
+ longtable team --tmux --prompt "Review this measurement plan."
97
+ longtable team --debate --prompt "Review this measurement plan." --role editor,measurement_auditor --json
103
98
  longtable codex install-skills
104
99
  longtable claude install-skills
105
100
  ```
@@ -170,6 +165,27 @@ Default panel roles include:
170
165
 
171
166
  Use `--role` to constrain the panel when the research problem is already clear.
172
167
 
168
+ ## Sentinel, HUD, And Tmux Team
169
+
170
+ `longtable sentinel` is an explicit gap/tacit check for prompts that may contain
171
+ measurement, theory, method, evidence, authorship, or tacit-assumption risks.
172
+ Use `--record` inside a LongTable workspace to store the finding as an
173
+ unconfirmed inferred hypothesis.
174
+
175
+ `longtable hud --watch` renders a compact view of the current project goal,
176
+ blocker, pending checkpoints, recent decisions, and invocation counts.
177
+ `longtable hud --tmux` opens that view in a tmux pane.
178
+
179
+ `longtable team --tmux` opens role-specific panes for research discussion and
180
+ writes logs under `.longtable/team/<id>/`. This is panel discussion, not merely
181
+ parallel execution: role panes are prompted to state claims, objections, open
182
+ questions, and likely disagreement.
183
+
184
+ `longtable team --debate` creates a fixed five-round debate record under
185
+ `.longtable/team/<id>/`: independent review, cross-review, rebuttal,
186
+ convergence, and synthesis/checkpoint. Tmux can show live role panes, but the
187
+ file-backed artifact directory is the source of truth.
188
+
173
189
  ## Evidence And Search Direction
174
190
 
175
191
  LongTable should not behave like a generic web scraper. Research search should