@sabaiway/agent-workflow-engine
v5.0.0
Published
Canonical home of the agent-workflow planning methodology — the capped plan shape (goal and boundary, module ledger, verification), plan lifecycle, queue.md series index, and mandatory Cleanup phase, consumed by the kit (composition root). The methodology
Maintainers
Readme
@sabaiway/agent-workflow-engine
The canonical home of the agent-workflow planning methodology. It owns the
methodology text — the capped plan shape (goal and boundary, module ledger, verification), the plan-file lifecycle
(docs/plans/*.md, ephemeral, never committed), the queue.md series index, the mandatory
final Phase: Cleanup, the orchestration-recipe vocabulary (Solo / Reviewed / Council /
Delegated / Subagent), the bounded slot fragments the family kit injects into a deployed project's
AGENTS.md, and the canonical agent-rules lens block the kit renders into a deployed
docs/ai/agent_rules.md.
This is the methodology engine of the agent-workflow family — the canonical source the
rest of the family builds on. It is content, not a runtime: it reads nothing, writes
nothing, and mutates no project file. It deliberately knows nobody else in the family —
it only provides the methodology; the family composition root (agent-workflow-kit) is the
one that injects it. The kit reads this canon live from the installed engine and injects the
bounded slot from it — one source of truth, no bundled mirror (Plan 3D / AD-016).
npx @sabaiway/agent-workflow-kit@latest init installs the engine as a core part of the kit; if a
slot fill is needed but the engine is absent, the kit's reconcile fails loudly.
Install
npx @sabaiway/agent-workflow-engine@latest initInstalls/refreshes the canon at ~/.claude/skills/agent-workflow-engine (override with
--dir <path> or AGENT_WORKFLOW_ENGINE_DIR). init is additive — it never deletes your
files and never writes through a symlink. Re-running with @latest is how you refresh the
installed canon to the current version.
This is a content skill (disable-model-invocation): it is not a project deploy and is
not model-invoked. There is nothing to "run" inside an agent — installing it places the
methodology canon on disk for the family to read.
Use
The methodology is consumed by the family composition root, not invoked directly. Day to day
you install and use the kit (@sabaiway/agent-workflow-kit), which injects the
methodology slot into your project's AGENTS.md. Install the engine standalone when you want
the canonical methodology reference on disk:
references/planning.md— the plan canon: the capped plan shape (Goal and boundary · Module ledger · Verification), the subtraction rubric, the plan-file lifecycle, thequeue.mdseries index, and the mandatory final Phase: Cleanup.references/specs.md— the feature-spec canon: the durable per-feature contract layer underdocs/ai/specs/(Contract · Scenarios · Out of scope · Module), the frozen schema (kinds, statuses, forward-only transitions, the numeric fan-out and promotion thresholds, the scenario-binding grammar, the refusal table), governing specs cited per plan, the feature-vs-page precedence table, spec-driven feature-sliced architecture, and the retroactive onboarding path. The deployed readerscripts/spec-schema.mjs(memory) is pinned against it.references/methodology-slot.md— the bounded methodology fragment the composition root injects into a deployedAGENTS.md(a short summary + pointer, kept under the entry point's line cap).references/orchestration.md— the canonical orchestration-recipe reference: the five recipes (Solo / Reviewed / Council / Delegated / Subagent) over the bridges' role vocabulary and the executor vehicle'scarryrole, the when/why, the graceful-degradation lattice, and the quota/health guard.references/orchestration-slot.md— the bounded one-line orchestration fragment the composition root injects into a deployedAGENTS.md, routing to the in-project recipes surface.references/autonomy-slot.md— the bounded one-line autonomy fragment the composition root injects into a deployedAGENTS.md: the cross-agent read contract fordocs/ai/autonomy.json(read at session start; the canonical default floor when absent; STOP on malformed), routing to the in-projectset-autonomy/autonomy-doctorsurfaces.references/procedures.md— the canonical activity-procedures canon: the named activities (plan-authoring,plan-execution,routine,feedback-triage) as ordered steps with typed recipe slots, read live and rendered by the read-only/agent-workflow-kit procedures <activity>.references/agent-rules-lens.md— the canonical agent-rules lens block (the planning/review/process-fidelity invariants) the kit renders into a deployeddocs/ai/agent_rules.mdregion and refreshes on upgrade — a canon wording change ships as an engine-only release.references/agent-rules-lens-priors.md— the append-only store of previously-shipped lens bodies; the kit refreshes a deployed region only when it matches a known body (a customized region is preserved verbatim).
What this package ships
SKILL.md (the canon overview + ownership rule), references/ (the full methodology + the
orchestration + activity-procedures references + the bounded slot fragments + the agent-rules lens
fragment and its prior store), capability.json
(the family manifest), and this installer. It ships no family-wide tooling (the schema/validator/injection live in the
composition root) and mutates nothing — preserving "knows nobody".
License
MIT — see LICENSE.
