ci: ignore communities/** pushes (phase-2 plan Task 10, ADR 0003) #37

Closed
opened 2026-08-28 21:00:30 +00:00 by ben · 1 comment
Owner

Plan

docs/superpowers/plans/2026-08-28-coa-phase-2.md Task 10. Machinery path (.forgejo/) — ready-for-session, not a worker's PR.

Deliverable

.forgejo/workflows/ci.yml: on.push.paths-ignore: ['communities/**']; pull_request left unfiltered on purpose (a PR touching only communities/ should never exist and should still be noticed). docs/GOTCHAS.md 8: server pushes bypass the seam; hand edits under communities/ do too — workflow_dispatch if you need it. STATUS.md log line.

Acceptance

  • The push of the workflow file itself runs the seam (GET …/actions/tasks?limit=5).
  • After deployment (Task 12) a community: <slug> push starts no run.

depends_on

none.

out_of_scope

Any other workflow change.

## Plan `docs/superpowers/plans/2026-08-28-coa-phase-2.md` **Task 10**. Machinery path (`.forgejo/`) — `ready-for-session`, not a worker's PR. ## Deliverable `.forgejo/workflows/ci.yml`: `on.push.paths-ignore: ['communities/**']`; `pull_request` left unfiltered on purpose (a PR touching only `communities/` should never exist and should still be noticed). `docs/GOTCHAS.md` 8: server pushes bypass the seam; hand edits under `communities/` do too — `workflow_dispatch` if you need it. `STATUS.md` log line. ## Acceptance - The push of the workflow file itself runs the seam (`GET …/actions/tasks?limit=5`). - After deployment (Task 12) a `community: <slug>` push starts **no** run. ## depends_on none. ## out_of_scope Any other workflow change.

Close report — landed.

Ruled by agent under the two-way-door doctrine (ADR 0002) — veto anytime. This is a machinery-path change (.forgejo/), a fully revertible config edit proven by the live seam; no one-way door touched.

What landed (commit 5931e08, on main):

  • .forgejo/workflows/ci.yml: on.push now carries paths-ignore: ['communities/**'], so server Publishes of communities/<slug>/ (ADR 0003) skip the seam. pull_request left unfiltered on purpose — a PR touching only communities/** should never exist and, if one does, must still run the seam and be noticed.
  • docs/GOTCHAS.md 8: community-only pushes bypass CI by design; use workflow_dispatch if you need the seam on a hand edit under communities/.
  • STATUS.md: header + milestone log line.

Proof (acceptance 1 — met): the push of the workflow file itself ran the seam — seam run 180, event push, head_sha 5931e08, status success (GET …/actions/tasks?limit=25). Touching the file also re-registered the push trigger (the file's own comment). YAML validated: push.paths-ignore = ['communities/**'].

Acceptance 2 — deferred to Task 12 (#39), by design: "a community: push starts no run" can only be observed once the server is deployed and actually Publishing to main. No communities/ writer exists yet, so this is verified after deployment per the plan; not proven here to avoid writing a throwaway community commit to main (ADR 0002 protects real communities/ data). Left as the first check for #39.

Out of scope (no other workflow change) respected.

**Close report — landed.** Ruled by agent under the two-way-door doctrine (ADR 0002) — veto anytime. This is a machinery-path change (`.forgejo/`), a fully revertible config edit proven by the live seam; no one-way door touched. **What landed** (commit `5931e08`, on `main`): - `.forgejo/workflows/ci.yml`: `on.push` now carries `paths-ignore: ['communities/**']`, so server Publishes of `communities/<slug>/` (ADR 0003) skip the seam. `pull_request` left **unfiltered** on purpose — a PR touching only `communities/**` should never exist and, if one does, must still run the seam and be noticed. - `docs/GOTCHAS.md` 8: community-only pushes bypass CI by design; use `workflow_dispatch` if you need the seam on a hand edit under `communities/`. - `STATUS.md`: header + milestone log line. **Proof (acceptance 1 — met):** the push of the workflow file itself ran the seam — `seam` **run 180**, event `push`, head_sha `5931e08`, status **success** (`GET …/actions/tasks?limit=25`). Touching the file also re-registered the push trigger (the file's own comment). YAML validated: `push.paths-ignore = ['communities/**']`. **Acceptance 2 — deferred to Task 12 (#39), by design:** "a `community:` push starts no run" can only be observed once the server is deployed and actually Publishing to `main`. No `communities/` writer exists yet, so this is verified after deployment per the plan; not proven here to avoid writing a throwaway community commit to `main` (ADR 0002 protects real `communities/` data). Left as the first check for #39. Out of scope (no other workflow change) respected.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/coa#37
No description provided.