skills/mb-execute/SKILL.md
Implementation handoff skill for one TASK-* using tier-selected protocol files, local gates, evidence, and explicit verification/sync handoff.
npx skillsauth add mrvladd-d/memobank mb-executeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
mb-execute implements one scoped JSON task. It is not a mini-scheduler and it
does not own task closure. Flow: read task -> minimal preflight -> protocol ->
implement -> local gates -> evidence -> handoff.
Status transitions have two modes.
Scheduler mode:
/autopilot and /autonomous own task status transitions./execute returns scoped implementation handoff; it does not close tasks./verify gives functional verdict/evidence; in scheduler mode it does not close/fail/block/promote./red-verify gives semantic verdict for T2/T3; in scheduler mode it does not close/fail/block/promote..memory-bank/tasks/TASK-*.task.json record before /mb-sync./mb-sync records/reconciles already-written task state. It does not decide closure/failure/blocking/promotion and must not sync a decision that exists only in scheduler context.VERDICT: PASS plus SEMANTIC_VERDICT: semantic-pass before scheduler marks done.HUMAN_CHECKPOINT: done and ROLLBACK_RECOVERY_NOTE: present.Manual mode:
/execute -> /verify for one TASK.explicit standalone owner means either the user directly asked the current top-level agent to close the task, or the top-level agent/orchestrator explicitly runs a manual workflow for one TASK and records that it owns closure. Subagents/worker prompts do not silently become closure owners./verify PASS may mark T0 / T1 status: done only when explicit closure ownership is present and completed evidence has been written to the task record verify field and the compact/full protocol required by tier./verify records VERDICT: PASS, evidence, and a closure recommendation, leaves status unchanged, and tells the scheduler/owner to close.T2 / T3 manual closure requires /verify PASS plus /red-verify / mb-red-verify SEMANTIC_VERDICT: semantic-pass before status: done or /mb-sync; if semantic-pass is absent, leave closure pending or blocked, not done.semantic-concern in manual mode means do not trust the existing done state without human review / follow-up.mode field is used.TASK_ID, for example TASK-123.memory-bank/tasks/index.json.memory-bank/tasks/<TASK_ID>.task.jsontier: T0|T1|T2|T3.memory-bank/requirements.md / REQ IDs when relevant.memory-bank/spec-index.md and all linked authoritative SDD specs when the
task record or linked feature contains SDD spec links, for any tiersource_artifacts, normative_inputs,
constraints, invariants, verification_targetsAuthoritative SDD spec links are links to .memory-bank/spec-index.md,
.memory-bank/tech-specs/, .memory-bank/architecture/,
.memory-bank/contracts/, .memory-bank/domains/, .memory-bank/states/,
.memory-bank/adrs/, .memory-bank/testing/, or .memory-bank/runbooks/.
Missing richer fields or absent SDD spec links do not block classic T0 /
T1 tasks; fall back to referenced docs.
For T2 / T3, missing linked SDD specs are a blocker for serious work.
Stop with an explicit handoff error if:
id does not match TASK_IDtier is missing or is not T0|T1|T2|T3status is blocked, failed, or donedepends_on task is missing or is not donetier is T2 / T3 and neither task richer fields nor linked feature
spec_design_links include relevant SDD spec linksDo not block T0 / T1 only because SDD spec links are absent.
Route only by task.tier. Do not use legacy risk / risk.level.
Create .tasks/<TASK_ID>/ for runtime artifacts.
T0 / T1: use compact protocol:
.protocols/<TASK_ID>/run.md; record tier, goal, context, plan, changes,
gates, evidence, and handoff notesVERDICT: PASS|FAIL|BLOCKED is a local evidence marker only, not task closureT2 / T3: use full protocol:
.protocols/<TASK_ID>/context.md, plan.md, progress.md,
verification.md, handoff.mdT3: exact marker lines are closure requirements:
HUMAN_CHECKPOINT: doneROLLBACK_RECOVERY_NOTE: presentRecord whether these markers are present or still needed; do not close the task.
.memory-bank/spec-index.md and all linked authoritative SDD
specs before editing; treat them as normative inputs.shared-* files.Run relevant local gates from project instructions: lint/typecheck, unit tests, and integration/e2e checks only when relevant.
If a gate cannot run or fails, record command, result, evidence path, and the blocker in the protocol/handoff. Do not convert that into final task status.
Finish with:
.tasks/<TASK_ID>/mb-execute never:
/mb-sync/verify or /red-verifySchedulers (/autopilot, /autonomous) or an explicit standalone owner perform
verification orchestration, final status decisions, MB-SYNC, and dependent
promotion/blocking.
testing
Verify one TASK-* against acceptance criteria and record reproducible evidence.
testing
Review a Memory Bank with fresh-context specialists and produce a prioritized fix list.
testing
Adversarial semantic verification for one TASK-* so teams can catch solutions that pass process checks but are still wrong in substance.
development
Map an existing codebase into an as-is Memory Bank without inventing roadmap items.