Phase 15: skip api/harness CI for doc-only PRs + markdown lint gate #11

Merged
luckberg merged 18 commits from gsd/phase-15-ci-skip-api-harness-jobs-for-doc-only-prs into main 2026-06-12 11:08:54 -04:00
18 Commits
Author SHA1 Message Date
Lucas Berger a6e2474379 docs(phase-15): record deferred 15-03 operator checkpoint
CI / changes (pull_request) Successful in 6s
CI / fast-checks (pull_request) Successful in 1m23s
CI / api (pull_request) Successful in 59s
CI / harness (pull_request) Successful in 3m55s
CI / gate (pull_request) Successful in 1s
2026-06-12 10:59:48 -04:00
Lucas Berger da623ac234 docs(15-03): update publish.yml safety-gate comment to name new required checks
- Replace "three required checks (CI / fast-checks, CI / api, CI / harness)"
  with the new gating surface: CI / fast-checks + CI / gate
- Note that CI / api and CI / harness are conditionally skipped on doc-only PRs
  and gated via the always-running CI / gate aggregate
- Comment-only change; no job/step/env/trigger modified
2026-06-12 10:56:03 -04:00
Lucas Berger 0278e2080a docs(phase-15): update tracking after wave 2 2026-06-12 10:54:26 -04:00
Lucas Berger c0c217019c chore: merge executor worktree (worktree-agent-afb241c0e741e819e) 2026-06-12 10:53:47 -04:00
Lucas Berger e153f7c355 docs(15-02): complete plan 02 summary — changes job + gate aggregate 2026-06-12 10:53:22 -04:00
Lucas Berger 547b12ca4a feat(15-02): add always-running gate aggregate job (Gitea-safe per-job result checks)
- gate job needs [fast-checks, changes, api, harness] with if: always()
- gate fails (exit 1) when fast-checks != success
- gate accepts success OR skipped for api and harness, fails on any other result
- uses individual needs.X.result checks (not wildcard) — Gitea 1.26.2 bug #31007
- once merged, emits CI / gate commit-status required by Plan 03 branch-protection update
2026-06-12 10:52:18 -04:00
Lucas Berger 72604385bc feat(15-02): add changes job and gate api/harness on code output
- insert changes job (dorny/paths-filter@v4) before fast-checks
- changes job: permissions pull-requests:read, outputs code, no checkout
- code filter lists positive patterns: **/*.ts, apps/**, pnpm-lock.yaml, Dockerfile, etc.
- api job: needs [changes] + if combined with needs.changes.outputs.code == 'true'
- harness job: same needs/if pattern as api
- services, env, and step bodies unchanged in both heavy jobs
2026-06-12 10:51:20 -04:00
Lucas Berger 20ebd90554 docs(phase-15): update tracking after wave 1 2026-06-12 10:49:12 -04:00
Lucas Berger cd6be1b9c3 chore: merge executor worktree (worktree-agent-ad1b2de59871ef5b9) 2026-06-12 10:47:56 -04:00
Lucas Berger 4c5efb0604 docs(15-01): complete markdown lint gate plan — SUMMARY.md 2026-06-12 10:47:17 -04:00
Lucas Berger 46bea03757 feat(15-01): fix 13 markdown violations + wire md:lint to fast-checks CI step
- Fix MD040 (11 bare fences): add language tags (text/bash) across 7 files
- Fix MD031 (2 violations): add blank lines around fence in GETTING-STARTED.md
- Wire 'Markdown lint' step to fast-checks job (after Format check, before Typecheck)
- Reformat .markdownlint-cli2.jsonc per Prettier (trailing commas in JSONC)
- pnpm md:lint exits 0; pnpm format:check exits 0; gate can fail on bare fence (verified)
2026-06-12 10:46:01 -04:00
Lucas Berger adb7641c19 feat(15-01): add markdownlint-cli2 + md:lint script + root config
- Install markdownlint-cli2@0.22.1 as root workspace devDependency
- Add md:lint script (no glob args — globs/ignores live in config file)
- Create .markdownlint-cli2.jsonc with prettier preset + content rules
- Enable MD001/MD024/MD040/MD031/MD051/MD052; disable MD041/MD034/MD036
- Glob: docs/**/*.md, *.md, apps/**/*.md; ignores .planning/** and node_modules
2026-06-12 10:42:52 -04:00
Lucas Berger 4728c41539 docs(phase-15): mark phase execution started 2026-06-12 10:40:07 -04:00
Lucas Berger c687efce27 docs(15): record planning complete + roadmap wave annotations 2026-06-12 10:30:50 -04:00
Lucas Berger e19d4736c7 docs(15): create phase plan — doc-only CI skip + markdown lint
3 plans across 3 waves:
- 15-01: markdownlint-cli2 config/script/step + fix 13 baseline violations (SC-4)
- 15-02: ci.yml changes job + conditional api/harness + always-running gate (SC-1/2, SC-3 YAML)
- 15-03: operator branch-protection checkpoint + publish.yml comment (SC-3)
2026-06-12 10:28:56 -04:00
Lucas Berger 899528eeb3 docs(phase-15): add pattern map 2026-06-12 10:22:37 -04:00
Lucas Berger 18cf62b702 docs(phase-15): add validation strategy 2026-06-12 10:19:08 -04:00
Lucas Berger e84911de10 docs(15): research phase - doc-only CI skip + markdown lint 2026-06-12 10:17:53 -04:00