docs: record --agent flag fix in Leela history (#143)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Juan Manuel Servera committed
May 19, 2026 at 23:28 UTC
737fc45db6c8bc0b918d61a807c78bd48513a53a
1 file changed
+8
.squad/agents/leela/history.md
+8
@@ -35,3 +35,11 @@
35
- **Decisions now in permanent log:** All three Farnsworth polish decisions + Leela self-learning architecture decision moved to `.squad/decisions.md` main document.
36
- **Orchestration recorded:** `.squad/orchestration-log/2026-05-19T20:57:55Z-{farnsworth,leela}.md` — outcomes linked to PR #139 and #140.
37
- **Status:** Team sync complete. Ready for next cycle.
38
+
39
+### 2026-05-19T23:25:32+02:00 — Fix: Copilot CLI --agent flag takes name, not path
40
+
41
+- **Bug:** PR #140 shipped `--agent .github/agents/farnsworth.agent.md` but the CLI expects the agent **name** from YAML frontmatter (`name: Farnsworth`), not a file path. CI error: `No such agent: .github/agents/farnsworth.agent.md, available: Farnsworth, Squad`.
42
+- **Fix:** Changed to `--agent Farnsworth` in both analysis and reskill jobs. Simplified `-p` prompts to minimal file-read instructions since the agent file already contains full identity/instructions.
43
+- **Key learning:** Copilot CLI auto-discovers `.github/agents/*.agent.md` files and registers them by their frontmatter `name:` field. Always reference agents by name, never by path.
44
+- **PR:** #141 (squash-merged to main). Pipeline re-triggered.
45
+- **Tests:** All 519 passed.