Story 1.3: Project Updates & Enhanced Display #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Story 1.3: Project Updates & Enhanced Display
This PR implements comprehensive project update functionality and enhances display of project information in list and detail views.
What's New
Project Update Command:
linctl project update PROJECT-UUIDwith multi-field supportcmd.Flags().Changed()patternEnhanced Display:
API Improvements:
UpdateProject()method with GraphQL mutationTest Results
Acceptance Criteria: 10/11 passing
✅ AC #1: Single field updates (name, state, priority, description)
✅ AC #2: State validation
✅ AC #3: Multi-field updates
✅ AC #3.1: Description updates
❌ AC #3.2: shortSummary updates - Linear API limitation
✅ AC #4: Error handling (no fields provided)
✅ AC #5: Invalid state validation
✅ AC #6: Invalid priority validation
✅ AC #7: Enhanced project get display
✅ AC #8: Enhanced project list display
✅ AC #9: All output formats work
Unit Tests:
go test ./... ✓ All packages passManual Testing:
Tested against live Linear API with comprehensive scenarios.
Known Limitations
❌ shortSummary field: Linear's
ProjectUpdateInputdoes NOT support this field. This is a Linear API limitation, not an implementation issue.Files Modified
pkg/api/queries.go: UpdateProject method, enhanced queries, Initiatives typecmd/project.go: projectUpdateCmd, enhanced display, interface updatescmd/project_cmd_test.go: Mock implementationdocs-bmad/*: Story completion trackingBreaking Changes
None - all changes are additive.
Migration Notes
Projects now display State and Priority columns in list view. This may affect scripts parsing table output.
🤖 Generated with Claude Code