fix(process): align worktree pre-push gate with required tests#303
Closed
mpaulosky wants to merge 5 commits into
Closed
fix(process): align worktree pre-push gate with required tests#303mpaulosky wants to merge 5 commits into
mpaulosky wants to merge 5 commits into
Conversation
…ession - Merge decision inbox into .squad/decisions.md (decisions 30-31) - Decision 30: Dark Mode Base Text Colours Must Contrast Against Dark Backgrounds (Legolas) - Decision 31: CSS Visual Regressions and Test/Visual Finding Arbitration (Aragorn) - Update Legolas history: UI regression review findings (Sprint 16 fan-out) - Update Gimli history: Blazor UI regression testing (Issue #292 coverage + visual findings) - Update Aragorn history: Issue triage (#292) and PR #295 arbitration workflow Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…und 1) - Closed duplicate issue #294, merged PR #295 with all 19 CI checks green - Sprint-stamped issues #293 and #296 with title normalization - Removed go:needs-research from #293 (sufficient context), kept for #296 (Auth investigation needed) - Decision #32: PR self-authored approval pattern and Sprint triage workflow Co-authored-by: Boromir <lead-organizer@squad.local> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add AppHost.Tests to Gate 5 INTEGRATION_PROJECTS in .github/hooks/pre-push - Remove stale Persistence.MongoDb.Tests / Persistence.AzureStorage.Tests from Gate 4 (projects do not exist in this repo) - Remove stale Persistence.*Integration projects from Gate 5 (same reason) - Fix IssueTrackerApp.slnx -> MyBlog.slnx in pre-push-process.md pre-flight step 4 - Correct gate counts in playbook (Gate 4: 4 projects, Gate 5: 2 projects) - Fix Gate 5 Docker anti-pattern (was incorrectly labelled Gate 4) - Update install-hooks.sh banner to reflect real Gate 4/5 project sets - Replace permissive --no-verify banner text with hard prohibition notice - Update CONTRIBUTING.md gate table to match actual 6-gate hook (add Gate 2 formatting) - Fix Unit.Tests / Integration.Tests references to real project names throughout - Replace permissive --no-verify bypass section with explicit prohibition block - Fix Test Failures troubleshooting heading to Gates 4 & 5 Closes #299 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
🏗️ PR Added to Squad Triage QueueThis PR has been labeled with Next steps:
|
Owner
Author
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s local pre-push gate and its associated documentation so that the enforced gates match the actual test projects under tests/, including ensuring AppHost.Tests runs as part of the Docker-backed integration/E2E gate.
Changes:
- Add
tests/AppHost.Tests/AppHost.Tests.csprojto the pre-push hook’s Gate 5 integration project list. - Update hook installer banner, contributing docs, and the pre-push playbook to reflect the current 6-gate model and correct test project names/counts.
- (Unrelated) Adds/updates multiple
.squad/decision/history documents that reference PR #295 / Issue #292 and include future-dated entries.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
.github/hooks/pre-push |
Adds AppHost.Tests to Gate 5 integration/E2E projects. |
scripts/install-hooks.sh |
Updates installer banner text to reflect real Gate 4/5 project lists and bypass messaging. |
docs/CONTRIBUTING.md |
Updates contributor-facing gate table and local test commands to match the 6-gate hook. |
.squad/playbooks/pre-push-process.md |
Updates playbook gate descriptions and project lists to match the hook. |
.squad/decisions/aragorn-pr295-merge.md |
New decision log for PR #295 (appears out of scope for this PR). |
.squad/decisions.md |
Appends decisions (27–31), including a future-dated entry. |
.squad/agents/legolas/history.md |
Adds UI/button-variant history content (appears out of scope for this PR). |
.squad/agents/gimli/history.md |
Adds button-variant coverage/history content (appears out of scope for this PR). |
.squad/agents/boromir/history.md |
Adds Issue #299 summary notes (aligned with this PR’s goal). |
.squad/agents/aragorn/history.md |
Adds PR #295 notes with a future date (appears out of scope for this PR). |
Comment on lines
+887
to
+891
| ## 2026-05-11 — Issue #292 Button Variant Coverage | ||
|
|
||
| ### Task | ||
|
|
||
| Add test coverage for the Bootstrap-like button variant work without changing production code unless a legitimate test seam required it. |
Comment on lines
+669
to
671
| **Fixed vs theme-relative colour palette:** `.btn-primary` / `.btn-secondary` use `var(--primary-*)` theme tokens so they adapt to colour-theme switches. `.btn-warning` (amber) and `.btn-destructive` (red) use fixed Tailwind palette classes — these colours carry semantic meaning that should NOT shift when the user picks a different theme. | ||
| **Fixed colour palette — all four variants:** All button variants use fixed Tailwind palette classes, not `var(--primary-*)` theme tokens. `.btn-primary` is green, `.btn-secondary` is blue, `.btn-warning` is amber, and `.btn-destructive` is red. None shift when the user picks a different colour theme — the palette is intentionally static to give each variant a clear, invariant semantic meaning. | ||
|
|
Comment on lines
+1
to
+5
| # Decision #32: PR #295 Squash Merge & Sprint 19 Triage Pattern | ||
|
|
||
| **Date:** 2026-05-15 | ||
| **Author:** Aragorn | ||
| **Stakeholders:** Boromir (work-check), Legolas (UI), Gimli (testing) |
Comment on lines
+2270
to
+2274
| ### 27. Button Variant Colour Palette Strategy | ||
|
|
||
| **Date:** 2025-07 | ||
| **Author:** Legolas (Frontend) | ||
| **Issue:** #292 |
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.
Closes #299
Working as Boromir (DevOps)
Summary
Reconciles the pre-push gate enforcement with the actual test projects in the repo.
All four source-of-truth files are now consistent with each other and with
ls tests/.Changes
.github/hooks/pre-pushtests/AppHost.Tests/AppHost.Tests.csprojto Gate 5INTEGRATION_PROJECTSscripts/install-hooks.sh--no-verifyemergency line with hard prohibition notice.squad/playbooks/pre-push-process.mdIssueTrackerApp.slnx→MyBlog.slnxin pre-flight step 4Persistence.MongoDb.Tests/Persistence.AzureStorage.Testsfrom Gate 4Persistence.*.Integrationprojects from Gate 5docs/CONTRIBUTING.mdUnit.Tests/Integration.Testsproject names with real namesVerification
scripts/install-hooks.sh) output confirmed ✅cmp✅