agentic-loops
Copilot instructions5 starsChanged 56 days agoMITView on GitHub
This file is the root of the agent governance framework. Each agent also has its own governance file. These instructions and guardrails are absolute. Never bypass or override them. Do not do more than the task needs. Note: - ASD-STE100+ = strict ASD-STE100 + technical names, technical verbs and domain words. - Plain Language is as defined by https://plainlanguage.gov/ - Chicago Manual of Style is as defined by https://www.chicagomanualofstyle.org/home.html 0. General principles: - Select the English style for the reader:…
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
21 rules. About 0 are common, 14 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 19
All other English (README.md, docs/ files, code comments, commit messages, PR text, proposals, designs, Teams messages etc.): Plain …
- Distinctive: line 23
Do not use em-dashes.
- Very specific: line 26
Write each link as short text that names the target, for example PR #123.
- Distinctive: line 28
Do not assume. Do not hide confusion.
- Distinctive: line 30
If more than one interpretation is possible, show each one.
- Distinctive: line 31
If a simpler approach exists, say so.
- Distinctive: line 32
If something is not clear, stop.
- Very specific: line 33
Always load docs/design.md again and understand it.
- Very specific: line 35
Never commit to trunk. To find trunk, use git symbolic-ref --short refs/remotes/origin/HEAD.
- Very specific: line 39
Never edit by hand the generated or acquired artifacts that docs/design.md lists.
- Distinctive: line 40
If a task needs a product or architecture decision, stop and ask.
- Very specific: line 43
Writing tests: Follow docs/meta-design.md#writing-tests.
- Distinctive: line 44
Never hardcode connection strings, secrets, or license keys.
- Distinctive: line 51
When you cite a guardrail, use its number.
- Distinctive: line 56
Run web-backed agents one at a time.
- Very specific: line 57
Never send web_search or web_fetch calls in a batch.
- Distinctive: line 61
When the human tags an item, record it before you continue.
- Distinctive: line 69
Keep the tag, the meaning and sufficient context to act on the item later.
- Distinctive: line 73
If you cannot write the required file yet, keep a capture reminder in session tracking.
- Distinctive: line 77
Never defer them silently.
- Distinctive: line 93
Add rows for other commands.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
copilot-instructions.md: Agent playbook
This file is the root of the agent governance framework. Each agent also has its own governance file. These instructions and guardrails are absolute. Never bypass or override them. Do not do more than the task needs.
Golden rules (guardrails)
Note:
- ASD-STE100+ = strict ASD-STE100 + technical names, technical verbs and domain words.
- Plain Language is as defined by https://plainlanguage.gov/
- Chicago Manual of Style is as defined by https://www.chicagomanualofstyle.org/home.html
- General principles:
- Select the English style for the reader:
- Assistant to the human: the persona sets the interaction style.
- Agent to agent (handoffs, returns and reviews): ASD-STE100+.
- Governance (
AGENTS.md,.github/, work records and their templates): ASD-STE100+. - All other English (
README.md,docs/files, code comments, commit messages, PR text, proposals, designs, Teams messages etc.): Plain Language + Chicago Manual of Style mechanics.
- In all English:
- Do not use em-dashes.
- For Markdown, follow
.github/skills/markdown.md. - For diagrams, follow
.github/skills/diagram.md. - Write each link as short text that names the target, for example
[PR #123](url). Do not write a bare URL.
- Do not assume. Do not hide confusion. Show the tradeoffs.
- State your assumptions. If you are not sure, ask.
- If more than one interpretation is possible, show each one. Do not select one silently.
- If a simpler approach exists, say so. Disagree when you have a good reason.
- If something is not clear, stop. Name the problem and ask.
- Select the English style for the reader:
- Always load
docs/design.mdagain and understand it. - Separation of duties is strict. Do not cross the lanes in
.github/agents/. - Never commit to trunk. To find trunk, use
git symbolic-ref --short refs/remotes/origin/HEAD. If that command fails, use the fallback indocs/design.md. Work on{{WORK_BRANCH}}, with the workflow indocs/meta-design.md. Keep its record at{{WORK_RECORD}}. - Never deploy.
- Never edit by hand the generated or acquired artifacts that
docs/design.mdlists. - If a task needs a product or architecture decision, stop and ask. The human architect owns that decision.
- The human can invoke any agent at any time.
- Writing tests: Follow
docs/meta-design.md#writing-tests. - Never hardcode connection strings, secrets, or license keys. Inject them through environment variables.
- Record project facts in
docs/design.md. Record role facts in.github/agents/<agent>.md. Record cross-cutting governance in this file. Never use global Copilot Memory. - Governance files are the source of truth. Load them again before you use them. Never rely on memory.
When you cite a guardrail, use its number. Keep the numbers stable.
Execution safety
- Delegated agents never start other agents. They return unmet work to the assistant.
- Run web-backed agents one at a time.
- Never send
web_searchorweb_fetchcalls in a batch. Send one call at a time.
User task markers
When the human tags an item, record it before you continue. Quoted examples and source text are not new requests.
| Marker | Meaning | Capture |
LIM: | A known limitation and a future todo | An unchecked item in docs/backlog.md. Do not implement it unless the human schedules it. |
TODO: | Work for this session | The session task list. If an active {{WORK_RECORD}} exists, also add it there in the task format of that record. |
Keep the tag, the meaning and sufficient context to act on the item later. If a matching item exists, update it. Do not make a duplicate. The assistant owns capture. Delegated agents return tagged items to the assistant. They do not cross their editing boundaries.
If you cannot write the required file yet, keep a capture reminder in session tracking. Tell the
human that file capture is pending. When the approved working root or record is available, write the
item to the file. A captured item does not give permission to change branches. It does not bypass
design or execution approvals. Keep the status current. At handoff, report unfinished TODO: items.
Never defer them silently.
Commands
| Command | Gate | Required | Value |
build | fast + full | yes | <<FILL_ME: build command>> |
test:quick | fast | yes | <<FILL_ME: unit-test command>> |
test:full | full | yes | <<FILL_ME: full-test command>> |
format:fix | fast | optional | none |
format:check | full | optional | none |
lint | fast + full | optional | none |
dry-check | full | optional | none |
mutation-test | full | optional | none |
crap-check | full | optional | none |
Add rows for other commands. The gate recipes run these commands after the core steps, unless the stack needs a different order. The recipes are authoritative.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

