feat(tooling): replace bash workflow scripts with flow.py CLI - #337
Merged
Merged
Conversation
Consolidates new-issue.sh/start-group.sh into a single scripts/flow.py covering init/sync/start/pr/issue, with idempotent GitHub-as-source-of-truth reconciliation so a stale or branch-local tasks.md can never create a duplicate sub-issue. Updates the branch-naming hook, pre-push check, and CI workflow docs accordingly, and adds a tooling CI job for flow.py's test suite. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Addresses two CodeQL findings (workflow does not contain permissions) by declaring the minimal permissions this checkout-and-test workflow needs. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/new-issue.sh/scripts/start-group.shwith a singlescripts/flow.pyCLI (init/sync/start/pr/issue), with GitHub as the source of truth so a stale or branch-localtasks.mdcan never create a duplicate sub-issue.CLAUDE.md,docs/development/WORKFLOW.md, the branch-naming hook, andpre-pushto reflect the new three-step init → start → pr flow..github/workflows/tooling.ymlto runflow.py's own test suite (black/flake8/pytest) in CI.flow.py initoutput for two unrelated in-flight OpenSpec changes (budget-customer-cache: local read-through customer profile cache in budget service #326 customer-profile-cache, ci-compliance-guardrails: secret scanning, SAST, and required-check branch protection #328 compliance-guardrails) that were run against this branch instead ofmain.Test plan
black --check scripts/andflake8 --max-line-length=100 scripts/pass (enforced by the local pre-push hook)python3 -m pytest scripts/test_flow.py -q— 29 passedflow.py start/flow.py prend-to-end against a real change once this merges to main🤖 Generated with Claude Code
Closes #320