default-workflow-bootstrap
Use when any oasis7 user request starts and must bind the canonical worktree, GitHub-backed task truth, and owner before routing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when any oasis7 user request starts and must bind the canonical worktree, GitHub-backed task truth, and owner before routing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when a branch is about to create a PR and needs fresh involved-role review.
Use when implementation is verified and the branch must proceed through review, PR, merge, and cleanup.
Use when a task has written repo truth and implementation should proceed step by step with evidence.
Use when about to claim a task is complete, tests passed, a branch is ready for PR, or a PR is ready to merge. Requires fresh verification, direct output inspection, and use of `./scripts/pm/claim-ready.sh` when the claim can be mapped to one verification command.
Use when a bound oasis7 task needs the next repo-owned workflow phase selected.
Use when assessing or developing the blocked production-supervisor target for a bound oasis7 task spanning multiple lifecycle phases.
| name | default-workflow-bootstrap |
| description | Use when any oasis7 user request starts and must bind the canonical worktree, GitHub-backed task truth, and owner before routing. |
Canonical lifecycle and authority: capability, ownership, state machine, states, gates.
Use for every request, including read-only/chat-only work. Do not repeat bootstrap for a micro-loop already bound to the same task; record the minimal Learning Intake / Loop Closeout entry defined by the canonical source.
./scripts/new-task-worktree.sh <module> <task> \
--pm-owner-role <owner_role> --pm-title <title> --pm-source-ref <ref>
TPM is the default coordinator and continuation owner, not the task outcome
owner. Determine and bind the matching professional role as owner_role;
reuse an existing owner only when task truth still validates it. Create a
dedicated worktree unless the user explicitly authorized reuse. Professional
work still requires matching bounded subagent slices.
3. Confirm task UID, issue/Project binding, owner, repository, branch, worktree, request identity, and acceptance target using ./scripts/pm/workflow-report.sh --phase start --role tpm.
4. Create or reuse one immutable bootstrap snapshot with ./scripts/pm/bootstrap-task-snapshot.py validate-or-create --task-uid <task_uid> --producer tpm; record its path/digest and validate its result before downstream dispatch. The helper derives a new request identity only from bound task truth, reuses an existing immutable snapshot byte-for-byte, and fails closed on drift. Keep create / validate only for explicit compatibility or diagnosis; do not replay the full bootstrap report while the snapshot remains valid.
5. Record the bootstrap result in a GitHub issue evidence comment (mandatory). Fallback evidence cannot replace the GitHub-backed task evidence sink for task truth.
6. Once task truth exists, hand off to repo-owned-workflow-router via ./.agents/skills/repo-owned-workflow-router/SKILL.md.
## Repository State Impact## Isolation Decision## Task Truth## Bootstrap Snapshot (path + digest)## Routed Next PhaseDo force this bootstrap onto chat-only or read-only requests, even when they do not change repository state. Do not treat read-only professional/domain questions as TPM-owned conclusions; read-only/chat-only professional judgment routes to the matching role after binding.
Already-bound micro-loop caveat: use the canonical Learning Intake / Loop Closeout minimum record: question or observation, evidence path or command, answer or decision, and follow-up disposition. Do not emit another full bootstrap packet.
Do not edit, answer substantively, or dispatch before binding task truth.
Reusing the main worktree; treating read-only as an exemption; leaving evidence outside the task issue.