From 618c38d5e5059d37af5668bb47ff31c82c970564 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 16 Jul 2026 16:57:55 +0000 Subject: [PATCH] docs: add trigger-e2e and __tests__ to ado-script tree; fix cli.md index Two accuracy gaps in AGENTS.md: 1. scripts/ado-script/src/ tree was missing trigger-e2e/ (test-only FACT_META gate-spec harness) and __tests__/ (bundle-coverage test). Both directories exist on disk and are documented in docs/ado-script.md but were absent from the architecture tree, causing agents to miss them. 2. CLI index listed export-gate-schema but not export-fact-catalog as a hidden build-time tool; both are real Commands variants in main.rs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- AGENTS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 41667fac..7f886316 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -269,6 +269,8 @@ fail-closed and only pauses when the agent actually proposed a reviewed output. │ ├── 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) │ ├── 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) +│ ├── trigger-e2e/ # Test-only: FACT_META gate-spec table + end-to-end trigger-evaluation scenarios (not a bundle; drift-guarded via export-fact-catalog; see docs/ado-script.md) +│ ├── __tests__/ # Bundle coverage test (bundle-coverage.test.ts; asserts every src/ subdir is either a shipped bundle or listed in NON_BUNDLE_DIRS) │ └── shared/ # Shared modules across bundles (auth, ado-client, env-facts, types.gen.ts) ├── tests/ # Integration tests and fixtures ├── docs/ # Per-concept reference documentation (see index below) @@ -353,7 +355,7 @@ index to jump to the right page. `check`, `mcp`, `mcp-http`, `execute`, `secrets`, `enable`, `disable`, `remove`, `list`, `status`, `run`, `audit`, `mcp-author`, `trace`, `inspect`, `graph`, `whatif`, `lint`, `catalog`; `configure` is a - deprecated hidden alias and `export-gate-schema` is a hidden build-time tool). + deprecated hidden alias; `export-gate-schema` and `export-fact-catalog` are hidden build-time tools). - [`docs/agency-plugin.md`](docs/agency-plugin.md) — the Agency / Claude Code plugin (`agency/plugins/ado-aw/`): canonical layout, six skills, `mcp-author` wiring, the self-contained root marketplace catalogs, `init --agency`