Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

docs: replace obsolete Copilot Delegation with daemon-native workflow#63

Merged
Roberdan merged 1 commit intomainfrom
docs/copilot-delegation-update
Apr 5, 2026
Merged

docs: replace obsolete Copilot Delegation with daemon-native workflow#63
Roberdan merged 1 commit intomainfrom
docs/copilot-delegation-update

Conversation

@Roberdan
Copy link
Copy Markdown
Owner

@Roberdan Roberdan commented Apr 5, 2026

Summary

  • Removes references to deleted scripts (copilot-worker.sh, copilot-plan-runner.sh, copilot-task-prompt.sh)
  • Replaces with daemon-native Copilot delegation workflow (/execute, cvg copilot, process scanner auto-discovery)

Test plan

  • Verify hard-enforcement.md renders correctly in GitHub
  • Confirm no other files reference the removed script names

🤖 Generated with Claude Code

…workflow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 5, 2026 19:09
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Roberdan Roberdan merged commit dec24eb into main Apr 5, 2026
5 of 6 checks passed
@Roberdan Roberdan deleted the docs/copilot-delegation-update branch April 5, 2026 19:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Convergio’s “Hard Enforcement” rules to replace the older Copilot delegation script references with a daemon-native workflow description, aligning the docs with /execute and cvg copilot usage.

Changes:

  • Replaces the “Copilot Delegation” table entries that referenced legacy copilot-*.sh scripts with /execute and cvg copilot guidance.
  • Adds narrative describing daemon spawning / process scanner auto-discovery for Copilot sessions.

| Task prompt | `copilot-task-prompt.sh <db_task_id> [role]` |
| Execute plan | `/execute {plan_id}` — auto-delegates mechanical tasks to Copilot |
| Launch Copilot session | `cvg copilot <name>` — registers with daemon, spawns `gh copilot` |
| Manual delegation | Claude agents read TASK.md header and call `gh copilot --model claude-opus-4-6` |
Copy link

Copilot AI Apr 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The “Manual delegation” example uses gh copilot --model claude-opus-4-6, but the daemon’s Copilot integration runs gh copilot -p <prompt> without any model flag (see daemon/src/server/llm_client.rs), and the rest of the repo uses claude-opus-4.6 / claude-opus-4-6 model ids in different places. Please update this line to a command/model format that is actually supported in this repo (or clarify that model selection isn’t available for gh copilot).

Suggested change
| Manual delegation | Claude agents read TASK.md header and call `gh copilot --model claude-opus-4-6` |
| Manual delegation | Claude agents read TASK.md header and call `gh copilot -p "<prompt>"`; model selection is not available via the repo-supported `gh copilot` flow |

Copilot uses AI. Check for mistakes.
Process scanner auto-discovers running Copilot PIDs and registers them in ipc_agents.

NEVER delegate via GitHub Issues. Convergio scripts handle orchestration.
NEVER delegate via GitHub Issues or external scripts. The daemon handles all orchestration.
Copy link

Copilot AI Apr 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section states “NEVER delegate via … external scripts. The daemon handles all orchestration.” However, the repository still contains and references delegation scripts (e.g., claude-config/scripts/copilot-worker.sh, copilot-plan-runner.sh, copilot-task-prompt.sh). Either those scripts should be removed/marked deprecated consistently, or this rule should be narrowed to the specific obsolete scripts so the docs don’t contradict the actual supported tooling.

Suggested change
NEVER delegate via GitHub Issues or external scripts. The daemon handles all orchestration.
NEVER delegate via GitHub Issues or via ad hoc, undocumented external scripts. Use the daemon-managed flow or documented repository tooling only.

Copilot uses AI. Check for mistakes.
Comment on lines +76 to +81
Copilot delegation is handled natively by the Convergio daemon:

| Need | How |
|---|---|
| Single task | `copilot-worker.sh <db_task_id> --model claude-opus-4.6` |
| Full plan | `copilot-plan-runner.sh <plan_id>` |
| Task prompt | `copilot-task-prompt.sh <db_task_id> [role]` |
| Execute plan | `/execute {plan_id}` — auto-delegates mechanical tasks to Copilot |
| Launch Copilot session | `cvg copilot <name>` — registers with daemon, spawns `gh copilot` |
Copy link

Copilot AI Apr 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR description says references to copilot-worker.sh, copilot-plan-runner.sh, and copilot-task-prompt.sh are removed/replaced, but there are still multiple references across the repo (e.g., claude-config/reference/... and other docs). Either expand this PR to update the remaining references, or adjust the PR description/scope so readers don’t assume the scripts are fully retired.

Copilot uses AI. Check for mistakes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants