Interview Log: Add --board flag to kanban search
Turn 1
Questions
- Flag format: Should
--boardaccept only a board ID, or also support board name matching (case-insensitive substring)? - Output shape: When
--boardis provided, should search still enrich results with board name/ID, or simplify the response? - Search scope: Should
--boardalso search card descriptions, or keep name-only ILIKE?
Options Presented
- ID only (recommended) vs ID or name — chose ID only for simplicity and unambiguity.
- Keep enrichment (recommended) vs strip board fields — chose keep enrichment for consistent output shape.
- Name only (recommended) vs name + description — chose name only to keep the change focused.
Responses
All three recommended options selected. Rationale: skills already resolve board IDs, so name matching adds complexity without value. Consistent output avoids breaking consumers. Description search is orthogonal.
Turn 2
Questions
- Error handling: If
--boardID doesn't exist or isn't in the user's org, error or empty result? - Multi-board: Single
--boardonly, or allow repeated flags for subset search?
Options Presented
- Error and exit (recommended) vs empty result set — chose error and exit for fail-fast behavior.
- Single board only (recommended) vs allow multiple — chose allow multiple
--boardflags (deviated from recommendation).
Responses
Error exit chosen to prevent silent wrong-board bugs. Multi-board support chosen despite YAGNI recommendation — user sees future value in subset searches.
Turn 3
Questions
- Arg parsing: New
getAllArgshelper vs inline logic incmdSearch? - Wrap up: Ready to write the spec?
Options Presented
- New getAllArgs helper (recommended) vs inline — chose getAllArgs helper for reusability.
- Yes, write the spec vs continue — chose write the spec.
Deviations from Original Card Description
| Aspect | Original Card | Final Spec |
|---|---|---|
| Multi-board | Implied single --board <id> | Repeatable flag: --board <id1> --board <id2> |
| Arg parsing | Not specified | New getAllArgs utility alongside existing getArg |
| Error handling | Not specified | Explicit error exit on invalid board ID |
Reasoning: Multi-board support was a user preference diverging from the YAGNI recommendation. This required the getAllArgs helper instead of reusing getArg. Error handling was specified to prevent silent failures in automated skill scripts.