teammode(omp)
Coordinate two or more OMP workers as a bounded asynchronous team with durable identity, acceptance, and cleanup evidence.
- License 许可
- MIT
- 最近更新
- 2026-07-31
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- teammode(omp)
- description
- Coordinate two or more OMP workers as a bounded asynchronous team with durable identity, acceptance, and cleanup evidence.
03 SKILL.md 正文
Teammode
Use this workflow only for work that has at least two independent, non-overlapping slices.
Typed kernel commands
Lifecycle transitions execute through trusted coordinator handlers; model text cannot authorize team state changes. The installed runtime exposes /teammode(omp) prepare|create|status|cancel|archive|delete|resume as the only authoritative team operations.
Cost-aware parallelism
Before creating a team, consult the parallelism-history contract in src/contracts/parallelism-history.ts. Do not spawn a team when slices overlap or estimated startup cost exceeds serial budget. Explicit teammode may bypass missing parallelism history but never a known nonpositive parallelism estimate.
Workflow
- Confirm that the active OMP provider exposes
taskandhub. Stop withasync_team_surfaces_unavailableif either surface is absent. - Define two to four uniquely named members by default; explicit justification required for more. Give each member a distinct focus, repository-relative ownership, and concrete deliverable. Reject exact or ancestor/descendant ownership overlap.
- Initialize the durable team record before dispatch. Reuse an identical record; stop on a conflicting definition.
- Dispatch all members in one
taskcall using the host batch form: atasks[]array (oneTaskItemper member withname,agent,task, andisolated: truefor worktree isolation) plus a sharedcontextstring carrying the team brief. Setblocking: false. Each worker receives a compact task-packet with a tier-appropriate budget. Do not replace a missing asynchronous path with synchronous execution and do not claim that inline results form a team. - Bind the roster only after the async capability proof confirms task and hub surfaces return actual agent and job identities. Copy actual agent and job IDs from the observed task result; never infer them from requested names. Record a worktree only after repository, cleanliness, and worktree containment validation succeeds.
- Coordinate through
hubmessaging using bound actual IDs. Poll or cancel only bound job IDs throughhub. Never interrupt an arbitrary agent. - Require each worker to return its strict receipt. The current parent validates every receipt through
omp_lazy_accept_worker_result; a worker self-report is not acceptance. - Mark the team complete only when the parent acceptance ledger has accepted every current member receipt for the current run and attempt.
- Archive only a completed durable roster. Report that runtime agents were not archived unless the provider returned a specific archive receipt. Delete durable state only after archive.
Worker tier roles
omp-lazy-worker-low: FAST implementation — one @smol attempt, no reviewer.omp-lazy-worker-medium: STANDARD repair — @smol then @task, optional reviewer.omp-lazy-worker-high: DEEP resolution — @smol then @task then @slow, mandatory reviewer.
Safety
Stop on stale ownership, changed run attempts, incomplete ID mapping, unaccepted results, dirty or unrelated worktrees, or missing cleanup receipts.
04 同仓库更多 Skills
fixture-skill
Deterministic skill used by the public discovery probe contract.
ulw-research(omp)
Run bounded evidence-saturated research only when the user explicitly invokes /ulw-research(omp) or /omp-lazy-ulw-research(omp).
ulw-plan(omp)
Plan complex or ambiguous work before implementation. Use for ulw-plan(omp), plan mode, interview requests, architecture decisions, multi-module work, five-or-more-step work, vague briefs, or requests to break work down into one decision-complete plan.
ulw-loop(omp)
Run or control a bounded durable evidence-led OMP workflow loop when the user explicitly requests ulw-loop(omp) or checkpointed long-running delivery.
ulw-deliver(omp)
Full-lifecycle orchestrator that sequentially delegates to Plan, Implement, Verify, and QA skills. Use for ulw-deliver(omp), end-to-end delivery, or requests to plan then implement then verify then QA a feature in one bounded workflow.
ultrawork(omp)
Activate rigorous evidence-driven execution for tasks that mention ultrawork or ulw, or explicitly request careful end-to-end implementation, exact verification, or independent review.