mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-12 11:40:51 +01:00
* feat(loadouts): Opus 5.5 lite loadout with explicit model detection (GSTA-161)
modules/loadouts.json gains the lite loadout (eleven coaching preamble
pieces dropped; upgrade-check and brain-sync kept) and a models map that
sends only claude-opus-5-5 (and its dated snapshots) to it. Detection is
explicit: Capy passes --model to the installer, Claude Code opts in with
./setup --loadout lite; anything unmapped, invalid or unreadable serves full.
The checkout always stays the full render.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs(loadouts): Opus 5.5 lite, detection order, Capy SKILL_ROOT, setup --loadout; troubleshooting anchors; changelog fragment (GSTA-161)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix(loadouts): claude_loadout read through CONFIG_BIN; capy skill context ceiling for the --model line (GSTA-161)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: pre-landing review fixes (prune keeps a reused loadout folder, GSTACK_LOADOUT_SKILL_ROOT, claude_loadout guard test) (GSTA-161)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: pre-landing review fixes (Capy skill passes the model as GSTACK_MODEL so an older installer ignores it) (GSTA-161)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: pre-landing review fixes (prune only owned, unused folders; full root from the canonical Claude install; fallback reason and source) (GSTA-161)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs: loadout source example, install and resolve commands, Capy launch-file note (GSTA-161)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* feat(autoplan): --ceo-only runs the CEO review alone with zero questions (GST-537)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: pre-landing review fixes
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test: classify autoplan-ceo-only in the Codex host metadata
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: select autoplan-ceo-only on the skills it runs; say it needs Claude Code
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test: run autoplan-ceo-only in the marathon lane
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs: changelog entry for /autoplan --ceo-only
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test: count the autoplan-ceo-only paid file in the shard inventory
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* feat: gstack-autoplan next --ceo-only runs the CEO review alone and ends reviewed (GST-537)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: budget and close recover a budget-stopped CEO-only run; reviewed is at rest for checkpoints
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: CEO-only finish leaves owner-only cap items undecided, refuses marker phase flags and a plan at the report path, and replaces ceo-review.md atomically
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: the CEO-only report-path guard compares real paths and refuses at the finish when the report file is the plan
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs: CEO_ONLY_CONFLICT covers a plan linked to the report path
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test(browse): failing-first device and touch tests (GSTA-227 F3, #3058)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: the report-path guard keeps the lexical check, skips safe hard links and compares bigint file ids
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* browse: per-session tabs for parallel agents; tab pins stop moving the shared active tab (#1961)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* browse: keep the server.ts tab-pin anchor comment for source guards
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* feat(browse): per-tab phone emulation and touch input ($B device, tap, swipe, pinch, touch; #3058, GSTA-227 F3)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test: copy lib/result-codes-autoplan.ts into the fixtures that copy the result-code tables, and keep it out of derived closures
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs(qa, aside): touch pointer in /qa, Aside touch recipe verified on Aside 1.26, report Phones row (GSTA-227 F3, #3058)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* browse: drop the sessions paragraph from /browse to stay inside the parity cap
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* changelog: F3 phone emulation and touch entry
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* browse: hide the ps window in the session harness walk
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs: the decisions.jsonl status list names auto_kept
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test(browse): session cap, LRU eviction, headed release and scoped auto-session rows
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* browse: sessions keep tab <id> picks, sidebar claude stays on the user's tab, pinned rebuild and state load rebind the scope
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: pre-landing review fixes (touch cancel with no finger held is a no-op)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: Step 11 review fixes (headed tab adoption, pinned viewport reset, CLI retry keeps --session, rebuild id remap, --json notice, evicted-session reset, device kept after annotated captures, render opts out of sessions, session: client ids reserved)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: headed viewport auto keeps the user's active tab; render's closetab opts out of sessions
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs: sessions, phone emulation and touch in BROWSER.md; session: client ids reserved; TODOS #1961/#3058 shipped
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test: copy lib/result-codes-browse.ts into the fixtures that copy the result-code modules
lib/result-codes.ts imports ./result-codes-browse, so fixtures with an explicit
lib list failed with 'Cannot find module'. pr-dependencies lists it with the other
reason-code modules as selection data. GSTA-227
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* feat: gstack-clean reclaims per-repo .gstack scratch and logs, dry run by default (#2627)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* browse: name the Aside touch recipe's coordinates <tap-x>/<tap-y> with a numeric grammar
The generated-bash lint (INV-3) rejected the free-text <x>/<y> placeholders. GSTA-227
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix(clean): leave hard-linked and unreadable logs alone; cut through a no-follow descriptor checked against the evaluated inode
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test(clean): tests that expect tmp removal see a quiet ps, so a codex elsewhere on the host cannot flake them
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix(clean): an unlistable tmp/ skips its group; liveness asked once per group on apply; BROWSER.md says which logs reset at daemon start
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix(clean): write output synchronously so --json reaches a pipe whole; test fixes for root, wrapper git and the ps stub
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix(clean): every change rechecks the verified folder and the measured file; full writes; EPIPE ends output quietly
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test(clean): the early-close test checks the bin's own exit status
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs: list gstack-clean among the standalone CLIs
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test(clean): copied-install fixtures and the dependency list carry lib/result-codes-clean.ts
The remote pregate failed 11 cases in gstack-doctor, plan-tune-cathedral and
timeline-stop-hook-slug: each copies an explicit list of lib/result-codes-*.ts
files into a temp install, and lib/result-codes.ts now imports
./result-codes-clean. Same lists GSTA-168 extended for result-codes-eval.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* chore: regenerate gstack-doctor-components.sh for the gstack-clean result codes
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* qa: fold the touch pointer into the Phases sentence to fit the parity size cap after the main merge
qa's union was 95988 bytes (ratio 1.142 > maxSizeRatio 1.142, train 75). Now 95975 (1.1419). GSTA-227
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs: #3058 troubleshooting 'Fixed in' lines name v1.92.10.0 after the main merge
GSTA-227
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test(clean): classify gstack-tasks rows files (tasks-*) as kept, after main added the producer
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs: #3058 troubleshooting 'Fixed in' lines name v1.92.20.0 after the main merge
GSTA-227
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: pre-landing review fixes (restore the lib/result-codes-plan.ts ratchet row the base merge dropped)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test(clean): the producer scan ends a name at a colon, so prose after a path names the file (train 78)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs: #3058 troubleshooting 'Fixed in' lines name v1.92.30.0 after the main merge
GSTA-227
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* outside-voice-api: caller receipts, stop_reason, OpenAI max_completion_tokens
A caller can write its own egress receipt (sink, consent, payload class);
the default stays the outside-voice receipt, so existing callers send and
record the same bytes. The result carries the provider's stop reason, and
an OpenAI request gets max_completion_tokens only when the caller sets an
output limit (GST-537 PR 3).
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* autoplan gate: item classes and the owner's answer provenance
Gate items carry item_class, ruleKept() names the keep-direction pick, and
answered decision rows record owner_mode, owner_named, rec_hash and
answered_role parsed from the owner's own words (GST-537 PR 3).
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* autoplan: shadow-mode decider module, frozen prompt and spend accounting
The switch (off by default, fixed at init), the lease, one model call per
gate with a page retry and a truncation retry under one deadline, the
once-per-revision record with its journaled sha256, the 10% audit mark,
and shadow-labeled ledger rows that count against the cap, show as
shadow= on GATE_SPEND and stay out of the per-voice price (GST-537 PR 3).
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* gstack-autoplan: shadow every published gate, the shadow export, config and docs
Every driver command that prints a gate records the shadow first and
checkpoints after it; answer waits for a live lease and records a dead
one retrospectively; gstack-autoplan shadow exports answered revisions
for taste-replay R2 (SHADOW_BEFORE_ANSWER otherwise); gstack-config
autoplan_shadow / autoplan_shadow_model; gstack-artifact validate checks
the record's hash (GST-537 PR 3).
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* changelog: shadow mode for the CEO-only decider (GST-537 PR 3)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* autoplan shadow: /ship review fixes
- register test/fixtures/shadow-fake-model.ts in FREE_FIXTURES (free-fixtures inventory failed)
- withRunLock: count dead-owner reclaims apart from waitMs iterations, so a long wait can still reclaim
- buildPage: fill the decider template in one pass, so slot names inside the plan stay plan text
- revise regate: the shared publish step prints the GATE and ESCALATE lines once
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* autoplan shadow: reply files never follow a link; the retry reserves against the current cap
- a model reply is written by temp file and rename, so a link at the reply path is replaced, not written through
- each shadow reservation reads the run's current spend cap, so a budget change during the call is not undone
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* outside-voice-api: write the egress receipt under the caller's env
callModel resolved the receipt's state root from process.env even when the caller passed env, so the shadow
tests wrote to the real ~/.gstack (the free-suite home-containment guard caught it). The receipt now uses
req.env; the shadow tests give the fake model a private HOME, GSTACK_HOME and GSTACK_STATE_ROOT, and the receipt
test no longer sets process.env to pass.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix(autoplan): CEO-only runs leave main's open Critical/High finding items to the owner (no decision row)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix(autoplan): shadow pages carry main's finding items; a finding item is never ceo_eligible
After merging #3767 (main 90a170c), open Critical/High findings are gate items
(item_class finding). The shadow records one row per gate item, so its pages now
include them. A CEO-only run leaves those items to the owner, so their rows are
ceo_eligible false (rule_pick was already null). The shadow fixtures follow
main's gate (items, counts, "Do it" tokens); the two merge adapters follow
main's doNext(out, rest, price) and its per-voice reservation (--estimate-usd).
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs: #3058 troubleshooting 'Fixed in' lines name v1.92.61.0 after the main merge
GSTA-227
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix(investigate): drop the five-phase step procedure (GST-938)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* changelog: GST-938 fragment wording
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix(investigate): keep the web-search sanitize guard; update BROWSER.md and docs/skills.md (review pass 1)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* changelog: GST-938 wording
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test(investigate): pin the web-search guard; changelog size (adversarial review)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* test(clean): classify restamp-staging.json, the restamp producer main gained after #3779's base (wave browse)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: pre-landing review fixes (wave browse): scoped newtab keeps a concurrent tab switch; shadow validate catches a deleted record; a failed shadow publish is journaled
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: a failed shadow publish journals under the run lock and never throws (wave browse review pass 2)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* docs(unattended): shadow publish failures and the missing-record validate check (wave browse docs audit)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* changelog: wave browse integrator fixes fragment
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* fix: shadow reader dedupes by run folder, so two runs started in the same second both count (wave browse CI free-suite 16)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* chore: regenerate doctor result anchors in generator order (wave browse rebuild without #3818)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* changelog: name the wave fragment after the rebuilt wave
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
400 lines
25 KiB
Bash
400 lines
25 KiB
Bash
# shellcheck shell=bash
|
|
# gstack-doctor-components.sh — GENERATED from lib/doctor-components.ts and
|
|
# lib/result-codes.ts by scripts/gen-doctor-components.ts (bun run gen:skill-docs). Do not edit; the
|
|
# freshness test is test/doctor-components.test.ts. Sourced by
|
|
# bin/gstack-doctor-check.sh; Bash 3.2 builtins only.
|
|
|
|
GSTACK_DOCTOR_COMPONENTS="claude codex patch codex-cli browse-bundle browser cso helpers runtime pins state-root privacy cores revision floor wrapper"
|
|
GSTACK_DOCTOR_CORE="runtime pins state-root privacy cores revision floor wrapper"
|
|
GSTACK_DOCTOR_HOSTS="claude codex"
|
|
GSTACK_DOCTOR_OPTIONAL="codex-cli cso"
|
|
GSTACK_DOCTOR_SKILLS="autoplan plan-ceo-review plan-eng-review plan-design-review plan-devex-review plan-tune office-hours spec review ship investigate codex cso browse qa qa-only design-review design-consultation design-html design-motion devex-review scrape skillify canary benchmark make-pdf diagram pair-agent open-gstack-browser setup-browser-cookies connect-chrome land-and-deploy benchmark-models captain careful claude-code context-restore context-save design-shotgun deslop-shared-libs document-generate document-release eval-plan freeze gstack-upgrade guard health ios-clean ios-design-review ios-fix ios-qa ios-sync landing-report learn write-skill modernize retro setup-deploy setup-gbrain sync-gbrain test-audit ubicloud unfreeze verify review-voice"
|
|
GSTACK_BROWSER_LAZY_REASON="lazy; gstack-browser-ensure installs on first use"
|
|
GSTACK_DOCTOR_HELPERS="gstack-pregate gstack-plan-reality gstack-artifact gstack-autoplan"
|
|
GSTACK_DOCTOR_NOT_NEEDED="none"
|
|
GSTACK_DOCTOR_NOT_NEEDED_REVISION="not-needed"
|
|
GSTACK_PROJECT_FLOOR_FILE=".gstack/ship-policy.json"
|
|
GSTACK_PROJECT_FLOOR_FIELD="min_gstack_version"
|
|
|
|
# gstack_doctor_component_title ID — the human title; returns 1 for an unknown id.
|
|
gstack_doctor_component_title() {
|
|
case "$1" in
|
|
claude) printf '%s' 'Claude skills' ;;
|
|
codex) printf '%s' 'Codex skills' ;;
|
|
patch) printf '%s' 'Astra behavioral patch in the Codex render' ;;
|
|
codex-cli) printf '%s' 'Codex CLI (outside voice)' ;;
|
|
browse-bundle) printf '%s' 'browse bundle' ;;
|
|
browser) printf '%s' 'Chromium launch and render' ;;
|
|
cso) printf '%s' 'CSO native helper' ;;
|
|
helpers) printf '%s' 'read-only helpers (gstack-pregate sealed, gstack-plan-reality, gstack-artifact, gstack-autoplan reads)' ;;
|
|
runtime) printf '%s' 'gstack runtime (Bun)' ;;
|
|
pins) printf '%s' 'project pins' ;;
|
|
state-root) printf '%s' 'state root' ;;
|
|
privacy) printf '%s' 'privacy' ;;
|
|
cores) printf '%s' 'cores' ;;
|
|
revision) printf '%s' 'revision' ;;
|
|
floor) printf '%s' 'the project'\''s gstack floor (min_gstack_version in .gstack/ship-policy.json)' ;;
|
|
wrapper) printf '%s' 'Capy skill copy (bootstrapper revision)' ;;
|
|
*) return 1 ;;
|
|
esac
|
|
}
|
|
|
|
# gstack_doctor_component_kind ID — core | host | component | optional; returns 1 for an unknown id.
|
|
gstack_doctor_component_kind() {
|
|
case "$1" in
|
|
claude) printf '%s' 'host' ;;
|
|
codex) printf '%s' 'host' ;;
|
|
patch) printf '%s' 'component' ;;
|
|
codex-cli) printf '%s' 'optional' ;;
|
|
browse-bundle) printf '%s' 'component' ;;
|
|
browser) printf '%s' 'component' ;;
|
|
cso) printf '%s' 'optional' ;;
|
|
helpers) printf '%s' 'component' ;;
|
|
runtime) printf '%s' 'core' ;;
|
|
pins) printf '%s' 'core' ;;
|
|
state-root) printf '%s' 'core' ;;
|
|
privacy) printf '%s' 'core' ;;
|
|
cores) printf '%s' 'core' ;;
|
|
revision) printf '%s' 'core' ;;
|
|
floor) printf '%s' 'core' ;;
|
|
wrapper) printf '%s' 'core' ;;
|
|
*) return 1 ;;
|
|
esac
|
|
}
|
|
|
|
# gstack_doctor_skill_requires SKILL — the non-core ids the skill needs; returns 1 for an unknown skill.
|
|
gstack_doctor_skill_requires() {
|
|
case "$1" in
|
|
autoplan|plan-ceo-review|plan-eng-review|plan-design-review|plan-devex-review|plan-tune|office-hours|spec|review|ship|investigate) printf '%s' 'claude codex patch' ;;
|
|
codex) printf '%s' 'claude codex patch codex-cli' ;;
|
|
cso) printf '%s' 'claude cso' ;;
|
|
browse|qa|qa-only|design-review|design-consultation|design-html|design-motion|devex-review|scrape|skillify|canary|benchmark|make-pdf|diagram|pair-agent|open-gstack-browser|setup-browser-cookies|connect-chrome|land-and-deploy) printf '%s' 'claude codex patch browse-bundle browser' ;;
|
|
benchmark-models|captain|careful|claude-code|context-restore|context-save|design-shotgun|deslop-shared-libs|document-generate|document-release|eval-plan|freeze|gstack-upgrade|guard|health|ios-clean|ios-design-review|ios-fix|ios-qa|ios-sync|landing-report|learn|write-skill|modernize|retro|setup-deploy|setup-gbrain|sync-gbrain|test-audit|ubicloud|unfreeze|verify) printf '%s' 'claude' ;;
|
|
review-voice) printf '%s' 'helpers' ;;
|
|
*) return 1 ;;
|
|
esac
|
|
}
|
|
|
|
# gstack_doctor_skill_optional SKILL — ids that SKIP when absent; returns 1 for an unknown skill.
|
|
gstack_doctor_skill_optional() {
|
|
case "$1" in
|
|
autoplan|plan-ceo-review|plan-eng-review|plan-design-review|plan-devex-review|plan-tune|office-hours|spec|review|ship|investigate) printf '%s' 'codex-cli' ;;
|
|
codex) printf '%s' '' ;;
|
|
cso) printf '%s' '' ;;
|
|
browse|qa|qa-only|design-review|design-consultation|design-html|design-motion|devex-review|scrape|skillify|canary|benchmark|make-pdf|diagram|pair-agent|open-gstack-browser|setup-browser-cookies|connect-chrome|land-and-deploy) printf '%s' 'codex-cli' ;;
|
|
benchmark-models|captain|careful|claude-code|context-restore|context-save|design-shotgun|deslop-shared-libs|document-generate|document-release|eval-plan|freeze|gstack-upgrade|guard|health|ios-clean|ios-design-review|ios-fix|ios-qa|ios-sync|landing-report|learn|write-skill|modernize|retro|setup-deploy|setup-gbrain|sync-gbrain|test-audit|ubicloud|unfreeze|verify) printf '%s' '' ;;
|
|
review-voice) printf '%s' '' ;;
|
|
*) return 1 ;;
|
|
esac
|
|
}
|
|
|
|
# gstack_doctor_skill_pins_advisory SKILL — true for a planning-only workflow (a repo test-pin mismatch SKIPs pins).
|
|
gstack_doctor_skill_pins_advisory() {
|
|
case "$1" in
|
|
autoplan|plan-ceo-review|plan-eng-review|plan-design-review|plan-devex-review|office-hours) return 0 ;;
|
|
*) return 1 ;;
|
|
esac
|
|
}
|
|
|
|
# gstack_doctor_install_profile NAME — true for an install profile (helper runtime: no ./setup, no host profiles, project pins not applied).
|
|
gstack_doctor_install_profile() {
|
|
case "$1" in
|
|
review-voice) return 0 ;;
|
|
*) return 1 ;;
|
|
esac
|
|
}
|
|
|
|
# gstack_capy_bootstrap_cmd ROOT [SKILL] — the install command for a machine without the Drive skill (capyBootstrapCommand).
|
|
gstack_capy_bootstrap_cmd() {
|
|
printf 'test -f "%s/setup" || git clone --quiet --single-branch --depth 1 %s "%s" && GSTACK_CAPY_ROOT="%s" bash "%s/capy/skill/gstack/scripts/install.sh"' "$1" 'https://github.com/garrytan/gstack.git' "$1" "$1" "$1"
|
|
[ -z "${2:-}" ] || printf ' --for %s' "$2"
|
|
}
|
|
|
|
# gstack_result_anchor CODE — the docs/troubleshooting.md anchor for a lib/result-codes.ts code; returns 1 for an unknown code.
|
|
gstack_result_anchor() {
|
|
case "$1" in
|
|
ARTIFACT_INVALID_JSON) printf '%s' 'artifact-invalid-json' ;;
|
|
ARTIFACT_UNSUPPORTED_VERSION) printf '%s' 'artifact-unsupported-version' ;;
|
|
ARTIFACT_SCHEMA) printf '%s' 'artifact-schema' ;;
|
|
ARTIFACT_MISSING) printf '%s' 'artifact-missing' ;;
|
|
ARTIFACT_STALE) printf '%s' 'artifact-stale' ;;
|
|
ARTIFACT_PATH_ESCAPE) printf '%s' 'artifact-path-escape' ;;
|
|
ARTIFACT_MALFORMED_JSONL) printf '%s' 'artifact-malformed-jsonl' ;;
|
|
ARTIFACT_DUPLICATE_ID) printf '%s' 'artifact-duplicate-id' ;;
|
|
ARTIFACT_UNBOUND_ID) printf '%s' 'artifact-unbound-id' ;;
|
|
ARTIFACT_DANGLING_REF) printf '%s' 'artifact-dangling-ref' ;;
|
|
ARTIFACT_DEPENDENCY_CYCLE) printf '%s' 'artifact-dependency-cycle' ;;
|
|
ARTIFACT_COUNT_MISMATCH) printf '%s' 'artifact-count-mismatch' ;;
|
|
ARTIFACT_RUN_INTERRUPTED) printf '%s' 'artifact-run-interrupted' ;;
|
|
ARTIFACT_REVIEWER_MISSING) printf '%s' 'artifact-reviewer-missing' ;;
|
|
ARTIFACT_GUARD_LINE_MISSING) printf '%s' 'artifact-guard-line-missing' ;;
|
|
GUARD_NOT_INSTALLED) printf '%s' 'guard-not-installed' ;;
|
|
REVIEW_STATUS_MISMATCH) printf '%s' 'review-status-mismatch' ;;
|
|
GATE_REV_STALE) printf '%s' 'gate-rev-stale' ;;
|
|
GATE_REPLY_UNPARSED) printf '%s' 'gate-reply-unparsed' ;;
|
|
ANSWER_BY_REQUIRED) printf '%s' 'answer-by-required' ;;
|
|
COMPONENT_MISSING) printf '%s' 'doctor-component-missing' ;;
|
|
RUNTIME_BELOW_MINIMUM) printf '%s' 'doctor-runtime-below-minimum' ;;
|
|
PROJECT_PIN_MISMATCH) printf '%s' 'doctor-project-pin-mismatch' ;;
|
|
REVISION_UNMET) printf '%s' 'doctor-revision-unmet' ;;
|
|
RUNTIME_PIN_CONFLICT) printf '%s' 'capy-install-runtime-conflict' ;;
|
|
BROWSER_UNAVAILABLE) printf '%s' 'browser-ensure-failed' ;;
|
|
INSTALL_PREFLIGHT_FAILED) printf '%s' 'capy-install-preflight-failed' ;;
|
|
SETUP_PS1_EMPTY_ARGUMENT) printf '%s' 'setup-ps1-empty-argument' ;;
|
|
SETUP_DEPS_MIGRATE_FAILED) printf '%s' 'setup-deps-migrate-failed' ;;
|
|
POLICY_SOURCE_UNAVAILABLE) printf '%s' 'policy-source-unavailable' ;;
|
|
POLICY_INVALID) printf '%s' 'policy-invalid' ;;
|
|
POLICY_CONTAINMENT) printf '%s' 'policy-containment' ;;
|
|
POLICY_EXISTS) printf '%s' 'policy-exists' ;;
|
|
REPO_COMMANDS_NOT_ALLOWED) printf '%s' 'repo-commands-not-allowed' ;;
|
|
QUEUE_STALE) printf '%s' 'queue-stale' ;;
|
|
RESTAMP_VERSION_SOURCE) printf '%s' 'restamp-version-source' ;;
|
|
RESTAMP_MERGE_CONFLICT) printf '%s' 'restamp-merge-conflict' ;;
|
|
RESTAMP_RELEASE_TOOL_FAILED) printf '%s' 'restamp-release-tool-failed' ;;
|
|
RESTAMP_OUTPUT_OUTSIDE_ALLOWED) printf '%s' 'restamp-output-outside-allowed' ;;
|
|
RESTAMP_CONFLICT) printf '%s' 'restamp-conflict' ;;
|
|
RESTAMP_PREDECESSOR_MOVED) printf '%s' 'restamp-predecessor-moved' ;;
|
|
CHANGELOG_DUPLICATE_HEADING) printf '%s' 'changelog-duplicate-heading' ;;
|
|
CHANGELOG_TOP_MISMATCH) printf '%s' 'changelog-top-mismatch' ;;
|
|
CHANGELOG_SECTION_MISSING) printf '%s' 'changelog-section-missing' ;;
|
|
GATE_REUSE_NOT_ELIGIBLE) printf '%s' 'gate-reuse-not-eligible' ;;
|
|
EVIDENCE_IDENTITY_UNKNOWN) printf '%s' 'evidence-identity-unknown' ;;
|
|
EVIDENCE_BUNDLE_INVALID) printf '%s' 'evidence-bundle-invalid' ;;
|
|
PREREGISTRATION_NOT_ANCESTOR) printf '%s' 'preregistration-not-ancestor' ;;
|
|
HISTORY_POLICY_VIOLATION) printf '%s' 'history-policy-violation' ;;
|
|
RECEIPT_MISSING) printf '%s' 'receipt-missing' ;;
|
|
RECEIPT_INVALID) printf '%s' 'receipt-invalid' ;;
|
|
EXECUTION_UNKNOWN) printf '%s' 'execution-unknown' ;;
|
|
RUN_LOCKED) printf '%s' 'run-locked' ;;
|
|
RUN_NOT_INITIALIZED) printf '%s' 'run-not-initialized' ;;
|
|
PHASE_NOT_AWAITING) printf '%s' 'phase-not-awaiting' ;;
|
|
ATTEMPT_MISMATCH) printf '%s' 'attempt-mismatch' ;;
|
|
RESULT_RECEIPT_MISSING) printf '%s' 'result-receipt-missing' ;;
|
|
RESULT_FINDINGS_MISSING) printf '%s' 'result-findings-missing' ;;
|
|
MODEL_FAMILY_CONFLICT) printf '%s' 'model-family-conflict' ;;
|
|
SPEND_CAP_EXCEEDED) printf '%s' 'spend-cap-exceeded' ;;
|
|
CONSENSUS_MISSING) printf '%s' 'consensus-missing' ;;
|
|
OUTSIDE_RUNNER_UNAVAILABLE) printf '%s' 'outside-runner-unavailable' ;;
|
|
REALITY_ROW_MISSING) printf '%s' 'reality-row-missing' ;;
|
|
REALITY_RECEIPT_MISSING) printf '%s' 'reality-receipt-missing' ;;
|
|
REGEN_REGISTRY_INVALID) printf '%s' 'regen-registry-invalid' ;;
|
|
REGEN_CONTAINMENT) printf '%s' 'regen-containment' ;;
|
|
REGEN_STALE) printf '%s' 'regen-stale' ;;
|
|
REGEN_COMMAND_FAILED) printf '%s' 'regen-command-failed' ;;
|
|
PREGATE_CONFIG_INVALID) printf '%s' 'pregate-config-invalid' ;;
|
|
PREGATE_SECRETS) printf '%s' 'pregate-secrets' ;;
|
|
PREGATE_STRAYS) printf '%s' 'pregate-strays' ;;
|
|
PREGATE_LITERALS) printf '%s' 'pregate-literals' ;;
|
|
PREGATE_NO_LANE) printf '%s' 'pregate-no-lane' ;;
|
|
PREGATE_LANE_FAILED) printf '%s' 'pregate-lane-failed' ;;
|
|
PREGATE_INCOMPLETE) printf '%s' 'pregate-incomplete' ;;
|
|
PREGATE_STALLED) printf '%s' 'pregate-stalled' ;;
|
|
PREGATE_RECEIPT_INVALID) printf '%s' 'pregate-receipt-invalid' ;;
|
|
PREGATE_STALE) printf '%s' 'pregate-stale' ;;
|
|
PREGATE_REMOTE_UNCLEARED) printf '%s' 'pregate-remote-uncleared' ;;
|
|
ISSUE_UNREADABLE) printf '%s' 'issue-unreadable' ;;
|
|
ISSUE_LOOKUP_FAILED) printf '%s' 'issue-lookup-failed' ;;
|
|
ISSUE_LINKS_MISSING) printf '%s' 'issue-links-missing' ;;
|
|
EVAL_PRICE_MISSING) printf '%s' 'eval-price-missing' ;;
|
|
EVAL_DRY_RUN_FAILED) printf '%s' 'eval-dry-run-failed' ;;
|
|
EVAL_ARMS_UNRESOLVED) printf '%s' 'eval-arms-unresolved' ;;
|
|
EVAL_BUDGET_EXHAUSTED) printf '%s' 'eval-budget-exhausted' ;;
|
|
LANE_CONFLICT) printf '%s' 'lane-conflict' ;;
|
|
LANE_REF_UNAVAILABLE) printf '%s' 'lane-ref-unavailable' ;;
|
|
EVIDENCE_UNVERIFIED) printf '%s' 'evidence-unverified' ;;
|
|
BANNED_TERM_FOUND) printf '%s' 'banned-term-found' ;;
|
|
BANNED_TERMS_INVALID) printf '%s' 'banned-terms-invalid' ;;
|
|
CONTRIBUTOR_SOURCE_UNAVAILABLE) printf '%s' 'contributor-source-unavailable' ;;
|
|
BRIEF_INPUT_MISSING) printf '%s' 'brief-input-missing' ;;
|
|
DRAFT_DIRECTION_UNRESOLVED) printf '%s' 'draft-direction-unresolved' ;;
|
|
PREGATE_GUARD_FAILED) printf '%s' 'pregate-guard-failed' ;;
|
|
MIGRATION_COLLISION) printf '%s' 'migration-collision' ;;
|
|
SEALED_OUTPUT_REFUSED) printf '%s' 'sealed-output-refused' ;;
|
|
EVAL_GATE_UNPRICED) printf '%s' 'eval-gate-unpriced' ;;
|
|
EVAL_GATE_OVER_CAP) printf '%s' 'eval-gate-over-cap' ;;
|
|
EVAL_PLAN_STALE) printf '%s' 'eval-plan-stale' ;;
|
|
PLAN_SECTIONS_INVALID) printf '%s' 'plan-sections-invalid' ;;
|
|
PLAN_AMEND_PENDING) printf '%s' 'plan-amend-pending' ;;
|
|
AMENDMENT_UNKNOWN) printf '%s' 'amendment-unknown' ;;
|
|
AMENDMENT_NOT_SETTLEABLE) printf '%s' 'amendment-not-settleable' ;;
|
|
GATE_REC_STALE) printf '%s' 'gate-rec-stale' ;;
|
|
CHECKPOINT_INVALID) printf '%s' 'checkpoint-invalid' ;;
|
|
CHECKPOINT_OVERLAP) printf '%s' 'checkpoint-overlap' ;;
|
|
CHECKPOINT_TARGET_EXISTS) printf '%s' 'checkpoint-target-exists' ;;
|
|
OWNER_REPLY_REQUIRED) printf '%s' 'owner-reply-required' ;;
|
|
GATE_OWNER_REPLY_MISMATCH) printf '%s' 'gate-owner-reply-mismatch' ;;
|
|
GSTACK_VERSION_CHANGED) printf '%s' 'gstack-version-changed' ;;
|
|
ARTIFACT_GATE_UNSETTLED) printf '%s' 'artifact-gate-unsettled' ;;
|
|
UPGRADE_REFUSED) printf '%s' 'upgrade-refused' ;;
|
|
UPGRADE_BUSY) printf '%s' 'upgrade-busy' ;;
|
|
UPGRADE_FETCH_FAILED) printf '%s' 'upgrade-fetch-failed' ;;
|
|
REVISION_BELOW_MINIMUM) printf '%s' 'revision-below-minimum' ;;
|
|
CAPY_WRAPPER_STALE) printf '%s' 'capy-wrapper-stale' ;;
|
|
BUN_RESOLUTION_DRIFT) printf '%s' 'bun-resolution-drift' ;;
|
|
BUN_INSTALL_VERSION_INVALID) printf '%s' 'bun-install-version-invalid' ;;
|
|
INSTALL_UNVERIFIED) printf '%s' 'install-unverified' ;;
|
|
BUN_VERSION_UNREADABLE) printf '%s' 'bun-version-unreadable' ;;
|
|
BASH_UNAVAILABLE) printf '%s' 'bash-unavailable' ;;
|
|
IOS_LAUNCH_ENV_INVALID) printf '%s' 'ios-launch-env-invalid' ;;
|
|
OUTSIDE_VOICE_UNAVAILABLE) printf '%s' 'outside-voice-unavailable' ;;
|
|
ARTIFACT_MACHINE_PATH) printf '%s' 'artifact-machine-path' ;;
|
|
ARTIFACT_PUBLIC_TARGET_EXISTS) printf '%s' 'artifact-public-target-exists' ;;
|
|
EVAL_MODELS_INVALID) printf '%s' 'eval-models-invalid' ;;
|
|
EVAL_MODEL_DENIED) printf '%s' 'eval-model-denied' ;;
|
|
EVAL_MODEL_OLD_GENERATION) printf '%s' 'eval-model-old-generation' ;;
|
|
EVAL_MODEL_GENERATION_UNRESOLVED) printf '%s' 'eval-model-generation-unresolved' ;;
|
|
DX_CAPTURE_USAGE) printf '%s' 'dx-capture-usage' ;;
|
|
DX_CAPTURE_BAD_DEADLINE) printf '%s' 'dx-capture-bad-deadline' ;;
|
|
DX_CAPTURE_BAD_MAX_BYTES) printf '%s' 'dx-capture-bad-max-bytes' ;;
|
|
DX_CAPTURE_BAD_PASS_ENV) printf '%s' 'dx-capture-bad-pass-env' ;;
|
|
DX_CAPTURE_BAD_CWD) printf '%s' 'dx-capture-bad-cwd' ;;
|
|
DX_CAPTURE_APPROVAL_REQUIRED) printf '%s' 'dx-capture-approval-required' ;;
|
|
DX_CAPTURE_CONFIG_REFUSED) printf '%s' 'dx-capture-config-refused' ;;
|
|
DX_CAPTURE_NOT_FOUND) printf '%s' 'dx-capture-not-found' ;;
|
|
DX_CAPTURE_TEMP_DIR) printf '%s' 'dx-capture-temp-dir' ;;
|
|
DX_CAPTURE_CONTAINMENT_UNAVAILABLE) printf '%s' 'dx-capture-containment-unavailable' ;;
|
|
DX_CAPTURE_SUPERVISOR_FAILED) printf '%s' 'dx-capture-supervisor-failed' ;;
|
|
DX_CAPTURE_INTERRUPTED) printf '%s' 'dx-capture-interrupted' ;;
|
|
DX_CAPTURE_REDACTION_FAILED) printf '%s' 'dx-capture-redaction-failed' ;;
|
|
DX_CAPTURE_INTERNAL) printf '%s' 'dx-capture-internal' ;;
|
|
POLICY_GSTACK_TOO_OLD) printf '%s' 'policy-gstack-too-old' ;;
|
|
QUEUE_NOT_READY) printf '%s' 'queue-not-ready' ;;
|
|
QUEUE_PROOF_MISSING) printf '%s' 'queue-proof-missing' ;;
|
|
QUEUE_STAMP_NOT_STAMP_ONLY) printf '%s' 'queue-stamp-not-stamp-only' ;;
|
|
QUEUE_VERIFY_MISMATCH) printf '%s' 'queue-verify-mismatch' ;;
|
|
QUEUE_GATE_MISSING) printf '%s' 'queue-gate-missing' ;;
|
|
GATE_AHEAD_ATTEMPT_INVALID) printf '%s' 'gate-ahead-attempt-invalid' ;;
|
|
QUEUE_TRAIN_OFF) printf '%s' 'queue-train-off' ;;
|
|
QUEUE_TRAIN_UNTRUSTED) printf '%s' 'queue-train-untrusted' ;;
|
|
QUEUE_TRAIN_MOVED) printf '%s' 'queue-train-moved' ;;
|
|
QUEUE_TRAIN_CONFLICT) printf '%s' 'queue-train-conflict' ;;
|
|
QUEUE_TRAIN_FREE_RED) printf '%s' 'queue-train-free-red' ;;
|
|
QUEUE_TRAIN_DISPATCH_UNKNOWN) printf '%s' 'queue-train-dispatch-unknown' ;;
|
|
QUEUE_TRAIN_WAITING) printf '%s' 'queue-train-waiting' ;;
|
|
QUEUE_TRAIN_PENDING) printf '%s' 'queue-train-pending' ;;
|
|
QUEUE_TRAIN_INCOMPLETE) printf '%s' 'queue-train-incomplete' ;;
|
|
QUEUE_TRAIN_RED) printf '%s' 'queue-train-red' ;;
|
|
QUEUE_TRAIN_RED_ON_MAIN) printf '%s' 'queue-train-red-on-main' ;;
|
|
QUEUE_TRAIN_UNATTRIBUTED) printf '%s' 'queue-train-unattributed' ;;
|
|
QUEUE_TRAIN_BISECT_CAPPED) printf '%s' 'queue-train-bisect-capped' ;;
|
|
QUEUE_TRAIN_PREFIX_INVALID) printf '%s' 'queue-train-prefix-invalid' ;;
|
|
QUEUE_TRAIN_REBUILD_REFUSED) printf '%s' 'queue-train-rebuild-refused' ;;
|
|
QUEUE_TRAIN_STAMP_MISMATCH) printf '%s' 'queue-train-stamp-mismatch' ;;
|
|
QUEUE_TRAIN_TREE_MISMATCH) printf '%s' 'queue-train-tree-mismatch' ;;
|
|
QUEUE_TRAIN_STALE) printf '%s' 'queue-train-stale' ;;
|
|
QUEUE_TRAIN_BASE_RED) printf '%s' 'queue-train-base-red' ;;
|
|
QUEUE_TRAIN_SPEND_CAP) printf '%s' 'queue-train-spend-cap' ;;
|
|
QUEUE_TRAIN_LAND_METHOD) printf '%s' 'queue-train-land-method' ;;
|
|
QUEUE_TRAIN_INIT_REFUSED) printf '%s' 'queue-train-init-refused' ;;
|
|
QUEUE_TRAIN_DOCTOR_FINDINGS) printf '%s' 'queue-train-doctor-findings' ;;
|
|
QUEUE_BASE_RED_NO_TRAIN) printf '%s' 'queue-base-red-no-train' ;;
|
|
SHIP_BASE_RED_FIXER) printf '%s' 'ship-base-red-fixer' ;;
|
|
QUEUE_TRAIN_FROZEN) printf '%s' 'queue-train-frozen' ;;
|
|
QUEUE_WAVE_CONFLICT) printf '%s' 'queue-wave-conflict' ;;
|
|
QUEUE_WAVE_MOVED) printf '%s' 'queue-wave-moved' ;;
|
|
QUEUE_WAVE_DUPLICATE) printf '%s' 'queue-wave-duplicate' ;;
|
|
QUEUE_WAVE_SIZE) printf '%s' 'queue-wave-size' ;;
|
|
QUEUE_WAVE_UNKNOWN) printf '%s' 'queue-wave-unknown' ;;
|
|
QUEUE_WAVE_DEPENDENT) printf '%s' 'queue-wave-dependent' ;;
|
|
QUEUE_WAVE_NOT_MERGED) printf '%s' 'queue-wave-not-merged' ;;
|
|
QUEUE_RECEIPT_MISSING) printf '%s' 'queue-receipt-missing' ;;
|
|
QUEUE_RECEIPT_STALE) printf '%s' 'queue-receipt-stale' ;;
|
|
QUEUE_RECEIPT_CONDITIONAL) printf '%s' 'queue-receipt-conditional' ;;
|
|
BASE_RED_UNCONFIGURED) printf '%s' 'base-red-unconfigured' ;;
|
|
BASE_RED_UNNAMED) printf '%s' 'base-red-unnamed' ;;
|
|
BASE_RED_REPRO_ERROR) printf '%s' 'base-red-repro-error' ;;
|
|
BASE_RED_PAUSE_EXPIRED) printf '%s' 'base-red-pause-expired' ;;
|
|
BASE_RED_WAIT_TIMEOUT) printf '%s' 'base-red-wait-timeout' ;;
|
|
QUEUE_RECEIPT_DEPTH_RAISED) printf '%s' 'queue-receipt-depth-raised' ;;
|
|
QUEUE_RECEIPT_EXCEPTION_INVALID) printf '%s' 'queue-receipt-exception-invalid' ;;
|
|
QUEUE_SCREEN_STALE_REF) printf '%s' 'queue-screen-stale-ref' ;;
|
|
QUEUE_SCREEN_NOT_RUN) printf '%s' 'queue-screen-not-run' ;;
|
|
QUEUE_TRAIN_STACK_RED) printf '%s' 'queue-train-stack-red' ;;
|
|
QUEUE_POST_MERGE_RED) printf '%s' 'queue-post-merge-red' ;;
|
|
QUEUE_SCREEN_RED) printf '%s' 'queue-screen-red' ;;
|
|
READY_SCREEN_CHOICE_REQUIRED) printf '%s' 'ready-screen-choice-required' ;;
|
|
PREGATE_TIMING_ASSERTION) printf '%s' 'pregate-timing-assertion' ;;
|
|
PREGATE_NO_POLICY) printf '%s' 'pregate-no-policy' ;;
|
|
PREGATE_ENVIRONMENT) printf '%s' 'pregate-environment' ;;
|
|
APPROVAL_CLASSES_INVALID) printf '%s' 'approval-classes-invalid' ;;
|
|
APPROVAL_CLASS_FOUND) printf '%s' 'approval-class-found' ;;
|
|
APPROVAL_CITATION_MISSING) printf '%s' 'approval-citation-missing' ;;
|
|
APPROVAL_SOURCE_UNAVAILABLE) printf '%s' 'approval-source-unavailable' ;;
|
|
STATE_MATRIX_INCOMPLETE) printf '%s' 'state-matrix-incomplete' ;;
|
|
WTREE_UNAVAILABLE) printf '%s' 'wtree-unavailable' ;;
|
|
REGEN_DEPS_MISSING) printf '%s' 'regen-deps-missing' ;;
|
|
REVIEW_SCOPE_INPUT) printf '%s' 'review-scope-input' ;;
|
|
REVIEW_SCOPE_RANGE) printf '%s' 'review-scope-range' ;;
|
|
REVIEW_SCOPE_LEDGER) printf '%s' 'review-scope-ledger' ;;
|
|
RECEIPT_CARRY_REFUSED) printf '%s' 'receipt-carry-refused' ;;
|
|
PROSE_LINT_FOUND) printf '%s' 'prose-lint-found' ;;
|
|
REVIEW_LOOP_EXCEPTION_INVALID) printf '%s' 'review-loop-exception-invalid' ;;
|
|
RECEIPT_CARRY_TREE_MISMATCH) printf '%s' 'receipt-carry-tree-mismatch' ;;
|
|
RECEIPT_CARRY_PRODUCT_CHANGED) printf '%s' 'receipt-carry-product-changed' ;;
|
|
RECEIPT_CARRY_SCOPED_REVIEW) printf '%s' 'receipt-carry-scoped-review' ;;
|
|
DOCS_AUDIT_BLOCKED) printf '%s' 'docs-audit-blocked' ;;
|
|
RECEIPT_PROSE_MISMATCH) printf '%s' 'receipt-prose-mismatch' ;;
|
|
RECEIPT_CARRY_PREGATE_STALE) printf '%s' 'receipt-carry-pregate-stale' ;;
|
|
RECEIPT_GIT_TOO_OLD) printf '%s' 'receipt-git-too-old' ;;
|
|
CHANGELOG_FRAGMENT_INVALID) printf '%s' 'changelog-fragment-invalid' ;;
|
|
QUEUE_LAND_LOCKED) printf '%s' 'queue-land-locked' ;;
|
|
QUEUE_TRAIN_UNSTAMPED) printf '%s' 'queue-train-unstamped' ;;
|
|
RESTAMP_NOT_STAGED) printf '%s' 'restamp-not-staged' ;;
|
|
RESTAMP_UNSTAGED_EDITS) printf '%s' 'restamp-unstaged-edits' ;;
|
|
QUEUE_LAND_CONFLICT) printf '%s' 'queue-land-conflict' ;;
|
|
QUEUE_LAND_DRIFT) printf '%s' 'queue-land-drift' ;;
|
|
QUEUE_LAND_BASE_BUSY) printf '%s' 'queue-land-base-busy' ;;
|
|
PR_WAIT_BLOCKED) printf '%s' 'pr-wait-blocked' ;;
|
|
PR_WAIT_REFUSED) printf '%s' 'pr-wait-refused' ;;
|
|
PREGATE_HEAD_POLICY_LOOSENS) printf '%s' 'pregate-head-policy-loosens' ;;
|
|
APPROVAL_RECORD_INVALID) printf '%s' 'approval-record-invalid' ;;
|
|
APPROVAL_RECORD_SECRET) printf '%s' 'approval-record-secret' ;;
|
|
APPROVAL_RECORD_NO_BRANCH) printf '%s' 'approval-record-no-branch' ;;
|
|
APPROVAL_RECORD_UNAVAILABLE) printf '%s' 'approval-record-unavailable' ;;
|
|
APPROVAL_RECORD_WRITE_FAILED) printf '%s' 'approval-record-write-failed' ;;
|
|
APPROVAL_IMPORT_UNANSWERED) printf '%s' 'approval-import-unanswered' ;;
|
|
CAPTAIN_BRIEF_INCOMPLETE) printf '%s' 'captain-brief-incomplete' ;;
|
|
PR_SHOTS_INPUT_NOT_FOUND) printf '%s' 'pr-shots-input-not-found' ;;
|
|
PR_SHOTS_INPUT_REFUSED) printf '%s' 'pr-shots-input-refused' ;;
|
|
PR_SHOTS_IDENTICAL) printf '%s' 'pr-shots-identical' ;;
|
|
PR_SHOTS_RENDER_FAILED) printf '%s' 'pr-shots-render-failed' ;;
|
|
LAUNCH_FILE_UNWRITABLE) printf '%s' 'capy-install-launch-file-unwritable' ;;
|
|
PROJECT_FLOOR_UNMET) printf '%s' 'project-floor-unmet' ;;
|
|
PROJECT_NODE_PIN_UNMET) printf '%s' 'project-node-pin-unmet' ;;
|
|
UPGRADE_SKIPPED) printf '%s' 'upgrade-skipped' ;;
|
|
BUDGET_CAP_REACHED) printf '%s' 'budget-cap-reached' ;;
|
|
BUDGET_READING_MISSING) printf '%s' 'budget-reading-missing' ;;
|
|
METER_SCOPE_PARENT) printf '%s' 'meter-scope-parent' ;;
|
|
BUDGET_READING_REJECTED) printf '%s' 'budget-reading-rejected' ;;
|
|
BUDGET_METER_UNAVAILABLE) printf '%s' 'budget-meter-unavailable' ;;
|
|
BUDGET_LEDGER_INVALID) printf '%s' 'budget-ledger-invalid' ;;
|
|
BUDGET_CHECK_SKIPPED) printf '%s' 'budget-check-skipped' ;;
|
|
HANDOFF_PIN_MOVED) printf '%s' 'handoff-pin-moved' ;;
|
|
PREREG_INCOMPLETE) printf '%s' 'prereg-incomplete' ;;
|
|
PREREG_DIAGNOSTIC_UNTESTED) printf '%s' 'prereg-diagnostic-untested' ;;
|
|
PREREG_NO_GSTACK_ARM) printf '%s' 'prereg-no-gstack-arm' ;;
|
|
EVAL_REPORT_NO_GSTACK_ROW) printf '%s' 'eval-report-no-gstack-row' ;;
|
|
EVAL_ARM_DUPLICATE) printf '%s' 'eval-arm-duplicate' ;;
|
|
OFFICE_HOURS_PROBE_REFUSED) printf '%s' 'office-hours-probe-refused' ;;
|
|
TASKS_SUPERSEDE_REFUSED) printf '%s' 'tasks-supersede-refused' ;;
|
|
REALITY_RECEIPT_UNRESOLVED) printf '%s' 'reality-receipt-unresolved' ;;
|
|
CEO_ONLY_CONFLICT) printf '%s' 'ceo-only-conflict' ;;
|
|
CEO_ONLY_AFTER_INIT) printf '%s' 'ceo-only-after-init' ;;
|
|
CEO_ONLY_NO_GATE) printf '%s' 'ceo-only-no-gate' ;;
|
|
SHADOW_BEFORE_ANSWER) printf '%s' 'shadow-before-answer' ;;
|
|
BROWSE_TAB_UNRECOVERABLE) printf '%s' 'browse-tab-unrecoverable' ;;
|
|
BROWSE_SESSION_INVALID) printf '%s' 'browse-session-invalid' ;;
|
|
BROWSE_SESSION_ROOT_ONLY) printf '%s' 'browse-session-root-only' ;;
|
|
BROWSE_SESSION_TAB_RESET) printf '%s' 'browse-session-tab-reset' ;;
|
|
BROWSE_SESSION_LIMIT) printf '%s' 'browse-session-limit' ;;
|
|
BROWSE_DEVICE_UNKNOWN) printf '%s' 'browse-device-unknown' ;;
|
|
BROWSE_DEVICE_CDP_FAILED) printf '%s' 'browse-device-cdp-failed' ;;
|
|
BROWSE_TOUCH_NO_DEVICE) printf '%s' 'browse-touch-no-device' ;;
|
|
GSTACK_CLEAN_USAGE) printf '%s' 'gstack-clean-usage' ;;
|
|
GSTACK_CLEAN_TARGET_REFUSED) printf '%s' 'gstack-clean-target-refused' ;;
|
|
GSTACK_CLEAN_PARTIAL) printf '%s' 'gstack-clean-partial' ;;
|
|
GSTACK_CLEAN_INTERNAL) printf '%s' 'gstack-clean-internal' ;;
|
|
*) return 1 ;;
|
|
esac
|
|
}
|