@critiquedotsh/harness 0.1.1 → 0.1.3
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 +21 -2
- package/dist/cli.js +941 -354
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Docs: [CritiqueCode](https://critique.sh/docs/platform/critique-code) · [Infere
|
|
|
20
20
|
Optional:
|
|
21
21
|
|
|
22
22
|
- [`@earendil-works/pi-coding-agent`](https://www.npmjs.com/package/@earendil-works/pi-coding-agent) (installed automatically as an optional dependency; the live author kernel)
|
|
23
|
-
- `
|
|
23
|
+
- [`ffmpeg-static`](https://www.npmjs.com/package/ffmpeg-static) (optional dependency; bundled microphone recorder for `/voice`)
|
|
24
24
|
|
|
25
25
|
## Install
|
|
26
26
|
|
|
@@ -81,7 +81,9 @@ Describe the change. Slash lines (`/review`, `/ship`, …) are never sent to the
|
|
|
81
81
|
4. **`/repair`** runs verified repair on promoted findings. It is not auto-applied chatter.
|
|
82
82
|
5. `none_promoted` means nothing was promoted. It is **not** a correctness proof.
|
|
83
83
|
|
|
84
|
-
The
|
|
84
|
+
The author can fan out **`critique_task`** workers (`explore` is read-only; `general` / `implement` can write through the same CAS path). Independent review is still `/review`, not a worker. `critique_run` still needs your approval. Workers cannot nest `critique_task`.
|
|
85
|
+
|
|
86
|
+
The TTY shows a wordmark, a compact live status (`thinking` / `write path` / `task explore …`), then a one-line `▸` summary before the reply. It does not stream thinking paragraphs.
|
|
85
87
|
|
|
86
88
|
Interactive TTY sessions keep **stdout quiet**. Pass `--json` for the session envelope. `review`, `repair`, and `capabilities` still print JSON on stdout. Live chrome goes to stderr.
|
|
87
89
|
|
|
@@ -95,6 +97,8 @@ critique-code settings | keys | models
|
|
|
95
97
|
critique-code review [--depth quick|standard|paranoid] [--focus general,security] [--models ...] [--base <ref>] [--intent <text>] [--cwd <dir>] [--store <dir>]
|
|
96
98
|
critique-code repair <review-run-id> [--store <dir>] [--cwd <dir>] [--models ...]
|
|
97
99
|
critique-code capabilities [--cwd <dir>]
|
|
100
|
+
critique-code skills [--cwd <dir>]
|
|
101
|
+
critique-code import-skills [--cwd <dir>]
|
|
98
102
|
critique-code help
|
|
99
103
|
```
|
|
100
104
|
|
|
@@ -106,6 +110,8 @@ critique-code help
|
|
|
106
110
|
| `review` | Evidence harness (JSON on stdout) |
|
|
107
111
|
| `repair <id>` | Verified repair for a stored review run |
|
|
108
112
|
| `capabilities` | Discovered local check tools |
|
|
113
|
+
| `skills` | Built-in plus imported Claude Code / Codex / Cursor `SKILL.md` folders |
|
|
114
|
+
| `import-skills` | Copy discovered skills into `~/.critique/code/skills` |
|
|
109
115
|
|
|
110
116
|
### Flags
|
|
111
117
|
|
|
@@ -142,6 +148,7 @@ Type `/` or `/help` for a selectable picker. **Lines that start with `/` never g
|
|
|
142
148
|
| `/settings` | Keys, route, models |
|
|
143
149
|
| `/models` | Pick author/review model |
|
|
144
150
|
| `/keys` | Store BYOK keys |
|
|
151
|
+
| `/skills` | List built-in and imported skills |
|
|
145
152
|
| `/done` | End after a review |
|
|
146
153
|
| `/exit` | Leave |
|
|
147
154
|
|
|
@@ -149,6 +156,18 @@ Spoken `review`, `repair`, `ship`, and `exit` match the typed commands when voic
|
|
|
149
156
|
|
|
150
157
|
Unknown `/foo` is rejected in the TUI. It is not forwarded as chat.
|
|
151
158
|
|
|
159
|
+
## Voice mode
|
|
160
|
+
|
|
161
|
+
Talk to the author and the reviewer. `/voice` records one clip (Enter to stop). `/voice on` keeps listening after each reply. `/voice off` returns to the keyboard. `critique-code --voice` starts already listening.
|
|
162
|
+
|
|
163
|
+
Transcription uses **Qwen3 ASR 0.6B** (`qwen/qwen3-asr-0.6b`) on Critique Inference, billed at **$0.000003 per second** of audio. An OpenRouter key works if you are not on Inference. The recorder is bundled `ffmpeg-static`; you do not need a system `sox` or `ffmpeg` install.
|
|
164
|
+
|
|
165
|
+
Needs a microphone and an interactive TTY. Voice is dictation in. Replies stay on screen. Docs: [CritiqueCode voice mode](https://critique.sh/docs/platform/critique-code).
|
|
166
|
+
|
|
167
|
+
## Skills
|
|
168
|
+
|
|
169
|
+
Built-in author skills cover **code review**, **Critique `/review`**, and **TDD**. Sessions also load `SKILL.md` from Claude Code, Codex, Cursor, OpenCode, and Agents folders in the repo and your home directory. No export step required. Built-in names win on collision. `critique-code import-skills` copies them into `~/.critique/code/skills`.
|
|
170
|
+
|
|
152
171
|
## Models and billing
|
|
153
172
|
|
|
154
173
|
### Default: Critique Inference
|