v1.1.0
Phase 0.5 of the agile-flow → Gemba Flow rebrand. This release is the critical-path enabler for the upcoming repo rename. Active forks must run /upgrade against this release before the rename happens — without it, /upgrade will silently break the moment the rename's 301 redirect lands.
Added
upstreamfield in.agile-flow-version— Downstream variant forks (e.g.agile-flow-gcp, futureagile-flow-aws) can now declare their own upstream repo for/upgradesyncing. Falls back to the hardcodedvibeacademy/agile-flowdefault when absent. Accepts bareowner/repo, full HTTPS URL, or git URL forms — all normalized internally. (#342, supersedes #204)- Pattern #28 in
docs/PATTERN-LIBRARY.md— "GitHub Actions: Workflow Pushes WithGITHUB_TOKENDon't Re-Trigger CI". Documents the auto-fix workflow gotcha, the lint-as-CI-check resolution, and the PAT-based escape hatch. (#338) - Canonical PAT scope set documented in
.claude/README.mdwith per-scope rationale. Includes agh auth refreshremediation block for existing reviewer PATs missing theprojectscope. (#340)
Changed
/upgrade(template-sync.sh) is now redirect-safe. Thecurlcall to the GitHub releases API uses-Lto follow 301 redirects, so it continues working transparently when an upstream repo is renamed. Adds avibeacademy/gembaflowfallback that triggers only when the primary returns 404, with a single informational stderr line. (#342)- Pre-flight checks in
/create-ticket,/quick-fix,/work-ticket,/bootstrap-workflownow usegh auth status+gh repo view --json nameWithOwnerinstead of the (since-removed) MCP GitHub server probe. (#339) - Account-switch hook (
.claude/hooks/ensure-github-account.sh) now routesgh pr reviewandgh pr commentto the reviewer account in addition togh pr create→ worker. Routing is intentionally narrow:gh issue create,gh issue comment, andgh project item-*are NOT auto-routed (command patterns can't reliably distinguish worker from reviewer context). Slash commands are responsible for explicitgh auth switchwhen they need a specific account. (#340) - Setup script (
scripts/setup-accounts.sh) now prints required PAT scopes inline at paste time, including thegh auth refreshupgrade command for existing reviewer PATs. (#340)
Removed
.github/workflows/auto-fix.yml— auto-fix-via-GITHUB_TOKENis fundamentally broken (GitHub deliberately suppresses workflow re-triggers fromGITHUB_TOKEN-signed pushes, leaving PRs atBLOCKEDuntil a human pushes a no-op commit). Lint coverage is preserved via the existingci.ymlruff/eslint jobs; pre-push hooks inscripts/hooks/provide local-dev auto-fix UX. See Pattern #28 for the full gotcha writeup. (#338)
Fixed
- Stale doc references to
auto-fix.ymlindocs/CI-CD-GUIDE.md,docs/DISTRIBUTION.md,docs/LEAN-PRINCIPLES.md— the workflow table row, dedicated section, distribution table row, and "CI auto-fix" waste-elimination claim are all corrected.LEAN-PRINCIPLES.mdnow correctly identifies pre-push lint hooks (rather than the deleted CI auto-fix) as the waiting-waste mitigation. (#338)
Upgrade notes
After running /upgrade against this release:
- Optionally add an
upstreamfield to your.agile-flow-versionif you're a variant fork (e.g.agile-flow-gcppointing atvibeacademy/agile-flow-gcp). Forks without the field continue working unchanged against the canonical default. - If your reviewer PAT is missing the
projectscope, follow the remediation block in.claude/README.md(gh auth refresh --user {org}-reviewer --scopes repo,workflow,project,gist,read:org). Theverify-bot-permissions.shtest now checks for this scope. - Active downstream forks (notably
agile-flow-gcp) should run/upgradeagainst this release before the GitHub repo rename for the gembaflow rebrand. Without it,/upgradewill silently fail on the rename's 301 redirect.
Rebrand sequence (context)
This is Phase 0.5 of the agile-flow → Gemba Flow rebrand (epic: vibeacademy/agile-flow-meta#96). Subsequent phases, in order:
- Phase 1 — GitHub repo rename (operational, not a PR)
- Phase 2a–2c — URL rewrites in scripts, env var dual-read shim, package metadata
- Phase 3 —
agile-flow-gcpupdates its.agile-flow-versionupstream field to point at itself - Phase 4 — dotfile and sync-branch prefix renames
- Phase 5 — GCP resource naming forward-only update