docs: add container_runtime.rs to AGENTS.md architecture tree - #2123
Draft
github-actions[bot] wants to merge 1 commit into
Draft
docs: add container_runtime.rs to AGENTS.md architecture tree#2123github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
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/extensions/container_runtime.rs(typed Docker runtime configuration for MCPG stdio servers — mounts, network, tmpfs, add-host, user — introduced in commit 61b72dc) exists in the codebase but is not listed in theAGENTS.mdarchitecture tree undersrc/compile/extensions/, causing the tree to drift from the actual module layoutAGENTS.mdApplied Fixes
container_runtime.rsentry to thesrc/compile/extensions/section of theAGENTS.mdarchitecture tree, with a one-line description matching the module's doc comment (//! Typed Docker runtime configuration for MCPG stdio servers.)Notes
Verified by diffing
find src -type f -name '*.rs'against every file path referenced in theAGENTS.mdtree;container_runtime.rswas the only architecturally-relevant, non-test module missing. Confirmed it is a real, currently-used module (mod container_runtime;and itsContainerRuntimeConfig/Mount/Network/Tmpfs/AddHost/ContainerUsertypes are imported and used insrc/compile/extensions/mod.rs). Cross-checkeddocs/mcp.mdanddocs/extending.md— the front-matter-facingmounts:/args:fields are already documented there at the user-facing level, so no other doc page needed updates; this module is purely the internal typed representation, appropriately placed only in the architecture-tree index per the project's index-and-delegate model. No other inconsistencies were found acrossdocs/cli.md,docs/safe-outputs.md,docs/front-matter.md, orprompts/*.mdin this pass — CLI commands, safe-output tool coverage, front-matter fields, and prompt guidance (including theDEFAULT_COPILOT_MODELreference andmode: synthetic/mode: policyguidance) all matched current source.Created by the agent-documentation maintainer workflow.