mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-06 00:44:07 +01:00
bin/gstack-install-verdict.sh (Bash) and lib/install-verdict.ts (TypeScript) are the one reader of the install verdict gstack-capy-install writes to <state root>/install-verdicts/<sha256(checkout realpath)>.json (checkout, HEAD, workflow and required components, planning-only pins, trailer). The source checkout and capy/support.env resolve through gstack_source_root / sourceRoot, which follow an installed root's .source-path. gstack-skill-start, after SESSION_KIND: an unattended session (any host) refuses on a PATH Bun below the supported minimum; with GSTACK_CAPY=1 an unattended or explicit spawned session also refuses without a passing verdict for this checkout, HEAD and workflow (INSTALL_UNVERIFIED). A refusal prints the INSTALL: row, an install-refused instruction block bound to its SESSION_ID, GSTACK_RESULT ... status=refused run=- and exits 3. Ambient spawned sessions warn; GSTACK_ALLOW_UNSUPPORTED_RUNTIME=1 admits and says so. capy/support.env declares GSTACK_MIN_REVISION and GSTACK_CAPY_MIN_WRAPPER. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
16 lines
965 B
Bash
16 lines
965 B
Bash
# capy/support.env — what the Capy skill bootstrapper (capy/skill/gstack/scripts/install.sh)
|
|
# reads from origin's default branch with `git show FETCH_HEAD:capy/support.env`,
|
|
# so a checkout too old to know today's rules learns them from the remote.
|
|
# Parsed, never sourced: KEY=<dotted number> lines only.
|
|
#
|
|
# GSTACK_MIN_REVISION: the oldest revision whose installer, trailer and fix
|
|
# lines are honest. A checkout below it is fast-forwarded at session start
|
|
# (install mode; --check only reports). Raise it only for install-honesty or
|
|
# security fixes, at stamp time, to the VERSION being released
|
|
# (docs/capy-install.md "Raising the supported minimum"); it never exceeds VERSION.
|
|
GSTACK_MIN_REVISION=1.91.95.0
|
|
# GSTACK_CAPY_MIN_WRAPPER: the oldest bootstrapper revision (GSTACK_CAPY_WRAPPER in
|
|
# capy/skill/gstack/scripts/install.sh) the owner should run. An older copy still
|
|
# works and prints an owner action (CAPY_WRAPPER_STALE).
|
|
GSTACK_CAPY_MIN_WRAPPER=1
|