Conversation
There was a problem hiding this comment.
Pull request overview
Adds an optional create-agentsmd capability to the agency-agents dev container Feature to sync an upstream AGENTS.md into the workspace at container creation time, along with supporting docs, install logic, and tests.
Changes:
- Introduces
create-agentsmdoption and anonCreateCommandhelper script to fetch/overwriteAGENTS.md. - Updates install marker scheme (v3) and adds marker/state handling for the new option.
- Expands test scenarios and updates docs/README content; bumps Feature version to
0.2.0.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
src/agency-agents/devcontainer-feature.json |
Adds create-agentsmd option, bumps version, wires onCreateCommand. |
src/agency-agents/install.sh |
Validates new option, updates marker naming, installs on-create helper and enable marker. |
src/agency-agents/on-create.sh |
Implements AGENTS.md download/overwrite behavior gated by marker file. |
src/agency-agents/README.md |
Documents the new option and adds credits note. |
README.md |
Refactors repo-level README and documents create-agentsmd usage/options. |
test/agency-agents/scenarios.json |
Adds scenario coverage for create-agentsmd=true. |
test/agency-agents/*.sh |
Updates marker expectations to v3; adds a new scenario test for on-create behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
This pull request adds a new feature to the
agency-agentsdev container Feature: the ability to automatically fetch and overwrite anAGENTS.mdfile from the upstream AGENT-ZERO project into the workspace when the container is created. It introduces a new boolean option,create-agentsmd, and updates documentation, install logic, and test coverage to support this. The version is bumped to0.2.0to reflect this enhancement.New Feature: AGENTS.md Sync Option
create-agentsmdto theagency-agentsFeature. When enabled, it downloadsAGENTS.mdfrom the AGENT-ZERO repository and writes it to the workspace root during container creation, always overwriting any existing file. [1] [2] [3] [4] [5] [6] [7] [8] [9]Documentation Updates
README.mdandsrc/agency-agents/README.mdto document the newcreate-agentsmdoption, its behavior, usage examples, and credits to upstream projects. [1] [2] [3] [4] [5] [6]Install and Marker Logic Changes
create-agentsmdstate to ensure correct re-installation when options change. [1] [2]Test Enhancements
create-agentsmdoption, including checks for marker files, script presence, and successful overwriting ofAGENTS.md. Updated existing tests to use the new marker file versioning scheme. [1] [2] [3] [4] [5] [6]Version Bump
0.2.0to reflect the addition of the new option and related changes.