sneakoscope 0.6.51 → 0.6.52

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  ![](https://github.com/mandarange/Sneakoscope-Codex/raw/dev/docs/assets/sneakoscope-codex-logo.png)
4
4
 
5
- Codex CLI/App harness for `$` routes, Team/Ralph/QA/Research, Context7, Honest Mode, DB safety, and TriWiki.
5
+ Codex CLI/App harness for `$` routes, Team/Ralph/QA/Research, Context7, Honest Mode, DB safety, TriWiki, Codex App skills, and release readiness.
6
6
 
7
7
  Install: `npm i -g sneakoscope && sks bootstrap`
8
8
  Fallback: `npx -y -p sneakoscope sks bootstrap`
@@ -10,3 +10,108 @@ Project: `npm i -D sneakoscope && npx sks setup --install-scope project`
10
10
 
11
11
  Discover: `sks commands`, `sks dollar-commands`, `sks usage <topic>`
12
12
  Check: `sks deps check`, `sks doctor --fix`, `sks selftest --mock`
13
+
14
+ ## What It Adds
15
+
16
+ Sneakoscope (`sks`, displayed as `ㅅㅋㅅ`) wraps Codex with a repeatable control surface:
17
+
18
+ | Area | What it does |
19
+ | --- | --- |
20
+ | Codex App commands | Installs generated skills so `$Team`, `$DFix`, `$QA-LOOP`, `$Ralph`, `$DB`, `$Wiki`, `$Help`, and related routes are discoverable in prompt workflows. |
21
+ | CLI commands | Provides `sks commands`, `sks dollar-commands`, `sks usage <topic>`, bootstrap, setup, doctor, deps, selftest, wiki, team, QA, Ralph, DB, and GX commands. |
22
+ | Team orchestration | Routes substantial code work through ambiguity removal, scouts, TriWiki refresh, debate, consensus, implementation, review, integration, reflection, and Honest Mode. |
23
+ | Ralph | Seals a decision contract up front, then continues without more user questions by using the agreed decision ladder. |
24
+ | QA loop | Dogfoods UI/API behavior with safety boundaries, evidence capture, safe remediation, and focused rechecks. |
25
+ | TriWiki | Keeps `.sneakoscope/wiki/context-pack.json` as the context SSOT, with refresh, pack, prune, validate, and hydratable source-backed claims. |
26
+ | Context7 | Requires current external library/API/framework docs for routes whose correctness depends on live package or platform behavior. |
27
+ | DB safety | Treats SQL, migrations, Supabase, RLS, and destructive operations as high risk; defaults to inspection and guarded local/branch-safe migration work. |
28
+ | Honest Mode | Finishes work with a claim/evidence pass that separates verified facts, unsupported claims, blocked checks, and not-applicable items. |
29
+ | GX visual context | Generates deterministic visual context cartridges for structured visual review and drift checks. |
30
+ | Research loops | Supports Research and AutoResearch workflows with hypotheses, experiments, falsification, novelty ledgers, SEO/GEO, and evidence-backed conclusions. |
31
+ | Release hygiene | Checks versioning, changelog, package contents, tarball size, syntax, selftests, and dry-run packaging before publish. |
32
+
33
+ ## Prompt `$` Commands
34
+
35
+ Use these inside Codex App or another agent prompt. They are prompt commands, not terminal commands.
36
+
37
+ | Prompt | Purpose |
38
+ | --- | --- |
39
+ | `$Team` | Default route for code-changing work and substantial implementation. |
40
+ | `$From-Chat-IMG` | Team alias for chat screenshot plus original attachment intake. |
41
+ | `$DFix` | Tiny design/content fixes: labels, copy, colors, spacing, translation. |
42
+ | `$Answer` | Answer-only route when no implementation should start. |
43
+ | `$SKS` | Setup, status, usage, and Sneakoscope workflow help. |
44
+ | `$QA-LOOP` | UI/API dogfooding, safe fixes, and rechecks. |
45
+ | `$Ralph` | Clarify once, seal a decision contract, then execute. |
46
+ | `$Research` | Frontier-style research with hypotheses and falsification. |
47
+ | `$AutoResearch` | Iterative improve-test-keep/discard optimization loop. |
48
+ | `$DB` | Database and Supabase safety checks. |
49
+ | `$GX` | Deterministic visual context generation and validation. |
50
+ | `$Wiki` | TriWiki refresh, pack, prune, validate, and maintenance. |
51
+ | `$Help` | Installed command and workflow explanation. |
52
+
53
+ Run `sks dollar-commands` to verify the terminal and Codex App command surfaces agree.
54
+
55
+ ## Terminal Examples
56
+
57
+ ```sh
58
+ sks usage install
59
+ sks usage team
60
+ sks usage qa-loop
61
+ sks usage codex-app
62
+ sks setup --install-scope project
63
+ sks wiki refresh
64
+ sks wiki validate .sneakoscope/wiki/context-pack.json
65
+ sks versioning status
66
+ ```
67
+
68
+ Route examples:
69
+
70
+ ```sh
71
+ sks team "implement this" executor:3 reviewer:1
72
+ sks team watch <mission-id>
73
+ sks qa-loop prepare
74
+ sks qa-loop run
75
+ sks ralph prepare
76
+ sks ralph run
77
+ sks db scan
78
+ sks gx init
79
+ ```
80
+
81
+ ## Workflow Rules
82
+
83
+ For code work, Sneakoscope defaults to Team. The normal flow is: remove ambiguity that can change scope or safety, read/validate TriWiki, gather current source evidence, implement bounded changes, refresh/validate context after meaningful findings, run relevant checks, then finish with reflection and Honest Mode.
84
+
85
+ For tiny text/design edits use `$DFix`. For questions that should not change files use `$Answer`.
86
+
87
+ ## Codex App Surface
88
+
89
+ `sks bootstrap` and `sks setup` install `.codex/SNEAKOSCOPE.md`, generated `.agents/skills`, `.codex/hooks.json`, route instructions for `$` commands, and user-home skill state for first-install discoverability.
90
+
91
+ After install, check:
92
+
93
+ ```sh
94
+ sks dollar-commands
95
+ sks usage codex-app
96
+ ```
97
+
98
+ ## Release Checks
99
+
100
+ Before publish:
101
+
102
+ ```sh
103
+ npm run publish:dry
104
+ ```
105
+
106
+ This runs repo audit, changelog check, syntax packcheck, mock selftest, sizecheck, and `npm pack --dry-run`. A dry run proves the local package is packable; npm account ownership or OTP can still block the real registry upload.
107
+
108
+ ## Requirements
109
+
110
+ - Node.js `>=20.11`
111
+ - npm
112
+ - Codex CLI/App for app-facing workflows
113
+ - Context7 MCP for current-docs-gated routes
114
+
115
+ ## License
116
+
117
+ MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sneakoscope",
3
3
  "displayName": "ㅅㅋㅅ",
4
- "version": "0.6.51",
4
+ "version": "0.6.52",
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",
package/src/core/fsx.mjs CHANGED
@@ -5,7 +5,7 @@ import os from 'node:os';
5
5
  import crypto from 'node:crypto';
6
6
  import { spawn } from 'node:child_process';
7
7
 
8
- export const PACKAGE_VERSION = '0.6.51';
8
+ export const PACKAGE_VERSION = '0.6.52';
9
9
  export const DEFAULT_PROCESS_TAIL_BYTES = 256 * 1024;
10
10
  export const DEFAULT_PROCESS_TIMEOUT_MS = 30 * 60 * 1000;
11
11