Repository navigation
fix(gh-aw): bind implementation acceptance to selected plan revision (#2206) - #2222
Merged
tamirdresher merged 1 commit intoOct 14, 2026
Conversation
Contributor
🛫 PR Readiness Check
PR Scope: 🔧 Infrastructure
|
| Status | Check | Details |
|---|---|---|
| ✅ | Single commit | 1 commit — clean history |
| ✅ | Not in draft | Ready for review |
| ✅ | Branch up to date | Up to date with dev |
| ❌ | Copilot review | No Copilot review yet — it may still be processing |
| ✅ | Changeset present | No source files changed — changeset not required |
| ✅ | Scope clean | No .squad/ or docs/proposals/ files |
| ✅ | No merge conflicts | No merge conflicts |
| ✅ | Copilot threads resolved | 0 active Copilot thread(s) resolved (1 outdated skipped) |
| ❌ | CI passing | 11 check(s) still running |
Files Changed (6 files, +163 −8)
| File | +/− |
|---|---|
test/gh-aw-activation-finalization.test.ts |
+23 −1 |
test/gh-aw-activation-label-provisioning.test.ts |
+5 −1 |
test/gh-aw-activation-summary-outcomes.test.ts |
+5 −1 |
test/gh-aw-plan-lifecycle.test.ts |
+85 −2 |
workflows/shared/squad-activation.mjs |
+44 −2 |
workflows/squad-workflows.manifest.json |
+1 −1 |
Total: +163 −8
This check runs automatically on every push. Fix any ❌ items and push again.
See CONTRIBUTING.md and PR Requirements for details.
Contributor
🟡 Impact Analysis — PR #2222Risk tier: 🟡 MEDIUM 📊 Summary
🎯 Risk Factors
📦 Modules Affectedroot (2 files)
tests (4 files)
This report is generated automatically for every PR. See #733 for details. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The SHA parser ignores bulleted acceptance metadata, allowing a present stale digest to bypass validation.
1 open finding
What changed in this PR
Binds implementation acceptance artifacts to the selected plan revision before activation.
Changes:
- Validates plan comment links and optional SHA-256 digests.
- Selects the latest applicable acceptance artifact.
- Adds stale, missing, ambiguous, and phased-acceptance tests.
| File | Description |
|---|---|
workflows/shared/squad-activation.mjs |
Adds revision-binding validation. |
test/gh-aw-plan-lifecycle.test.ts |
Adds lifecycle regression coverage. |
test/gh-aw-activation-summary-outcomes.test.ts |
Updates acceptance fixture links. |
test/gh-aw-activation-label-provisioning.test.ts |
Updates acceptance fixture links. |
test/gh-aw-activation-finalization.test.ts |
Tests stale acceptance during finalization. |
Review effort: Balanced
| const ids = extractImplementationPlanCommentIds(body, repository, origin); | ||
| requireThat(ids.length === 1 && ids[0] === planComment.id, | ||
| 'implementation acceptance must uniquely reference the selected implementation plan revision'); | ||
| const shas = [...body.matchAll(/^\*\*Implementation SHA-256:\*\*\s*(\S+)\s*$/gm)].map(match => match[1]); |
tamirdresher
force-pushed
the
fix/2206-bind-impl-acceptance-to-plan-revision
branch
from
October 14, 2026 14:53
787c5ab to
28e9f24
Compare
…ithub#2206) Require granular activation (impl-accepted and impl-phases-accepted) to uniquely reference the selected implementation plan comment revision and match any recorded Implementation SHA-256 before reservation or issue creation. Closes github#2206 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5cf0811c-a02a-41a7-ab00-904b6900db7b
tamirdresher
force-pushed
the
fix/2206-bind-impl-acceptance-to-plan-revision
branch
from
October 14, 2026 15:03
28e9f24 to
04f4140
Compare
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
Closes #2206