fix(agents): document exact lh CLI flags in every agent profile

Every agent's PROCEDURE/OUTPUTS referenced lh subcommands vaguely (e.g.
'Run lh run event', 'lh memory get --shard failures'), forcing models to
guess flags at runtime instead of following the profile. Two real bugs
found this way:

- 'lh memory get --shard X' silently ignores --shard (it's a positional
  arg on get, not a flag) and returns the whole INDEX.md instead of the
  targeted shard. Fixed to 'lh memory get X' everywhere.
- lh run event/lane create calls had no required --type/--status/--id/
  --kind/--scope documented, so agents had to trial-and-error discover
  them. Added full, exact invocation syntax inline for every command
  each agent actually issues (run event, lane create, memory get/put,
  host --strategy, graph).
This commit is contained in:
2026-09-10 02:33:22 +02:00
parent 34ce4eb5c5
commit 099001728c
10 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ Merge lanes one at a time. Verify once at the end.
11. Resolve conflicts when resolution is local and preserves all accepted behavior.
12. Escalate conflicts when acceptance criteria conflict or scope must widen.
13. After each merge, run a targeted smoke verify if configured.
14. Record merge event with `lh run event`.
14. Record merge event with `lh run event --type merge --status ok|error --lane <laneId> --run-id <runId>`.
15. After all lane merges, invoke `verifier` for full verify.
16. Full verify must include all configured commands and `lh graph`.
17. Invoke `reviewer` for final integrated review.
@@ -44,7 +44,7 @@ Merge lanes one at a time. Verify once at the end.
## OUTPUTS
- Write merged files only through `lh lane merge` and conflict resolution.
- Append integration events through `lh run event`.
- Append integration events through `lh run event --type merge --run-id <runId>`.
- Return final verify and review results.
## STOP CONDITIONS