sneakoscope 0.6.64 → 0.6.69

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 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, initialize the current project, then open the cmux runtime:
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 bootstrap
23
+ npx -y -p sneakoscope sks root
21
24
  ```
22
25
 
23
26
  For a repo-local install:
@@ -40,7 +43,7 @@ sks selftest --mock
40
43
 
41
44
  | Area | What it does |
42
45
  | --- | --- |
43
- | CLI runtime | `sks`, `sks cmux`, and `sks --mad --high` open Codex CLI in a cmux workspace. |
46
+ | CLI runtime | `sks`, `sks cmux`, and `sks --mad` open Codex CLI in a cmux workspace. |
44
47
  | Codex App commands | Installs generated skills so `$Team`, `$DFix`, `$QA-LOOP`, `$Ralph`, `$DB`, `$Wiki`, `$Help`, and related routes are visible in prompt workflows. |
45
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. |
46
49
  | QA loop | Dogfoods UI/API behavior with safety gates, Browser/Computer evidence, safe fixes, and rechecks. |
@@ -59,7 +62,7 @@ sks selftest --mock
59
62
  - cmux for the CLI-first runtime
60
63
  - Context7 MCP for current-docs-gated routes
61
64
 
62
- On macOS, `sks --mad --high` can install cmux through Homebrew when cmux is missing. You can also install it manually:
65
+ On macOS, `sks --mad` can install cmux through Homebrew when cmux is missing. You can also install it manually:
63
66
 
64
67
  ```sh
65
68
  brew tap manaflow-ai/cmux
@@ -70,8 +73,17 @@ If the CLI is not on `PATH`, SKS also checks the app bundle path:
70
73
 
71
74
  ```sh
72
75
  /Applications/cmux.app/Contents/Resources/bin/cmux
76
+ /Applications/cmux.app/Contents/MacOS/cmux
73
77
  ```
74
78
 
79
+ `sks --mad` is stricter than the normal runtime path:
80
+
81
+ - Checks npm for a newer `sneakoscope` before launch and asks whether to update when the terminal can answer y/n.
82
+ - Installs the latest Codex CLI with `npm i -g @openai/codex@latest` when it is missing and you approve or pass `--yes`.
83
+ - Installs or upgrades the latest cmux cask through Homebrew when cmux is missing or not launchable.
84
+ - Re-probes the real cmux binary after install instead of trusting Homebrew's success text alone.
85
+ - Wakes cmux and retries the socket probe; if the socket is broken, SKS attempts a cmux app restart during that explicit launch.
86
+
75
87
  ## Installation
76
88
 
77
89
  ### Global Install
@@ -80,10 +92,11 @@ Use this when you want `sks` available from any repo:
80
92
 
81
93
  ```sh
82
94
  npm i -g sneakoscope
95
+ sks root
83
96
  sks bootstrap
84
97
  ```
85
98
 
86
- `sks bootstrap` initializes the current project, installs Codex App skills/hooks/config, checks Context7/Codex App/cmux readiness, and prints a ready status.
99
+ `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.
87
100
 
88
101
  ### One-Shot Install
89
102
 
@@ -154,24 +167,34 @@ sks cmux status --once
154
167
 
155
168
  `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.
156
169
 
157
- ### MAD High cmux Workspace
170
+ ### MAD cmux Workspace
158
171
 
159
172
  ```sh
160
- sks --mad --high
173
+ sks --mad
174
+ sks --mad --yes
175
+ ```
176
+
177
+ 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
+
179
+ Before launching, SKS checks whether a newer `sneakoscope` exists on npm. In an interactive terminal it prompts:
180
+
181
+ ```text
182
+ SKS 0.x.y -> 0.x.z update before MAD launch? [Y/n]
161
183
  ```
162
184
 
163
- This creates/uses the `sks-mad-high` Codex profile for a one-shot full-access, high-reasoning cmux workspace. It is scoped to that explicit command and does not change normal SKS/DB safety defaults.
185
+ Answer `y` to install `sneakoscope@latest`, then rerun `sks --mad`. Answer `n` to continue with the current version. Use `--yes` to approve missing dependency installs automatically.
164
186
 
165
187
  ### Team Missions
166
188
 
167
189
  ```sh
168
190
  sks team "implement this feature" executor:3 reviewer:1
169
191
  sks team watch latest
192
+ sks team lane latest --agent analysis_scout_1 --follow
170
193
  sks team status latest
171
194
  sks team log latest
172
195
  ```
173
196
 
174
- Team mode prepares the mission, records live events, compiles runtime tasks and worker inboxes, and opens cmux live lanes when cmux is available.
197
+ 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.
175
198
 
176
199
  ### QA, Ralph, Research, DB, Wiki, GX
177
200
 
@@ -191,7 +214,7 @@ sks gx render homepage --format html
191
214
 
192
215
  Sneakoscope has two surfaces:
193
216
 
194
- - Terminal commands such as `sks deps check`, `sks team "task"`, and `sks --mad --high`
217
+ - Terminal commands such as `sks deps check`, `sks team "task"`, and `sks --mad`
195
218
  - Codex App prompt commands such as `$Team`, `$DFix`, `$QA-LOOP`, and `$Wiki`
196
219
 
197
220
  After installing, run:
@@ -269,7 +292,7 @@ sks
269
292
  For the high-reasoning full-access profile:
270
293
 
271
294
  ```sh
272
- sks --mad --high
295
+ sks --mad
273
296
  ```
274
297
 
275
298
  ### Use Codex App `$Team`
@@ -331,7 +354,7 @@ sks deps install cmux
331
354
  sks cmux check
332
355
  ```
333
356
 
334
- `sks --mad --high` also attempts Homebrew installation automatically on macOS when cmux is missing.
357
+ `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, and retries the socket before reporting a remaining cmux app/socket issue.
335
358
 
336
359
  ### Codex App tools are missing
337
360
 
@@ -356,6 +379,7 @@ OMX/DCodex conflicts intentionally block setup/doctor until the user approves cl
356
379
  ```sh
357
380
  sks pipeline status --json
358
381
  sks team watch latest
382
+ sks team lane latest --agent parent_orchestrator --follow
359
383
  sks wiki validate .sneakoscope/wiki/context-pack.json
360
384
  ```
361
385
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sneakoscope",
3
3
  "displayName": "ㅅㅋㅅ",
4
- "version": "0.6.64",
4
+ "version": "0.6.69",
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",