mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-30 20:04:15 +01:00
Remove the /cso security audit skill, since a plain audit request finds more (#4833)
/cso is gone: the skill, its native helper programs, scanner images, CI jobs, docs and the rest of its tests. Upgrading removes gstack's own `/cso` entries and old helper files, and leaves a skill of your own named `cso` alone. Why: on 52 real security advisories, plainly asking the agent to audit the code caught more than /cso (13 vs 7 on particle-1; 12 vs 8 of 51 on Claude Opus 5.5, within the margin of error). To do: nothing. Optional cleanup of old scanner images and reports is in the changelog entry. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/outside-voice#1 reader=outside-voice Review-Finding: p1/outside-voice#2 reader=outside-voice Review-Finding: p1/adversarial-native#1 reader=adversarial-native Review-Finding: p1/adversarial-native#2 reader=adversarial-native
This commit is contained in:
1 parent
fd7e8c7b36
commit
2fae1d78d6
207 files changed
+387
-32001
No files matched your search
@@ -74,7 +74,7 @@ Inventory of every setup side effect, by phase (line numbers are approximate):
|
||||
|
||||
| Phase | Writes | Scope |
|
||||
|---|---|---|
|
||||
| Build | `browse/dist`, `design/dist`, `make-pdf/dist`, `bin/gstack-cso-*` in the source checkout | source |
|
||||
| Build | `browse/dist`, `design/dist`, `make-pdf/dist` in the source checkout | source |
|
||||
| Hosts record | `.gstack-installed-hosts` in the source checkout: every host setup installed from it, additive (#1694) | source |
|
||||
| Generation | renders for the recorded hosts only (`.agents/`, `.kiro/`, `.factory/`, `.opencode/`, `.cursor/`, `.copilot/`, `.agy/`, `.gemini-cli/`) in the source checkout; `gstack-patch-names` rewrites Claude `name:` fields in place | source |
|
||||
| Render prune | renders of hosts the record does not name: links into the checkout removed, generated files moved to `$GSTACK_STATE_ROOT/backups/host-renders/<ts>-<id>/`, other files kept | source / state root |
|
||||
|
||||
@@ -125,7 +125,7 @@ determined leaker (a CHANGELOG line that does would fail a hostile screenshotter
|
||||
is the opt-in git hook.
|
||||
- **Skill docs are generated** from `scripts/resolvers/redact-doc.ts`
|
||||
(`{{REDACT_INVOCATION_BLOCK:<sink>}}`) so /spec,
|
||||
/cso, /gstack-ship, /document-release, /document-generate never drift from the engine.
|
||||
/gstack-ship, /document-release, /document-generate never drift from the engine.
|
||||
- **Scan-at-sink:** always scan the EXACT bytes that will be sent — write to a
|
||||
temp file, scan that file, pass the SAME file to `gh`/`git`. Never scan a string
|
||||
then re-render (that reopens a scan-vs-send gap).
|
||||
|
||||
+2
-2
@@ -44,7 +44,7 @@ OpenClaw decides at spawn time which tier of gstack support to use:
|
||||
|
||||
- Can it be done in <10 lines of code? -> **Simple**
|
||||
- Does it touch multiple files but the approach is obvious? -> **Medium**
|
||||
- Does the user name a specific skill (/cso, /review, /qa)? -> **Heavy**
|
||||
- Does the user name a specific skill (/review, /qa)? -> **Heavy**
|
||||
- Is it a feature, project, or objective (not a task)? -> **Full**
|
||||
- Does the user want to PLAN something for Claude Code without implementing yet? -> **Plan**
|
||||
|
||||
@@ -166,7 +166,7 @@ repo's `.claude/settings.json` env block, direnv, a CI wrapper) could set
|
||||
its confirmation gates to auto-choose. When the env override drives the
|
||||
classification, the preamble emits a loud `SPAWNED_OVERRIDE: env` status line
|
||||
so the transcript shows WHY the session is spawned — audit
|
||||
`.claude/settings.json` env blocks in untrusted repos (/cso covers this).
|
||||
`.claude/settings.json` env blocks in untrusted repos.
|
||||
|
||||
## Installation
|
||||
|
||||
|
||||
@@ -78,7 +78,6 @@ gstack/
|
||||
├── bin/ # CLI utilities (gstack-render.ts = render a local HTML file through Aside or the engine, gstack-design-detect.ts = probe/scan through a user-installed impeccable engine; gstack-design-md.ts = open DESIGN.md check/convert/tokens/mark; gstack-design-lint = the free deterministic design lint over HTML/CSS/components, --render measures in the browser, --scope app measures one app section's spacing (docs/design-lint.md); gstack-design-build = the /design-review --build receipt (preflight, admit, plan, verify-start, receipt, check); gstack-repo-mode, gstack-slug, gstack-config, gstack-wtree, gstack-evidence, gstack-issue-guard, gstack-relink, gstack-memorable, etc.)
|
||||
├── document-release/ # /document-release skill (every-ship pre-verification audit; standalone doc updates + Diataxis coverage map)
|
||||
├── document-generate/ # /document-generate skill (Diataxis doc generator: tutorial/how-to/reference/explanation)
|
||||
├── cso/ # /cso skill (OWASP Top 10 + STRIDE security audit)
|
||||
├── design-consultation/ # /design-consultation skill (design system from scratch)
|
||||
├── design-shotgun/ # /design-shotgun skill (visual design exploration)
|
||||
├── design-motion/ # /design-motion skill (showcase loops: deterministic capture, MP4 and GIF exports)
|
||||
@@ -101,7 +100,7 @@ gstack/
|
||||
├── docs/designs/ # Design documents (incl. IMPECCABLE_INTEROP.md = the design detector / catalog / open DESIGN.md record, and fork-port-residual-2026-09/ evaluation evidence)
|
||||
├── setup-deploy/ # /setup-deploy skill (one-time deploy config)
|
||||
├── .github/ # CI workflows + shared composite actions (.github/actions/) + Docker image (claude CLI pinned)
|
||||
│ ├── workflows/ # evals.yml (E2E on Ubicloud), quality-gate.yml (secret scan, CHANGELOG prose lint), dependency-review.yml, osv-scanner.yml, skill-docs.yml, actionlint.yml, plus free-tests, Windows, periodic and marathon evals, CSO release, platform qualification and smaller gates
|
||||
│ ├── workflows/ # evals.yml (E2E on Ubicloud), quality-gate.yml (secret scan, CHANGELOG prose lint), dependency-review.yml, osv-scanner.yml, skill-docs.yml, actionlint.yml, plus free-tests, Windows, periodic and marathon evals, platform qualification and smaller gates
|
||||
│ └── docker/ # Dockerfile.ci (pre-baked toolchain + Playwright/Chromium)
|
||||
├── contrib/ # Contributor-only tools (never installed for users)
|
||||
│ └── add-host/ # /gstack-contrib-add-host skill
|
||||
|
||||
@@ -1030,7 +1030,7 @@ checkout to it: tracked files, untracked files that are not ignored, and
|
||||
`scripts/ubicloud/setup-free-suite.sh`, which mirrors the `free-suite` CI job
|
||||
(same Bun pin, Playwright Chromium with its setuid sandbox helper, Xvfb,
|
||||
poppler, emoji fonts, zsh for the bash+zsh portability arms (#2669), generated
|
||||
host outputs, gate binaries, and the CSO helper), and runs `xvfb-run -a bun run test:free` with `GSTACK_EXPECT_BINARIES=1`
|
||||
host outputs and gate binaries), and runs `xvfb-run -a bun run test:free` with `GSTACK_EXPECT_BINARIES=1`
|
||||
and `GSTACK_FREE_RETRY_FLAKY=1`. Shard logs are copied to
|
||||
`.context/ubicloud/<timestamp>/`, and the VM is destroyed on every exit path.
|
||||
The exit status is the suite's. `--diagnostic` instead runs /gstack-ship's free-shard
|
||||
@@ -1039,7 +1039,7 @@ with `GSTACK_FREE_RETRY_FLAKY=0`.
|
||||
|
||||
A stock Ubuntu 24.04 VM differs from a GitHub-hosted runner in three ways that
|
||||
the scripts correct: the login umask is `002` (group-writable directories fail
|
||||
the CSO private-state checks), AppArmor blocks the unprivileged user
|
||||
the permission checks in the code under test), AppArmor blocks the unprivileged user
|
||||
namespaces Chromium's sandbox needs, and `python3-venv` is absent (required by
|
||||
the Python runner tests).
|
||||
|
||||
@@ -1769,7 +1769,7 @@ only, <workflow>)":
|
||||
| `free-tests.yml` | `free-suite`, `macos-named-regressions` |
|
||||
| `windows-smoke.yml` | `windows-smoke` |
|
||||
| `windows-scoped-tests.yml` | `windows-scoped-shard` |
|
||||
| `windows-setup-e2e.yml` | `windows-setup`, `windows-setup-recovery`, `windows-setup-cso`, `held-install-journey`, `held-install-trial`, `held-install-later-release` |
|
||||
| `windows-setup-e2e.yml` | `windows-setup`, `windows-setup-recovery`, `held-install-journey`, `held-install-trial`, `held-install-later-release` |
|
||||
| `quality-gate.yml` | `quality` |
|
||||
| `evals.yml` | `build-image`, `eval-slices` |
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# E2E detector inventory: phrase checks and structured sources
|
||||
|
||||
This inventory lists every pass/fail decision in the gate and periodic E2E cases (`E2E_TIERS` in test/helpers/touchfiles-data.ts, plus the three standalone periodic AUQ files) that rests only on phrases or regexes in model free text, at HEAD `cbcccf9`. It has 153 phrase-check rows: 13 are already structured-first (a), 38 are convert candidates (b), 79 need a phrase witness because the contract is user-visible (c), and 23 have no structured source (d); 13 more rows are LLM judges. Shared detectors (S1-S10, F1-F3, A1) are counted once, even though up to nine cases use each. Of the five B1 cases, only auto-decide-preserved has a structured record that can decide its outcome; the other four already read their records first or test text the user sees, so B1 replay corpora protect their phrase checks.
|
||||
This inventory lists every pass/fail decision in the gate and periodic E2E cases (`E2E_TIERS` in test/helpers/touchfiles-data.ts, plus the three standalone periodic AUQ files) that rests only on phrases or regexes in model free text, at HEAD `cbcccf9`. It has 149 phrase-check rows: 13 are already structured-first (a), 38 are convert candidates (b), 78 need a phrase witness because the contract is user-visible (c), and 20 have no structured source (d), after the four rows for the removed security audit skill were dropped; 13 more rows are LLM judges. Shared detectors (S1-S10, F1-F3, A1) are counted once, even though up to nine cases use each. Of the five B1 cases, only auto-decide-preserved has a structured record that can decide its outcome; the other four already read their records first or test text the user sees, so B1 replay corpora protect their phrase checks.
|
||||
|
||||
Dispositions:
|
||||
|
||||
@@ -133,7 +133,7 @@ The plan-ceo-review-plan-mode (:89, :108), plan-devex-review-plan-mode (:181-222
|
||||
| context-restore-loads-latest | test/skill-e2e-session-intelligence.test.ts:379-393, :401-402 | `RESTORED: <newer>` or newer-body phrase; Read of the newer file as fallback | Read tool_use | partly | (c) |
|
||||
| learnings-show | test/skill-e2e-learnings.test.ts:117-119, :131 | output mentions ≥2 of n-plus-one, stale/cache, rubocop | `gstack-learnings-search` Bash result (fixture copies it, test/skill-e2e-learnings.test.ts:43) | yes (/learn shows them) | (c) |
|
||||
|
||||
### test/skill-e2e-qa-functional*.test.ts, test/skill-e2e-skillify.test.ts, test/skill-e2e-deploy.test.ts, test/skill-e2e-cso.test.ts
|
||||
### test/skill-e2e-qa-functional*.test.ts, test/skill-e2e-skillify.test.ts, test/skill-e2e-deploy.test.ts
|
||||
|
||||
| Case | Check (file:line) | Matches | Structured source | User-visible | Disposition |
|
||||
|---|---|---|---|---|---|
|
||||
@@ -147,8 +147,6 @@ The plan-ceo-review-plan-mode (:89, :108), plan-devex-review-plan-mode (:181-222
|
||||
| land-and-deploy-first-run | test/skill-e2e-deploy.test.ts:150-151 | report contains fly or first-run-app | Bash result `PLATFORM:fly` (this case runs Step 1.5) | no | (b) |
|
||||
| land-and-deploy-review-gate | test/skill-e2e-deploy.test.ts:221-222 | readiness report ~ review and not run/no reviews/missing | none (gstack-review-read not installed) | yes | (c) |
|
||||
| setup-deploy-workflow | test/skill-e2e-deploy.test.ts:408-410 | CLAUDE.md contains fly, my-cool-app, Deploy Configuration | the `## Deploy Configuration` key/value block (setup-deploy/SKILL.md.tmpl:183-190) | no (machine-read) | (b) |
|
||||
| cso-diff-mode | test/skill-e2e-cso.test.ts:181 | webhook.js finding prose ~ signature/authenticat/forg | report.json has no class/CWE field (lib/cso/contracts.ts:65-80) | no | (d) |
|
||||
| cso-diff-mode (and the periodic CSO cases) | test/skill-e2e-cso.test.ts:61, :86, :133-134 | CANARY token absent from output, transcript and reports | n/a (leak canary) | yes | (c) |
|
||||
|
||||
### test/skill-e2e-third-party-actions.test.ts
|
||||
|
||||
@@ -249,7 +247,7 @@ The plan-design-review-plan-mode-smoke verdicts are S1-S10, and the plan-design-
|
||||
| design-html-slop-gate | test/skill-e2e-design.test.ts:1318-1319 | gate-output.md has ai-color-palette and accepted | scan call count only | yes | (c) |
|
||||
| design-consultation-core, plan-decision-classification, plan-devex-peer-comparison-classification, diagram-authoring-quality | design :168; classification :150-153, :40-43; diagram :159-183 | — | — | — | judge |
|
||||
|
||||
### Context, scrape, CSO, health, Aside
|
||||
### Context, scrape, health, Aside
|
||||
|
||||
| Case | Check (file:line) | Matches | Structured source | User-visible | Disposition |
|
||||
|---|---|---|---|---|---|
|
||||
@@ -264,8 +262,6 @@ The plan-design-review-plan-mode-smoke verdicts are S1-S10, and the plan-design-
|
||||
| context-save-list-current-branch | test/skill-e2e-context-skills.test.ts:525-526, :537-538 | final lacks other-branch entries | none (model-rendered list) | yes | (c) |
|
||||
| context-save-list-all-branches | test/skill-e2e-context-skills.test.ts:572-576, :586 | surface has all 3 timestamps | Bash listing result | partly | (b) |
|
||||
| scrape-prototype-path | test/skill-e2e-skillify.test.ts:283, :290-294, :304-305 | surface ~ /skillify/ and `"items": [` (both vacuous: in scrape/SKILL.md.tmpl:32, :173) | none | yes | (c) |
|
||||
| cso-full-audit | test/skill-e2e-cso.test.ts:139-140 | server.js finding prose ~ tenant/owner/authoriz | no class field in report.json | no | (d) |
|
||||
| cso-infra-scope | test/skill-e2e-cso.test.ts:227-229 | finding prose ~ comment body, run/shell, GITHUB_TOKEN | same | no | (d) |
|
||||
| health-reporting | test/helpers/health-eval-fixture.ts:132-156 | rendered dashboard: composite 5.6, partial coverage, 0/10 typecheck, "60 errors", unavailable categories, no trend verdict, N/A composite | health-history.jsonl rows (already checked :158-176) | yes | (c) |
|
||||
| aside-browse-basic, aside-qa-quick, aside-scrape-json | test/skill-e2e-aside.test.ts:179, :219, :234-239 | title in final message; `health score` in report; final JSON contains page1 | none verified | yes | (c) |
|
||||
| aside-canary-quick | test/skill-e2e-aside.test.ts:256 | canary report ~ CANARY REPORT/Status: | `{date}-canary.json` (canary/SKILL.md.tmpl:221); not verified | no | (b) |
|
||||
|
||||
+1
-2
@@ -103,14 +103,13 @@ own agent gstack's skills; ACP spawns Claude Code with the full install.
|
||||
OpenClaw spawns Claude Code sessions via ACP, so every gstack skill just works
|
||||
when Claude Code has gstack installed. Paste this to your OpenClaw agent:
|
||||
|
||||
> Install gstack: run `git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setup` to install gstack for Claude Code. Then add a "Coding Tasks" section to AGENTS.md that says: when spawning Claude Code sessions for coding work, tell the session to use gstack skills. Include these examples — security audit: "Load gstack. Run /cso", code review: "Load gstack. Run /review", QA test a URL: "Load gstack. Run /qa https://...", build a feature end-to-end: "Load gstack. Run /autoplan, implement the plan, then run /gstack-ship", plan before building: "Load gstack. Run /office-hours then /autoplan. Save the plan, don't implement."
|
||||
> Install gstack: run `git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setup` to install gstack for Claude Code. Then add a "Coding Tasks" section to AGENTS.md that says: when spawning Claude Code sessions for coding work, tell the session to use gstack skills. Include these examples — code review: "Load gstack. Run /review", QA test a URL: "Load gstack. Run /qa https://...", build a feature end-to-end: "Load gstack. Run /autoplan, implement the plan, then run /gstack-ship", plan before building: "Load gstack. Run /office-hours then /autoplan. Save the plan, don't implement."
|
||||
|
||||
**After setup, just talk to your OpenClaw agent naturally:**
|
||||
|
||||
| You say | What happens |
|
||||
|---------|-------------|
|
||||
| "Fix the typo in README" | Simple — Claude Code session, no gstack needed |
|
||||
| "Run a security audit on this repo" | Spawns Claude Code with `Run /cso` |
|
||||
| "Build me a notifications feature" | Spawns Claude Code with /autoplan → implement → /gstack-ship |
|
||||
| "Help me plan the v2 API redesign" | Spawns Claude Code with /office-hours → /autoplan, saves plan |
|
||||
|
||||
|
||||
+1
-3
@@ -10,9 +10,7 @@ registers in Claude Code, agent harness registration, and how to remove gstack.
|
||||
|
||||
## Requirements, in detail
|
||||
|
||||
**Requirements:** [Claude Code](https://docs.anthropic.com/en/docs/claude-code), [Git](https://git-scm.com/), [Bun](https://bun.sh/) v1.4.2+ (the tested version; setup refuses Bun older than 1.3.3, which would let compiled tools read a project's `.env`, and warns in between), [Node.js](https://nodejs.org/) (Windows only). **Recommended on macOS:** the [Aside](https://aside.com) browser (macOS 15+) — browser skills, `/make-pdf`, and `/diagram` drive it first, with your real logged-in sessions. Without it, `./setup` builds gstack's own bundled browser and the same skills use that. `/cso` additionally needs a Bun release with all four `--no-compile-autoload-*` build flags plus a native toolchain: a static-capable C compiler on Linux, Xcode command-line tools on macOS, or Visual Studio 2022 Build Tools with Desktop development with C++ on Windows. If those are absent, setup installs everything else, removes stale CSO helpers, and `/cso` reports `not assessed` with the prerequisite.
|
||||
|
||||
When qualified CSO runtime images are published, setup gives each automatic preload a 30-second window plus a bounded setup allowance for the declared catalog. For slower registries, set an integer such as `GSTACK_CSO_IMAGE_PULL_TIMEOUT_SECONDS=120` (accepted range: 5–300 seconds). One image timing out does not consume the remaining images' windows; setup reports partial progress and a later run resumes from exact digests already present in local Docker. The complete preload is capped at one hour.
|
||||
**Requirements:** [Claude Code](https://docs.anthropic.com/en/docs/claude-code), [Git](https://git-scm.com/), [Bun](https://bun.sh/) v1.4.2+ (the tested version; setup refuses Bun older than 1.3.3, which would let compiled tools read a project's `.env`, and warns in between), [Node.js](https://nodejs.org/) (Windows only). **Recommended on macOS:** the [Aside](https://aside.com) browser (macOS 15+) — browser skills, `/make-pdf`, and `/diagram` drive it first, with your real logged-in sessions. Without it, `./setup` builds gstack's own bundled browser and the same skills use that.
|
||||
|
||||
## Team mode
|
||||
|
||||
|
||||
+48
-49
@@ -11,7 +11,7 @@ Token counts are offline estimates (estimate: calibrated bytes/token per content
|
||||
| hurts | 0 |
|
||||
| untested, with a plan | 17 |
|
||||
| untested, plan none | 48 |
|
||||
| safety | 5 |
|
||||
| safety | 4 |
|
||||
|
||||
## Parts by load per run
|
||||
|
||||
@@ -64,33 +64,32 @@ Load per run: a skill's SKILL.md plus the files it must read on every use (`perI
|
||||
| 43 | pair-agent | skill | 4,824 | 0 | 63 | every use | untested | plan: none (grandfathered) |
|
||||
| 44 | make-pdf | skill | 4,730 | 1,767 | 65 | every use | untested | plan: none (grandfathered) |
|
||||
| 45 | context-save | skill | 4,637 | 0 | 65 | every use | untested | plan: none (grandfathered) |
|
||||
| 46 | cso | skill | 4,456 | 4,759 | 95 | every use | safety | reason: security: supported security findings with explicit coverage; kept on its security reason (GEVA-2 marks it exempt; GStack Minder may reclassify it) |
|
||||
| 47 | open-gstack-browser | skill | 4,429 | 0 | 74 | every use | untested | plan: none (grandfathered) |
|
||||
| 48 | design-motion | skill | 4,295 | 4,995 | 86 | every use | untested | plan: none (grandfathered) |
|
||||
| 49 | test-audit | skill | 4,201 | 0 | 82 | every use | untested | plan: none (grandfathered) |
|
||||
| 50 | document-release | skill | 4,049 | 10,260 | 72 | every use | untested | plan: none (grandfathered) |
|
||||
| 51 | diagram | skill | 3,895 | 0 | 112 | every use | untested | plan: none (grandfathered) |
|
||||
| 52 | benchmark-models | skill | 3,822 | 0 | 77 | every use | untested | plan: none (grandfathered) |
|
||||
| 53 | runaway-stopper | skill | 3,693 | 571 | 78 | every use | untested | plan: docs/evals/runaway-stopper-prereg.md (owner GStack Minder (GSTA-36), measure by 2026-11-24) |
|
||||
| 54 | ubicloud | skill | 3,676 | 0 | 83 | every use | untested | plan: none (grandfathered) |
|
||||
| 55 | modernize | skill | 3,526 | 0 | 94 | every use | untested | plan: none (grandfathered) |
|
||||
| 56 | setup-browser-cookies | skill | 3,289 | 0 | 79 | every use | untested | plan: none (grandfathered) |
|
||||
| 57 | deslop-shared-libs | skill | 3,100 | 0 | 64 | every use | untested | plan: none (grandfathered) |
|
||||
| 58 | landing-report | skill | 2,971 | 0 | 71 | every use | untested | plan: none (grandfathered) |
|
||||
| 59 | ship-docs-audit | shared | 2,730 | n/a | n/a | every /gstack-ship run | untested | plan: folded into GEVA-2 registry row R56-4 (ship); proposed, not yet preregistered (grandfathered) |
|
||||
| 60 | verify | skill | 2,678 | 0 | 91 | every use | untested | plan: none (grandfathered) |
|
||||
| 61 | ios-design-review | skill | 2,367 | 0 | 76 | every use | untested | plan: none (grandfathered) |
|
||||
| 62 | ios-sync | skill | 2,240 | 0 | 90 | every use | untested | plan: none (grandfathered) |
|
||||
| 63 | ios-clean | skill | 2,214 | 0 | 86 | every use | untested | plan: none (grandfathered) |
|
||||
| 64 | write-skill | skill | 2,158 | 795 | 100 | every use | untested | plan: none (grandfathered) |
|
||||
| 65 | ios-fix | skill | 2,096 | 0 | 69 | every use | untested | plan: none (grandfathered) |
|
||||
| 66 | learn | skill | 1,989 | 0 | 66 | every use | untested | plan: none (grandfathered) |
|
||||
| 67 | careful | skill | 1,126 | 0 | 171 | every use | safety | reason: safety guard: warns before destructive commands (rm -rf, DROP TABLE, force-push); kept on that reason, an average score cannot see the rare bad run it stops |
|
||||
| 68 | freeze | skill | 1,043 | 0 | 234 | every use | safety | reason: safety guard: hard-blocks edits outside one directory; kept on that reason |
|
||||
| 69 | guard | skill | 908 | 0 | 348 | every use | safety | reason: safety guard: careful and freeze together; kept on that reason |
|
||||
| 70 | capy-factory | shared | 884 | n/a | n/a | every Capy session | untested | plan: none (grandfathered) |
|
||||
| 71 | unfreeze | skill | 372 | 0 | 65 | every use | safety | reason: safety guard: the off switch for freeze's edit restriction; kept with the guard it releases |
|
||||
| 72 | claude-code | skill | n/a | n/a | n/a | every use | untested | plan: none (grandfathered) |
|
||||
| 46 | open-gstack-browser | skill | 4,429 | 0 | 74 | every use | untested | plan: none (grandfathered) |
|
||||
| 47 | design-motion | skill | 4,295 | 4,995 | 86 | every use | untested | plan: none (grandfathered) |
|
||||
| 48 | test-audit | skill | 4,201 | 0 | 82 | every use | untested | plan: none (grandfathered) |
|
||||
| 49 | document-release | skill | 4,049 | 10,260 | 72 | every use | untested | plan: none (grandfathered) |
|
||||
| 50 | diagram | skill | 3,895 | 0 | 112 | every use | untested | plan: none (grandfathered) |
|
||||
| 51 | benchmark-models | skill | 3,822 | 0 | 77 | every use | untested | plan: none (grandfathered) |
|
||||
| 52 | runaway-stopper | skill | 3,693 | 571 | 78 | every use | untested | plan: docs/evals/runaway-stopper-prereg.md (owner GStack Minder (GSTA-36), measure by 2026-11-24) |
|
||||
| 53 | ubicloud | skill | 3,676 | 0 | 83 | every use | untested | plan: none (grandfathered) |
|
||||
| 54 | modernize | skill | 3,526 | 0 | 94 | every use | untested | plan: none (grandfathered) |
|
||||
| 55 | setup-browser-cookies | skill | 3,289 | 0 | 79 | every use | untested | plan: none (grandfathered) |
|
||||
| 56 | deslop-shared-libs | skill | 3,100 | 0 | 64 | every use | untested | plan: none (grandfathered) |
|
||||
| 57 | landing-report | skill | 2,971 | 0 | 71 | every use | untested | plan: none (grandfathered) |
|
||||
| 58 | ship-docs-audit | shared | 2,730 | n/a | n/a | every /gstack-ship run | untested | plan: folded into GEVA-2 registry row R56-4 (ship); proposed, not yet preregistered (grandfathered) |
|
||||
| 59 | verify | skill | 2,678 | 0 | 91 | every use | untested | plan: none (grandfathered) |
|
||||
| 60 | ios-design-review | skill | 2,367 | 0 | 76 | every use | untested | plan: none (grandfathered) |
|
||||
| 61 | ios-sync | skill | 2,240 | 0 | 90 | every use | untested | plan: none (grandfathered) |
|
||||
| 62 | ios-clean | skill | 2,214 | 0 | 86 | every use | untested | plan: none (grandfathered) |
|
||||
| 63 | write-skill | skill | 2,158 | 795 | 100 | every use | untested | plan: none (grandfathered) |
|
||||
| 64 | ios-fix | skill | 2,096 | 0 | 69 | every use | untested | plan: none (grandfathered) |
|
||||
| 65 | learn | skill | 1,989 | 0 | 66 | every use | untested | plan: none (grandfathered) |
|
||||
| 66 | careful | skill | 1,126 | 0 | 171 | every use | safety | reason: safety guard: warns before destructive commands (rm -rf, DROP TABLE, force-push); kept on that reason, an average score cannot see the rare bad run it stops |
|
||||
| 67 | freeze | skill | 1,043 | 0 | 234 | every use | safety | reason: safety guard: hard-blocks edits outside one directory; kept on that reason |
|
||||
| 68 | guard | skill | 908 | 0 | 348 | every use | safety | reason: safety guard: careful and freeze together; kept on that reason |
|
||||
| 69 | capy-factory | shared | 884 | n/a | n/a | every Capy session | untested | plan: none (grandfathered) |
|
||||
| 70 | unfreeze | skill | 372 | 0 | 65 | every use | safety | reason: safety guard: the off switch for freeze's edit restriction; kept with the guard it releases |
|
||||
| 71 | claude-code | skill | n/a | n/a | n/a | every use | untested | plan: none (grandfathered) |
|
||||
|
||||
## Measure next
|
||||
|
||||
@@ -144,25 +143,25 @@ Untested parts, largest load per run first. A fair test runs the claude_code pre
|
||||
| 44 | open-gstack-browser | 4,429 | none (grandfathered) |
|
||||
| 45 | design-motion | 4,295 | none (grandfathered) |
|
||||
| 46 | test-audit | 4,201 | none (grandfathered) |
|
||||
| 47 | document-release | 4,049 | none (grandfathered) |
|
||||
| 48 | diagram | 3,895 | none (grandfathered) |
|
||||
| 49 | benchmark-models | 3,822 | none (grandfathered) |
|
||||
| 50 | runaway-stopper | 3,693 | docs/evals/runaway-stopper-prereg.md (owner GStack Minder (GSTA-36), measure by 2026-11-24) |
|
||||
| 51 | ubicloud | 3,676 | none (grandfathered) |
|
||||
| 52 | modernize | 3,526 | none (grandfathered) |
|
||||
| 53 | setup-browser-cookies | 3,289 | none (grandfathered) |
|
||||
| 54 | deslop-shared-libs | 3,100 | none (grandfathered) |
|
||||
| 55 | landing-report | 2,971 | none (grandfathered) |
|
||||
| 56 | ship-docs-audit | 2,730 | folded into GEVA-2 registry row R56-4 (ship); proposed, not yet preregistered (grandfathered) |
|
||||
| 57 | verify | 2,678 | none (grandfathered) |
|
||||
| 58 | ios-design-review | 2,367 | none (grandfathered) |
|
||||
| 59 | ios-sync | 2,240 | none (grandfathered) |
|
||||
| 60 | ios-clean | 2,214 | none (grandfathered) |
|
||||
| 61 | write-skill | 2,158 | none (grandfathered) |
|
||||
| 62 | ios-fix | 2,096 | none (grandfathered) |
|
||||
| 63 | learn | 1,989 | none (grandfathered) |
|
||||
| 64 | capy-factory | 884 | none (grandfathered) |
|
||||
| 65 | claude-code | n/a | none (grandfathered) |
|
||||
| 46 | document-release | 4,049 | none (grandfathered) |
|
||||
| 47 | diagram | 3,895 | none (grandfathered) |
|
||||
| 48 | benchmark-models | 3,822 | none (grandfathered) |
|
||||
| 49 | runaway-stopper | 3,693 | docs/evals/runaway-stopper-prereg.md (owner GStack Minder (GSTA-36), measure by 2026-11-24) |
|
||||
| 50 | ubicloud | 3,676 | none (grandfathered) |
|
||||
| 51 | modernize | 3,526 | none (grandfathered) |
|
||||
| 52 | setup-browser-cookies | 3,289 | none (grandfathered) |
|
||||
| 53 | deslop-shared-libs | 3,100 | none (grandfathered) |
|
||||
| 54 | landing-report | 2,971 | none (grandfathered) |
|
||||
| 55 | ship-docs-audit | 2,730 | folded into GEVA-2 registry row R56-4 (ship); proposed, not yet preregistered (grandfathered) |
|
||||
| 56 | verify | 2,678 | none (grandfathered) |
|
||||
| 57 | ios-design-review | 2,367 | none (grandfathered) |
|
||||
| 58 | ios-sync | 2,240 | none (grandfathered) |
|
||||
| 59 | ios-clean | 2,214 | none (grandfathered) |
|
||||
| 60 | write-skill | 2,158 | none (grandfathered) |
|
||||
| 61 | ios-fix | 2,096 | none (grandfathered) |
|
||||
| 62 | learn | 1,989 | none (grandfathered) |
|
||||
| 63 | capy-factory | 884 | none (grandfathered) |
|
||||
| 64 | claude-code | n/a | none (grandfathered) |
|
||||
|
||||
## Shared parts and preamble tiers
|
||||
|
||||
@@ -172,7 +171,7 @@ Untested parts, largest load per run first. A fair test runs the claude_code pre
|
||||
| 2 | canary, captain, context-restore, context-save, design-html, design-motion, design-shotgun, document-generate, document-release, eval-plan, health, investigate, ios-clean, ios-design-review, ios-fix, ios-sync, landing-report, learn, modernize, pair-agent, plan-tune, retro, setup-deploy, setup-gbrain, skillify, sync-gbrain, test-audit, ubicloud, write-skill | the shared sections/preamble.md (row preamble), once per session |
|
||||
| 3 | autoplan, claude-code, codex, design-consultation, devex-review, ios-qa, office-hours, plan-ceo-review, plan-design-review, plan-devex-review, plan-eng-review, spec | the shared sections/preamble.md (row preamble), once per session |
|
||||
| 4 | design-review, land-and-deploy, qa, qa-only, review, ship | the shared sections/preamble.md (row preamble), once per session |
|
||||
| none | careful, cso, deslop-shared-libs, freeze, gstack-upgrade, guard, unfreeze | no preamble |
|
||||
| none | careful, deslop-shared-libs, freeze, gstack-upgrade, guard, unfreeze | no preamble |
|
||||
|
||||
- **preamble**: shared preamble (sections/preamble.md, identical in every tier 2+ skill) (ship/sections/preamble.md); loads every tier 2+ skill run, inside that skill's load.
|
||||
- **catalog**: skill catalog (every skill's frontmatter); loads every session.
|
||||
@@ -237,7 +236,7 @@ Each count is quoted from the file and line named; `bin/gstack-inventory --check
|
||||
|
||||
72 keys: 65 skills (the folders `discoverTemplates()` finds, the root skill as `gstack`) and 7 shared parts.
|
||||
|
||||
- Skills: autoplan, benchmark, benchmark-models, browse, canary, captain, careful, claude-code, codex, context-restore, context-save, cso, design-consultation, design-html, design-motion, design-review, design-shotgun, deslop-shared-libs, devex-review, diagram, document-generate, document-release, eval-plan, freeze, gstack, gstack-upgrade, guard, health, investigate, ios-clean, ios-design-review, ios-fix, ios-qa, ios-sync, land-and-deploy, landing-report, learn, make-pdf, modernize, office-hours, open-gstack-browser, pair-agent, plan-ceo-review, plan-design-review, plan-devex-review, plan-eng-review, plan-tune, qa, qa-only, retro, review, runaway-stopper, scrape, setup-browser-cookies, setup-deploy, setup-gbrain, ship, skillify, spec, sync-gbrain, test-audit, ubicloud, unfreeze, verify, write-skill.
|
||||
- Skills: autoplan, benchmark, benchmark-models, browse, canary, captain, careful, claude-code, codex, context-restore, context-save, design-consultation, design-html, design-motion, design-review, design-shotgun, deslop-shared-libs, devex-review, diagram, document-generate, document-release, eval-plan, freeze, gstack, gstack-upgrade, guard, health, investigate, ios-clean, ios-design-review, ios-fix, ios-qa, ios-sync, land-and-deploy, landing-report, learn, make-pdf, modernize, office-hours, open-gstack-browser, pair-agent, plan-ceo-review, plan-design-review, plan-devex-review, plan-eng-review, plan-tune, qa, qa-only, retro, review, runaway-stopper, scrape, setup-browser-cookies, setup-deploy, setup-gbrain, ship, skillify, spec, sync-gbrain, test-audit, ubicloud, unfreeze, verify, write-skill.
|
||||
- Shared: preamble, catalog, capy-skill, capy-factory, ship-review-panel, ship-docs-audit, autoplan-phases.
|
||||
- Installed names: `gstack-<name>` is key `<name>` (`gstack-ship` is `ship`); `gstack-upgrade` keeps its name; the root skill installs as `gstack`.
|
||||
- Other names (the ledger's `aliases`): gstack (root skill) → gstack; upgrade → gstack-upgrade; preamble (ceremony) → preamble; always-on skill catalog (descriptions) → catalog; capy/skill/gstack/SKILL.md (Capy context) → capy-skill; capy/skill/gstack/factory.md (Capy context) → capy-factory; ship: review panel (specialist, adversarial, targeted, outside voice, red team) → ship-review-panel; ship: docs audit (Step 14.5) → ship-docs-audit; autoplan: CEO, design, DX and eng phases, outside voice → autoplan-phases.
|
||||
|
||||
@@ -78,12 +78,6 @@
|
||||
"plan": "none",
|
||||
"seed": "GEVA-2, 2026-11-02: context-save: untested (never measured)"
|
||||
},
|
||||
"cso": {
|
||||
"status": "safety",
|
||||
"grandfathered": true,
|
||||
"reason": "security: supported security findings with explicit coverage; kept on its security reason (GEVA-2 marks it exempt; GStack Minder may reclassify it)",
|
||||
"seed": "GEVA-2, 2026-11-02: cso: exempt (security audit skill, treated as exempt; GStack Minder may reclassify)"
|
||||
},
|
||||
"design-consultation": {
|
||||
"status": "untested",
|
||||
"grandfathered": true,
|
||||
|
||||
+2
-3
@@ -1138,9 +1138,8 @@ the gate or a fresh run. No lane has a profile, so every macOS and Windows lane
|
||||
still clears by `--run-url`, checked for its workflow file and a green
|
||||
conclusion. On main the free tier's Windows smoke lane is
|
||||
`windows-smoke.yml/windows-smoke`, and a `windows-smoke.yml` run clears it.
|
||||
Two narrower Windows lanes are owed only when a branch selects their own test
|
||||
files: `free-tests.yml/cso-windows-launcher` (cleared by a `free-tests.yml`
|
||||
run) and `windows-setup-e2e.yml/windows-setup` (cleared by a
|
||||
One narrower Windows lane is owed only when a branch selects its own test
|
||||
files: `windows-setup-e2e.yml/windows-setup` (cleared by a
|
||||
`windows-setup-e2e.yml` run). The eight-shard
|
||||
`windows-free-tests.yml/windows-free-shard` job is `manual`, so it is never an
|
||||
obligation. A branch cut before
|
||||
|
||||
@@ -795,7 +795,7 @@ to the network still counts, and a clone made inside a live fixture root goes
|
||||
unseen, as does one whose reader writes the marker or an insteadOf line itself.
|
||||
The checkout's own build output is not a fetch either: a new big native executable
|
||||
(ELF, Mach-O or PE) inside the checkout, at a path its committed, unmodified root
|
||||
`.gitignore` names exactly with no glob (`bin/gstack-cso-core`), prints
|
||||
`.gitignore` names exactly with no glob, prints
|
||||
`FETCH_IGNORED: … reason=build-output`. A big file under an ignored directory or a
|
||||
glob, a non-executable at that path, or a path only an uncommitted `.gitignore`
|
||||
edit names still counts as a download.
|
||||
|
||||
@@ -27,7 +27,6 @@ Detailed guides for every gstack skill — philosophy, workflow, and examples.
|
||||
| [`/benchmark`](#benchmark) | **Performance Engineer** | Baseline page load times, Core Web Vitals, and resource sizes. Compare before/after on every PR. Track trends over time. |
|
||||
| [`/ubicloud`](#ubicloud) | **Remote Runner** | Run a heavy suite, build or eval on an ephemeral 16-vCPU Ubicloud VM: TTL-named VMs with a reaper, quota preflight, a hang watchdog and one committed verify per repository. |
|
||||
| [`/runaway-stopper`](#runaway-stopper) | **Spend Warden** | Find runaway Capy threads and subagents, stop or rotate them at a clean point, and set the defaults that keep them from coming back. |
|
||||
| [`/cso`](#cso) | **Chief Security Officer** | Supported security findings with explicit coverage. Static assessment remains available without catalog profiles; contained runtime/scanner execution requires matching qualified profiles. Runtime-tested bundles authenticate separate external assertions. Project-test completion remains `self_reported` because target code controls the test process; `tested` is reserved for a future target-independent completion witness. |
|
||||
| [`/document-release`](#document-release) | **Technical Writer** | Audit relevant docs on every ship before final verification; standalone runs can also update docs after a PR exists. Catches stale READMEs and reports unresolved gaps. |
|
||||
| [`/document-generate`](../document-generate/SKILL.md) | **Technical Writer** | Generate Diataxis docs (tutorial / how-to / reference / explanation) for a feature from code. |
|
||||
| [`/retro`](#retro) | **Eng Manager** | Team-aware weekly retro. Per-person breakdowns, shipping streaks, test health trends, growth opportunities. |
|
||||
@@ -1107,29 +1106,6 @@ Claude: UBICLOUD_API_KEY: set; UBI_OWNER=lane7
|
||||
|
||||
---
|
||||
|
||||
## `/cso`
|
||||
|
||||
This is my **Chief Security Officer**.
|
||||
|
||||
Run `/cso` for a bounded static investigation with an application model, challenged findings, and explicit coverage; static assessment remains available when no runtime or scanner catalog profile is qualified. With matching qualified profiles, `/cso --comprehensive` can prepare Node/Bun, Python, and Rails applications in contained local runtimes, reproduce a defect, and retain a reviewable repair candidate without changing the working branch. An out-of-process witness can authenticate the external boot, legitimate-control, and security assertions and issue a `runtime_tested` bundle. Project-test completion remains `self_reported` because target code shares that process and can forge reporter output or terminate the runner; recorded command, count, exit, and output hashes are diagnostic evidence, not a target-independent completion witness. Every report shows assertion, test-completion, and review assurance separately. The `tested` state is reserved for a future target-independent witness and is not emitted today. `/cso --doctor`, `--resume`, `--replay`, and `--recheck` diagnose prerequisites, recover interrupted work, repeat recorded verification, and establish current-source closure from fresh evidence.
|
||||
|
||||
Contained runtime and scanner execution needs Docker and a matching qualified profile. The runtime catalog qualifies ten images: Node 24.4.0, Bun 1.3.10, Python 3.13.4 with uv 0.8.0, Rails on Ruby 3.4.4, and PostgreSQL 17.2, each for linux/amd64 and linux/arm64. The scanner catalog qualifies twelve: gitleaks, OSV-Scanner, Schemathesis, Semgrep, Trivy and zizmor on both platforms. Without Docker, or where no profile matches (native Windows Docker, for example), `/cso` runs static assessment only.
|
||||
|
||||
```
|
||||
You: /cso
|
||||
|
||||
Claude: complete — assessed application routes, tenant authorization, secrets,
|
||||
dependency exposure, and deployment configuration.
|
||||
|
||||
HIGH: Cross-tenant invoice access (app/controllers/invoices.rb:47)
|
||||
Confidence: high — caller, middleware, and policy checks traced
|
||||
Evidence: supported static finding; runtime not requested
|
||||
|
||||
1 supported finding. Run ID: cso-…
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## `/document-release`
|
||||
|
||||
This is my **technical writer mode**.
|
||||
|
||||
@@ -13,7 +13,7 @@ gstack has two support tiers. Full support gets the whole test suite, paid evals
|
||||
- **Windows** (Git Bash or MSYS): with a default Git for Windows install, `./setup` installs, and the core skills start without errors. The core skills are `/gstack-ship`, `/review`, `/qa-only` and `/browse` on gstack's own browser. One required CI job, `windows-smoke`, checks this on every pull request (see Windows CI below).
|
||||
- **Gemini models:** the core workflows run to the end without errors when Gemini is the host agent or a reviewer. We check this by hand or with one cheap smoke run, not with an eval cell.
|
||||
|
||||
That is the whole promise. Other skills, optional parts such as `/cso`'s native helper, non-default shell settings and speed are not covered.
|
||||
That is the whole promise. Other skills, non-default shell settings and speed are not covered.
|
||||
|
||||
## What we stop doing
|
||||
|
||||
|
||||
+6
-131
@@ -26,8 +26,8 @@ section has a stable link anchor; the reason codes and anchors come from
|
||||
Run `~/.claude/skills/gstack/bin/gstack-doctor` (other hosts: `./setup --status`
|
||||
in your gstack checkout prints the doctor's absolute path). It prints one row
|
||||
each for the install, state root, Bun, hooks, Codex, the cached Codex model
|
||||
check, artifacts sync, the browse bundle, the other compiled binaries, the
|
||||
/cso native helper, Claude Code, the largest session journal and recent
|
||||
check, artifacts sync, the browse bundle, the other compiled binaries,
|
||||
Claude Code, the largest session journal and recent
|
||||
/autoplan guard codes. Each row is `ok`, `warn`,
|
||||
`not configured` or `fail` with its fix; only `fail` exits non-zero. It makes
|
||||
no paid call: the Codex rows report the cached model check and its age, and
|
||||
@@ -1577,130 +1577,6 @@ you are sure you don't need it (about 36 MB for a pre-1.91.65 Claude install).
|
||||
**Expected result.** The next `./setup` prints no `pruned` line, and
|
||||
`./setup --status` lists the agents you use.
|
||||
|
||||
<a id="cso-windows-msvc-compile"></a>
|
||||
### `CSO unavailable: its native helper was not built (windows-msvc-compile)`
|
||||
|
||||
**Meaning.** Visual Studio's compiler was found but the /cso native helper did
|
||||
not compile. setup prints the first compiler error. It used to say "install
|
||||
Visual Studio".
|
||||
|
||||
**Fix.** Fix the printed compiler error, then re-run `./setup`.
|
||||
|
||||
<a id="cso-build-or-publish-failed"></a>
|
||||
### `CSO unavailable: the native helper's <stage> step failed (...)` / `CSO publish step failed (...) for <revision>; previous CSO kept: <revision>`
|
||||
|
||||
**Meaning.** The /cso native helper is optional. Its build prerequisites were
|
||||
present, but the `build` step (compiling the helper) or the `publish` step
|
||||
(swapping the new helper into `bin/` under a lock) failed. setup used to stop
|
||||
here (#3071); now it finishes everything else and says which step failed. When
|
||||
an earlier helper was installed and the failed publish restored it, setup
|
||||
prints `previous CSO kept` and /cso keeps using that helper; otherwise /cso
|
||||
reports `not assessed`. `interrupted` means the step was killed before it could
|
||||
record a result. The outcome is in `bin/.gstack-cso-build-result`, and
|
||||
`gstack-doctor`'s `cso` row reads the same record. The build output is in
|
||||
`bin/.gstack-cso-build.log`.
|
||||
|
||||
**Fix.** Read the log, fix what it reports, then retry from your gstack checkout:
|
||||
|
||||
```bash
|
||||
bun run build:cso && ./setup
|
||||
```
|
||||
|
||||
On Windows, setup and the build use PowerShell 7 (`pwsh`) when it is installed
|
||||
and fall back to Windows PowerShell 5.1. The root cause of the staged files
|
||||
vanishing during publish in #3071 is still unknown; attach the log there if you
|
||||
hit it. CI sets `GSTACK_STRICT_BUILD=1`, which makes these failures fatal so
|
||||
build regressions cannot hide.
|
||||
|
||||
**Expected result.** setup prints no CSO line, and the doctor's `cso` row is
|
||||
`ok`.
|
||||
|
||||
<a id="cso-windows-docker"></a>
|
||||
### `Docker found at <path>, but native Windows Docker transport is not supported yet; static assessment only.` / `docker.exe at <path> is outside the trusted install locations (...)`
|
||||
|
||||
**Meaning.** On Windows, /cso looks for `docker.exe` only under the install
|
||||
folders Windows reports for Program Files, Program Files (x86) and the Windows
|
||||
directory, by its real path, with no symlink or junction on the way. A
|
||||
user-writable directory is untrusted, because the Docker child carries
|
||||
registry credentials; that refusal cannot be overridden.
|
||||
|
||||
Even a trusted `docker.exe` cannot run /cso's isolated containers yet: /cso
|
||||
admits only a local Unix Docker socket, and Docker Desktop on Windows speaks
|
||||
over a named pipe. /cso reports this and runs its static assessment only; no
|
||||
container or runtime check runs.
|
||||
|
||||
**Fix.** For runtime checks, run /cso from Linux or macOS (WSL2 counts as
|
||||
Linux) with a local Docker socket. On Windows, static assessment is the
|
||||
supported mode; if the refusal named a user directory, install Docker Desktop
|
||||
under Program Files.
|
||||
|
||||
<a id="cso-capacity"></a>
|
||||
### `Snapshot manifest cap exceeded: ...` / `64 MiB source cap exceeded: ...` / `Symlink or special source file: <path>`
|
||||
|
||||
**Meaning.** /cso copies the repository into a private snapshot before any
|
||||
audit starts, and refuses the whole run when the snapshot would be incomplete
|
||||
or too large. Each message names the cap that applied:
|
||||
|
||||
- **Snapshot manifest cap (16 MiB).** One entry per tracked or nonignored
|
||||
untracked file; about 50,000 files fit.
|
||||
- **64 MiB source cap.** The full size of every such file outside dependency
|
||||
and VCS directories counts, including files over 1 MiB whose contents are
|
||||
withheld from the audit.
|
||||
- **Special files.** A nonignored FIFO, socket or device inside the audit
|
||||
scope (the whole repository, or the `--paths` directories) stops the run.
|
||||
Symlinks do not: since the first release after v1.102.0.0 (#4540), each
|
||||
tracked or nonignored symlink is listed in the report with its target string, or notes that the target was withheld when it matches a secret pattern
|
||||
and is never followed, so a link to `/etc/passwd` or out through `..` is
|
||||
reported, not read.
|
||||
|
||||
**Fix.** No setting raises these caps. For the 64 MiB source cap, rerun with
|
||||
`--paths` set to the comma-separated repo-relative directories you want audited
|
||||
(for example `--paths src/core,src/mcp`). Paths outside them are never
|
||||
captured or assessed and do not count toward the cap; snapshot and history
|
||||
coverage then read **partial**, the report counts every skipped path, and the run's
|
||||
snapshot manifest lists each one, so the verdict says what was not audited.
|
||||
With `--diff`, every changed path outside dependency directories must be inside
|
||||
`--paths`, or the run is refused. Do not audit a hand-trimmed copy: /cso would treat it as the whole
|
||||
repository and report nothing as skipped. `--paths` does not lower the
|
||||
manifest cap or the 100,000-entry limit, because every skipped path still has a
|
||||
manifest entry (about 50,000 files fit). Remove or ignore a FIFO, socket or
|
||||
device, or narrow `--paths` past it. Add your
|
||||
file count or size to
|
||||
[#2993](https://github.com/garrytan/gstack/issues/2993).
|
||||
|
||||
<a id="cso-scanner-invalid-output"></a>
|
||||
### `INVALID_OUTPUT: Scanner report is malformed, unsupported, or exceeds structural limits.` (Semgrep on a real repository)
|
||||
|
||||
**Meaning.** Before the first release after v1.91.101.0, /cso redacted a
|
||||
scanner's JSON report by splicing an unquoted `<REDACTED-...>` marker over any
|
||||
bare number that looked like a phone number or card number, such as Semgrep's
|
||||
`"max_memory_bytes":1145427776` or an epoch timestamp. The report then failed to
|
||||
parse and the scanner was recorded as not assessed (#3185). Now a redacted
|
||||
number becomes the quoted string `"<REDACTED-...>"` and the report parses. A
|
||||
redaction that would cross JSON tokens still withholds the payload
|
||||
(`REDACTION_FAILED`).
|
||||
|
||||
**Fix.** Update gstack (`/gstack-upgrade`), then run /cso again. If this code
|
||||
still appears, the scanner itself emitted malformed JSON; report the scanner
|
||||
and version at https://github.com/garrytan/gstack/issues.
|
||||
|
||||
**Fixed in.** The first release after v1.91.101.0 (#3185).
|
||||
|
||||
<a id="cso-orbstack-argv0"></a>
|
||||
### `unsupported argv0 "docker-tools"` (OrbStack's `docker` under /cso)
|
||||
|
||||
**Meaning.** /cso runs the canonical path of `docker` (symlinks resolved), and
|
||||
OrbStack's `docker` is a symlink to one multicall binary, `docker-tools`, that
|
||||
decides what to be from the name it was started as. Started under its real name
|
||||
it refused, so Docker isolation and every scanner were reported missing
|
||||
(#3187). /cso now starts the same verified binary with the name `docker`,
|
||||
including in its cleanup watchdog.
|
||||
|
||||
**Fix.** Update gstack (`/gstack-upgrade`), then run `gstack-doctor`; its `cso`
|
||||
row should pass with OrbStack running.
|
||||
|
||||
**Fixed in.** The first release after v1.91.101.0 (#3187).
|
||||
|
||||
<a id="conductor-auq-hook-removed"></a>
|
||||
### `removed the AskUserQuestion preference hook: it breaks Conductor's native AskUserQuestion (#2207). ...`
|
||||
|
||||
@@ -1735,9 +1611,8 @@ of the codes below. Read the trailer directly; never pipe `--check` through
|
||||
checkout) is not installed, not built, not current, or not authenticated. The
|
||||
row names it: `claude` or `codex` (a host profile missing or stale), `patch`
|
||||
(the Codex render lacks the model behavioral patch), `codex-cli` (the Codex CLI
|
||||
is required and absent or not logged in), `browse-bundle`, `browser` (Chromium
|
||||
does not launch or render), `cso` (the native helper is required and not
|
||||
built).
|
||||
is required and absent or not logged in), `browse-bundle` or `browser` (Chromium
|
||||
does not launch or render).
|
||||
|
||||
**Fix.** Run the command in the row's `fix:` clause. For `browser`, that is
|
||||
`<checkout>/bin/gstack-browser-ensure`, which installs Chromium on first use
|
||||
@@ -4348,7 +4223,7 @@ returned output or PR text. `verify` prints `FETCH_VIOLATION:` and refuses
|
||||
until the stage has rerun and swept clean. A test run's fixtures (a root
|
||||
carrying `.gstack-test-fixture`, or a repository whose remote resolves to a local
|
||||
path through `url.<base>.insteadOf`) and the checkout's own native build output at a
|
||||
path its committed root `.gitignore` names exactly (`bin/gstack-cso-core`) print
|
||||
path its committed root `.gitignore` names exactly print
|
||||
`FETCH_IGNORED:` and never count.
|
||||
Capy's `~/.capy/drive` is never walked, and the drive sync database under
|
||||
`~/.capy/drive-engine` (`state.db` and its `-wal`, `-shm` and `-journal` files)
|
||||
@@ -5634,7 +5509,7 @@ only decided lines are rewritten, each to its chosen option and the date.
|
||||
|
||||
**Meaning.** Git for Windows checks out with `core.autocrlf=true`, so gstack's
|
||||
nested shell scripts (skill `bin/` helpers, the Claude hook shims,
|
||||
`lib/cso/images/*`, `scripts/app/*`) were written with CRLF until
|
||||
`scripts/app/*`) were written with CRLF until
|
||||
`.gitattributes` pinned them to LF (#3110). Git Bash runs them anyway, but a
|
||||
Linux bash reading the same checkout (a synced tree, WSL, a bind mount) fails
|
||||
with `set: pipefail: invalid option name`, and a hook that fails that way
|
||||
|
||||
+1
-2
@@ -116,8 +116,7 @@ Not every workflow writes this line or a run directory today:
|
||||
writes a run directory or prints the line, so a parent should not wait for
|
||||
either. `/eval-plan` asks for a `gate_pending` line at its spend gate, but no
|
||||
helper writes its `gate.json` yet (`gstack-gate` renders and parses a gate
|
||||
list; it does not create one). `/cso` skips the shared startup, so these
|
||||
session rules do not reach it at all. Read each skill's own record instead:
|
||||
list; it does not create one). Read each skill's own record instead:
|
||||
the review-log rows (`gstack-review-read`) for `/review` and the
|
||||
`qa-report-*.md` file for `/qa`. For a `/gstack-ship` run from before the result
|
||||
line, read the receipt instead: when the run did not push (an unattended run
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
# Voice input (AquaVoice, Whisper, etc.)
|
||||
|
||||
Many gstack skills list speech-to-text aliases (`voice-triggers:` in their
|
||||
templates): "security check" for `/cso`, "run QA" or "test the app" for `/qa`,
|
||||
templates): "run QA" or "test the app" for `/qa`,
|
||||
"tech review" for `/plan-eng-review`. Say one of those naturally and the right
|
||||
skill can be picked without the slash command name. On Claude Code the aliases
|
||||
are routing lines in the root `/gstack` router; on Codex and the other hosts
|
||||
|
||||
Reference in new issue
Block a user