Repository navigation
Fix lifecycle updates after acceptance and activation - #2052
Merged
Merged
Conversation
Closes #2051 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
🟡 Impact Analysis — PR #2052Risk tier: 🟡 MEDIUM 📊 Summary
🎯 Risk Factors
📦 Modules Affectedroot (3 files)
tests (3 files)
This report is generated automatically for every PR. See #733 for details. |
Contributor
🛫 PR Readiness Check
PR Scope: 🔧 Infrastructure
|
| Status | Check | Details |
|---|---|---|
| ❌ | Single commit | 2 commits — consider squashing before review |
| ✅ | 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 (2 outdated skipped) |
| ✅ | CI passing | All checks passing |
Files Changed (6 files, +163 −20)
| File | +/− |
|---|---|
test/gh-aw-lifecycle-upsert.test.ts |
+130 −2 |
test/gh-aw-plan-lifecycle.test.ts |
+1 −0 |
test/gh-aw-quality.test.ts |
+5 −1 |
workflows/shared/squad-planning-ontology.md |
+6 −1 |
workflows/shared/squad.md |
+17 −15 |
workflows/squad.md |
+4 −1 |
Total: +163 −20
This check runs automatically on every push. Fix any ❌ items and push again.
See CONTRIBUTING.md and PR Requirements for details.
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Unresolved activation and terminal-repair issues affect correctness before approval.
Get a fresh assessment by requesting another Copilot review.
Review tier: Lite
Findings: 2
Open (2)
What changed in this PR
Aligns lifecycle guidance, validation, and terminal repair for acceptance and activation workflows.
Changes:
- Enforces command-only nonterminal
Next actionvalues. - Adds granular activation and terminal lifecycle handling.
- Expands lifecycle and mutation regression coverage.
| File | Summary |
|---|---|
workflows/squad.md |
Updates lifecycle guidance and activation handling. |
workflows/shared/squad.md |
Extends lifecycle validation and terminal repair logic. |
workflows/shared/squad-planning-ontology.md |
Documents lifecycle field contracts. |
test/gh-aw-quality.test.ts |
Verifies compiled workflow contracts. |
test/gh-aw-plan-lifecycle.test.ts |
Tests lifecycle guidance and terminal behavior. |
test/gh-aw-lifecycle-upsert.test.ts |
Adds lifecycle and repair regression cases. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Closes #2051 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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
Next actionvalues with explanation in separate fields/squad plan activateand realisticActivation | ✅ Done — ...terminal lifecycle outputCloses #2051
Working as agentic-workflows-dev (Agentic Workflows Engineer).
Validation
npm test -- --run test/gh-aw-lifecycle-upsert.test.ts test/gh-aw-plan-lifecycle.test.ts test/gh-aw-quality.test.ts— 309 passednpx eslint test/gh-aw-lifecycle-upsert.test.ts test/gh-aw-plan-lifecycle.test.ts test/gh-aw-quality.test.tsnpm run buildgh aw compile squad --strict --approve --no-check-updatein a consumer-style.github/workflowslayout; inspected emittedsquad.lock.ymlforupsert_lifecycle_state,repair_activated_lifecycle,/squad plan activate, and safe-output job wiringScope
No package source, dependency, release-version, or command-surface changes; no changeset required.