@critiquedotsh/harness 0.1.6 → 0.1.8

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 (3) hide show
  1. package/README.md +6 -2
  2. package/dist/cli.js +2957 -581
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  | **CritiqueCode** (this package) | [`@critiquedotsh/harness`](https://www.npmjs.com/package/@critiquedotsh/harness) | `critique-code` | Author: write the change, then survive review |
8
8
  | **Critique CLI** | [`@critiquedotsh/cli`](https://www.npmjs.com/package/@critiquedotsh/cli) | `critique` | Sidecar reviewer for agents you already run |
9
9
 
10
- Same npm org. Different products. Do not install CritiqueCode by swapping `@critiquedotsh/cli`. Do not call `critique finish` as a substitute for this harness.
10
+ Same npm org. Different products. Do not install CritiqueCode by swapping `@critiquedotsh/cli`. Native evidence stays on `/review`. `/critique` and `critique_cli` spawn the installed `critique` sidecar when you want that binary.
11
11
 
12
12
  Docs: [CritiqueCode](https://critique.sh/docs/platform/critique-code) · [Inference API](https://critique.sh/docs/platform/inference-api) · [Critique CLI](https://critique.sh/docs/platform/cli)
13
13
 
@@ -87,7 +87,7 @@ Describe the change. Slash lines (`/review`, `/ship`, …) are never sent to the
87
87
  4. **`/repair`** runs verified repair on promoted findings. It is not auto-applied chatter.
88
88
  5. `none_promoted` means nothing was promoted. It is **not** a correctness proof.
89
89
 
90
- 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`.
90
+ The author can fan out **`critique_task`** workers (`explore` is read-only; `general` / `implement` can write through the same CAS path). Independent native review is still `/review`, not a worker. `critique_cli` spawns the installed Critique CLI sidecar when you ask for that binary. `critique_run` still needs your approval. Workers cannot nest `critique_task` or `critique_cli`.
91
91
 
92
92
  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.
93
93
 
@@ -103,6 +103,7 @@ critique-code login
103
103
  critique-code settings | keys | models
104
104
  critique-code review [--depth quick|standard|paranoid] [--focus general,security] [--models ...] [--base <ref>] [--intent <text>] [--cwd <dir>] [--store <dir>]
105
105
  critique-code repair <review-run-id> [--store <dir>] [--cwd <dir>] [--models ...]
106
+ critique-code critique [sidecar argv...] [--cwd <dir>]
106
107
  critique-code capabilities [--cwd <dir>]
107
108
  critique-code skills [--cwd <dir>]
108
109
  critique-code import-skills [--cwd <dir>]
@@ -117,6 +118,7 @@ critique-code help
117
118
  | `settings` / `keys` / `models` | TUI for route, stored keys, and model ids |
118
119
  | `review` | Evidence harness (JSON on stdout) |
119
120
  | `repair <id>` | Verified repair for a stored review run |
121
+ | `critique [argv…]` | Spawn the installed Critique CLI sidecar (`critique review --json` by default) |
120
122
  | `capabilities` | Discovered local check tools |
121
123
  | `skills` | Built-in plus imported Claude Code / Codex / Cursor `SKILL.md` folders |
122
124
  | `import-skills` | Copy discovered skills into `~/.critique/code/skills` |
@@ -152,6 +154,8 @@ Type `/` or `/help` for a selectable picker. **Lines that start with `/` never g
152
154
  | `/voice off` | Return to the keyboard |
153
155
  | `/review` | Evidence harness since the last review checkpoint |
154
156
  | `/review all` | Evidence harness on the current tree even if unchanged |
157
+ | `/critique` | Spawn the Critique CLI sidecar (`critique review --json`) |
158
+ | `/critique finish` | Sidecar `finish --repair pack`; apply stays an explicit slash |
155
159
  | `/repair` | Verified repair of promoted findings |
156
160
  | `/ship` | Review, then end if the controller allows |
157
161
  | `/settings` | Keys, route, models |