docs: add ado_bundle.rs to AGENTS.md architecture tree#1327
Merged
jamesadevine merged 1 commit intoJul 3, 2026
Conversation
src/compile/ado_bundle.rs was added in refactor(compile) #1315 to centralize the ado-script bundle env contract, but the AGENTS.md architecture tree was not updated. - Add ado_bundle.rs entry to the compile/ module tree with a concise description of the Bundle enum, apply_bundle_auth() chokepoint, and token_source_for() helper. - Update the docs/ado-script.md index summary to mention the bundle env contract modelled in src/compile/ado_bundle.rs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jamesadevine
marked this pull request as ready for review
July 3, 2026 06:42
jamesadevine
deleted the
docs/add-ado-bundle-to-agents-tree-07935265083df199
branch
July 3, 2026 06:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent Documentation Update
Findings
src/compile/ado_bundle.rsadded in refactor #1315 is missing from the AGENTS.md architecture treeAGENTS.mddocs/ado-script.mdindex summary in AGENTS.md does not mention the bundle env contract concept documented in that pageAGENTS.mdApplied Fixes
ado_bundle.rsentry to thecompile/module tree in AGENTS.md with a concise description: Bundle enum,apply_bundle_auth()chokepoint (preventsSYSTEM_ACCESSTOKENomission regression), andtoken_source_for()helper.docs/ado-script.mddocs-index summary to mention the bundle env contract modelled insrc/compile/ado_bundle.rs, so agents reading AGENTS.md know where to find that concept.Notes
Verified against code:
src/compile/ado_bundle.rsexists and matches the description (confirmed viagit log, file header doc-comments, anddocs/ado-script.md§Bundle env contract which already cross-links it at line 305). No other files needed updating —docs/ado-script.mditself already fully documents the module; this PR only adds the missing pointer inAGENTS.md.Created by the agent-documentation maintainer workflow.