From 0beeebb8a75bb20030f7fd52f3b3d3e6c3269080 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 05:49:51 +0000 Subject: [PATCH] docs: add ado_bundle.rs to AGENTS.md architecture tree src/compile/ado_bundle.rs was introduced in #1315 (centralize ado-script bundle env contract) but was omitted from the architecture tree in AGENTS.md. Add the entry with a description matching the module's docstring and public API (Bundle, apply_bundle_auth, token_source_for, is_redundant_ado_mirror). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index a081ef15..27c2fa83 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -59,6 +59,7 @@ fail-closed and only pauses when the agent actually proposed a reviewed output. │ ├── compile/ # Pipeline compilation module │ │ ├── mod.rs # Module entry point and Compiler trait │ │ ├── common.rs # Shared helpers across targets +│ │ ├── ado_bundle.rs # Registry of ado-script bundles and their compile-time env contracts: Bundle enum (path + auth), apply_bundle_auth() (single chokepoint projecting SYSTEM_ACCESSTOKEN into every REST-calling bundle step), token_source_for() (System.AccessToken vs SC_WRITE_TOKEN selection), is_redundant_ado_mirror() (identifies auto-injected ADO predefined var re-projections) │ │ ├── agentic_pipeline.rs # Canonical Setup → Agent → Detection → (ManualReview?) → SafeOutputs(+SafeOutputs_Reviewed?) → Teardown → Conclusion shape (Conclusion emitted when configured; shared by every target); BuiltPipelineContext, build_pipeline_context, build_canonical_jobs, per-job builders incl. build_manual_review_job + SafeOutputsVariant split, fold_agent_conditions, agent_job_variables_hoist │ │ ├── standalone.rs # Standalone pipeline compiler │ │ ├── standalone_ir.rs # Standalone target typed-IR builder