Repository navigation
docs: add agentic workflows bootstrap prompt and update upstream references #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
bradygaster
wants to merge
1
commit into
dev
Choose a base branch
from
squad/agents-agentic-workflows
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Squad agentic workflows bootstrap prompt | ||
|
|
||
| ```text | ||
| Bootstrap this repository with GitHub’s Squad agentic workflows from `github/squad`. Inspect the repo first, make only the necessary changes, validate them, and open a PR for human review if your tools permit it. Do not merge. | ||
|
|
||
| Before editing: | ||
| - Check the default branch, working tree, authentication, and existing `.github/aw/`, `.github/workflows/`, and `.github/skills/` files. | ||
| - If an installation is already present, or files conflict and you can’t verify their ownership, stop and report the paths—don’t overwrite them. | ||
| - Verify `gh aw --version` is exactly `v0.91.5`. | ||
| - Obtain an approved, immutable 40-character lowercase `SQUAD_SHA` from published guidance or a maintainer. Never guess or use a moving branch. | ||
| - Check that Issues are enabled and Actions permissions match the documented Profile A (`default_workflow_permissions=read`, `can_approve_pull_request_reviews=false`). Don’t change settings without explicit authorization. | ||
|
|
||
| Install on `chore/squad-gh-aw-bootstrap`, without overwriting existing work: | ||
| `gh aw add "github/squad/workflows@${SQUAD_SHA}"` | ||
|
|
||
| Do not run generic `gh aw init` or create Squad files by hand. If the install generates `.github/skills/agentic-workflows/SKILL.md`, remove only that tool-generated file as the guide directs. Don’t create the optional secrets. If a first-install safe-update approval is required, approve only when its report contains exactly `SQUAD_GITHUB_APP_PRIVATE_KEY`, `SQUAD_GITHUB_TOKEN`, and `github/squad/.github/actions/squad-init`; otherwise stop. | ||
|
|
||
| Run and require success: | ||
| 1. `node .github/workflows/shared/squad-install-verifier.mjs --materialize-runtime` | ||
| 2. `gh aw compile --strict` | ||
| 3. `node .github/workflows/shared/squad-install-verifier.mjs --verify-install --source-revision "${SQUAD_SHA}" --strict-compile` | ||
| 4. Stage only `.gitattributes`, `.github/aw/`, `.github/workflows/`, and `.github/skills/` (and only newly installed/materialized changed/owned paths within those surfaces; never stage whole directories containing unrelated files), review the staged diff, then run `node .github/workflows/shared/squad-install-verifier.mjs --verify-staged-install --stage-ownership --source-revision "${SQUAD_SHA}"`. | ||
|
|
||
| Confirm eight workflows and their generated lockfiles are present, review the compiled artifacts, and allow only the two documented v0.91.5 warnings: `squad-review.md` (`pull_request_target`) and `squad.md` (combined `slash_command` and `bots` triggers). Stop on any other warning, error, unexpected deletion, or unrelated change. Stage only `.gitattributes`, `.github/aw/`, `.github/workflows/`, and `.github/skills/`; review the staged diff before committing. | ||
|
|
||
| Open a PR against the default branch captured during inspection only after all checks pass. If you can’t verify a prerequisite, validate the install, push, or create the PR, report the exact blocker instead of claiming success. Report the PR URL and validation results if created; leave merge and post-merge activation to a human. | ||
| ``` | ||
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't lock to a version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the exact patch-version installation requirement in the upstream replacement, github/squad#2413, targeting
dev. The 1.x migration also updates actual upstream package ownership, init-action references, compiler pins and integrity manifests rather than just changing the prompt.Tested the official 1.0.1 binary against published revision
2c4a0d9f076b7a6ae160d5ed89cb11fdc6ae7494: fresh native installation, all eight strict-compiled workflows, and installed/staged verification pass. The 971 coupled tests pass, including pre-fix-red regressions. Immutable source/action/digest checks remain for reproducibility; future compiler outputs still need reviewed regeneration. The upstream PR documents unrelated full-suite failures and remains draft; hosted activation and merge have not been performed.Auto-replied by the GitHub Copilot app