From e1dc310e1cd630bf4668a439199eb432c6d02a44 Mon Sep 17 00:00:00 2001 From: Kyle Tse Date: Fri, 31 Jul 2026 02:28:58 +0000 Subject: [PATCH] feat(ci): migrate to Agent-native Fast Trunk (source-ci/pass) - Aggregate source verdict source-ci/pass where applicable - Concurrency cancel-in-progress by PR/ref - Merge Queue off (no merge_group trigger) - Document CI=source correctness; Platform builds production once --- .github/workflows/ci.yml | 12 ++++++++++++ docs/reference/fast-trunk-ci.md | 23 +++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 docs/reference/fast-trunk-ci.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e90c852..9bbde54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,11 @@ name: CI + +# Fast Trunk (Agent-native): +# - Aggregate source verdict: source-ci/pass +# - CI = source correctness only; Platform builds production once +# - Merge Queue off by default (no merge_group trigger) +# - Concurrency cancels superseded PR/branch tip runs + on: workflow_dispatch: push: @@ -7,6 +14,11 @@ on: branches: [main] permissions: contents: read +concurrency: + # Fast Trunk: supersede obsolete runs for the same PR or branch tip. + group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: assets: runs-on: sylphx-linux-standard diff --git a/docs/reference/fast-trunk-ci.md b/docs/reference/fast-trunk-ci.md new file mode 100644 index 0000000..f46e844 --- /dev/null +++ b/docs/reference/fast-trunk-ci.md @@ -0,0 +1,23 @@ +# Fast Trunk CI + +## Authority split + +| Concern | Owner | +| --- | --- | +| Work / claim / review | Enact | +| Source history | Git | +| Source correctness | This repository CI (`source-ci/pass`) | +| Production artifact build | Sylphx Platform (once) | +| Deploy / health / rollback | Sylphx Platform | + +## Paths + +- **Internal agents:** small-batch non-force direct-trunk to default branch. +- **External contributors:** Pull Request presubmit feedback. +- **Merge Queue:** default off (no `merge_group` trigger). + +## CI scope + +Blocking: lint/typecheck, affected tests, schema/migration safety, narrow security. + +Not in source CI: production Docker/release image builds, disposable ship binaries for ordinary tips.