Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.
Merged
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
15 changes: 10 additions & 5 deletions claude-config/rules/hard-enforcement.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,18 @@ cause, propose rebuild. Band-aid chains = REJECTED.

## Copilot Delegation

| Need | Command |
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` |
Comment on lines +76 to +81
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.
| 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.

The daemon spawner launches Claude, which delegates sub-tasks to Copilot per TASK.md instructions.
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.

## UI Integration Rules

Expand Down
Loading