sneakoscope 0.6.81 → 0.6.87
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 +30 -34
- package/package.json +2 -2
- package/src/cli/main.mjs +142 -240
- package/src/cli/maintenance-commands.mjs +223 -29
- package/src/core/artifact-schemas.mjs +6 -6
- package/src/core/codex-app.mjs +1 -1
- package/src/core/db-safety.mjs +43 -7
- package/src/core/decision-contract.mjs +8 -6
- package/src/core/evaluation.mjs +3 -3
- package/src/core/fsx.mjs +1 -1
- package/src/core/init.mjs +5 -5
- package/src/core/perf-bench.mjs +87 -0
- package/src/core/pipeline.mjs +4 -4
- package/src/core/proof-field.mjs +219 -0
- package/src/core/questions.mjs +8 -8
- package/src/core/routes.mjs +14 -13
- package/src/core/team-live.mjs +103 -9
- package/src/core/warp-ui.mjs +506 -0
- package/src/core/cmux-ui.mjs +0 -904
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
Sneakoscope Codex (`sks`, displayed as `ㅅㅋㅅ`) is a Codex CLI/App harness for repeatable agent workflows. It adds terminal commands, Codex App `$` prompt commands,
|
|
5
|
+
Sneakoscope Codex (`sks`, displayed as `ㅅㅋㅅ`) is a Codex CLI/App harness for repeatable agent workflows. It adds terminal commands, Codex App `$` prompt commands, warp-native CLI workspaces, Team/Goal/QA/Research routes, Context7 evidence checks, DB safety, TriWiki context tracking, Honest Mode, and release-readiness gates.
|
|
6
6
|
|
|
7
7
|
## Quick Start
|
|
8
8
|
|
|
@@ -43,7 +43,7 @@ sks selftest --mock
|
|
|
43
43
|
|
|
44
44
|
| Area | What it does |
|
|
45
45
|
| --- | --- |
|
|
46
|
-
| CLI runtime | `sks`, `sks
|
|
46
|
+
| CLI runtime | `sks`, `sks warp`, and `sks --mad` write/open Warp Launch Configurations for Codex CLI. |
|
|
47
47
|
| Codex App commands | Installs generated skills so `$Team`, `$From-Chat-IMG`, `$DFix`, `$QA-LOOP`, `$Goal`, `$DB`, `$Wiki`, `$Help`, and related routes are visible in prompt workflows. |
|
|
48
48
|
| Team orchestration | Runs substantial work through ambiguity handling, scouts, TriWiki refresh, debate, runtime task graphs, worker inboxes, implementation, review, cleanup, reflection, and Honest Mode. |
|
|
49
49
|
| From-Chat-IMG | Turns chat screenshots plus original attachments into source-bound work orders, then requires scoped QA evidence before completion. |
|
|
@@ -60,31 +60,21 @@ sks selftest --mock
|
|
|
60
60
|
- npm
|
|
61
61
|
- Codex CLI for terminal workflows
|
|
62
62
|
- Codex App for app-facing workflows, with Codex Computer Use required for UI/browser evidence
|
|
63
|
-
-
|
|
63
|
+
- Warp for the CLI-first runtime
|
|
64
64
|
- Context7 MCP for current-docs-gated routes
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
Install Warp from [warp.dev/download](https://www.warp.dev/download). On macOS, Homebrew users can also install it with:
|
|
67
67
|
|
|
68
68
|
```sh
|
|
69
|
-
brew
|
|
70
|
-
brew install --cask cmux
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
If the CLI is not on `PATH`, SKS also checks the app bundle path:
|
|
74
|
-
|
|
75
|
-
```sh
|
|
76
|
-
/Applications/cmux.app/Contents/Resources/bin/cmux
|
|
77
|
-
/Applications/cmux.app/Contents/MacOS/cmux
|
|
69
|
+
brew install --cask warp
|
|
78
70
|
```
|
|
79
71
|
|
|
80
72
|
`sks --mad` is stricter than the normal runtime path:
|
|
81
73
|
|
|
82
74
|
- Checks npm for a newer `sneakoscope` before launch and asks whether to update when the terminal can answer y/n.
|
|
83
75
|
- Installs the latest Codex CLI with `npm i -g @openai/codex@latest` when it is missing and you approve or pass `--yes`.
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
- Wakes cmux and retries the socket probe; if the socket is broken, SKS attempts a cmux app restart during that explicit launch.
|
|
87
|
-
- Reuses the named SKS MAD cmux workspace when it already exists and closes duplicate SKS-named MAD workspaces instead of increasing the workspace count on every launch.
|
|
76
|
+
- Requires Warp to be installed before opening the Launch Configuration.
|
|
77
|
+
- Writes a named Warp Launch Configuration and opens it through `warp://launch/<name>.yaml`.
|
|
88
78
|
|
|
89
79
|
## Installation
|
|
90
80
|
|
|
@@ -153,30 +143,30 @@ sks --version
|
|
|
153
143
|
```sh
|
|
154
144
|
sks bootstrap
|
|
155
145
|
sks deps check
|
|
156
|
-
sks deps install
|
|
146
|
+
sks deps install warp
|
|
157
147
|
sks codex-app check
|
|
158
148
|
sks doctor --fix
|
|
159
149
|
sks fix-path
|
|
160
150
|
```
|
|
161
151
|
|
|
162
|
-
### Open Codex CLI With
|
|
152
|
+
### Open Codex CLI With Warp
|
|
163
153
|
|
|
164
154
|
```sh
|
|
165
155
|
sks
|
|
166
|
-
sks
|
|
167
|
-
sks
|
|
156
|
+
sks warp check
|
|
157
|
+
sks warp status --once
|
|
168
158
|
```
|
|
169
159
|
|
|
170
|
-
`sks`
|
|
160
|
+
`sks` writes a Warp Launch Configuration for Codex CLI and opens it through Warp's public URI scheme when running in an interactive terminal. `sks warp check` is diagnostic and prints readiness without starting a workspace.
|
|
171
161
|
|
|
172
|
-
### MAD
|
|
162
|
+
### MAD Warp Launch
|
|
173
163
|
|
|
174
164
|
```sh
|
|
175
165
|
sks --mad
|
|
176
166
|
sks --mad --yes
|
|
177
167
|
```
|
|
178
168
|
|
|
179
|
-
This creates/uses the `sks-mad-high` Codex profile for a one-shot full-access, high-reasoning
|
|
169
|
+
This creates/uses the `sks-mad-high` Codex profile for a one-shot full-access, high-reasoning Warp launch with `approval_policy = "on-request"` and `approvals_reviewer = "auto_review"`. It is scoped to that explicit command and does not change normal SKS/DB safety defaults. Repeat launches overwrite the same named SKS MAD Launch Configuration.
|
|
180
170
|
|
|
181
171
|
MAD does not disable the pipeline contract: stages, executors, reviewers, and auto-review policy still must not invent unrequested fallback implementation code. If the requested path cannot be implemented, SKS should block with evidence rather than add substitute behavior.
|
|
182
172
|
|
|
@@ -194,16 +184,20 @@ Answer `y` to install `sneakoscope@latest`, then rerun `sks --mad`. Answer `n` t
|
|
|
194
184
|
sks team "implement this feature" executor:3 reviewer:1
|
|
195
185
|
sks team watch latest
|
|
196
186
|
sks team lane latest --agent analysis_scout_1 --follow
|
|
187
|
+
sks team message latest --from analysis_scout_1 --to executor_1 --message "handoff note"
|
|
188
|
+
sks team cleanup-warp latest
|
|
197
189
|
sks team status latest
|
|
198
190
|
sks team dashboard latest
|
|
199
191
|
sks team log latest
|
|
200
192
|
```
|
|
201
193
|
|
|
202
|
-
Team mode prepares the mission, records live events, compiles runtime tasks and worker inboxes, writes schema-backed effort/work-order/dashboard artifacts, and opens a named
|
|
194
|
+
Team mode prepares the mission, records live events, compiles runtime tasks and worker inboxes, writes schema-backed effort/work-order/dashboard artifacts, and opens a named Warp Team Launch Configuration with split live lanes when Warp is available. `sks team dashboard` renders the cockpit panes for mission overview, agent lanes, task DAG, QA/dogfood, artifacts/evidence, and performance.
|
|
195
|
+
|
|
196
|
+
The Warp Team launch is a live orchestration screen: the first pane follows `sks team watch <mission-id> --follow` as the mission overview, and neighboring split panes follow individual `sks team lane <mission-id> --agent <name> --follow` views. SKS gives lanes role-specific colors, labels, and terminal titles, so scouts, planning/debate voices, executors, reviewers, and safety lanes are visually distinct while the same evidence is mirrored into `team-transcript.jsonl`, `team-live.md`, and `team-dashboard.json`.
|
|
203
197
|
|
|
204
|
-
|
|
198
|
+
Agent sessions communicate through the bounded Team transcript. Use `sks team message <mission-id|latest> --from <agent> --to <agent|all> --message "..."` to add direct or broadcast messages; lane panes show messages addressed to that agent plus the fallback global tail.
|
|
205
199
|
|
|
206
|
-
When the Team route reaches `session_cleanup`, SKS
|
|
200
|
+
When the Team route reaches `session_cleanup`, SKS marks the Warp launch record complete and asks `watch --follow` / `lane --follow` panes to show a cleanup summary and stop. You can also run `sks team cleanup-warp <mission-id|latest>` manually, or `sks team cleanup-warp latest --close` to remove the generated Launch Configuration. Warp's public URI/Launch Configuration surface does not expose a live pane-close API, so the panes remain user-controlled.
|
|
207
201
|
|
|
208
202
|
### QA, Goal, Research, DB, Wiki, GX
|
|
209
203
|
|
|
@@ -221,6 +215,8 @@ sks gx init homepage
|
|
|
221
215
|
sks gx render homepage --format html
|
|
222
216
|
sks validate-artifacts latest --json
|
|
223
217
|
sks perf run --json
|
|
218
|
+
sks perf workflow --json --intent "small CLI change" --changed src/cli/main.mjs,src/core/routes.mjs
|
|
219
|
+
sks proof-field scan --json --intent "small CLI change"
|
|
224
220
|
sks code-structure scan --json
|
|
225
221
|
```
|
|
226
222
|
|
|
@@ -262,7 +258,7 @@ Generated app files include:
|
|
|
262
258
|
|
|
263
259
|
Use `sks dollar-commands` to confirm that terminal discovery and Codex App prompt commands agree.
|
|
264
260
|
|
|
265
|
-
TriWiki is intentionally sparse: `sks wiki sweep` records demote, soft-forget, archive, delete, promote-to-skill, and promote-to-rule candidates instead of injecting every old claim into future prompts. `sks harness fixture` validates the broader Harness Growth Factory contract: deliberate forgetting fixtures, skill card metadata, experiment schema, tool-error taxonomy, permission profiles, MultiAgentV2 defaults, and
|
|
261
|
+
TriWiki is intentionally sparse: `sks wiki sweep` records demote, soft-forget, archive, delete, promote-to-skill, and promote-to-rule candidates instead of injecting every old claim into future prompts. `sks harness fixture` validates the broader Harness Growth Factory contract: deliberate forgetting fixtures, skill card metadata, experiment schema, tool-error taxonomy, permission profiles, MultiAgentV2 defaults, and Warp cockpit view coverage. `sks code-structure scan` flags handwritten files above 1000/2000/3000-line thresholds so new logic can be extracted before command files become harder to maintain.
|
|
266
262
|
|
|
267
263
|
## Prompt `$` Commands
|
|
268
264
|
|
|
@@ -280,7 +276,7 @@ Use these inside Codex App or another agent prompt. They are prompt commands, no
|
|
|
280
276
|
| `$Research` | You need frontier-style research with hypotheses and falsification. |
|
|
281
277
|
| `$AutoResearch` | You want iterative improve/test/keep-or-discard optimization. |
|
|
282
278
|
| `$DB` | You need database, Supabase, migration, SQL, or MCP safety checks. |
|
|
283
|
-
| `$MAD-SKS` | You explicitly authorize
|
|
279
|
+
| `$MAD-SKS` | You explicitly authorize scoped Supabase MCP DB cleanup/write permissions for the active invocation only, while keeping catastrophic wipe safeguards. |
|
|
284
280
|
| `$GX` | You need deterministic visual context cartridges. |
|
|
285
281
|
| `$Wiki` | You want TriWiki refresh, pack, prune, validate, or maintenance. |
|
|
286
282
|
| `$Help` | You want installed command and workflow explanation. |
|
|
@@ -301,7 +297,7 @@ sks selftest --mock
|
|
|
301
297
|
### Start A CLI Workspace
|
|
302
298
|
|
|
303
299
|
```sh
|
|
304
|
-
sks
|
|
300
|
+
sks warp check
|
|
305
301
|
sks
|
|
306
302
|
```
|
|
307
303
|
|
|
@@ -364,14 +360,14 @@ npm install -g .
|
|
|
364
360
|
|
|
365
361
|
If the global command is stale, reinstall globally from the repo or from npm.
|
|
366
362
|
|
|
367
|
-
###
|
|
363
|
+
### Warp is missing
|
|
368
364
|
|
|
369
365
|
```sh
|
|
370
|
-
sks deps install
|
|
371
|
-
sks
|
|
366
|
+
sks deps install warp
|
|
367
|
+
sks warp check
|
|
372
368
|
```
|
|
373
369
|
|
|
374
|
-
|
|
370
|
+
Install Warp from [warp.dev/download](https://www.warp.dev/download) or run `brew install --cask warp` on macOS, then re-run `sks warp check`.
|
|
375
371
|
|
|
376
372
|
### Codex App tools are missing
|
|
377
373
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sneakoscope",
|
|
3
3
|
"displayName": "ㅅㅋㅅ",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.87",
|
|
5
5
|
"description": "Sneakoscope Codex: database-safe Codex CLI/App harness with Team, Goal, AutoResearch, TriWiki, and Honest Mode.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"homepage": "https://github.com/mandarange/Sneakoscope-Codex#readme",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"harness",
|
|
58
58
|
"codex-cli",
|
|
59
59
|
"codex-app",
|
|
60
|
-
"
|
|
60
|
+
"warp",
|
|
61
61
|
"auto-review",
|
|
62
62
|
"browser-use",
|
|
63
63
|
"computer-use",
|