ワンクリックで
exec
Use when running execution-ready task slices, dispatching verified `lev exec` flows, or reviewing implementation work in the Exec lane.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when running execution-ready task slices, dispatching verified `lev exec` flows, or reviewing implementation work in the Exec lane.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Routes adaptive multi-agent deliberation with fractal context cycles. Use when using /cdo, think/deep/debug/parliament work, or long runs paired with autoresearch scheduling.
Use when you need an evidence-first provenance report from `cass`, repo docs, `.lev`, `~/.agents/diagrams`, `qmd`, or Grep/Glob tools.
Use the codebase knowledge graph for structural code queries. Triggers on: explore the codebase, understand the architecture, what functions exist, show me the structure, who calls this function, what does X call, trace the call chain, find callers of, show dependencies, impact analysis, dead code, unused functions, high fan-out, refactor candidates, code quality audit, graph query syntax, Cypher query examples, edge types, how to use search_graph.
Handle blocked destructive commands. Use when dcg blocks rm -rf, git reset --hard, DROP DATABASE, kubectl delete, or when configuring agent safety guardrails.
Use when running a visible Lev autopilot that coordinates research, interview, arch, propose, AgentPing, warm-worker intent, realtime dashboard intent, and lev exec updates across the lifecycle.
Heartbeat-driven autonomous development loop using lev loop autodev, with interval, budget, and tick controls for in-process SDLC execution.
| name | exec |
| description | Use when running execution-ready task slices, dispatching verified `lev exec` flows, or reviewing implementation work in the Exec lane. |
| skill_type | workflow |
| category | lifecycle |
| output_template | hud |
/exec runs execution-ready entities. It does not invent plans, weaken
verifiers, or complete work without review evidence.
When a user asks to set a goal involving /exec, the goal objective must be the
domain task. Name /exec, Lev, Ralph, profiles, or runtime surfaces only as
bounded tools/surfaces.
Bad goal objective:
Good goal objective:
/exec/Lev Ralph as bounded execution surfaces. Run one
slice at a time; stop on reviewer advice, blocker, failed declared gate, or a
no-op/advice loop; report diagnostics."Do not turn the workflow mechanics into the goal. The goal is the product or
repo outcome; /exec is just the controlled way to attempt it.
Model choice is execution policy, not skill prose. It varies by adapter, project, FlowMind topology, profile, and current local configuration.
Before dispatch:
lev exec --help in the target project before choosing model, profile,
flow, binding, budget, or loop flags. Do not guess flags or aliases.execution.yaml, FlowMind --flow=<path>, or
exec --profile=<id> over an inline --model..lev/exec-profiles/
overlays plugin profiles; explicit CLI flags override profile values only
when the user or execution artifact requires an override.lev exec "binding smoke" --profile=<id> --dry-run --dry-run-resolve-binding
before a real dispatch when profile/model selection matters. Treat dry-run
binding output as resolution evidence, not live provider execution proof./propose or diagnostics for a policy decision instead of inventing a stale
model default in the skill.Exec profiles are the ONLY profile system. Adapter-native profile/config layers
(e.g. codex -p <overlay>) are never read by Lev — the provider card passes
explicit model flags. Do not duplicate adapter/model policy into adapter-native
config; that is a split-brain.
Canonical bounded-loop dispatch (ralph shape):
lev exec "<bounded slice>" --profile=<worker-profile-id> \
--until="<completion condition>" --verifier="<shell command>"
VERDICT <claim>: lines.--with execution_delta_timeout_ms=180000 (or higher) for loop dispatches
unless the loop path already defaults it..lev/agentfs/exec/artifacts/<execId>/loop-verifier/iteration-N/gate-proof.json;
cite them as receipt evidence, never the worker's prose claim.ls .lev/exec-profiles/ plus plugin-shipped
profiles; never hardcode model names in prompts or skills.Lifecycle lane: Exec
Entity movement: execution_ready -> executing -> verified | blocked | needs_propose
Workstream: resolve active workstream and task entity before dispatch
Upstream: /propose
Downstream: /close
Router: /work
HUD: end with 🧬 {ws} ⚡{exec_count} 📥{capture_count} ⏸️{paused_count} ✅{done_count} | 🚦{gate}={score} | ⏭️ {next} | 🔁{loop_state}
When a task has dna.yaml and execution.yaml, execution readiness is enforced
by Lev SDK, not prose:
lev task validate <task-id|task-path> before dispatch.plugins/sdlc/flows/exec-adversarial-readiness.flow.yaml for claim-backed tasks.proof_gates.pentagon.lfd.required is true, verify the LFD target,
constraints, instruments, dev/holdout policy, cheap paths, and preflight
calibration before dispatch./propose.Hard rule: a green command is not enough. Completion needs queryable
receipt/trace evidence: node artifacts, branch decisions, verifier commands,
stdout/stderr paths, exit codes, touched files, and claim_verdicts with
evidence_ref. Score-lift needs row-level before/after deltas attributed to
selected candidates. Routing and telemetry claims need machine-readable traces.
execution_ready is never completion.
For LFD-shaped work, a worker must not see or mutate holdout answers, scorer
internals, private lint details, or calibration fixtures. If the execution
surface cannot enforce that read/write split, run only dev/preflight checks and
route the holdout or harness design back to /propose.
Every exec follow-up must preserve the artifact ledger from /propose and add
runtime evidence: selected slice, command, cwd, verifier, receipt/trace refs,
touched files, result, fidelity/confidence, and next route. Follow-ups are
compiled into agent-operational rows, not copied from final-answer prose. If a
fix, blocker, or follow-up is discovered, write or route it through /capture;
do not leave it only in chat memory.
steps:
- id: resolve_context
action: Identify workstream, task path, execution artifact, and target slice.
validation: "workstream id, task id/path, and current slice are known."
on_failure: "Route to /work, /ws, or /propose before executing."
- id: validate_task
action: Run `lev task validate <task-id|task-path>`.
validation: "Task validation exits 0, or failures are captured as proposal work."
on_failure: "Do not dispatch. Route to /propose with diagnostics."
- id: read_execution_yaml
action: Extract topology, runtime_profile, proof_gates, verifier_contract, write_scope, dependencies, and forbidden_moves.
validation: "Every slice has verifier, write scope, and dependency status."
on_failure: "Treat as not execution-ready."
- id: read_proof_gates
action: Classify Pentagon, UltraQA, and ai-slop-cleaner gates for the selected slice.
validation: "Each applicable proof gate has commands, scenario classes, expected receipts, owner-local test placement, and cleanup policy."
on_failure: "Route to /propose for proof-gate repair before dispatch."
- id: verify_lfd_preflight
action: Verify Pentagon-LFD target and cheap-path hardening when present.
validation: "Score/lint/probe/status/proof instruments exist, known-good passes, known-bad fails, lint VOID is non-oracular, holdout is aggregate-only or unavailable to worker, and cheap-path probes fail closed."
on_failure: "Do not dispatch. Route to /propose with the failed cheap path and missing instrument."
- id: classify_batch
action: Mark slices parallel_safe or serial_only and lev_exec_first or subagent_required.
validation: "No batch has overlapping write scope or more than 3 implementation tasks."
on_failure: "Collapse to serial execution."
- id: verify_surface
action: Run `lev exec --help`, confirm flow exists, and confirm command shape before dispatch.
validation: "No guessed flags or flow names."
on_failure: "Downgrade to subagent or route to /propose."
- id: dispatch
action: Run the selected flow or subagent with bounded prompt, write scope, and verifier.
validation: "Dispatch records command, cwd, verifier, and expected receipt/trace evidence."
on_failure: "Emit <diagnostics-report>."
- id: review_spec
action: Check requested behavior, no extra behavior, write scope, and runtime contracts.
validation: "Spec approval occurs before quality review."
on_failure: "Fail closed as needs_propose/blocked. Do not redispatch a worker from reviewer advice unless the user explicitly asks."
- id: review_quality
action: Review interfaces, maintainability, tests, complexity, and correctness risks.
validation: "Quality approval and declared verifier both pass."
on_failure: "Do not mark verified."
- id: run_runtime_qa
action: Execute declared proof gates before final verification.
validation: "Baseline verifiers, Pentagon gates, UltraQA runtime scenarios, cleanup, generated-artifact status, and ai-slop-cleaner review pass or produce a blocked verdict."
on_failure: "Stop the current slice as blocked with diagnostics; do not spin."
- id: final_verify
action: Run declared verifiers, inspect changed files, and collect receipt/trace evidence.
validation: "All verifiers pass and evidence supports the claims."
on_failure: "Emit diagnostics and stop the failing slice."
- id: update_followup_ledger
action: Record verified, blocked, or follow-up rows with disk/memory state and evidence refs.
validation: "Every new follow-up has compiled_intent, current_location, artifact_ref or blocker, fidelity/confidence, route_state, and next_route."
on_failure: "Route unresolved rows to /capture before final summary."
execution.yaml.proof_gates.pentagon when present.
Do not substitute a repo-wide green audit for a feature-local promotion claim.proof_gates.pentagon.lfd is present, run the declared score, lint,
probe, status, and proof instruments in the declared order. Score must run
lint first; holdout must be aggregate-only and rate-limited; known-bad
calibration must fail before worker output can be trusted.proof_gates.quality.ai_slop_cleaner.required
is true, or when the exec slice performs cleanup/refactor work or touches
fallback/boundary-risk code.core/testing is a shared testing/eval library and generic
gate surface, not the destination for module-owned proof code.--help before unfamiliar Lev commands or flags.--help, --dry-run, verifier, then trace.lev exec, inspect receipt/trace lookup before
summarizing.advice is a terminal blocker for the current dispatch. Route to
diagnostics or /propose; do not treat advice as another worker prompt.{command}{cwd}{exit_code}{stdout_path_or_excerpt}{stderr_path_or_excerpt}{receipt_id_or_none}{exec_id_or_none}{trace_ref_or_none}{capture_or_followup_id}{agent_operational_followup}{disk|memory|both|external|unknown}{path_or_none}{captured|execution_ready|blocked|done|rejected}{retry_exec|propose|capture|work|blocked|close}{plan|surface|adapter|verifier|implementation|environment}{one_action}{retry_exec|propose|work|blocked}
| Situation | Surface |
|---|---|
| task has execution.yaml | project-selected FlowMind/topology from execution artifact |
| bounded implementation with verifier | verified lev exec flow |
| reviewer loop needed | lev-ralph if supported by current CLI |
| no clean verifier or bespoke context | subagent with explicit scope and verifier |
| architecture or tradeoff work | route back to /propose, /interview, or /prior-art |
| weak/missing execution artifact | /propose |
For 10x Ralph/proposal expansion, use an outer controller loop. One successful Ralph run produces one item, not the full list.
If touching FlowMind, plugin config, scheduler, runtime steering, context injection, protocols, or graph control flow, load relevant DNA/gates/design docs and carry explicit notes for:
LevEvent lifecycle emission| Excuse | Reality |
|---|---|
| "Smallest relevant checks." | Declared verifiers and claim evidence are mandatory. |
| "We can infer success from no-regression." | Behavioral claims need direct outcome evidence. |
| "The CLI probably supports that flag." | Run --help; never guess. |
| "Trace is optional." | Routing, telemetry, and receipt claims need machine-readable evidence. |
| "The executor can fix the plan." | Weak plans route to /propose, not execution. |
| "The scorer is just a helper." | For LFD-shaped work, the scorer is the target; if it is weak, patch the loss function before dispatch. |
/work routes lifecycle state./propose creates execution-ready artifacts./close seals verified work.