Make agent contract Colony-first across repos#448
Merged
NagyVikt merged 1 commit intoApr 28, 2026
Conversation
The managed AGENTS block needs to be portable across Guardex repos while making Colony the first coordination surface and OMX state the fallback. The template and installed root AGENTS block now match byte-for-byte, with focused setup and prompt assertions updated to lock the new contract shape. Constraint: Keep the marker-managed block reusable while preserving repo-specific content outside it. Rejected: Patch only AGENTS.md | setup refresh would overwrite the installed block from the unchanged template. Confidence: high Scope-risk: narrow Directive: Keep AGENTS.md marker content synchronized with templates/AGENTS.multiagent-safety.md before changing setup or prompt tests. Tested: git diff --check Tested: managed block parity check against templates/AGENTS.multiagent-safety.md Tested: node --test test/prompt.test.js Tested: node --test --test-name-pattern 'setup provisions workflow files|setup refreshes existing managed AGENTS block by default|install configures AGENTS managed policy block|prompt --snippet' test/setup.test.js test/prompt.test.js Tested: openspec validate --specs Not-tested: Full metadata/setup suite; broad run hit unrelated README about_description metadata baseline and OpenSpec worktree reuse failure.
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.
Automated by gx branch finish (PR flow).