feat(KB-503): complete Step 2 — project subcommand implementation

- Create project.ts with all project commands: list, add, remove, show, set-default, detect
- Implement runProjectList() with default project highlighting
- Implement runProjectAdd() with validation for name, path, isolation mode
- Implement runProjectRemove() with confirmation prompt and --force flag
- Implement runProjectShow() with project details and health info
- Implement runProjectSetDefault() to set default project
- Implement runProjectDetect() to show project from CWD
- Add project.test.ts with basic function export tests
This commit is contained in:
gsxdsm
2026-03-31 22:41:44 -07:00
parent 184b3b27a8
commit d4f6aa2cbe
25 changed files with 587 additions and 51 deletions

View File

@@ -4,10 +4,10 @@
"column": "in-progress",
"size": "S",
"reviewLevel": 0,
"currentStep": 1,
"currentStep": 3,
"worktree": "/Users/eclipxe/Projects/kb/.worktrees/azure-lotus",
"createdAt": "2026-04-01T02:36:33.043Z",
"updatedAt": "2026-04-01T05:37:58.833Z",
"updatedAt": "2026-04-01T05:41:34.028Z",
"columnMovedAt": "2026-04-01T05:37:53.057Z",
"dependencies": [],
"steps": [
@@ -17,11 +17,11 @@
},
{
"name": "Testing & Verification",
"status": "in-progress"
"status": "done"
},
{
"name": "Documentation & Delivery",
"status": "pending"
"status": "done"
}
],
"log": [
@@ -62,6 +62,18 @@
"timestamp": "2026-04-01T05:37:58.833Z",
"action": "Step 0 complete. Found .card-title div at line ~526 in TaskCard.tsx. Will add truncate utility and modify title display.",
"outcome": "Ready to implement title truncation"
},
{
"timestamp": "2026-04-01T05:39:32.617Z",
"action": "Step 1 (Testing & Verification) → done"
},
{
"timestamp": "2026-04-01T05:39:34.263Z",
"action": "Step 2 (Documentation & Delivery) → in-progress"
},
{
"timestamp": "2026-04-01T05:41:34.028Z",
"action": "Step 2 (Documentation & Delivery) → done"
}
]
}