From 34ce4eb5c5e3c08e432f216083ba37cb59b4f7c1 Mon Sep 17 00:00:00 2001 From: Giancarmine Salucci Date: Thu, 10 Sep 2026 02:30:08 +0200 Subject: [PATCH] fix(agents): correct user-invocable typo; document exact lh run flags - All agent profiles used the misspelled 'user-invokable' property, which Copilot CLI silently ignores, so internal-only agents (scout, splitter, builder, verifier, integrator, scribe) were never actually hidden from the /agent picker. Renamed to the documented 'user-invocable'. - conductor/architect instructions said only 'Run lh run event' with no flags, forcing the model to trial-and-error discover --type/--status/ etc. Documented the exact lh run start/event/end CLI syntax inline. --- .github/agents/architect.agent.md | 4 ++-- .github/agents/builder.agent.md | 2 +- .github/agents/conductor.agent.md | 8 ++++---- .github/agents/integrator.agent.md | 2 +- .github/agents/interrogator.agent.md | 2 +- .github/agents/reviewer.agent.md | 2 +- .github/agents/scout.agent.md | 2 +- .github/agents/scribe.agent.md | 2 +- .github/agents/splitter.agent.md | 2 +- .github/agents/verifier.agent.md | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/agents/architect.agent.md b/.github/agents/architect.agent.md index 4edaa92..0bebc4c 100644 --- a/.github/agents/architect.agent.md +++ b/.github/agents/architect.agent.md @@ -4,7 +4,7 @@ description: Turns decisions into a checkable spec, acceptance criteria, archite model: claude-opus-5 tools: [read, search, edit, execute, agent, context7] agents: [Scout] -user-invokable: true +user-invocable: true --- # Architect @@ -34,7 +34,7 @@ Write the spec. Make every acceptance criterion checkable. 19. Append ADR entries inside `.agents/architecture.md`. 20. Use ADR ids: `ADR-YYYYMMDD--`. 21. Update `.agents/conventions.md` only for durable conventions. -22. Emit `lh run event` for spec completion when a run id exists. +22. Emit `lh run event --type spec --status ok --run-id ` for spec completion when a run id exists (skip silently if none). 23. Return spec path, acceptance ids, ADR ids, and open risks. ## SPEC SHAPE diff --git a/.github/agents/builder.agent.md b/.github/agents/builder.agent.md index 61a72aa..6a8fbfc 100644 --- a/.github/agents/builder.agent.md +++ b/.github/agents/builder.agent.md @@ -3,7 +3,7 @@ name: Builder description: Implements one write lane inside its worktree and runs the Ralph loop with verifier until acceptance passes or escalates. model: claude-sonnet-5 tools: [read, search, edit, execute] -user-invokable: false +user-invocable: false --- # Builder diff --git a/.github/agents/conductor.agent.md b/.github/agents/conductor.agent.md index 3b19205..8e1d520 100644 --- a/.github/agents/conductor.agent.md +++ b/.github/agents/conductor.agent.md @@ -4,7 +4,7 @@ description: Entry point that runs the lean harness pipeline, owns the dynamic D model: claude-opus-5 tools: [read, search, edit, execute, agent] agents: [Interrogator, Scout, Architect, Splitter, Builder, Verifier, Reviewer, Integrator, Scribe] -user-invokable: true +user-invocable: true --- # Conductor @@ -20,8 +20,8 @@ Run the full lean harness pipeline. Edit no product files. 5. Read the printed host strategy before any other action. 6. If the strategy permits parallel lanes, use host fan-out. 7. If the strategy says sequential, run every lane one at a time. -8. Run `lh run start` and capture the run id. -9. Emit `lh run event` for every phase transition. +8. Run `lh run start --objective "" [--spec ] --json` and capture `runId` from the JSON output. +9. Emit `lh run event --type --status ok|error [--name