quick-question
AGENTS.md12 starsChanged 8 months agoMITView on GitHub
This repository explicitly allows aggressive refactoring when it improves the design. qq.yaml supports a separate trust_level knob: When touching host wrappers or MCP exposure, preserve this split: Historical note: earlier versions had a "Context Capsule" consumption mechanism that the balanced level disabled. Context Capsule was removed in v1.10.0 — the trust-level split above reflects the current shape. When developing this repository, treat execution environments as a hard split: Do not try to force local engine Editor work into Docker. Default…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,843 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository29 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-testsSkill
- best-practiceSkill
- bootstrapSkill
- briefSkill
- changesSkill
- claude-code-reviewSkill
- claude-plan-reviewSkill
- codex-code-reviewSkill
- codex-plan-reviewSkill
- commit-pushSkill
- depsSkill
- design-researchSkill
- designSkill
- doc-driftSkill
- doc-syncSkill
- doc-tidySkill
- executeSkill
- explainSkill
- full-briefSkill
- goSkill
- grandmaSkill
- planSkill
- post-design-reviewSkill
- recordSkill
- self-reviewSkill
- tech-researchSkill
- testSkill
- timelineSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
21 rules. About 0 are common, 17 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Prefer the cleanest end-state over incremental compatibility layers.
- Distinctive: line 10
Remove obsolete code paths instead of preserving them out of habit.
- Distinctive: line 15
If the current shape is fighting the design, rewrite it instead of patching around it.
- Distinctive: line 16
Keep migration logic only when there is a real user or release requirement.
- Distinctive: line 26
When touching host wrappers or MCP exposure, preserve this split:
- Distinctive: line 37
When developing this repository, treat execution environments as a hard split:
- Distinctive: line 39
Use worktrees to isolate tasks.
- Distinctive: line 40
Use Docker / Dev Container for repository-side development:
- Distinctive: line 48
Use the host machine for engine-specific validation:
- Distinctive: line 55
Do not try to force local engine Editor work into Docker.
- Distinctive: line 59
Create a dedicated worktree for the task.
- Very specific: line 60
Use ./scripts/docker-dev.sh build once if needed.
- Very specific: line 61
Do repo-side development in ./scripts/docker-dev.sh shell.
- Very specific: line 62
Run ./scripts/docker-dev.sh test for repo-side validation.
- Distinctive: line 63
If the change touches engine behavior (Unity / Godot / Unreal / S&box), switch back to the host and validate against a real project of that …
- Distinctive: line 67
When one person is driving multiple agents at the same time:
- Distinctive: line 69
Use one worktree per agent / feature.
- Distinctive: line 72
Do not let two agents share one worktree, even if they are running in different containers.
- Distinctive: line 79
If two agents mount the same worktree, they can still overwrite each other's files.
- Distinctive: line 83
Create one worktree per feature.
- Very specific: line 87
If a task touches a live engine Editor or tykit, validate that task on the host machine instead of trying to force it into Docker.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md 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
AGENTS.md
Refactoring Authority
This repository explicitly allows aggressive refactoring when it improves the design.
- Large-scale refactors, full rewrites, file moves, and architectural cleanup are allowed.
- Backward compatibility is not required unless a task explicitly asks for it.
- Prefer the cleanest end-state over incremental compatibility layers.
- Remove obsolete code paths instead of preserving them out of habit.
Default Engineering Bias
- Optimize for clarity, fewer layers, and stronger core abstractions.
- If the current shape is fighting the design, rewrite it instead of patching around it.
- Keep migration logic only when there is a real user or release requirement.
Trust Levels
qq.yaml supports a separate trust_level knob:
trusted: current internal-team defaultbalanced: only widen Codex into the source worktree for closeout-like flowsstrict: require explicit--allow-source-worktreeand keep raw engine commands off the standard MCP surface
When touching host wrappers or MCP exposure, preserve this split:
work_mode= task stagepolicy_profile= verification floortrust_level= automatic permission boundaryworkflow= how heavy the process is:heavy-review(Heavy Review, default) orprototype-loop(Prototype Loop, rules inshared/prototype-loop.md; drops thereview_gatehook unlesshooks.enablenames it). It is notwork_mode: prototype, which skips design and plan.
Historical note: earlier versions had a "Context Capsule" consumption mechanism that the
balancedlevel disabled. Context Capsule was removed in v1.10.0 — the trust-level split above reflects the current shape.
Execution Environment Split
When developing this repository, treat execution environments as a hard split:
- Use worktrees to isolate tasks.
- Use Docker / Dev Container for repository-side development:
scripts/*.shscripts/*.pyREADMEdocsinstall.shtest.sh- policy / doctor / controller / runtime-core changes
- Use the host machine for engine-specific validation:
tykitand other engine bridges- engine compile / test routing (Unity, Godot, Unreal, S&box)
- real project install flow
- Editor-backed Claude / Codex E2E
- any check that depends on a live engine Editor
Do not try to force local engine Editor work into Docker.
Default repo-dev loop:
- Create a dedicated worktree for the task.
- Use
./scripts/docker-dev.sh buildonce if needed. - Do repo-side development in
./scripts/docker-dev.sh shell. - Run
./scripts/docker-dev.sh testfor repo-side validation. - If the change touches engine behavior (Unity / Godot / Unreal / S&box), switch back to the host and validate against a real project of that engine.
Parallel Agent Rule
When one person is driving multiple agents at the same time:
- Use one worktree per agent / feature.
- It is fine to use one Docker container session per agent.
- Multiple agent containers may reuse the same Docker image.
- Do not let two agents share one worktree, even if they are running in different containers.
Why:
- worktree isolation protects files and git state
- container isolation protects process and shell state
If two agents mount the same worktree, they can still overwrite each other's files. Docker does not prevent that.
Recommended pattern:
- Create one worktree per feature.
- Build the repo-dev image once with
./scripts/docker-dev.sh build. - Let each agent use its own worktree and its own
./scripts/docker-dev.sh shellsession. - Let each agent run
./scripts/docker-dev.sh testin that worktree before handoff or merge. - If a task touches a live engine Editor or
tykit, validate that task on the host machine instead of trying to force it into Docker.
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.

