Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion config/scripts/generate-bundled-skill-guides.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const execFileAsync = promisify(execFile)
const GUIDE_REFERENCES = {
orchestration: [
'coordinator-loop.md',
'legacy-contract-migration.md',
'low-level-topology.md',
'messaging-and-gates.md',
'placement-and-remote.md',
Expand Down
15 changes: 7 additions & 8 deletions skill-guides/orchestration.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,10 @@ assignment does not prove its agent stopped.

`ORCA skills get orchestration --reference references/<file>.md`

| Situation | Reference |
| ---------------------------------------------- | ----------------------------------------- |
| Task DAGs, several Runs | `references/coordinator-loop.md` |
| Child worktrees, SSH, WSL, a connected server | `references/placement-and-remote.md` |
| Group messages | `references/messaging-and-gates.md` |
| A failed or unknown worker; retry, stop, reset | `references/recovery-and-cleanup.md` |
| Custom argv or terminal layout | `references/low-level-topology.md` |
| Legacy labels, adopted Runs, takeover | `references/legacy-contract-migration.md` |
| Situation | Reference |
| ---------------------------------------------- | ------------------------------------ |
| Task DAGs, several Runs | `references/coordinator-loop.md` |
| Child worktrees, SSH, WSL, a connected server | `references/placement-and-remote.md` |
| Group messages | `references/messaging-and-gates.md` |
| A failed or unknown worker; retry, stop, reset | `references/recovery-and-cleanup.md` |
| Custom argv or terminal layout | `references/low-level-topology.md` |
14 changes: 0 additions & 14 deletions skill-guides/orchestration/references/legacy-contract-migration.md

This file was deleted.

36 changes: 8 additions & 28 deletions src/cli/bundled-skill-guides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3912,14 +3912,13 @@ const ORCHESTRATION_MARKDOWN = [
"",
"`ORCA skills get orchestration --reference references/<file>.md`",
"",
"| Situation | Reference |",
"| ---------------------------------------------- | ----------------------------------------- |",
"| Task DAGs, several Runs | `references/coordinator-loop.md` |",
"| Child worktrees, SSH, WSL, a connected server | `references/placement-and-remote.md` |",
"| Group messages | `references/messaging-and-gates.md` |",
"| A failed or unknown worker; retry, stop, reset | `references/recovery-and-cleanup.md` |",
"| Custom argv or terminal layout | `references/low-level-topology.md` |",
"| Legacy labels, adopted Runs, takeover | `references/legacy-contract-migration.md` |",
"| Situation | Reference |",
"| ---------------------------------------------- | ------------------------------------ |",
"| Task DAGs, several Runs | `references/coordinator-loop.md` |",
"| Child worktrees, SSH, WSL, a connected server | `references/placement-and-remote.md` |",
"| Group messages | `references/messaging-and-gates.md` |",
"| A failed or unknown worker; retry, stop, reset | `references/recovery-and-cleanup.md` |",
"| Custom argv or terminal layout | `references/low-level-topology.md` |",
"",
].join('\n')

Expand Down Expand Up @@ -3949,25 +3948,6 @@ const ORCHESTRATION_COORDINATOR_LOOP_REFERENCE_MARKDOWN = [
"",
].join('\n')

// oxfmt-ignore
const ORCHESTRATION_LEGACY_CONTRACT_MIGRATION_REFERENCE_MARKDOWN = [
"# Legacy contract migration",
"",
"Follow a legacy label's printed command exactly, with the same executable.",
"",
"Only if the original coordinator is gone or cannot prove ownership, take over",
"from your own terminal:",
"",
"```text",
"ORCA orchestration run-use --id <adopted_run_id> --takeover-legacy",
"ORCA orchestration check --run <adopted_run_id>",
"```",
"",
"Never take over from an active coordinator, and never start a second editor",
"just because Orca updated.",
"",
].join('\n')

// oxfmt-ignore
const ORCHESTRATION_LOW_LEVEL_TOPOLOGY_REFERENCE_MARKDOWN = [
"# Low-level topology",
Expand Down Expand Up @@ -4194,6 +4174,6 @@ export const BUNDLED_SKILL_GUIDES = [
description: "Run work in separate Orca worker agents and get their results back. Use when the user asks for Orca workers or supervision (monitor, task DAGs, ask/reply, decision gates), or when the work needs something your own subagents cannot give: a different agent (such as Codex from Claude) or its own Orca workspace. \"Have Codex (or Claude) review this and report back\" means an Orca worker of that agent, even when you have your own model subagents. Also use when you are a dispatched worker (a prompt with Task and Dispatch IDs: ask, worker_done). Otherwise prefer your own subagents, including for long or parallel work. Use `orca-cli` to hand work off with nothing expected back (\"hand off\", \"handover\", \"give this to another agent\", \"another worktree\"), and for terminal control, shell commands, worktree management, and reading or waiting on terminals.",
markdown: ORCHESTRATION_MARKDOWN,
aliases: [],
references: [{ name: "coordinator-loop", markdown: ORCHESTRATION_COORDINATOR_LOOP_REFERENCE_MARKDOWN }, { name: "legacy-contract-migration", markdown: ORCHESTRATION_LEGACY_CONTRACT_MIGRATION_REFERENCE_MARKDOWN }, { name: "low-level-topology", markdown: ORCHESTRATION_LOW_LEVEL_TOPOLOGY_REFERENCE_MARKDOWN }, { name: "messaging-and-gates", markdown: ORCHESTRATION_MESSAGING_AND_GATES_REFERENCE_MARKDOWN }, { name: "placement-and-remote", markdown: ORCHESTRATION_PLACEMENT_AND_REMOTE_REFERENCE_MARKDOWN }, { name: "recovery-and-cleanup", markdown: ORCHESTRATION_RECOVERY_AND_CLEANUP_REFERENCE_MARKDOWN }]
references: [{ name: "coordinator-loop", markdown: ORCHESTRATION_COORDINATOR_LOOP_REFERENCE_MARKDOWN }, { name: "low-level-topology", markdown: ORCHESTRATION_LOW_LEVEL_TOPOLOGY_REFERENCE_MARKDOWN }, { name: "messaging-and-gates", markdown: ORCHESTRATION_MESSAGING_AND_GATES_REFERENCE_MARKDOWN }, { name: "placement-and-remote", markdown: ORCHESTRATION_PLACEMENT_AND_REMOTE_REFERENCE_MARKDOWN }, { name: "recovery-and-cleanup", markdown: ORCHESTRATION_RECOVERY_AND_CLEANUP_REFERENCE_MARKDOWN }]
}
] as const satisfies readonly BundledSkillGuide[]
Loading