From 052b06964680335e4d7a817fb90abcccb724d453 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 13:31:36 +0000 Subject: [PATCH] docs: add 0006_explicit_push_trigger codemod to architecture tree Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- AGENTS.md | 1 + docs/codemods.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 7adfd9d7..002f5d38 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -109,6 +109,7 @@ fail-closed and only pauses when the agent actually proposed a reviewed output. │ │ │ ├── 0003_flatten_work_item_config.rs # Legacy work-item config flatten codemod │ │ │ ├── 0004_legacy_path_markers.rs # Migrate {{ workspace }}/{{ working_directory }}/{{ trigger_repo_directory }} markers → explicit ADO path exprs (resolved from workspace:/repos:) │ │ │ ├── 0005_drop_build_attachment_allowed_build_ids.rs # Remove inert safe-outputs.upload-build-attachment.allowed-build-ids key (build attachments are current-run only) +│ │ │ ├── 0006_explicit_push_trigger.rs # Absent `on:` → explicit `on.push` (all branches) for sources predating the trigger-semantics change; fires only when source provenance proves the pre-change version │ │ │ └── helpers.rs # take_key, insert_no_overwrite, rename_key, ConflictPolicy │ │ ├── codemod_integration_test.rs # White-box rewrite-path tests (stub registry injection) │ │ ├── types.rs # Front matter grammar and types diff --git a/docs/codemods.md b/docs/codemods.md index 2a64db1a..984914af 100644 --- a/docs/codemods.md +++ b/docs/codemods.md @@ -135,7 +135,8 @@ src/compile/codemods/ ├── 0002_pool_object_form.rs # Legacy scalar pool → explicit object form codemod ├── 0003_flatten_work_item_config.rs # Legacy work-item config flatten codemod ├── 0004_legacy_path_markers.rs # {{ workspace }} / {{ working_directory }} / {{ trigger_repo_directory }} → explicit ADO path exprs -└── 0005_drop_build_attachment_allowed_build_ids.rs # remove no-op upload-build-attachment.allowed-build-ids +├── 0005_drop_build_attachment_allowed_build_ids.rs # remove no-op upload-build-attachment.allowed-build-ids +└── 0006_explicit_push_trigger.rs # absent `on:` → explicit `on.push` (all branches) for pre-change sources ``` (New codemods are appended as `_.rs` files.)