Mia Structured Work

Mia Structured Work — plan-first gate for disciplined, reset-proof multi-step work on OpenClaw.

Mia Structured Work (mia-structured-work) — 2D plan-first gate

Makes the structured-work discipline real instead of advisory. The mia-structured-work skill teaches the convention (a projects/<job>/ folder with requirements.md / task-plan.md / decisions.md / state.json); this plugin enforces it: it gates code/exec/build tools until a project task-plan.md exists, so work is organized and survives a context reset.

It registers a before_tool_call hook (the official seam) — it does not modify the core.

Behavior

For building/mutating tools (exec, shell, write, edit, apply_patch, build, install, deploy, scaffold, generate, …), if no <workspace>/projects/<job>/task-plan.md exists yet:

enforce (config)result
ask (default)require approval — "Write the plan first?"
blockrefuse the tool until a plan exists (the board's strict mode)
offdisabled

Read-only tools and tools run once a task-plan.md exists are never gated.

Config

json5
{ plugins: { entries: { "mia-structured-work": { config: { enforce: "ask" } } } } }

Install

bash
openclaw plugins install clawhub:@voltek-us/mia-structured-work
openclaw plugins enable mia-structured-work

Shown in Mia Launcher → Skills & Plugins with Install-from-ClawHub + On/Off, alongside its mia-structured-work skill in the Skills section.

Future (board 2D "reuse")

  • boot-md / bootstrap hooks to inject the process into BOOT.md / AGENTS.md.
  • Mirror each step into the task registry. Deferred per the board's "invisible by default" guidance.