Install
openclaw skills install @englandtong/coding-management-systemAlign goals and authorize compact agent work
openclaw skills install @englandtong/coding-management-systemVersion: 2.2.1
Use this skill as the control plane for AI-assisted software delivery. Convert intent and accumulated project records into one current authorization, let execution proceed proactively inside that boundary, and keep completion claims no stronger than their evidence.
Respond in the user's language. Use plain language before technical language.
{baseDir}/references/en/.{baseDir}/SKILL.zh-CN.md and load only needed files from {baseDir}/references/zh-CN/.Developer Complete, Stage Verified, Runtime Verified, and Accepted are distinct claims.agent-loop-engineering executes authorized work through Bounded Autopilot.Docs/ACTIVE_PACKET.md with contract version 2.0 and 2.1 policy fields.QC means Stage Reviewer. Standard/Full final acceptance remains independent.project-lifecycle-navigator instead for a one-time read-only verdict, such as go / narrow / pivot / archive / stop, when no persistent governance state is needed.agent-loop-engineering. Any {baseDir}/../agent-loop-engineering/... path or node <agent-loop-engineering>/scripts/... command in this document is a convenience shortcut for co-installed setups only. When that sibling skill is absent, state it in one line and substitute the equivalent in-skill action: skip the Active Packet bootstrap script and write Docs/ACTIVE_PACKET.md from the bundled template; replace the loop-state validator with a manual stage-evidence check; replace reading isolated-delegation.md with the at-most-three-workers rule stated above. Never fail a run only because the sibling skill is missing.Read {baseDir}/references/en/execution-contract.md.
When Personal Supervisor and Governance both run in the same Cordis context,
file ownership follows the CDH handshake — not a shared mutable folder. Read
{baseDir}/references/en/cross-plugin-file-contracts.md before writing
.agent-state/<task-id>/ files, stamping governance/supervisor-binding, or
citing an Active Packet / Work Order across the plugin seam.
Plugins implement that contract; this skill owns the schema text. Conflicts resolve in favor of the reference file.
Choose one authority mode per pass:
| Need | Mode | Reference |
|---|---|---|
| Idea or problem is still vague | Goal Discovery | goal-discovery.md |
| Convert a clear outcome into bounded work | Planning and Sizing | planning-and-sizing.md |
| Old CMS files exist but no reliable current packet | Legacy Bootstrap | legacy-bootstrap.md |
| Authorize a Milestone, Program, or Work Order | Dispatch | governance-profiles.md, controller-qa.md |
| Review the latest stage or delivery | Stage Review / Delivery QA | controller-qa.md |
| Check whether work still serves the outcome | Direction Alignment | alignment-and-rebaseline.md |
| Assess a requirement that may change target | Target Rebaseline | alignment-and-rebaseline.md |
| Audit the whole project or define finish line | Audit / Roadmap | alignment-and-rebaseline.md |
Do not mix a whole-project audit, latest-delivery QA, and target rebaseline in one authority pass.
When no valid Active Packet exists:
Docs or docs case-insensitively;--write and only inside the resolved workspace.Use:
node {baseDir}/../agent-loop-engineering/scripts/bootstrap-active-packet.mjs --workspace <project-path> --json
If the skills are installed separately, locate the same script inside the installed agent-loop-engineering skill. If conflicts exist, write nothing and return one consolidated Owner decision request.
Preserve legacy history. After migration, stop expanding duplicate STATUS, NEXT_ACTIONS, PENDING, COMPLETED, per-stage dispatch, and per-stage handoff files unless a regulated process explicitly requires them.
Read {baseDir}/references/en/legacy-bootstrap.md.
Idea, request, or legacy state
-> discover or bootstrap one desired outcome
-> define minimum useful scope and Non-Goals
-> classify delivery claims and evidence
-> size Small / Medium / Large
-> choose Lite / Standard / Full
-> create or refresh Active Packet
-> Bounded Autopilot execution
-> stage review and repair as needed
-> alignment checks
-> independent final QA when required
-> accept, repair, split, rebaseline, or stop
Proceed with reversible uncertainty when assumptions are explicit. Stop only when an unknown can change the core target, create material risk, cross a protected boundary, or waste substantial work.
Keep these dimensions separate:
| Dimension | Values |
|---|---|
| Goal readiness | Concept, Direction, Ready for Planning, Ready for Execution, Owner Decision Required |
| Execution | Ready, In Progress, Ready for Independent Acceptance, Needs Fix, Blocked, Invalid State (Ready for Review is legacy input) |
| Alignment | Aligned, At Risk, Locally Compliant, Globally Misaligned, Owner Review Required |
| Stage review | Not Reviewed, Passed, Needs Fix, Blocked |
| QA decision | Not Reviewed, Accepted, Accepted With Risk, Failed, Blocked, Not Required |
| Project | Active, Needs Fix, Blocked, Accepted, Accepted With Risk, Invalid State |
| Delivery class | Runtime, Contract, Governance, Artifact, Mixed |
Do not describe a Contract milestone as implemented runtime, a screenshot as interaction proof, a build as usability proof, or Stage Reviewer approval as independent acceptance.
For acceptance_mode: Layered:
Needs Fix on the same Packet and Work Order.Ready for Independent Acceptance.Lite may self-accept only when qa_required: false, work is local and reversible, automatic and functional evidence pass, and no material limit remains.
Repeated risk is a governance signal: the same material risk carried twice, or three consecutive formal Accepted With Risk decisions, triggers Direction Alignment before further expansion.
Read {baseDir}/references/en/controller-qa.md.
Run a lightweight target-link check every stage. Run formal alignment at stages 3, 6, and 10, or immediately on authority fingerprint change, scope growth over 20 percent, repeated no-progress failure, user-flow failure behind green checks, or a new protected-boundary idea.
Direction Alignment does not rewrite the target. Target changes require a separate Rebaseline decision and then a separate Planning/Dispatch pass.
Work expected to exceed 20 hours must be split into independently valuable Programs or returned for Owner rebaseline. Do not authorize an unreviewed 30-40 hour run.
Normal governance reads:
Audit mode may read broadly but must remain read-only and use an explicit context budget. Do not use audit-sized context for each execution loop.
For high-output discovery, logs, validation, or independent QA, authorize isolated workers instead of expanding the coordinating context. Default to at most three active workers, one coordinating writer, disjoint write scopes, fingerprint-and-excerpt authority sharing, and summary-plus-evidence returns. Do not delegate small or tightly coupled work where worker startup and rereading would cost more than direct execution.
Read the execution skill's {baseDir}/../agent-loop-engineering/references/en/isolated-delegation.md when multi-agent delegation is authorized.
Create a file only for a durable authority boundary, Owner decision, final independent QA decision, cross-team handoff, formal rebaseline, or archive boundary. Standard governance normally needs only Active Packet, Loop Runs, one consolidated Work Order when useful, and one final QA decision.
Read {baseDir}/references/en/governance-profiles.md.
Governance fails in a specific way: it keeps producing correct-looking artifacts while the product stops moving. Watch the ratio, not the intent.
Docs/archive/YYYY-MM.md and keep only the current authority live.Superseded, CURRENT OVERRIDE, or this section is void notes inside a live authority file; a reader must not have to reconstruct which layer is current.REBASELINE-<date>.md and archives the prior baseline in the same pass.Accepted With Risk needs an exit. Every such decision carries the specific unlock condition, an owner, and a date. Without all three it is not risk-qualified acceptance; it is an unresolved blocker wearing a green badge. Accepted but never released is a governance defect and must be reported as such.Read {baseDir}/references/en/anti-involution.md.
Accepted With Risk.Accepted With Risk without an unlock condition, an owner, and a date.Use the execution skill's compact validator:
node <agent-loop-engineering>/scripts/validate-loop-state.mjs --workspace <project-path> --summary --max-findings 20
Use --strict-history only when historical log migration is the task. Thousands of legacy field gaps must be grouped, not emitted line by line.
Validate a CDH handshake front-matter fence on an execution-layer Markdown file:
node {baseDir}/scripts/validate-handshake-frontmatter.mjs --file <.agent-state/.../HANDOFF.md> [--json]
End governance responses with:
Mode:
Current readiness/state:
Delivery class:
Decision:
Why:
Do now:
Do later:
Do not do yet:
Owner decision needed:
Next evidence:
Files created or updated:
In QA, include criterion, evidence level, decision, correction, owner, and re-verification. Keep the response usable by a non-technical Owner.