Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
│ ├── trigger-e2e/ # Trigger-condition (gate / synth-PR) E2E test harness (not a bundle; queues a victim pipeline under a battery of trigger scenarios and files a GitHub issue on failure)
│ ├── prepare-pr-base/ # create-pull-request base-ref preparer (bundled to prepare-pr-base.js; fetches/deepens target branch so mcp.rs finds a diff base on shallow-default pools — issue #1413; emitted in BOTH the Agent job and the SafeOutputs job before the executor's worktree add — issue #1453)
│ └── shared/ # Shared modules across bundles (auth, ado-client, env-facts, types.gen.ts)
├── tests/ # Integration tests and fixtures
Expand Down
9 changes: 9 additions & 0 deletions docs/ado-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ pipeline** as runtime helpers. Today it produces thirteen bundles:
> `NON_BUNDLE_DIRS` in `src/__tests__/bundle-coverage.test.ts` so the
> shipped-bundle guard ignores it. The compiler never references it.

> **Test-only, not shipped: `trigger-e2e`.** The workspace also contains a
> `src/trigger-e2e/` harness that drives the deterministic trigger-condition
> (gate / synth-PR) E2E suite. It queues a victim pipeline under a battery of
> real trigger scenarios, asserts the observable gate decision (build tags +
> result), and files a GitHub issue on failure. It is **not** a runtime bundle:
> it is built separately by `npm run build:trigger-e2e` and listed in
> `NON_BUNDLE_DIRS` so the shipped-bundle guard ignores it. The compiler never
> references it.

## What `gate.js` does

`gate.js` is a single-shot Node program that runs as a step in the
Expand Down