AgentSkillsCN

08 Lane Classifier

08 流程分类器

SKILL.md
--- frontmatter
tags: [skill, codex-exec]
skill_id: "08_lane_classifier"

Skill 08 — Lane Classifier

Purpose: Decide the execution lane (Standard default, Slow for risky/big, optional Micro) and specify required gates.

Protocols:

  • [[docs/PROTOCOLS/LANES]]
  • [[docs/PROTOCOLS/VAULT_PROBE]]
  • [[docs/PROTOCOLS/EVIDENCE]]
  • [[docs/PROTOCOLS/RUN_LOGGING]]
  • [[docs/PROTOCOLS/CONTEXT_BUDGET]]

Inputs (from Orchestrator)

  • docs/tasks/<task_slug>.md (required)
  • Optional: docs/research/<task_slug>.md (if it already exists)

Outputs (must write)

  • docs/notes/<task_slug>_lane.md
  • artifacts/lane_decision.json
  • [[docs/skills/08_lane_classifier/SUMMARY]]

Run log (mandatory)

Create: artifacts/_runs/<timestamp>_08_lane_classifier/


Steps

  1. Slice-read the task note (probe-first).
  2. Classify lane using [[docs/PROTOCOLS/LANES]]:
    • chosen lane (Micro / Standard / Slow)
    • the specific triggers that caused the decision
    • what would force an upgrade to Slow
  3. If lane is Slow, explicitly list the required gates:
    • worktree: [[docs/PROTOCOLS/WORKTREES]]
    • ExecPlan: [[docs/PROTOCOLS/EXECPLAN_TEMPLATE]]
    • patch gate: [[docs/PROTOCOLS/PATCH_GATE]]
  4. Write docs/notes/<task_slug>_lane.md (short, actionable).
  5. Write artifacts/lane_decision.json with:
    • task_slug
    • lane
    • triggers (array)
    • required_gates (array)
    • upgrade_conditions (array)
  6. Write SUMMARY.md with the decision and next recommended skill.

Definition of Done

  • Lane decision note exists and is readable
  • Lane decision JSON exists
  • Summary exists and links outputs