Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
190e6c4
Add architecture-focused planning review skills
anbangr Apr 22, 2026
6638051
docs: add GStack Playbook for workflow guidance and skill reference
anbangr Apr 22, 2026
2ad9e73
Merge remote-tracking branch 'upstream/main'
anbangr Apr 24, 2026
946e9f5
Merge origin/main into main
anbangr Apr 26, 2026
d3b148b
feat: add /implement autonomous coding skill
anbangr Apr 26, 2026
7b6bc1b
feat(implement): add model routing discipline for gemini and sonnet
anbangr Apr 26, 2026
073eee2
feat(implement): add living implementation plan synthesis and checkin…
anbangr Apr 26, 2026
c16834b
feat(implement): add feature branching and auto-deploy
anbangr Apr 26, 2026
6ed7d95
feat(implement): add opus and codex consensus for ambiguous review ch…
anbangr Apr 26, 2026
7039ec0
feat(implement): process entire plan and use proper plan naming
anbangr Apr 26, 2026
b15bdf2
feat(implement): add verbose state narration and autonomous continuity
anbangr Apr 26, 2026
43300a9
fix(implement): enforce automatic deploy skill invocation without asking
anbangr Apr 26, 2026
87040dc
feat(implement): use sub-agent delegation to prevent context compaction
anbangr Apr 26, 2026
318504f
feat(implement): add iterative github ci/cd checking to sub-agent ins…
anbangr Apr 26, 2026
1bacade
fix(implement): explicit bash tool instruction for ship skill invocation
anbangr Apr 26, 2026
4d6a8a2
feat(implement): mandate autonomous execution of skills via bash tool
anbangr Apr 26, 2026
f3c6208
feat(implement): run both ship and land-and-deploy sequentially
anbangr Apr 26, 2026
f517f2c
feat(implement): explicitly mandate sonnet model for autonomous skill…
anbangr Apr 26, 2026
5e9df85
feat(implement): explicitly set sonnet model for sub-agent skill invo…
anbangr Apr 26, 2026
193dfa6
feat(implement): mandate /review and /qa skills during sub-agent phases
anbangr Apr 26, 2026
e1e051b
feat(implement): mandate agents to fix issues found during QA/review …
anbangr Apr 26, 2026
2462748
feat(implement): mandate bash tool for autonomous opus and codex deba…
anbangr Apr 26, 2026
72fc1f7
feat: replace AskUserQuestion with autonomous Opus/Codex debate acros…
anbangr Apr 26, 2026
5a0dd78
revert(skills): restore AskUserQuestion to review and ship skills
anbangr Apr 26, 2026
4b524b1
feat(implement): sync execution status back to original autoplan file
anbangr Apr 26, 2026
bb5b1ee
feat(implement): strictly enforce gemini for phase execution via bash…
anbangr Apr 26, 2026
86d7a05
feat(implement): spawn dedicated sonnet subagent for final review, it…
anbangr Apr 26, 2026
9b4f9fc
feat(implement): execute continuous deployment loop per phase instead…
anbangr Apr 26, 2026
d689127
feat(implement): replace sonnet with codex for review and deployment …
anbangr Apr 26, 2026
2a09300
fix(implement): restore sonnet subagent but instruct it to use /codex…
anbangr Apr 26, 2026
3833da4
fix(implement): strictly forbid native skill tool invocation to preve…
anbangr Apr 26, 2026
ef88667
fix(implement): move branch creation into phase execution loop to sup…
anbangr Apr 26, 2026
f7c3959
fix(implement): explicitly forbid LLM from substituting deployment sk…
anbangr Apr 26, 2026
f8c4732
fix(implement): strictly forbid backgrounding sub-agents and polling …
anbangr Apr 26, 2026
2f7211b
feat(implement): bump version to v1.1.0 and announce version on boot
anbangr Apr 26, 2026
abbbda3
feat(implement): revert to single-branch mode and add anti-hallucinat…
anbangr Apr 26, 2026
1635516
feat(implement): use MCP bridge tools for gemini and fix model flags
anbangr Apr 26, 2026
3233bfe
feat(implement): add support for resuming interrupted execution
anbangr Apr 26, 2026
b805599
feat(implement): adopt hybrid approach with per-phase review and sing…
anbangr Apr 26, 2026
4848992
fix(build): ensure auxiliary files are copied/symlinked to skill targets
anbangr Apr 26, 2026
4e8135c
feat(implement): add strict procedural guardrails to prevent hallucin…
anbangr Apr 26, 2026
7803419
feat(implement): require explicit execution checkboxes in generated p…
anbangr Apr 26, 2026
8d1332a
feat(implement): replace sonnet review with codex /gstack-review
anbangr Apr 26, 2026
55e3976
feat(implement): use codex for gstack-qa
anbangr Apr 26, 2026
3c68f90
Merge upstream/main: v1.15.0.0 slim preamble + plan-mode E2E harness
anbangr Apr 27, 2026
14432ad
feat(implement): recursive review loop + mandatory living plan update…
anbangr Apr 27, 2026
fc33f0f
feat(build)!: rename /implement → /build skill (v1.10.0)
anbangr Apr 27, 2026
fbe006a
chore(skills): regenerate stale SKILL.md files with slim preamble
anbangr Apr 27, 2026
08d18b8
v1.16.0.0 feat: gstack-build CLI orchestrator (#1)
anbangr Apr 27, 2026
fe489b5
feat(build): expand plan discovery — gstack mirror dirs + ~/.claude/p…
anbangr Apr 27, 2026
18493c6
chore: hold fork VERSION at 1.15.0.0 to avoid upstream collision
anbangr Apr 27, 2026
e49f2a5
feat(build): file-path I/O for all sub-agent calls (v1.13.0)
anbangr Apr 27, 2026
fae1a8c
feat(build): TDD integration — Red→Green enforced by state machine (v…
anbangr Apr 28, 2026
b207d78
feat(dual-impl): Gemini + Codex tournament selection with Opus judge …
anbangr Apr 28, 2026
d3edbea
fix(build): use .llm-tmp/ instead of /tmp for LLM I/O files
anbangr Apr 28, 2026
80868be
feat(build): phase + week guardrails with non-blocking status reports
anbangr Apr 28, 2026
8b324f0
feat(build-cli): phase completion report + post-ship guardrail verifi…
anbangr Apr 28, 2026
9382488
fix(build-cli): review findings — guardrail correctness + test coverage
anbangr Apr 28, 2026
0d13df5
fix(build-cli): Codex adversarial P0s — fail-closed guardrail logic
anbangr Apr 28, 2026
4186d56
feat: add --gemini-model / --codex-model CLI flags for dual-impl mode…
anbangr Apr 28, 2026
b2d021e
feat: bake model defaults + xhigh thinking mode for all Codex calls
anbangr Apr 28, 2026
c833046
refactor: extract buildCodexReviewArgv + tighten Args model fields
anbangr Apr 28, 2026
701c99d
fix(parseArgs): reject flag-as-value for --gemini-model / --codex-model
anbangr Apr 28, 2026
7509bea
fix: correct Gemini default model ID to gemini-3.1-pro-preview
anbangr Apr 28, 2026
7eb73a1
fix(review): 5 auto-fixes from specialist + adversarial passes
anbangr Apr 28, 2026
598fcde
fix: four /review-approved hardening fixes for build orchestrator
anbangr Apr 28, 2026
3089da4
fix: /review/codex — two more hardening fixes
anbangr Apr 28, 2026
b47b9c8
chore: bump build skill to v1.16.0 + CHANGELOG + deferred TODOs
anbangr Apr 28, 2026
597fee8
fix(dual-impl): 6 correctness fixes from /build review passes
anbangr Apr 29, 2026
168aba0
fix(review): /review pass on dual-impl feature — 6 AUTO-FIX items
anbangr Apr 29, 2026
a301703
fix(worktree): reset cwd when git commit fails after successful patch…
anbangr Apr 29, 2026
d84ebf5
feat: honor --dual-impl for prewritten test-spec phases
anbangr Apr 29, 2026
059c5eb
fix(review): resolve 3 ASK items from dual-impl /review pass
anbangr Apr 29, 2026
0e4120a
fix: close 3 Codex P2 gate-fail findings from dual-impl review
anbangr Apr 29, 2026
5069b75
test: coverage gaps from ship step 7 — state migration, judge safety,…
anbangr Apr 29, 2026
6e9176c
fix: P2 hardening pass — migration helper, crash-resume guard, DRY cl…
anbangr Apr 29, 2026
273c92c
test: update skill-md version assertion to 1.17.0
anbangr Apr 29, 2026
9abefc5
feat: gstack-build v1.18.0 — startup clean check + unshipped feat/* s…
anbangr Apr 29, 2026
6b8a212
fix: address Codex review P1s — cwd-scoped getCurrentBranch + checkou…
anbangr Apr 29, 2026
9fbdd40
fix: apply Codex auto-fixes — git <2.28 compat, runStartupGates DRY, …
anbangr Apr 29, 2026
4b77666
fix: pre-landing review hardening — path resolution, prune fetch, swe…
anbangr Apr 29, 2026
69140be
chore: bump version and changelog (v1.23.0.0)
anbangr Apr 29, 2026
1939a5e
docs: update project documentation for v1.23.0.0
anbangr Apr 29, 2026
12da1c5
feat: gstack-build v1.23.0.0 — startup gates (clean check + feat/* sw…
anbangr Apr 29, 2026
0c1cddb
feat(build): add CLI monitoring loop for long-running gstack-build ha…
anbangr Apr 29, 2026
214d7a3
chore: merge upstream v1.20.0.0 (browser-skills runtime) + sync VERSI…
anbangr Apr 29, 2026
7d18fa3
docs: add fork versioning rule to CLAUDE.md
anbangr Apr 29, 2026
d62ddf1
v1.23.0.0 feat(build): dual-impl recursive fix loops + judge hardenin…
anbangr Apr 29, 2026
57fcfd4
feat: configure build model routing
anbangr Apr 29, 2026
8a967ec
feat: prefer gstack inbox plan locations
anbangr Apr 29, 2026
8c68cb8
feat(build): execute living plans by feature block
anbangr Apr 30, 2026
85dd278
build: load orchestrator defaults from config
anbangr Apr 30, 2026
fe4cd9e
Configure build defaults from configure.cm
anbangr Apr 30, 2026
3b330f3
v1.25.0.0 chore: merge upstream gstack v1.25.0.0 (#5)
anbangr May 1, 2026
a0408f3
Fix build CLI resolution
anbangr May 1, 2026
6b95d39
Document build CLI resolution
anbangr May 1, 2026
7fddb3d
chore: bump version and changelog (v1.25.1.0)
anbangr May 1, 2026
286ff93
Merge pull request #6 from anbangr/codex/fix-build-cli-resolution
anbangr May 2, 2026
672abda
v1.25.1.1 chore: ignore local Claude settings
anbangr May 2, 2026
fba3c6c
v1.26.0.0 feat: add parallel phase planner (#8)
anbangr May 2, 2026
98b2b9c
fix: reconcile plan-file checkboxes at startup when bypassed via JSON…
anbangr May 3, 2026
e8b99e0
fix: prompt Gemini to produce artifacts, not just make tests pass
anbangr May 3, 2026
70eb34c
fix: escalate on Codex convergence failure and re-invoke Gemini with …
anbangr May 3, 2026
ba0efda
fix: review improvements — reconcilePhaseCheckboxes helper, lock guar…
anbangr May 3, 2026
97ae3e6
chore: clarify that cap check preempts re-run in codex_running case
anbangr May 3, 2026
497b8ac
fix: persist clean review-report paths so the rerun loop actually works
anbangr May 3, 2026
5e20ce3
fix: close path-traversal and prompt-injection gaps in the rerun loop
anbangr May 3, 2026
5da89ba
fix: make backfill-checkboxes safe to run alongside the orchestrator
anbangr May 3, 2026
49b29c8
fix: BLOCKED.md hygiene — per-phase filenames, gitignore protection, …
anbangr May 3, 2026
09a7b32
feat(build): F1 — types + state machine for feature-level meta-review
anbangr May 3, 2026
21fbff3
feat(build): F2 — pure helpers for feature-level review (prompt + par…
anbangr May 3, 2026
3a46dff
feat(build): F3 — wire feature-level review into the main loop
anbangr May 3, 2026
c679210
feat(build): F4 — convergence-cap prompt + BLOCKED-feature-N.md
anbangr May 3, 2026
a98de30
Merge remote-tracking branch 'upstream/main'
anbangr May 4, 2026
4a714ba
refactor(build): extract stageGeminiIO helper + CodexSandbox type
anbangr May 4, 2026
362ad1e
fix(build): stage Codex I/O inside cwd for workspace-write sandbox
anbangr May 4, 2026
a604a80
Merge remote-tracking branch 'upstream/main'
anbangr May 5, 2026
2c480ca
chore: configure Codex defaults for gstack
anbangr May 5, 2026
4559066
v1.26.4.0 fix: use Codex-native build commands
anbangr May 5, 2026
db9c520
v1.26.5.0 test: add build skill verification coverage (#10)
anbangr May 5, 2026
11180d4
v1.26.6.0 refactor: make Gemini role tasks provider-neutral (#11)
anbangr May 6, 2026
73aea01
v1.26.7.0 test: add build skill TDD gate (#12)
anbangr May 6, 2026
f30d0b4
fix: repair fork versioning drift (#13)
anbangr May 6, 2026
e9743b2
Merge remote-tracking branch 'upstream/main'
anbangr May 6, 2026
77bcdec
fix: repair empty agents sidecar dirs
anbangr May 6, 2026
b741988
fix: route build runs through child repos
anbangr May 6, 2026
663fb2c
v1.26.5.0 fix: retry Codex review transport failures (#15)
anbangr May 6, 2026
148107f
v1.26.6.0 fix: harden build orchestration handoffs
anbangr May 7, 2026
8608026
fix: ship build features sequentially (#17)
anbangr May 7, 2026
be61526
fix: route build defaults through kimi
anbangr May 7, 2026
e907308
feat: add build merge cleanup mode (#18)
anbangr May 7, 2026
77c54b7
v1.26.7.0 feat: make build dual impl model agnostic (#19)
anbangr May 7, 2026
23fb5c3
Merge remote-tracking branch 'origin/main'
anbangr May 7, 2026
58828bb
fix: update build routing and plan locator
anbangr May 7, 2026
147f5f8
Merge remote-tracking branch 'upstream/main'
anbangr May 7, 2026
a27e398
fix: make v1.27 gbrain source migration retryable
anbangr May 8, 2026
08aab57
chore: ignore local worktrees
anbangr May 8, 2026
4d62ee0
feat: support safe parallel build runs
anbangr May 8, 2026
7cb6186
fix: harden build recovery and active-run cleanup
anbangr May 8, 2026
5172fd0
Remove build context-save role config
anbangr May 8, 2026
63d87a2
fix(build): guard findNextFeatureIndex against manual JSON state patches
anbangr May 8, 2026
3a1a5e8
chore(build): route primary impl and test fixer to kimi
anbangr May 8, 2026
2f6f5b0
Add foreground build monitor
anbangr May 8, 2026
5d4ee8f
fix(build): harden manual recovery boundaries
anbangr May 8, 2026
ea3d9ec
fix(build): harden foreground monitor handoff
anbangr May 8, 2026
4571e00
feat(build): living-plan gate visibility + worktree-safe git ops (#20)
anbangr May 9, 2026
5394be9
chore: merge upstream v1.29.0.0 (worktree-aware gbrain + browse proxy…
anbangr May 9, 2026
acda9eb
chore: regenerate fork skills after v1.29.0.0 upstream merge
anbangr May 9, 2026
66ea9e5
chore: merge anbangr/gstack main (v1.28.0.0 build gate visibility)
anbangr May 9, 2026
eb47058
fix build worktree path normalization
anbangr May 9, 2026
28b54e4
fix: serialize queued release landing
anbangr May 9, 2026
ce42420
feat: implement release daemon and registry management
anbangr May 9, 2026
dd821b7
feat: enhance resume mode handling and validation in plan selection
anbangr May 9, 2026
7efcfa1
feat: introduce monitor agent role and escalation mechanism
anbangr May 9, 2026
8bb9c9d
feat: refine Resume Mode handling and clarify session context usage i…
anbangr May 9, 2026
4f94c7d
feat: enhance monitoring and locking mechanisms, improve documentatio…
anbangr May 9, 2026
7a75d3e
feat(plan-review): add planReviewer types, role, and config
anbangr May 10, 2026
8309690
feat(plan-review): add Step 5.5 re-synthesis loop to build SKILL
anbangr May 10, 2026
08fa2cf
feat(plan-review): implement plan-reviewer.ts orchestrator module
anbangr May 10, 2026
d8c8e3a
feat(plan-review): wire planReviewer into gstack-build CLI startup
anbangr May 10, 2026
8b21e1d
test(plan-review): add unit tests for plan-reviewer.ts
anbangr May 10, 2026
ff104bd
feat(upgrade): fork skill overlay + gemini/kimi sync in /gstack-upgrade
anbangr May 10, 2026
31ec987
Merge remote-tracking branch 'upstream/main'
anbangr May 10, 2026
6cc3309
fix(config): fork_repo_path validation + sed parser for paths with sp…
anbangr May 10, 2026
dd8ebbf
chore: regenerate SKILL.md files and update golden baselines
anbangr May 10, 2026
4d65791
test: fork_repo_path config round-trip + Step 4.8/4.9 content assertions
anbangr May 10, 2026
15781f3
feat: add backup model fallback for primaryImpl, testFixer, ship, land
anbangr May 10, 2026
bf224ed
chore: slop-scan cleanup and README doc fix
anbangr May 10, 2026
12f0503
feat: harden feature terminal state detection and add PR tracking to …
anbangr May 10, 2026
66091ae
test(skill-fault-detector): add failing RED-phase tests for fault det…
anbangr May 11, 2026
3e2b8b2
feat: detailed TDD test specs in living plan generation
anbangr May 11, 2026
5c2d831
feat(build): implement skill-fault-detector module
anbangr May 11, 2026
59d7ae4
qa(skill-fault-detector): tighten PREMATURE_COMPLETION regex and add …
anbangr May 11, 2026
1f7c3ee
refactor(skill-fault-detector): extract PREMATURE_COMPLETION regexes …
anbangr May 11, 2026
2ea6c70
Merge branch 'feat/gstack-gstack-now-i-want-the-virtual-minsky-202605…
anbangr May 11, 2026
6a7710c
test(monitor): add failing tests for SkillFaultDetectedEvent + Monito…
anbangr May 11, 2026
fa44d2a
test(monitor): move skill-fault tests to test/ for VERIFY_RED discovery
anbangr May 11, 2026
24ee2ae
feat(build/orchestrator): wire skill-fault detection into monitor loop
anbangr May 11, 2026
207e221
test(skill-build-m3-5): red-phase tests for Step M3.5 investigator logic
anbangr May 11, 2026
45a01f3
feat(build): Step M3.5 fault investigator logic with pipefail tee
anbangr May 11, 2026
35cd322
fix(build/M3.5): parse JSON event with jq + pass FAULT_CATEGORY/FAULT…
anbangr May 11, 2026
e368ba0
qa(build): improve M3.5 path resolution, exit-code persistence, and e…
anbangr May 11, 2026
0e07df2
fix(build): complete M3.5 fault investigator report contract
anbangr May 11, 2026
fe6212f
test(build): red-phase E2E test for Step M3.5 fault investigator disp…
anbangr May 11, 2026
1d79ecd
docs(build): remove startup sweep from README startup gates
anbangr May 11, 2026
779d79f
test(e2e): complete build fault investigator test structure
anbangr May 11, 2026
523d7f8
qa(e2e): fix HOME isolation and report path in fault investigator test
anbangr May 11, 2026
4070c04
Merge branch 'feat/gstack-gstack-now-i-want-the-virtual-minsky-202605…
anbangr May 11, 2026
c1c4907
fix(tests): resolve 9 pre-existing test failures
anbangr May 11, 2026
8962824
feat(build): bump build skill version to 1.22.0 and regenerate docs
anbangr May 11, 2026
ae77a96
fix(review): wire coverage gate, move extractCoverageTarget, fix hasT…
anbangr May 11, 2026
eac5f72
feat(coverage-gate): inject coverage flags into GREEN test run
anbangr May 11, 2026
412ade4
chore: bump test phase timeout to 900000ms (suite grew past 5min budget)
anbangr May 11, 2026
4b385a4
fix(review): remove dead-code noop in buildCodexReviewBody
anbangr May 11, 2026
aa10f6e
test(build): add RED tests for critical-verdict-state-persistence-loo…
anbangr May 11, 2026
e538079
fix(build): plug critical-verdict-state-persistence-loop (Bug D1)
anbangr May 11, 2026
79106a2
fix(build): plug process-exit-bypasses-finally-lock via ExitError (Bu…
anbangr May 11, 2026
821e92f
feat(build): wire coverage parsing into phase-runner.ts RUN_TESTS (Fe…
anbangr May 11, 2026
2775a5a
fix(build): register errors.ts in coverage matrix; fix exit-13 analyt…
anbangr May 11, 2026
6fcb3ad
test(phase-kind): add failing tests for PhaseKind union and kind fiel…
anbangr May 11, 2026
e093b14
fix(test): add build/orchestrator/__tests__/ to bun test path for TDD…
anbangr May 11, 2026
72387bb
feat(build): add PhaseKind to parser and all test fixtures
anbangr May 11, 2026
50c0bb5
feat(parser): Phase 1.2 — kind-aware parsing with [kind] bracket anno…
anbangr May 11, 2026
1d97fe6
feat(mutator): Phase 1.3 — kind-aware flipPhaseCheckboxes markers
anbangr May 11, 2026
0b5388b
feat(cli): Phase 1.4 — buildKindInstructions for kind-specific prompts
anbangr May 11, 2026
f752e7e
chore: regenerate SKILL.md files after Phase 1.2-1.5 template updates
anbangr May 11, 2026
8542048
feat(templates): Phase 1.5 — non-coding phase templates, CONTENT_REVI…
anbangr May 11, 2026
f913fb4
Merge remote-tracking branch 'origin/main' into feat/gstack-delegated…
anbangr May 12, 2026
6d33da7
chore: bump version and changelog (v1.33.0.1)
anbangr May 12, 2026
fe77933
Merge remote-tracking branch 'github/main' into feat/gstack-delegated…
anbangr May 12, 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
66 changes: 66 additions & 0 deletions .github/workflows/build-skill-gate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Build Skill TDD Gate

on:
pull_request:
branches: [main]
paths:
- "build/**"
- "bin/gstack-build"
- "scripts/gen-skill-docs.ts"
- "scripts/discover-skills.ts"
- "scripts/host-config.ts"
- "scripts/models.ts"
- "scripts/resolvers/**"
- "hosts/**"
- "test/gen-skill-docs.test.ts"
- "package.json"
- "bun.lock"
- ".github/workflows/build-skill-gate.yml"
push:
branches: [main]
paths:
- "build/**"
- "bin/gstack-build"
- "scripts/gen-skill-docs.ts"
- "scripts/discover-skills.ts"
- "scripts/host-config.ts"
- "scripts/models.ts"
- "scripts/resolvers/**"
- "hosts/**"
- "test/gen-skill-docs.test.ts"
- "package.json"
- "bun.lock"
- ".github/workflows/build-skill-gate.yml"
workflow_dispatch:

concurrency:
group: build-skill-gate-${{ github.ref }}
cancel-in-progress: true

jobs:
build-skill-tdd-gate:
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install --frozen-lockfile

- name: Generate all host skill docs
run: bun run gen:skill-docs --host all

- name: Verify generated docs are fresh
run: |
git diff --exit-code || {
echo "Generated skill docs are stale. Run: bun run gen:skill-docs --host all"
exit 1
}

- name: Run deterministic build skill gate
run: bun run test:build-skill
12 changes: 11 additions & 1 deletion .github/workflows/version-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
set -euo pipefail
PR_VERSION=$(cat VERSION | tr -d '[:space:]')
BASE_REF="${{ github.event.pull_request.base.ref }}"
git fetch origin "$BASE_REF" --depth=1 --quiet || true
git fetch origin "$BASE_REF:refs/remotes/origin/$BASE_REF" --depth=1 --quiet || true
BASE_VERSION=$(git show "origin/$BASE_REF:VERSION" 2>/dev/null | tr -d '[:space:]' || echo "0.0.0.0")
{
echo "pr_version=$PR_VERSION"
Expand All @@ -48,6 +48,15 @@ jobs:
LEVEL=$(bun run scripts/detect-bump.ts "${{ steps.versions.outputs.base_version }}" "${{ steps.versions.outputs.pr_version }}")
echo "level=$LEVEL" >> "$GITHUB_OUTPUT"

- name: Detect fork version repair
id: fork_repair
run: |
IS_REPAIR=$(bun run scripts/detect-fork-version-repair.ts \
"${{ steps.versions.outputs.base_ref }}" \
"${{ steps.versions.outputs.base_version }}" \
"${{ steps.versions.outputs.pr_version }}")
echo "is_repair=$IS_REPAIR" >> "$GITHUB_OUTPUT"

- name: Query queue (util) — fail-open on error
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -70,5 +79,6 @@ jobs:
- name: Compare PR VERSION to next free slot
env:
PR_VERSION: ${{ steps.versions.outputs.pr_version }}
FORK_VERSION_REPAIR: ${{ steps.fork_repair.outputs.is_repair }}
run: |
bun run scripts/compare-pr-version.ts next.json "${{ github.event.pull_request.number }}"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ bin/gstack-global-discover
.claude/skills/
.claude/scheduled_tasks.lock
.claude/*.lock
.claude/settings.local.json
.agents/
.factory/
.kiro/
Expand All @@ -26,6 +27,7 @@ extension/lib/xterm.js
extension/lib/xterm.css
extension/lib/xterm-addon-fit.js
.gstack-worktrees/
.worktrees/
/tmp/
*.log
*.bun-build
Expand All @@ -37,3 +39,4 @@ supabase/.temp/

# Throughput analysis — local-only, regenerate via scripts/garry-output-comparison.ts
docs/throughput-*.json
build/configure.cm
6 changes: 6 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ Invoke them by name (e.g., `/office-hours`).
| `/plan-eng-review` | Lock architecture, data flow, edge cases, and tests. |
| `/plan-design-review` | Rate each design dimension 0-10, explain what a 10 looks like. |
| `/plan-devex-review` | DX-mode review: TTHW, magical moments, friction points, persona traces. |
| `/plan-domain-review` | Domain-model review for bounded contexts, state, ownership, and events. |
| `/plan-api-review` | API contract review for REST/gRPC/async interfaces and compatibility. |
| `/plan-arch-review` | Second-pass software architecture review after eng review. |
| `/plan-modernization-review` | Modernization review for modularization, migrations, and rollout hazards. |
| `/plan-tune` | Self-tune AskUserQuestion sensitivity per question. |
| `/autoplan` | One command runs CEO → design → eng → DX review. |
| `/design-consultation` | Build a complete design system from scratch. |
Expand All @@ -28,6 +32,7 @@ Invoke them by name (e.g., `/office-hours`).
|-------|-------------|
| `/review` | Pre-landing PR review. Finds bugs that pass CI but break in prod. |
| `/codex` | Second opinion via OpenAI Codex. Review, challenge, or consult modes. |
| `/build` | Autonomous gstack execution loop for living implementation plans. |
| `/investigate` | Systematic root-cause debugging. No fixes without investigation. |
| `/design-review` | Live-site visual audit + fix loop with atomic commits. |
| `/design-shotgun` | Generate multiple AI design variants, comparison board, iterate. |
Expand Down Expand Up @@ -89,6 +94,7 @@ Invoke them by name (e.g., `/office-hours`).
```bash
bun install # install dependencies
bun test # run free tests (no API spend)
bun run test:build-skill # focused verification for /build skill changes
bun run test:windows # curated Windows-safe subset (runs on windows-latest)
bun run build # generate docs + compile binaries
bun run gen:skill-docs # regenerate SKILL.md files from templates
Expand Down
14 changes: 14 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ gstack/
├── codex/ # /codex skill (multi-AI second opinion via OpenAI Codex CLI)
├── land-and-deploy/ # /land-and-deploy skill (merge → deploy → canary verify)
├── office-hours/ # /office-hours skill (YC Office Hours — startup diagnostic + builder brainstorm)
├── build/ # /build skill (autonomous plan executor: TDD loop, dual-impl, Codex review)
│ ├── SKILL.md, SKILL.md.tmpl
│ └── orchestrator/ # gstack-build CLI: cli.ts, phase-runner.ts, sub-agents.ts, worktree.ts, etc.
├── investigate/ # /investigate skill (systematic root-cause debugging)
├── retro/ # Retrospective skill (includes /retro global cross-project mode)
├── bin/ # CLI utilities (gstack-repo-mode, gstack-slug, gstack-config, etc.)
Expand Down Expand Up @@ -638,6 +641,17 @@ above, plus:
community PR, name the contributor with `Contributed by @username`. Contributors
did real work. Thank them publicly every time, no exceptions.

## Fork versioning rule

**Never bump the top-level `VERSION` file in this repo when working on fork-specific skills.**

This repo (`anbangr/gstack`) is a personal fork of `garrytan/gstack`. The top-level `VERSION` file tracks the fork's release state relative to upstream. Bumping it creates divergence that makes `gstack-update-check` output confusing (`UPGRADE_AVAILABLE` with the local version higher than upstream).

**The rule:**
- Editing or building a custom skill (e.g. `build/SKILL.md.tmpl`)? Bump only the `version:` frontmatter field inside that skill file (e.g. `version: 1.19.0`). Do NOT touch `VERSION` or `package.json` version.
- Merging upstream? Sync `VERSION` and `package.json` to upstream's version after the merge.
- Only bump `VERSION` when merging or syncing with upstream, never for fork-local skill work.

## AI effort compression

When estimating or discussing effort, always show both human-team and CC+gstack time:
Expand Down
Loading