SHAFT_ENGINE
AGENTS.md413 starsChanged 57 days agoMITView on GitHub
ChaosEngine by Mohab Mohie. SHAFT_ENGINE is a Maven Java automation framework: core shaft-engine/, optional shaft-*, IntelliJ plugin shaft-intellij/, and CI tooling under scripts/ci/. Configuration wins. Start from the requested goal and affected files. ChaosEngine, through the marker pointer at the end of this file, is the only router and working-policy owner. Do not restate its policies here or in host adapters. CLAUDE.md and GEMINI.md only import this file (@AGENTS.md). Cleanup scope: cleanup-scopes. Duty ownership: agent_ownership.json. - Read live files first,…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 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 repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Read live files first, preserve unrelated and pre-existing work, and keep changes within the requested repository and task scope.
- Distinctive: line 22
Do not launch GUI applications, browsers, editors, installers, servers, or watchers without explicit authorization.
- Very specific: line 24
Keep Maven tests scoped and headless with -Dallure.automaticallyOpen=false -DheadlessExecution=true.
- Very specific: line 26
Never track generated reports, binaries, caches, target/, build output, Graphify output, MemPalace runtime indexes, secrets, or …
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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
Repository facts
ChaosEngine by Mohab Mohie. SHAFT_ENGINE is a Maven Java automation framework:
core shaft-engine/, optional shaft-*, IntelliJ plugin shaft-intellij/,
and CI tooling under scripts/ci/. Configuration wins. Start from the
requested goal and affected files.
Canonical policy
ChaosEngine, through the marker pointer at the end of this file, is the only router and
working-policy owner. Do not restate its policies here or in host
adapters. CLAUDE.md and GEMINI.md only import this file (@AGENTS.md).
Cleanup scope: cleanup-scopes.
Duty ownership: agent_ownership.json.
Repository safety
- Read live files first, preserve unrelated and pre-existing work, and keep changes within the requested repository and task scope.
- Do not launch GUI applications, browsers, editors, installers, servers, or watchers without explicit authorization.
- Keep Maven tests scoped and headless with
-Dallure.automaticallyOpen=false -DheadlessExecution=true. - Never track generated reports, binaries, caches,
target/, build output, Graphify output, MemPalace runtime indexes, secrets, or machine-local state. - Preserve public APIs; reproduce defects with focused regressions. Functional documentation changes remain a separate PR and use the configured docs root.
- Validate harness changes with
py -3 scripts/ci/validate_agent_setup.py --skip-externaland the smallest directly affected tests. Inspect result artifacts rather than banners alone.
<!-- CHAOSENGINE:START -->Before every task, follow the canonical ChaosEngine. Load project identity from .chaos-engine/identity.md. Use .chaos-engine/tool.py for the project-local Memory, MemPalace, and Graphify tools. Prefer gh for GitHub when gh exists and is configured. CLI over MCP when both exist. Default MCP catalog never includes GitHub MCP.
<!-- CHAOSENGINE:END -->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.

