sneakoscope 0.6.66 → 0.6.70
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 +14 -5
- package/package.json +1 -1
- package/src/cli/main.mjs +140 -50
- package/src/core/auto-review.mjs +3 -2
- package/src/core/cmux-ui.mjs +129 -4
- package/src/core/decision-contract.mjs +3 -0
- package/src/core/fsx.mjs +18 -2
- package/src/core/hooks-runtime.mjs +1 -1
- package/src/core/init.mjs +8 -6
- package/src/core/pipeline.mjs +4 -3
- package/src/core/qa-loop.mjs +1 -1
- package/src/core/questions.mjs +3 -2
- package/src/core/routes.mjs +10 -3
- package/src/core/team-dag.mjs +1 -0
- package/src/core/team-live.mjs +72 -0
package/README.md
CHANGED
|
@@ -6,18 +6,21 @@ Sneakoscope Codex (`sks`, displayed as `ㅅㅋㅅ`) is a Codex CLI/App harness f
|
|
|
6
6
|
|
|
7
7
|
## Quick Start
|
|
8
8
|
|
|
9
|
-
Install globally,
|
|
9
|
+
Install globally, then run `sks` from either a project or any global shell location:
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
12
|
npm i -g sneakoscope
|
|
13
|
+
sks root
|
|
13
14
|
sks bootstrap
|
|
14
15
|
sks
|
|
15
16
|
```
|
|
16
17
|
|
|
18
|
+
`sks root` tells you whether SKS found a project root or is using the per-user global runtime root. Outside a repo/project marker, runtime commands such as `sks`, `sks deps check`, `sks pipeline status`, and `sks team ...` use that global root instead of writing `.sneakoscope` into the random current directory.
|
|
19
|
+
|
|
17
20
|
If you only want a one-shot run without keeping `sks` installed globally:
|
|
18
21
|
|
|
19
22
|
```sh
|
|
20
|
-
npx -y -p sneakoscope sks
|
|
23
|
+
npx -y -p sneakoscope sks root
|
|
21
24
|
```
|
|
22
25
|
|
|
23
26
|
For a repo-local install:
|
|
@@ -80,6 +83,7 @@ If the CLI is not on `PATH`, SKS also checks the app bundle path:
|
|
|
80
83
|
- Installs or upgrades the latest cmux cask through Homebrew when cmux is missing or not launchable.
|
|
81
84
|
- Re-probes the real cmux binary after install instead of trusting Homebrew's success text alone.
|
|
82
85
|
- Wakes cmux and retries the socket probe; if the socket is broken, SKS attempts a cmux app restart during that explicit launch.
|
|
86
|
+
- 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.
|
|
83
87
|
|
|
84
88
|
## Installation
|
|
85
89
|
|
|
@@ -89,10 +93,11 @@ Use this when you want `sks` available from any repo:
|
|
|
89
93
|
|
|
90
94
|
```sh
|
|
91
95
|
npm i -g sneakoscope
|
|
96
|
+
sks root
|
|
92
97
|
sks bootstrap
|
|
93
98
|
```
|
|
94
99
|
|
|
95
|
-
`sks bootstrap` initializes the current project
|
|
100
|
+
`sks` commands work even when no project root is present. Project-aware commands use the nearest `.sneakoscope`, `.dcodex`, or `.git` root; if none exists, SKS uses a per-user global runtime root. `sks bootstrap` still initializes the current project when you want project-local hooks, skills, and TriWiki state.
|
|
96
101
|
|
|
97
102
|
### One-Shot Install
|
|
98
103
|
|
|
@@ -170,7 +175,9 @@ sks --mad
|
|
|
170
175
|
sks --mad --yes
|
|
171
176
|
```
|
|
172
177
|
|
|
173
|
-
This creates/uses the `sks-mad-high` Codex profile for a one-shot full-access, high-reasoning cmux workspace 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.
|
|
178
|
+
This creates/uses the `sks-mad-high` Codex profile for a one-shot full-access, high-reasoning cmux workspace 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 select the existing named SKS MAD workspace and clean duplicate SKS-named MAD workspaces instead of creating an endless workspace list.
|
|
179
|
+
|
|
180
|
+
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.
|
|
174
181
|
|
|
175
182
|
Before launching, SKS checks whether a newer `sneakoscope` exists on npm. In an interactive terminal it prompts:
|
|
176
183
|
|
|
@@ -185,11 +192,12 @@ Answer `y` to install `sneakoscope@latest`, then rerun `sks --mad`. Answer `n` t
|
|
|
185
192
|
```sh
|
|
186
193
|
sks team "implement this feature" executor:3 reviewer:1
|
|
187
194
|
sks team watch latest
|
|
195
|
+
sks team lane latest --agent analysis_scout_1 --follow
|
|
188
196
|
sks team status latest
|
|
189
197
|
sks team log latest
|
|
190
198
|
```
|
|
191
199
|
|
|
192
|
-
Team mode prepares the mission, records live events, compiles runtime tasks and worker inboxes, and opens cmux live lanes when cmux is available.
|
|
200
|
+
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 lane` renders one agent's status, assigned runtime tasks, recent events, and a fallback global tail for multi-pane monitoring.
|
|
193
201
|
|
|
194
202
|
### QA, Ralph, Research, DB, Wiki, GX
|
|
195
203
|
|
|
@@ -374,6 +382,7 @@ OMX/DCodex conflicts intentionally block setup/doctor until the user approves cl
|
|
|
374
382
|
```sh
|
|
375
383
|
sks pipeline status --json
|
|
376
384
|
sks team watch latest
|
|
385
|
+
sks team lane latest --agent parent_orchestrator --follow
|
|
377
386
|
sks wiki validate .sneakoscope/wiki/context-pack.json
|
|
378
387
|
```
|
|
379
388
|
|
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.70",
|
|
5
5
|
"description": "Sneakoscope Codex: database-safe Codex CLI/App harness with Team, Ralph, AutoResearch, TriWiki, and Honest Mode.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"homepage": "https://github.com/mandarange/Sneakoscope-Codex#readme",
|