Close context before acting.
Read the move before executing it.
Execute minimally. Report honestly.
Drop-in AGENTS.md. No runtime required.
SensecraftXStudio is one reusable AGENTS.md file for AI coding agents working on real projects.
It helps the assistant inspect the real target, contain scope, separate facts from assumptions, and verify the result before closure.
Close context before acting.
Read the move before executing it.
Execute minimally. Report honestly.
The real problem
It can remain fluent, useful-looking, and confident after the frame has already drifted. The mistake is often not in the sentence. It is in what the AI silently decided the task meant.
Visibility is mistaken for authority. The assistant acts before the real object is closed.
Cleanup, restructuring, and “helpful” improvements arrive without permission.
The final answer becomes cleaner than the inspected state actually supports.
The source changed, but the live surface, active branch, or real destination was never verified.
Same task. Different behavior.
SensecraftXStudio does not make the AI sound smarter. It makes confidence harder to fake.
AI RESPONSE
“I found the relevant file, updated the implementation, cleaned up the adjacent logic, and aligned the configuration.”
AI RESPONSE
“Target not closed. Two files appear authoritative and they conflict. No change made. Smallest unblock: confirm which file governs the live behavior.”
What changes
The contract is technical enough to constrain consequential work and lightweight enough to travel with any repository.
The assistant must distinguish the request, the local task, and the real object being touched.
Verified, inferred, hypothetical, unresolved, and uninspected states remain visibly distinct.
If a move crosses a perimeter, the assistant has to name that expansion before proceeding.
A focused task does not silently become cleanup, refactoring, policy, or architecture work.
The system does not invent authority or choose between consequential paths without closure.
Every consequential result closes with what changed, what grounded it, and what remains open.
Start in three moves
Copy AGENTS.md into the project, activate it at the start of a fresh assistant session,
and then give the real task normally.
AGENTS.md
Place it in the project or workspace where the assistant will operate.
Ask the assistant to read the file in full before acting.
Continue normally. The file governs how the work is read, bounded, executed, and reported.
Read AGENTS.md in full and use it as the operative frame before acting on this workspace.
Not just for developers
Open the field before converging. Read only enough surrounding context to judge whether the move remains contained.
Filename, freshness, confidence, and proximity do not establish authority. Consequential expansion must be surfaced.
Missing context, unresolved authority, conflicting paths, or an incoherent base are explicit reasons not to act.
Touch, Ground, State, and Convergence keep the final report aligned with the actual inspected state.
Verified operations only
Copy the contract, activate it for the workspace, and keep the final state inspectable.