Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
74cb0ca
docs: Oct 7 follow-up wave plan (pre-review)
garrytan Oct 7, 2026
9b27a3e
docs: Oct 7 follow-up wave plan, reviewed through /autoplan
garrytan Oct 7, 2026
7fab2a7
docs: Oct 7 wave plan, record final gate decisions (UC1 accepted, UC2…
garrytan Oct 7, 2026
35a8284
docs: credit #1822 to @Mike-E-Log and #1743 to @habassa5 (v1.64.0.0)
garrytan Oct 7, 2026
1902f4c
fix(context-restore): offer newer checkpoints from nested repos and t…
garrytan Oct 7, 2026
8f29f1c
fix(redact-prepush): list each MEDIUM finding with rule, file line an…
garrytan Oct 7, 2026
e7a481a
fix(redact-prepush): stop flagging your own email and already-public …
garrytan Oct 7, 2026
d192d69
feat(redact-prepush): per-address allowlist for pii.email (gstack.red…
garrytan Oct 7, 2026
0f88276
docs(troubleshooting): pre-push pii.email findings, exemptions and al…
garrytan Oct 7, 2026
fe162d9
test(redact-prepush): assemble fixture addresses at runtime
garrytan Oct 7, 2026
6c994a4
Merge oct7-prepush: pre-push email precision (A3)
garrytan Oct 7, 2026
57151c5
fix(browse): offer the user's signed-in tab, name silent aside repl f…
garrytan Oct 7, 2026
64e8f90
feat(codex): run gstack-codex-probe as a command, one subcommand per …
garrytan Oct 7, 2026
94eae93
Merge oct7-small: context-restore, browse cookbook, credits (B1, B6, B7)
garrytan Oct 7, 2026
eac410f
feat(gstack-post): one argv-only, redaction-scanned write path for PR…
garrytan Oct 7, 2026
01daf84
fix(autoplan): guard verifies dispatches on Claude Code 2.1.29x (sche…
garrytan Oct 7, 2026
0fe5cae
fix(autoplan): publish each phase report with a no-op call; foregroun…
garrytan Oct 7, 2026
b104c3d
feat(ship,spec,review): PR and issue text goes out only through gstac…
garrytan Oct 7, 2026
8451104
ci: pin Claude Code 2.1.292 in the CI image
garrytan Oct 7, 2026
988fe8f
fix(brain-sync): one drain lock for every writer to the artifacts repo
garrytan Oct 7, 2026
f5896ac
fix(brain-sync): hold back only the flagged file, keep coupled artifa…
garrytan Oct 7, 2026
b0ece62
feat(skill-start): ARTIFACTS_SYNC attention lines for a stuck sync
garrytan Oct 7, 2026
8aae497
fix(outside-review): severity words in label position count as findings
garrytan Oct 7, 2026
a9f2ff6
feat: gstack-doctor readiness report and setup --status Codex row (B5)
garrytan Oct 7, 2026
bc9c757
docs: bug-report template asks for doctor output; README troubleshoot…
garrytan Oct 7, 2026
783975f
docs(troubleshooting): readiness check section points at gstack-doctor
garrytan Oct 7, 2026
b6abf58
fix(question-tuning,plan-tune,gbrain): free text reaches helpers only…
garrytan Oct 7, 2026
3f930b4
Merge oct7-brainsync: artifacts sync per-file hold (A4)
garrytan Oct 7, 2026
e811aaf
test(evals): daily autoplan-schema-canary on the latest Claude Code
garrytan Oct 7, 2026
6001665
Merge oct7-probe: executed Codex probe, severity-word classifier, gst…
garrytan Oct 7, 2026
47dbf49
fix(doctor): read the artifacts sync held count from held_count, the …
garrytan Oct 7, 2026
eb1a12a
fix(artifacts sync): the init and restore pre-commit hooks catch Bear…
garrytan Oct 7, 2026
7c83637
feat(greptile-early): detect Greptile, ask once on public repos, open…
garrytan Oct 7, 2026
7ecb5b5
feat(ship): early Greptile PR at Step 6.5, bounded wait at Step 10 (#…
garrytan Oct 7, 2026
26eb74e
Merge oct7-post: gstack-post helper and early Greptile PR (B4, B2)
garrytan Oct 7, 2026
66f50f1
fix(autoplan): the publication no-op is 'true autoplan-published <pha…
garrytan Oct 7, 2026
8c11ebc
test(evals): live autoplan-guard-pty case on the pinned Claude Code
garrytan Oct 7, 2026
cd12cb2
fix(autoplan): bounded, append-tolerant owned-journal read (A2)
garrytan Oct 7, 2026
1c40b48
test(autoplan): journal-read benchmark and its dispatch-only workflow…
garrytan Oct 7, 2026
5615c51
test(evals): autoplan-long-session, a resumed >100 MiB session enters…
garrytan Oct 7, 2026
a349219
Merge oct7-guard: /autoplan guard on Claude Code 2.1.292, bounded jou…
garrytan Oct 7, 2026
ea2ff15
v1.91.34.0: CHANGELOG, TODOS, version; harness decision for test-pr-p…
garrytan Oct 7, 2026
0c598f8
docs(changelog): use an example.com address in the allowEmail example
garrytan Oct 7, 2026
068a309
test: assemble GitHub-token fixtures at runtime in the new brain-sync…
garrytan Oct 7, 2026
a740353
fix: integration repairs across the wave (Step 6.5 fence, printed hel…
garrytan Oct 7, 2026
c2d1aa1
test(doctor): the healthy fixture builds browse.exe on Windows, the n…
garrytan Oct 7, 2026
1912604
test(shared-libs): recognize Claude Code 2.1.292's internal git probe…
garrytan Oct 7, 2026
2a503b7
fix(ship-measure): report lists v1 measurements as an older format in…
garrytan Oct 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: A gstack skill, helper or setup step broke or did something unexpected
labels: bug
---

## What happened

<!-- The skill or command you ran, what it printed, and what you expected instead. -->

## Steps to reproduce

1.
2.

## Readiness report

Paste the complete output of gstack's doctor. It starts no skill, makes no paid
call and prints no secrets or file contents. Run the line for your install:

```bash
# Claude Code
~/.claude/skills/gstack/bin/gstack-doctor

# Any other host: from your gstack checkout, ./setup --status ends with the
# absolute path of the doctor ("Readiness check: ..."). Run that path.
./setup --status

# The state root (where installs.tsv lists every install) for the same checkout:
./bin/gstack-paths --get GSTACK_STATE_ROOT
```

```text
(doctor output here)
```

## Environment

- Host (Claude Code, Codex, Cursor, ...) and its version:
- OS:
17 changes: 9 additions & 8 deletions .github/docker/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,15 @@ RUN case "${TARGETARCH:-amd64}" in \
# skillify HOME discovery on 2.1.237, guard/freeze hooks on 2.1.162).
# Bump deliberately, via a PR that runs the PTY gate against the new TUI.
# test/ci-image-cli-pin.test.ts fails the free suite if this pin is removed.
# 2.1.284 is the first pin that recognizes the eval model claude-fable-5-1.
# 2.1.251 already sent it effort "high", but ran it as an unknown model with
# a generic system prompt. Users on stable (2.1.280) and latest (2.1.285) get
# the fable-5-1 profile: its own system prompt, 64k max_tokens and per-turn
# effort, which only moves the same effort value into the conversation.
# Census 36626737820 on 2.1.284 looked slower mostly because the API was:
# its SDK-only judge evals, which never start this CLI, were 25% slower too.
RUN npm i -g @anthropic-ai/claude-code@2.1.284
# 2.1.292 is the npm latest users run (October 2026). On it the fork-subagent
# gate is on by default in interactive sessions: the Agent schema drops
# run_in_background and reviewers run in the background, which broke the
# /autoplan publication guard while CI still ran 2.1.284 and never saw it.
# Pinning the version users run is the point; the daily
# autoplan-schema-canary case watches the latest release ahead of the pin.
# (2.1.284 was the first pin to recognize the eval model claude-fable-5-1;
# 2.1.292 keeps that profile.)
RUN npm i -g @anthropic-ai/claude-code@2.1.292

# Codex CLI — exact pin, same discipline as the claude pin above, so the
# Codex eval files execute in CI instead of self-skipping. Installed OFF PATH:
Expand Down
60 changes: 59 additions & 1 deletion .github/workflows/evals-periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ run-name: ${{ inputs.nonce && format('Periodic Evals [eval-bg {0}]', inputs.nonc
on:
schedule:
- cron: '0 6 * * 1' # Monday 6 AM UTC; build-image below builds or reuses the CI image
# Daily, for autoplan-schema-canary alone (latest Claude Code vs the /autoplan
# guard's payload assumptions); every census job below skips this schedule.
- cron: '30 7 * * *'
workflow_dispatch:
inputs:
redispatch_of:
Expand All @@ -38,13 +41,17 @@ on:
description: 'eval-bg: dispatch nonce carried in the run name'
type: string
default: ''
schema_canary_only:
description: 'Run only autoplan-schema-canary (the daily latest-Claude-Code canary), not the census'
type: boolean
default: false

# One group per ref AND event: a branch dispatch never cancels main's census,
# and a manual main dispatch never cancels the scheduled one. A re-dispatch
# runs in its own group so it never cancels the run that dispatched it; both
# runs are reported.
concurrency:
group: evals-periodic-${{ github.ref }}-${{ github.event_name }}${{ inputs.redispatch_of && format('-redispatch-{0}', inputs.redispatch_of) || '' }}
group: evals-periodic-${{ github.ref }}-${{ github.event_name }}${{ inputs.redispatch_of && format('-redispatch-{0}', inputs.redispatch_of) || '' }}${{ (github.event.schedule == '30 7 * * *' || inputs.schema_canary_only) && '-schema-canary' || '' }}
cancel-in-progress: true

env:
Expand Down Expand Up @@ -110,6 +117,9 @@ jobs:
plan-slices:
runs-on: ubicloud-standard-8
timeout-minutes: 10
# The daily schedule and a canary-only dispatch run schema-canary alone;
# every census job needs this one, so they all skip with it.
if: ${{ github.event.schedule != '30 7 * * *' && !inputs.schema_canary_only }}
permissions:
contents: read
outputs:
Expand Down Expand Up @@ -176,6 +186,54 @@ jobs:
path: /tmp/gate-census-plan/manifest.json
retention-days: 30

# autoplan-schema-canary: installs the latest published Claude Code with
# install scripts off, audits registry signatures, and checks the Agent and
# Read hook payloads against the journal with the /autoplan guard's own
# comparison. Daily, so a schema strip reds within a day of a release; the
# weekly census also runs it. Read-only token; the key's spend is capped by
# the case (one haiku session, about $0.02).
schema-canary:
runs-on: ubicloud-standard-2
needs: build-image
if: ${{ github.event.schedule == '30 7 * * *' || inputs.schema_canary_only }}
timeout-minutes: 20
permissions:
contents: read
packages: read
container:
image: ${{ needs.build-image.outputs.image-tag }}
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
options: --user runner
env:
EVALS_RUN_ID: ci-${{ github.run_id }}-${{ github.run_attempt }}-schema-canary
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false

- name: Fix bun temp
uses: ./.github/actions/fix-bun-temp

- name: Restore deps
uses: ./.github/actions/restore-deps

- name: Run autoplan-schema-canary on the latest Claude Code
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
GSTACK_EVAL_DIR: /tmp/schema-canary-results
run: EVALS_TIER=periodic bun run scripts/test-paid-shards.ts --tier periodic --case autoplan-schema-canary --trials 1

- name: Upload canary results
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: schema-canary-a${{ github.run_attempt }}
path: /tmp/schema-canary-results
if-no-files-found: ignore
retention-days: 90

eval-slices:
runs-on: ubicloud-standard-8
needs: [build-image, plan-slices]
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/free-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,13 @@ jobs:
git config --global user.email "free-tests-ci@gstack.test"
git config --global user.name "Free Tests CI"
git config --global init.defaultBranch main
- name: Codex probe selects a model when sourced from zsh (macOS default shell, no paid call)
- name: Codex probe selects a model from zsh, run as a command and sourced (macOS default shell, no paid call)
working-directory: ${{ runner.temp }}
run: |
set -euo pipefail
run="$(zsh -c '"$GITHUB_WORKSPACE/bin/gstack-codex-probe" select-model exec' 2>&1)"
printf '%s\n' "$run"
printf '%s\n' "$run" | grep -E '^CODEX_SEL: [A-Za-z0-9._:/-]+$'
out="$(zsh -c 'source "$GITHUB_WORKSPACE/bin/gstack-codex-probe" && _gstack_codex_select_model exec' 2>&1)"
printf '%s\n' "$out"
printf '%s\n' "$out" | grep -E '^CODEX_MODEL: [A-Za-z0-9._:/-]+ \(exec; source: '
Expand All @@ -139,7 +142,7 @@ jobs:
resolved="$(realpath "$tmp")"
echo "temp root: $tmp -> $resolved"
test "$resolved" != "${tmp%/}"
files=(test/gstack-design-detect.test.ts browse/test/chromium-profile-isolation.test.ts test/cso-git-hardening.test.ts test/plan-count-file-permission.test.ts test/spec-quality-gate-secret-sink.test.ts test/gstack-memory-ingest.test.ts test/regression-issue3024-zsh-sourced-helpers.test.ts)
files=(test/gstack-design-detect.test.ts browse/test/chromium-profile-isolation.test.ts test/cso-git-hardening.test.ts test/plan-count-file-permission.test.ts test/spec-quality-gate-secret-sink.test.ts test/gstack-memory-ingest.test.ts test/regression-issue3024-zsh-sourced-helpers.test.ts test/codex-probe-subcommands.test.ts)
for file in "${files[@]}"; do test -f "$file"; done
bun test "${files[@]}"

Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/measure-journal-read.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Measure journal read

# CEO-2 / CEO-6: one read plus evaluation of the /autoplan publication guard on
# synthetic 120 MiB parent journals, on Linux and macOS, while the journal keeps
# growing. Dispatched by hand on the A2 branch; never on every PR. The Linux
# numbers are the acceptance record (<= 1000 ms, <= 256 MiB peak RSS); the
# macOS numbers are recorded and do not gate. Results go to the job summary.

on:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: measure-journal-read-${{ github.ref }}
cancel-in-progress: true

jobs:
measure:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.4.2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Measure one guarded read (3 runs per journal)
run: |
bun scripts/measure-journal-read.ts --runs 3 | tee "$RUNNER_TEMP/measure.md"
cat "$RUNNER_TEMP/measure.md" >> "$GITHUB_STEP_SUMMARY"
Loading
Loading