coding-orchestration
Coordinate bounded repository work through the selected orchestrator, role based execution, risk-proportionate review and explicit capability boundaries.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- coding-orchestration
- description
- Coordinate bounded repository work through the selected orchestrator, role based execution, risk-proportionate review and explicit capability boundaries.
02 资源文件 2
- 参考文档references/execution-continuity.md3.7 KB
- 参考文档worker-reference.md2.2 KB
03 SKILL.md 正文
For visual acceptance, use design-quality; it owns the critique sequence.
Use evidence-capture for the final walkthrough.
Session selection and role ownership
The model selected in the starting conversation is the orchestrator. Never replace that parent because the roster recommends another model. The parent chooses agents and assigns roles; the installed roster and native Codex TOMLs describe recommended requested defaults, not observed runtime identity or an enforced provider chain. Verify actual model and tools at dispatch. DeepSeek/OpenCode may use their available models, and a Codex parent may choose available GPT/Go tools. Every role retains its actual host capabilities and permission boundaries.
In the SWE-2 experiment, the selected lane and every descendant, including critics and browser roles when capable, must stay within the SWE family. There is no Codex or Go fallback for that lane. Assign design, visual review and Computer Use only to roles with the actual vision or browser capability needed by the packet. If the restricted family lacks that capability, report the gap; do not silently substitute another family. General defaults may recommend Astra for visual work, but an explicit lane family takes precedence.
Rápido → bien → barato
Optimize elapsed time to the complete usable functionality, including corrections and required delivery. Correctness comes next; cost is third. Choose the route expected to finish sooner, even when its model costs more. A quick first draft that creates more rework is not a faster delivery. Preserve the requested behavior, data boundaries and authorization while shortening the critical path.
The parent owns the full requested result, architecture, integration, conflicts
and verification. Read $HOME/.codex/development-system/agent-roster.json for
recommendations and available capabilities before dispatch. Keep the task
contract concise. Ordinary bounded work uses one execution and parent review;
use orchestration-plan when ownership, observed risks or parallel dependencies
need an explicit plan. The current user's authorization governs dispatch; a plan
is not an authorization receipt.
For a multi-step implementation or resumed run, use execution-continuity.md for startup, ownership, recovery and completion. Reuse the existing task record and host; this is not another planner, tracker or set of approval gates.
Bounded worker entry
A dispatched worker with an exact root, owned task and checks starts with that packet. Lifecycle and provider selection are completed parent responsibilities; load only task-specific references and report blockers to the parent. Resolve skill aliases to their declared roots rather than appending r0/r1 to a path.
Execution
The selected orchestrator coordinates the work and retains product acceptance.
Assigned implementation, design, review and Computer Use roles own their
decisions within the packet. Use evidence-capture for recordings and
walkthroughs; deterministic host tools run stable batches. A bounded capture
script or media role may prepare those batches when useful, while a role with
actual browser capability drives novel or ambiguous UI states.
Use local tools directly for deterministic search, commands and collection.
Batch independent calls and overlap independent CI with useful work. Serialize
mutating commands on the same writer/build state. Delegation must shorten the
critical path or add needed independent judgment; do not create handoffs merely
because tools support them.
Delegate bounded implementation to the route and model selected by the parent
when a worker reduces delivery time. Preserve the selected lane family and its
capabilities for every descendant. Use an independent role with the required
capability for review when needed; do not use a roster fallback that violates
the lane family.
The parent resolves provider routing once per dispatch. A selected worker executes its assignment and returns a concrete blocker to the parent when unable to proceed; it does not restart provider selection. Prefer native Codex agent lifecycle for Codex workers and existing host tool composition; add infrastructure only for an observed missing capability.
Mark provider selection and lifecycle routing as completed parent responsibilities in the worker packet. The worker uses its supplied root and task-specific references; it does not rediscover the global workflow from the parent cwd.
Each worker receives the exact root/revision, owned files, behavior, constraints, state/data invariants, focused checks, expected artifact and stop condition. Include known failures and the next action on a resumed assignment. Start a fresh worker with that bounded packet and source pointers; inherit full history only when a specific dependency requires it. Receive completion events and recompute ready work from dependencies, ownership and available capacity. Verify path confinement before writable dispatch. Keep one writer per surface; independent writers may run concurrently only with explicit disjoint ownership and integration owned by the orchestrator. Preserve concurrent work. Reuse the worker when its context is useful.
For approved visual work, use design-direction's handoff: carry retrievable
selected images and owned composition criteria. Check one representative screen
early when establishing a shared visual language, then reuse that decision.
Check access and useful sample states early enough to avoid a late auth or data
detour. Those responsibilities do not require additional coordinator agents.
Use the provider's real CLI argument array from model-route for the model
selected by the parent. For an OpenCode Go selection, the command is
opencode run --pure --model opencode-go/<model> --variant <effort> --format json.
Never add permission or publication authority inside the pure resolver. Record
the provider's observed model before claiming resolution. Cache typed quota or
availability failures with record-provider-failure --input <observation.json>
and bounded expiry (at most seven days). model-route reads that private host
cache unless an explicit observation packet overrides it. Do not retry an
unexpired quota failure on each task; carry useful work into the next route.
On T3, launch CLI workers through development-system run-worker --input packet.json --json; read worker-reference.md for the packet. Its deterministic
owner watch stops the process group when the turn ends or becomes unreadable.
Other hosts must keep workers attached to their native cancellation lifecycle.
Check startup, then completion or an observed stall; avoid repeated model-driven
polling. A productive worker
does not fail merely because a fixed number of minutes passed.
Review and evidence
Treat simplification, test-value review, correction and objective verification
as responsibilities, not mandatory new conversations. The orchestrator reviews
a normal worker's diff and the objective, or assigns a capable reviewer when
independent judgment is needed. Request an independent reviewer for observed
complex risk or an explicit independent-review request. Review corrections and remaining risks;
do not restart the whole repository analysis. Structured review is opt-in
(signals.structuredReview: true) or justified by observed risk. Preserve
host-bound correction validation and never close an
unresolved blocker/high finding because a reviewer timed out.
Run focused checks after edits and applicable integration checks once when the candidate stabilizes. A new test is optional: name the failure it catches and how failure leads to correction. Choose the quickest adequate existing check, runtime probe or focused test. Lint, React Doctor, Impeccable and reviewers answer different questions; select by the claimed behavior instead of stacking every tool. Do not create tests that copy implementation details or repeat broad suites without a concrete requirement. File/test counts and styling scores are not quality gates. Verify the public behavior being claimed. After affected checks and required gates pass, continue toward the authorized delivery. Repeat only for relevant changes, failures or unresolved concerns; reuse evidence only while its tested candidate, inputs and environment still apply. Never bypass required hooks/CI. Preserve the check exit code: run the check into a log, then read relevant output separately. A successful trailing output filter can hide a failed test.
Use design-quality with Impeccable when visual quality is acceptance. An
independent visual-capable finish reviewer satisfies the critique responsibility;
the designer reviewing its own work does not. Reuse that review instead of duplicating it. Use one focused Jakub skill
for the detail being improved. better-interface is for a broad interface
review; do not force it onto every UI change. Prefer existing product tokens
and conventions over generic polish defaults. Show-me or PR Lens can explain
a complex change; ordinary diffs do not require visual artifacts.
Computer Use is opt-in to acceptance and led by an assigned role with actual browser capability. A delegated neutral executor gets only a SHA-256-bound execution plan, authorized origins/paths, actions and opaque inputs; keep the private rubric with the orchestrator. The host validates write authority separately. Capture relevant evidence early and keep runtime/tool failures distinct from product failures. Recording itself does not require another model. Avoid one inference per stable click or frame. One driver owns each session; exchange completed evidence instead of progress chatter. Recover readiness before retrying a failed capture. Respect the repository's allowed browser mechanism.
Report the delivered outcome, checks, remaining limitations and exact release state. Retain requested/resolved models, fallback causes and lane terminal states in the evidence. File installation alone does not prove live influence. A rejected visual candidate remains an incomplete attempt. Report its elapsed time as attempt time, and leave time to accepted delivery unknown until accepted.
Choose the smallest useful change for user experience, developer workflow and agent comprehension (UX, DX, AX). These are decision criteria, not three new audit stages. Select effort from the parent-selected model and observed task difficulty, not from an enforced roster chain. Native TOMLs remain useful for reading role defaults; they cannot reconfigure a running turn. Verify active host settings before claiming they changed; start a new session to load installed defaults.
04 同仓库更多 Skills
working-backwards
Define a software feature through PRFAQ and staged documents when the user requests working backwards before coding.
flow-implement
Implement a requested software change through verification, corrections, and its authorized delivery endpoint.
development-steward
Run the scheduled, read-only weekly maintenance review for the six explicitly opted-in repositories and prepare one concise private report for Check-in.
grill-with-docs
Run one recoverable interview for functional, visual, or mixed software grills; reuse equivalent answers and offer the shared HTML questionnaire.
global-agent-guardrails
Install, audit, test, or update the Development System's global destructive-command guard for Codex, Claude Code and T3 Code. Use when configuring agent safety hooks or investigating whether dangerous shell operations are blocked.
impeccable
Design or refine frontend UI using project context and a focused design playbook; also handles visual critique and polish.