sneakoscope 0.6.72 → 0.6.77
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 +22 -10
- package/package.json +6 -3
- package/src/cli/main.mjs +157 -1576
- package/src/cli/maintenance-commands.mjs +1623 -0
- package/src/core/artifact-schemas.mjs +244 -0
- package/src/core/cmux-ui.mjs +352 -21
- package/src/core/code-structure.mjs +102 -0
- package/src/core/db-safety.mjs +5 -4
- package/src/core/decision-contract.mjs +3 -3
- package/src/core/dogfood-loop.mjs +40 -0
- package/src/core/effort-orchestrator.mjs +99 -0
- package/src/core/evaluation.mjs +2 -2
- package/src/core/from-chat-img-forensics.mjs +108 -0
- package/src/core/fsx.mjs +1 -1
- package/src/core/goal-workflow.mjs +87 -0
- package/src/core/hooks-runtime.mjs +21 -6
- package/src/core/init.mjs +18 -11
- package/src/core/memory-governor.mjs +156 -0
- package/src/core/mission.mjs +2 -2
- package/src/core/mistake-memory.mjs +82 -0
- package/src/core/no-question-guard.mjs +3 -3
- package/src/core/perf-bench.mjs +60 -0
- package/src/core/pipeline.mjs +54 -53
- package/src/core/prompt-context-builder.mjs +38 -0
- package/src/core/qa-loop.mjs +1 -1
- package/src/core/questions.mjs +8 -8
- package/src/core/retention.mjs +4 -4
- package/src/core/routes.mjs +31 -19
- package/src/core/skill-forge.mjs +114 -0
- package/src/core/team-dashboard-renderer.mjs +98 -0
- package/src/core/team-live.mjs +37 -0
- package/src/core/work-order-ledger.mjs +57 -0
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, cmux-native CLI workspaces, Team/
|
|
5
|
+
Sneakoscope Codex (`sks`, displayed as `ㅅㅋㅅ`) is a Codex CLI/App harness for repeatable agent workflows. It adds terminal commands, Codex App `$` prompt commands, cmux-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
|
|
|
@@ -44,11 +44,11 @@ sks selftest --mock
|
|
|
44
44
|
| Area | What it does |
|
|
45
45
|
| --- | --- |
|
|
46
46
|
| CLI runtime | `sks`, `sks cmux`, and `sks --mad` open Codex CLI in a cmux workspace. |
|
|
47
|
-
| Codex App commands | Installs generated skills so `$Team`, `$From-Chat-IMG`, `$DFix`, `$QA-LOOP`, `$
|
|
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. |
|
|
50
50
|
| QA loop | Dogfoods UI/API behavior with safety gates, Browser/Computer evidence, safe fixes, and rechecks. |
|
|
51
|
-
|
|
|
51
|
+
| Goal | Bridges SKS pipeline state to Codex native persisted `/goal` create, pause, resume, and clear workflows. |
|
|
52
52
|
| TriWiki voxels | Maintains `.sneakoscope/wiki/context-pack.json` as the context SSOT with coordinate anchors, voxel metadata, `attention.use_first`, and `attention.hydrate_first`. |
|
|
53
53
|
| Context7 | Requires current docs for external packages, APIs, MCPs, SDKs, and framework/runtime behavior when correctness depends on current guidance. |
|
|
54
54
|
| DB safety | Treats SQL, migrations, Supabase, RLS, and destructive operations as high risk. |
|
|
@@ -167,7 +167,7 @@ sks cmux check
|
|
|
167
167
|
sks cmux status --once
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
-
`sks` opens a cmux workspace for Codex CLI when running in an interactive terminal. `sks cmux check` is diagnostic and prints readiness without starting a workspace.
|
|
170
|
+
`sks` opens a cmux workspace for Codex CLI when running in an interactive terminal. `sks cmux check` is diagnostic and prints readiness without starting a workspace. It checks both the cmux executable and the workspace socket so a stale app/socket is reported before launch.
|
|
171
171
|
|
|
172
172
|
### MAD cmux Workspace
|
|
173
173
|
|
|
@@ -195,23 +195,32 @@ sks team "implement this feature" executor:3 reviewer:1
|
|
|
195
195
|
sks team watch latest
|
|
196
196
|
sks team lane latest --agent analysis_scout_1 --follow
|
|
197
197
|
sks team status latest
|
|
198
|
+
sks team dashboard latest
|
|
198
199
|
sks team log latest
|
|
199
200
|
```
|
|
200
201
|
|
|
201
|
-
Team mode prepares the mission, records live events, compiles runtime tasks and worker inboxes, and opens cmux live lanes when cmux is available. `sks team
|
|
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 cmux Team workspace with split live lanes when cmux is available. `sks team dashboard` renders the cockpit panes for mission overview, agent lanes, task DAG, QA/dogfood, artifacts/evidence, and performance.
|
|
202
203
|
|
|
203
|
-
|
|
204
|
+
The cmux Team workspace 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 colors and labels lanes by role, 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`.
|
|
205
|
+
|
|
206
|
+
When the Team route reaches `session_cleanup`, SKS collapses the cmux workspace back to the overview pane and marks the workspace complete. You can also run `sks team cleanup-cmux <mission-id|latest>` manually, or `sks team cleanup-cmux latest --close-workspace` when you want the whole Team workspace closed.
|
|
207
|
+
|
|
208
|
+
### QA, Goal, Research, DB, Wiki, GX
|
|
204
209
|
|
|
205
210
|
```sh
|
|
206
211
|
sks qa-loop prepare "http://localhost:3000"
|
|
207
212
|
sks qa-loop run latest --max-cycles 2
|
|
208
|
-
sks
|
|
213
|
+
sks goal create "persist this migration workflow"
|
|
209
214
|
sks research prepare "evaluate this approach"
|
|
210
215
|
sks db scan --json
|
|
211
216
|
sks wiki refresh
|
|
217
|
+
sks wiki sweep latest --json
|
|
212
218
|
sks wiki validate .sneakoscope/wiki/context-pack.json
|
|
213
219
|
sks gx init homepage
|
|
214
220
|
sks gx render homepage --format html
|
|
221
|
+
sks validate-artifacts latest --json
|
|
222
|
+
sks perf run --json
|
|
223
|
+
sks code-structure scan --json
|
|
215
224
|
```
|
|
216
225
|
|
|
217
226
|
## Codex App Usage
|
|
@@ -235,7 +244,7 @@ Then open Codex App and use prompt commands directly in the chat. Examples:
|
|
|
235
244
|
$Team implement the checkout fix and verify it
|
|
236
245
|
$DFix change this label and spacing only
|
|
237
246
|
$QA-LOOP dogfood localhost:3000 and fix safe issues
|
|
238
|
-
$
|
|
247
|
+
$Goal persist this migration workflow with native /goal continuation
|
|
239
248
|
$Wiki refresh and validate the context pack
|
|
240
249
|
$DB inspect this migration for destructive risk
|
|
241
250
|
```
|
|
@@ -252,6 +261,8 @@ Generated app files include:
|
|
|
252
261
|
|
|
253
262
|
Use `sks dollar-commands` to confirm that terminal discovery and Codex App prompt commands agree.
|
|
254
263
|
|
|
264
|
+
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 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.
|
|
265
|
+
|
|
255
266
|
## Prompt `$` Commands
|
|
256
267
|
|
|
257
268
|
Use these inside Codex App or another agent prompt. They are prompt commands, not terminal commands.
|
|
@@ -264,7 +275,7 @@ Use these inside Codex App or another agent prompt. They are prompt commands, no
|
|
|
264
275
|
| `$Answer` | You want an answer only and no implementation should start. |
|
|
265
276
|
| `$SKS` | You need setup, status, usage, or workflow help. |
|
|
266
277
|
| `$QA-LOOP` | You want UI/API dogfooding, safe fixes, and rechecks. |
|
|
267
|
-
| `$
|
|
278
|
+
| `$Goal` | You want Codex native persisted `/goal` continuation for a workflow. |
|
|
268
279
|
| `$Research` | You need frontier-style research with hypotheses and falsification. |
|
|
269
280
|
| `$AutoResearch` | You want iterative improve/test/keep-or-discard optimization. |
|
|
270
281
|
| `$DB` | You need database, Supabase, migration, SQL, or MCP safety checks. |
|
|
@@ -306,6 +317,7 @@ $Team implement the requested change, update docs if needed, and verify with the
|
|
|
306
317
|
```
|
|
307
318
|
|
|
308
319
|
Team mode records a mission under `.sneakoscope/missions/`, keeps a live transcript, uses TriWiki context, and finishes with evidence and Honest Mode.
|
|
320
|
+
Every new Team mission now also writes `work-order-ledger.json`, `effort-decision.json`, and `team-dashboard-state.json`. Run `sks validate-artifacts latest` to check the schema gates before treating mission artifacts as completion evidence.
|
|
309
321
|
|
|
310
322
|
### Dogfood A UI Or API
|
|
311
323
|
|
|
@@ -358,7 +370,7 @@ sks deps install cmux
|
|
|
358
370
|
sks cmux check
|
|
359
371
|
```
|
|
360
372
|
|
|
361
|
-
`sks --mad` also attempts Homebrew installation or upgrade automatically on macOS when cmux is missing. If Homebrew reports the cask installed but the CLI still is not reachable, SKS checks the cmux app bundle paths directly, wakes the app,
|
|
373
|
+
`sks --mad` also attempts Homebrew installation or upgrade automatically on macOS when cmux is missing. If Homebrew reports the cask installed but the CLI still is not reachable, SKS checks the cmux app bundle paths directly, wakes the app, retries the socket, and reports `unhealthy` rather than `missing` when the executable exists but the app/socket is still broken.
|
|
362
374
|
|
|
363
375
|
### Codex App tools are missing
|
|
364
376
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sneakoscope",
|
|
3
3
|
"displayName": "ㅅㅋㅅ",
|
|
4
|
-
"version": "0.6.
|
|
5
|
-
"description": "Sneakoscope Codex: database-safe Codex CLI/App harness with Team,
|
|
4
|
+
"version": "0.6.77",
|
|
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",
|
|
8
8
|
"repository": {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"subagents",
|
|
67
67
|
"agent-orchestration",
|
|
68
68
|
"prompt-router",
|
|
69
|
-
"
|
|
69
|
+
"goal",
|
|
70
70
|
"research",
|
|
71
71
|
"autoresearch",
|
|
72
72
|
"honest-mode",
|
|
@@ -78,6 +78,9 @@
|
|
|
78
78
|
"database-safe",
|
|
79
79
|
"supabase-mcp",
|
|
80
80
|
"bounded-memory",
|
|
81
|
+
"intentional-forgetting",
|
|
82
|
+
"skill-forge",
|
|
83
|
+
"code-structure",
|
|
81
84
|
"storage-safe",
|
|
82
85
|
"rust-optional",
|
|
83
86
|
"supabase",
|