MINE
MINE Is Not Everyone's.
A document-driven software engineering workflow for Coding Agents.
English · 简体中文
What is MINE?
Coding Agents are good at completing individual tasks with clear goals and boundaries. Software engineering, however, is rarely a single conversation. A project often spans multiple sessions, multiple stages, and several parallel workstreams.
Requirements, architectural decisions, implementation plans, task dependencies, review conclusions, and release state accumulate throughout that process. If this information exists only in conversational context, it disappears with the session. The problem becomes more pronounced when multiple Agents work in parallel: each Agent may hold an incomplete or even contradictory understanding of the system.
MINE addresses this by persisting engineering state in the repository and using Git to manage the development process.
Specifically:
.mine/design/ stores the currently accepted engineering design;
.mine/plan/ stores execution plans for the current development cycle;
- the Execution Graph manages dependencies and execution state between Plans;
- Git branches and worktrees isolate implementations of different Plans;
- independent Review determines whether an implementation can be accepted;
- Release Closure turns the final development state back into stable product state.
MINE's goal is to keep Design, Implementation, and Review grounded in the same persistent engineering context, preserving consistency and traceability across sessions and Agents.
Workflow
flowchart LR
R[Requirement] --> A[mine-arch]
C[Existing Code] --> S[mine-sync]
A --> D[Design]
S --> D
D --> P[mine-plan-create]
P --> E[mine-plan-exec]
E --> V[mine-plan-review]
V -->|More work| E
V -->|All accepted| F[final mine-sync]
F --> X[release closure]
X --> T[stable]
MINE provides five Agent Skills:
| Skill | Purpose |
|---|
mine-arch | Create a target Design from requirements, or update an existing Design |
mine-sync | Synchronize Design against the repository's actual implementation |
mine-plan-create | Turn a scoped Design change into executable Plans |
mine-plan-exec | Implement a Plan |
mine-plan-review | Independently review an implementation and accept, reject, or close out the release |
The mine binary handles deterministic operations, including:
- repository initialization;
- Plan and Execution Graph state management;
- Agent integration management;
- file locking and concurrency protection;
- Design and graph validation;
- release preflight checks;
- temporary Plan-reference checks before stable release.
In normal use, you do not need to manually manage graph revisions, report paths, temporary Plan branches, or release candidates. MINE manages those states for you.
Installation
0.2.0 delivery targets Windows x86_64 and Linux x86_64. macOS delivery is
DEFERRED until the dashboard phase; there is no macOS 0.2.0 archive. Existing
macOS implementation/history is preserved, not counted as a native verification pass.
Claude Code, Codex, Pi and OpenCode integrations remain supported.
Recommended installation
Install the mine binary.
Windows
Run in PowerShell:
irm https://raw.githubusercontent.com/6ixGODD/mine/master/scripts/bootstrap.ps1 | iex
Linux x86_64
Run in your terminal:
curl -fsSL https://raw.githubusercontent.com/6ixGODD/mine/master/scripts/bootstrap.sh | sh
After installation, restart your terminal and verify that MINE is available:
mine --version
Then install the Agent integrations:
mine setup
mine setup configures the corresponding Skills and, when the client supports MCP, registers the local mine mcp serve server.
To inspect the current Agent integration status:
mine agent status
Installing a specific version
The bootstrap installer uses the latest Release by default. Set MINE_REF to install a specific version.
For example, to install v0.2.0:
Windows
$env:MINE_REF = "v0.2.0"
irm https://raw.githubusercontent.com/6ixGODD/mine/master/scripts/bootstrap.ps1 | iex
Linux x86_64
MINE_REF=v0.2.0 \
sh -c "$(curl -fsSL https://raw.githubusercontent.com/6ixGODD/mine/master/scripts/bootstrap.sh)"