From 0e1d675bb60c61df826f11b6ef761b8912be9db2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 24 Jul 2026 01:04:26 +0000 Subject: [PATCH] docs: add compiler-smoke-e2e harness to architecture trees Add the missing `scripts/ado-script/src/compiler-smoke-e2e/` entry to: - The `AGENTS.md` architecture tree (under `scripts/ado-script/src/`) - The `docs/ado-script.md` directory tree and test-only callout block The harness exists on disk and drives `tests/compiler-smoke-e2e/` (the ADO pipeline that recompiles fixtures against the in-tree compiler and queues runs), but was never added to either doc tree. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- AGENTS.md | 1 + docs/ado-script.md | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 7ece836a..3094da2b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -268,6 +268,7 @@ fail-closed and only pauses when the agent actually proposed a reviewed output. │ ├── approval-summary/ # Safe-outputs summary renderer (bundled to approval-summary.js; end-of-Agent-job summary tab) │ ├── github-app-token/ # GitHub App token minter (bundled to github-app-token.js; mints installation token in Agent + Detection when engine.github-app-token is set) │ ├── executor-e2e/ # Stage 3 safe-output E2E test harness (not a bundle; runs deterministic scenarios against a real ADO project and files a GitHub issue on failure) +│ ├── compiler-smoke-e2e/ # Compiler smoke E2E harness (not a bundle; drives tests/compiler-smoke-e2e/ — recompiles fixtures against the in-tree compiler, queues ADO runs, and asserts pipeline shape) │ ├── prepare-pr-base/ # create-pull-request preparer (bundled to prepare-pr-base.js): Agent mode uses ADO diff metadata + bounded dual-ref fallback to make the merge-base reachable; SafeOutputs mode fetches only the target worktree tip │ ├── trigger-e2e/ # Test-only gate-spec / trigger-evaluation harness (not a bundle): mirrors Rust `Fact::ALL` in `gate-spec.ts`; `fact-catalog.gen.json` is generated by `export-fact-catalog` and drift-guarded by CI │ └── shared/ # Shared modules across bundles (auth, ado-client, env-facts, types.gen.ts) diff --git a/docs/ado-script.md b/docs/ado-script.md index dbcb9021..da63d7f9 100644 --- a/docs/ado-script.md +++ b/docs/ado-script.md @@ -112,6 +112,14 @@ pipeline** as runtime helpers. Today it produces thirteen bundles: > so the `gate-spec.test.ts` test can deep-compare `FACT_META` against the > Rust-side `Fact::ALL` registry, catching drift at CI time. +> **Test-only, not shipped: `compiler-smoke-e2e`.** The workspace also contains a +> `src/compiler-smoke-e2e/` harness that drives the compiler smoke E2E suite +> (see [`tests/compiler-smoke-e2e/`](../tests/compiler-smoke-e2e/)). It +> recompiles the workflows under `tests/safe-outputs/` against the in-tree +> compiler, queues fixed ADO runs, and asserts pipeline shape. It is **not** a +> runtime bundle: it is listed in `NON_BUNDLE_DIRS` and the compiler never +> references it directly. + ## What `gate.js` does `gate.js` is a single-shot Node program that runs as a step in the @@ -564,6 +572,7 @@ scripts/ado-script/ │ │ ├── gate-spec.ts # FACT_META mirror of Rust Fact::ALL; drift-guarded by export-fact-catalog + fact-catalog.gen.json │ │ ├── fact-catalog.gen.json # generated by `cargo run -- export-fact-catalog`; deep-compared by gate-spec.test.ts │ │ └── __tests__/ # gate-spec drift tests and trigger-evaluation scenario tests +│ ├── compiler-smoke-e2e/ # test-only: compiler smoke E2E harness (not a bundle; drives tests/compiler-smoke-e2e/) │ └── executor-e2e/ # test-only: Stage 3 safe-output E2E harness (not a bundle; built to test-bin/executor-e2e.js) ├── test/ # End-to-end smoke tests (gate, import, exec-context-pr) ├── gate.js # ncc bundle output (gitignored)