22d5848e1a
- 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.
885 B
885 B
1. Model Changes
- 1.1 Add
Labels []Label,CardLabels []CardLabel, andCardMemberships []CardMembershipfields toBoardstruct inmodel/types.go(withjson:",omitempty") - 1.2 Add
Labels []stringfield toCardWithListstruct inmodel/types.go
2. Client Changes
- 2.1 Update
GetBoardinclient/boards.goto parselabels,cardLabels, andcardMembershipsfromincludedresponse - 2.2 Update
ListCardsByBoardinclient/cards.goto build label-name map from board'sCardLabelsandLabels, and populateLabelson eachCardWithList
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 alabelsarray - 3.3 Test card with no labels returns empty array (not null)