explore
Destination-first structured exploration through ask → decide → confirm — humans own intent, blocking policy, promote, and doc handoff. Use when scope is unclear before /sw-doc. Does not dispatch implementation or create PRDs/tasks.
- License 许可
- MIT
- 最近更新
- 2026-11-03
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- explore
- description
- Destination-first structured exploration through ask → decide → confirm — humans own intent, blocking policy, promote, and doc handoff. Use when scope is unclear before /sw-doc. Does not dispatch implementation or create PRDs/tasks.
03 SKILL.md 正文
Explore (/sw-explore)
Pre-planning structured exploration. Produces ExplorationMap@v1 state and optional readiness/brief
handoff — never PRDs, tasks, or implementation dispatch.
Model tier: mid — resolve via python3 scripts/sw_bootstrap.py resolve-model-tier.py -- --skill explore. When using the Task tool for subagent dispatch, resolve concrete model IDs from models.tiers in config (never semantic tier names in subagent model: frontmatter).
Core principles
- Ask → decide → confirm — every promote or handoff passes through explicit human confirmation.
- Humans own intent — agents surface trade-offs; humans own intent, blocking unknown policy, and forward routing.
- Destination first — capture non-committal destination before graph expansion.
- Conversation default — graph promotion follows only defined triggers in
exploration_policy.py. - No implementation dispatch — never invoke
/sw-deliver,/sw-ship, or/sw-executefrom explore.
Interaction state machine (R24, R31, R45)
ask ──► decide ──► confirm ──► (promote | handoff | persist | continue)
▲ │ │
└─ cancel ┘ └─ cancel (no side effects on declined confirm)
| State | Agent behavior | Human gate |
|---|---|---|
| ask | One clarifying question at a time; optional intelligence inputs may degrade non-blocking. | Operator may cancel or defer. |
| decide | Summarize destination, structured fields, unknowns, and evidence; propose next action. | Operator chooses promote, handoff, or continue conversation. |
| confirm | Show declared persistence effects before any write or route. | Explicit proceed required for promote/handoff; decline returns to ask/decide without mutation. |
Blocking policy
- Classify unknowns as blocking / non-blocking / deferred only after human confirmation.
- Never auto-promote blocking policy or product commitments.
- On conflicting intent, halt in decide and ask one reconciliation question.
Cancellation and resume recovery
- Cancel — operator may abort at any state; no promote/handoff/persist without confirm receipt.
- Resume —
/sw-explore resume <map-id>reloads map + interaction state; on stale revision, print recovery instructions (re-read map, re-confirm destination, retry with current revision). - Notebook entry — when
--from-notebook <id>is present, verifynotebookIdprovenance round trip from/sw-note graduate --to explore.
Lifecycle placement and Capture → Explore → Specify → Build → Learn routing:
docs/guides/workflows.md (Lifecycle routing).
Procedure
Phase 1: Entry and destination
- Resolve entry path (
idea,notebook,resume). - Start or resume via
ExplorationEngine+ExplorationStore. - Capture destination statement (non-committal).
- Refuse tier routing at entry (
entry_tier_routing_forbidden).
Phase 2: Structured exploration
- Collect required structured fields before suggesting
/sw-doc. - Optionally bind evidence via
exploration_evidence.py(prototypes non-production-eligible). - Stay in conversation mode until promotion trigger + confirm.
Phase 3: Promote or handoff
- Promote — evaluate trigger via
exploration_policy.py; require operator confirm receipt. - Handoff — when readiness is sufficient, propose
/sw-docwith reason + declared effects; require confirm; never nested orchestrator dispatch. - Report map id, revision, and next command (
/sw-explore resume,/sw-doc, or/sw-status).
Guardrails
- No PRD/task/branch creation (mega-planning anti-goal).
- No implementation dispatch anti-goal — refuse deliver/ship/execute/start routes.
- No autonomous product authority — confirm receipts required.
- Explore is optional — never imply mandatory explore for all work.
- Prototypes remain non-production-eligible (unrestricted prototypes anti-goal).
- Broker-only memory access via
memory-preflight; redact all persisted artifacts.
04 同仓库更多 Skills
wrong-name
Missing use when phrase and wrong directory name for critical lint failure.
demo-skill
Demo workflow pack skill fixture. Use when validating workflow-pack-sdk golden paths in CI.
good-skill
Validates Agent Skills spec conformance for fixture trees. Use when testing skills-spec-guard pass paths across core and dist mirrors. Does not ship production skills.
wrong-name
Fixture with name/dir mismatch for guard failure tests. Use when verifying skills-spec-guard rejects invalid identity. Does not ship production skills.
bad-description
Missing the required when trigger phrase in this fixture skill.
dropin-demo
暂无简介