Repository navigation
docs: add copilot agent instructions with the fleet working agreements - #39
Merged
Merged
Conversation
This package had no .github/copilot-instructions.md, so nothing in the repository carried the fleet working agreements. The file is generated from the preset source of truth in webware-tools with the package title substituted, so it matches what every other package carries.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Types of changes
None apply: this adds a Markdown instruction file. No code path, no package behaviour.
Checklist:
Description
Adds
.github/copilot-instructions.md. This package had none, so nothing in the repository carriedthe fleet working agreements.
The file is generated from the preset source of truth,
webware-tools:presets/webware-alignment/artifacts/copilot-instructions.md, with the package titlesubstituted, so it matches what every other package carries rather than being written from scratch.
It contains the fleet working-agreements block first, then the standard sections: Mago docblock-only
types and class-reference string types, the PHPUnit mock-versus-stub rules, and the coverage metadata
rules.
Motivation and Context
The rules that govern how work is done in this fleet — scope discipline, reporting, git and release
handling — now live in version control rather than in machine-local agent memory:
webware-tools/agent-working-agreements.mdis the source, and the preset artifact mandates it.That only takes effect in a repository that has a
copilot-instructions.md, because that file isloaded automatically in every session and reviewed like any other file. Fourteen packages already
carry it; this one was missing it entirely, so its sessions ran with no fleet rules at all.
The four non-negotiables are carried inline rather than only referenced, so the block works
before a
webware-toolsrelease makes the vendored path resolve in this package.How has this been tested?
identical to the source of truth rather than a paraphrase.