Skip to content

chore: release process hardening + docs dark mode fix#569

Merged
bradygaster merged 12 commits intodevfrom
squad/ci-cleanup-hardening
Mar 23, 2026
Merged

chore: release process hardening + docs dark mode fix#569
bradygaster merged 12 commits intodevfrom
squad/ci-cleanup-hardening

Conversation

@bradygaster
Copy link
Copy Markdown
Owner

Release process hardening, CI cleanup, and docs dark mode fix

What's in this PR

CI Hardening (from v0.9.1 retro)

  • Preflight gate in squad-npm-publish.yml — scans for file: references before any publish
  • Ghost workflow publish-npm.yml disabled via GitHub API
  • Smoke tests hardened with npm pack --dry-run
  • ci-rerun.yml documented (kept for fork PR reruns)

Release Process Skill

  • New .squad/skills/release-process/SKILL.md with all v0.9.1 learnings
  • Surgeon charter hardened: coordinator doesn't publish, fallback protocol, post-publish smoke test
  • Booster charter hardened: preflight dependency scan, npm pack dry-run

Bug Fixes

  • squad version command now works (was "Unknown command")
  • Docs dark mode persists across View Transitions navigation (3-layer fix: astro:after-swap, astro:page-load, pageshow)

Docs & Process

  • Decision inbox files staged for Scribe merge
  • Surgeon history updated with v0.9.1 learnings

Closes #556, #557, #558, #559, #560, #561, #562, #563, #564

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Copilot AI added 12 commits March 23, 2026 02:27
Two workflow files both named 'Publish to npm' caused GitHub to resolve
the wrong one for workflow_dispatch. The stale squad-publish.yml triggered
on tag push with no workflow_dispatch support, blocking release automation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
….yml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add preflight job scanning all packages for file: references and
  validating semver versions before any publish work begins
- Add npm pack --dry-run validation step to smoke-test job
- Disable ghost publish-npm.yml workflow via GitHub API
- Add purpose documentation to ci-rerun.yml
- Fix YAML parse issue: quote step names containing 'file:' colon
- Pipeline chain: preflight → smoke-test → publish-sdk → publish-cli

This is the #1 gate that would have prevented the v0.9.1 incident.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
squad version now prints the installed version, matching the existing
--version / -v flag behavior. Handled inline in cli-entry.ts alongside
the flag check — no separate command file needed. Also added 'version'
to the help text command list.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add release-process skill with battle-tested rules from v0.9.1 incident
- Harden Surgeon charter: coordinator doesnt publish, pre-publish validation, fallback protocol, post-publish smoke test
- Harden Booster charter: preflight dependency scan, npm pack dry-run
- Fix docs dark mode persistence across View Transitions navigation
- Stage decision inbox files for Scribe merge

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Three layers of theme restoration:
- astro:after-swap — runs after View Transitions DOM swap (no flash)
- astro:page-load — runs after every navigation including initial
- pageshow — handles browser back/forward cache restoration

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The 'version' subcommand added a line to help output, pushing it to exactly
100 lines. Bumping threshold to <= 110 to accommodate future additions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bradygaster bradygaster merged commit e6a854b into dev Mar 23, 2026
2 checks passed
@bradygaster bradygaster deleted the squad/ci-cleanup-hardening branch March 23, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CI check for file: references before publish

2 participants