An uncontracted AI session has no fixed frame: the assistant constructs its plan from the first plausible interpretation, expands local work silently, and reports activity as completion. A contracted session — one whereDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/xxyoudeadpunkxx/sensecraftxstudio/llms.txt
Use this file to discover all available pages before exploring further.
AGENTS.md is the active operative frame — introduces deliberate friction at each point where unjustified confidence would otherwise enter. The assistant must make the real object, authority, scope, and epistemic state visible before and after every consequential move.
The Session Lifecycle
Activate
Before giving any task, give the assistant the activation instruction:Activation means
AGENTS.md governs how the next response is read, framed, and approached — not only what actions are permitted. This instruction must come first, in the same session turn or immediately before the task.Frame the task
Before acting, the assistant closes context along three axes:
- Object — the real target being inspected or changed, distinct from the stated request
- Authority — who or what authorizes the move; not inferred from filename, freshness, or tone
- Mode — the single operating mode the task requires
Read the move
Before executing, the assistant determines whether the proposed move stays contained or expands scope, risk, or structure.
- Contained move → proceed
- Move that expands scope, risk, or structure → surface it before proceeding
Execute minimally
Once the move is justified, the assistant uses the smallest correct intervention:
- the smallest correct read
- the smallest correct change
- no opportunistic restructuring, cleanup, or abstraction
Verify and close
Before marking the task converged, the assistant confirms that the live surface — rendered output, active preview, open file, or deployed artifact — reflects the current source state. A stale cache, mismatched branch, or artifact built from an older version is a hold condition, not a minor detail.
Final response
For any response that includes a consequential change, recommendation, or finding, the assistant closes with four compact fields:
- Touch — what changed and what remained untouched
- Ground — the files, evidence, rules, or verified observations supporting the move
- State — what is verified, inferred, unresolved, or not inspected
- Convergence — whether the task is converged, open, blocked, or divergent
Contract Drift
The contract has drifted whenAGENTS.md is no longer the active operative frame governing the current response.
What does drift look like?
What does drift look like?
Drift is present when the contract has become any of the following:
- A one-time reading — the assistant read
AGENTS.mdat the start of the session and has since stopped applying it - Memory-only guidance — the contract exists in memory but does not shape how the next move is chosen or reported
- Background context with no effect —
AGENTS.mdis acknowledged but not reflected in execution - Subordinate to nearby file assumptions — the assistant treats inferences drawn from adjacent files as overriding the operative contract
- A rhetorical reference not reflected in execution — the assistant cites
AGENTS.mdin its response but does not apply its constraints to the actual move
Re-entering the Contract
When drift is detected — by the operator or by the assistant — the correct recovery is re-entry:- Give the activation instruction again
- Reread
AGENTS.mdin full before continuing - Re-establish the real target and authority
- Resume only after the operative frame is active again