IGRE Overview
IGRE stands for Intent-Grounded Reversible Execution.
It is a protocol for command-line tools and agents that touch real systems. IGRE does not try to make every action safe. Instead, it makes a tool’s grounding, intent, risk, mutation, and verification visible before and after execution.
The Shape
Section titled “The Shape”IGRE separates observation, intent, and mutation:
lfetch / fetch -> intend -> laction / actionThe verbs have distinct jobs:
lfetchobserves local true state and records a fetch artifact.fetchobserves remote true state and records a fetch artifact.intend create-*records an immutable proposed intervention.intend listandintend statusinspect the CLI-owned intent repository.lactionmutates local true state under an intent.actionmutates remote true state under an intent.
Fetches Are Not Intents
Section titled “Fetches Are Not Intents”Fetches observe source systems the CLI does not control. A local SQLite cache, a local file, and a remote SaaS API can all be true systems for a workflow.
Intents are different. They are records owned by the CLI: proposed, attempted, or completed interventions. Reading those records is not a fetch. That is why an IGRE CLI has commands such as:
tool intend list time-entrytool intend status intend_...The Five Questions
Section titled “The Five Questions”An intent answers:
- Where do I think I am?
- How sure am I about that?
- What action am I about to take?
- What is the risk of taking that action on this grounding?
- What rollback truth applies?
This turns “please do the thing” into a durable manifest that can be linted, inspected, executed, and audited.
What IGRE Promises
Section titled “What IGRE Promises”IGRE promises that a tool says what it observed, what it intended, what it mutated, what it could verify, what it could not verify, and what actually happened.
It does not promise that the outcome was good, that rollback exists, or that the remote system behaved correctly.