feat: Custo MVP — config-driven AGENTS.md sync to PSModule module repos - #2
Closed
Marius Storhaug (MariusStorhaug) wants to merge 5 commits into
Closed
feat: Custo MVP — config-driven AGENTS.md sync to PSModule module repos#2Marius Storhaug (MariusStorhaug) wants to merge 5 commits into
Marius Storhaug (MariusStorhaug) wants to merge 5 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Points module repo agents to PSModule/docs and MSXOrg/docs instead of duplicating process text. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Adapted from PSModule/Distributor. Reads target orgs from config/targets.json, preserves discover-resolve-PR behavior, no implicit deletes, no duplicate PRs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Daily schedule at 06:00 UTC plus manual dispatch. Uses PSModule/GitHub-Script with CUSTO_BOT_CLIENT_ID/PRIVATE_KEY secrets. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…erator runbook Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Member
Author
|
Closing as duplicate/superseded by #1 so Custo MVP tracking stays on a single canonical PR. |
Member
Author
|
Closing as duplicate — superseded by #1, which is the canonical MVP draft PR. |
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.
Summary
Delivers the Custo MVP: a production-usable managed-file sync runtime that distributes
AGENTS.mdto PSModule module repositories via pull requests.What's included
.github/workflows/sync-files.ymlscripts/Sync-Files.ps1config/targets.jsonRepos/Module/AGENTS.md/AGENTS.mdREADME.mdBehavior preserved from PSModule/Distributor
Repos/<Type>/<SetName>/structureType+SubscribeToGitHub Custom Properties⚙️ [Maintenance]: Sync managed fileson branchmanaged-files/updateConfig-driven change
scripts/Sync-Files.ps1now reads target orgs fromconfig/targets.jsoninstead of hardcoding a single org. MVP targets:["PSModule"].AGENTS.md content
Thin pointer to PSModule/docs and MSXOrg/docs — no duplicated long process text. Includes a managed-file banner so repo maintainers know not to edit locally.
Blockers for live rollout
Before running the workflow, an operator must:
Custo Bot) under MSXOrg with Contents R/W, Pull Requests R/W, Metadata R permissions.CUSTO_BOT_CLIENT_IDandCUSTO_BOT_PRIVATE_KEYon MSXOrg/Custo.Type=Module,SubscribeTo=AGENTS.md. Can be done in bulk via:Full runbook in README.
Commits
feat: add config/targets.jsonfeat: add Repos/Module/AGENTS.md thin-pointer file setfeat: add scripts/Sync-Files.ps1 config-driven sync scriptfeat: add .github/workflows/sync-files.ymldocs: rewrite README