deckhearth/.github/workflows
Randall Stillwell 014c01cb5e convoy: add seed-visual-baselines workflow (harden-visual-diff-gate brief 1)
Adds a workflow_dispatch-triggered job on the self-hosted axiom runner
that captures fresh `tests/visual/__screenshots__/*.png` against a
caller-provided URL and opens a `chore(visual): refresh baselines from
<url>` PR via peter-evans/create-pull-request@v6.

This is brief 1 of 2 of the harden-visual-diff-gate convoy. The
workflow exists but is not invoked by this PR — operator dispatches via
the GitHub UI or `gh workflow run seed-visual-baselines.yml` once they
want a fresh baseline against post-glass-redesign main.

Brief 2 (flip continue-on-error: true off visual-diff.yml, add 9th
forbidden-patterns check) is unblocked once a fresh baseline lands via
this workflow's auto-PR.

Convoy decision D1 ratified: Option B (workflow_dispatch + auto-PR)
chosen over Option A (ad-hoc SSH-into-CT-111 + manual commit). The
workflow gives the baseline regeneration a reviewable Git-native shape;
the auto-PR carries a checklist for visual sanity-check before merge.

Workflow shape:
- Inputs: base_url (required, no default to avoid wrong-target
  accidents), reason (optional, used in PR body).
- Permissions: contents: write + pull-requests: write — sufficient for
  default GITHUB_TOKEN; no PAT needed.
- Caches: shares the node_modules + Playwright browser caches with
  visual-diff.yml so the byte-equivalence guarantee holds without
  cache miss overhead.
- Idempotent: peter-evans/create-pull-request short-circuits to a
  ::notice:: annotation if the captures match the existing committed
  baselines (no PR opened).

Metrics: logged role-conductor + role-architect + role-implementer
events for this convoy in .convoys/.metrics.jsonl. Satisfies the
convoy-metrics-gate (PR #134, 9eef8d9) that fires on convoy:-titled
PRs requiring at least one new metrics row.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 21:29:43 -05:00
..
agent-context-drift.yml bootstrap: agent pipeline v0.5.0 + ship-readiness review 2026-05-23 02:31:26 -05:00
ci.yml convoy: forbidden-pattern gate + AGENTS.md docs (briefs 3+4) (#133) 2026-06-06 00:18:21 -05:00
convoy-metrics-gate.yml feat(convoy-metrics): un-gitignore .metrics.jsonl + add CI gate on convoy PRs (#134) 2026-06-12 17:46:28 -05:00
pr-health-rollup.yml convoy: migrate CI to self-hosted axiom runners (briefs 1+2) (#132) 2026-06-05 23:46:31 -05:00
preview-smoke.yml convoy: migrate CI to self-hosted axiom runners (briefs 1+2) (#132) 2026-06-05 23:46:31 -05:00
seed-visual-baselines.yml convoy: add seed-visual-baselines workflow (harden-visual-diff-gate brief 1) 2026-06-12 21:29:43 -05:00
visual-diff.yml convoy: migrate CI to self-hosted axiom runners (briefs 1+2) (#132) 2026-06-05 23:46:31 -05:00