Files
pcli/openspec/changes/expand-board-included-parsing/tasks.md
T
Steve Cliff 22d5848e1a feat: Add openspec-sync-specs and openspec-verify-change skills
- Introduced `openspec-sync-specs` skill to sync delta specs to main specs, allowing intelligent merging of requirements.
- Added `openspec-verify-change` skill to verify implementation against change artifacts, ensuring completeness, correctness, and coherence before archiving.

docs: Create CLAUDE.md for project guidance

- Added CLAUDE.md to provide an overview of the PCLI project, including build, test commands, architecture, and resource addition guidelines.

chore: Add new change and design documents for project filter in status command

- Created `.openspec.yaml`, `design.md`, `proposal.md`, and `tasks.md` for the `add-project-filter-to-status` change.
- Updated specs for CLI commands and status command to include project filtering functionality.

feat: Expand board included parsing in API client

- Added parsing for `labels`, `cardLabels`, and `cardMemberships` in the `GetBoard` response.
- Updated `ListCardsByBoard` to enrich card output with label names, enhancing usability in kanban sync workflows.
2026-02-18 21:27:02 +00:00

885 B

1. Model Changes

  • 1.1 Add Labels []Label, CardLabels []CardLabel, and CardMemberships []CardMembership fields to Board struct in model/types.go (with json:",omitempty")
  • 1.2 Add Labels []string field to CardWithList struct in model/types.go

2. Client Changes

  • 2.1 Update GetBoard in client/boards.go to parse labels, cardLabels, and cardMemberships from included response
  • 2.2 Update ListCardsByBoard in client/cards.go to build label-name map from board's CardLabels and Labels, and populate Labels on each CardWithList

3. Verification

  • 3.1 Build and test pcli board get <id> — verify JSON output includes labels and cardLabels when present
  • 3.2 Test pcli card list --board <id> — verify each card includes a labels array
  • 3.3 Test card with no labels returns empty array (not null)