agentleFS
tykisgodtykisgod/quick-question/AGENTS.md

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…

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
  1. Distinctive:

    Prefer the cleanest end-state over incremental compatibility layers.

    line 9
  2. Distinctive:

    Remove obsolete code paths instead of preserving them out of habit.

    line 10
  3. Distinctive:

    If the current shape is fighting the design, rewrite it instead of patching around it.

    line 15
  4. Distinctive:

    Keep migration logic only when there is a real user or release requirement.

    line 16
  5. Distinctive:

    When touching host wrappers or MCP exposure, preserve this split:

    line 26
  6. Distinctive:

    When developing this repository, treat execution environments as a hard split:

    line 37
  7. Distinctive:

    Use worktrees to isolate tasks.

    line 39
  8. Distinctive:

    Use Docker / Dev Container for repository-side development:

    line 40
  9. Distinctive:

    Use the host machine for engine-specific validation:

    line 48
  10. Distinctive:

    Do not try to force local engine Editor work into Docker.

    line 55
  11. Distinctive:

    Create a dedicated worktree for the task.

    line 59
  12. Very specific:

    Use ./scripts/docker-dev.sh build once if needed.

    line 60
  13. Very specific:

    Do repo-side development in ./scripts/docker-dev.sh shell.

    line 61
  14. Very specific:

    Run ./scripts/docker-dev.sh test for repo-side validation.

    line 62
  15. Distinctive:

    If the change touches engine behavior (Unity / Godot / Unreal / S&box), switch back to the host and validate against a real project of that …

    line 63
  16. Distinctive:

    When one person is driving multiple agents at the same time:

    line 67
  17. Distinctive:

    Use one worktree per agent / feature.

    line 69
  18. Distinctive:

    Do not let two agents share one worktree, even if they are running in different containers.

    line 72
  19. Distinctive:

    If two agents mount the same worktree, they can still overwrite each other's files.

    line 79
  20. Distinctive:

    Create one worktree per feature.

    line 83
  21. Very specific:

    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.

    line 87

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 default
  • balanced: only widen Codex into the source worktree for closeout-like flows
  • strict: require explicit --allow-source-worktree and keep raw engine commands off the standard MCP surface

When touching host wrappers or MCP exposure, preserve this split:

  • work_mode = task stage
  • policy_profile = verification floor
  • trust_level = automatic permission boundary
  • workflow = how heavy the process is: heavy-review (Heavy Review, default) or prototype-loop (Prototype Loop, rules in shared/prototype-loop.md; drops the review_gate hook unless hooks.enable names it). It is not work_mode: prototype, which skips design and plan.

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.

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/*.sh
    • scripts/*.py
    • README
    • docs
    • install.sh
    • test.sh
    • policy / doctor / controller / runtime-core changes
  • Use the host machine for engine-specific validation:
    • tykit and 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:

  1. Create a dedicated worktree for the task.
  2. Use ./scripts/docker-dev.sh build once if needed.
  3. Do repo-side development in ./scripts/docker-dev.sh shell.
  4. Run ./scripts/docker-dev.sh test for repo-side validation.
  5. 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:

  1. Create one worktree per feature.
  2. Build the repo-dev image once with ./scripts/docker-dev.sh build.
  3. Let each agent use its own worktree and its own ./scripts/docker-dev.sh shell session.
  4. Let each agent run ./scripts/docker-dev.sh test in that worktree before handoff or merge.
  5. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.