@mandors/cli 0.4.5 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -148,22 +148,19 @@ mandor feature create "Authentication" --project api \
148
148
 
149
149
  ```bash
150
150
  # Create first task (no dependencies)
151
- mandor task create api-feature-xxx "JWT Parser" \
151
+ mandor task create api-feature-xxxx "JWT Parser" \
152
152
  --goal "Parse and validate JWT tokens in incoming requests with expiry and signature verification" \
153
153
  --implementation-steps "Setup crypto library|Add token validation|Handle expiry|Return errors" \
154
154
  --test-cases "Valid token accepted|Expired token rejected|Invalid signature rejected" \
155
- --derivable-files "jwt_validator.go|jwt_test.go" \
156
155
  --library-needs "golang-jwt" \
157
156
  --priority P1
158
157
 
159
158
  # Create dependent task (depends on JWT Parser)
160
- mandor task create api-feature-xxx "Login Endpoint" \
159
+ mandor task create api-feature-xxxx "Login Endpoint" \
161
160
  --goal "Accept user credentials and return JWT token with refresh token flow" \
162
161
  --implementation-steps "Setup endpoint|Validate credentials|Generate JWT|Return tokens" \
163
162
  --test-cases "Valid creds return token|Invalid creds rejected|Tokens properly formatted" \
164
- --derivable-files "login_handler.go|login_test.go" \
165
- --library-needs "none" \
166
- --depends-on api-feature-xxx-task-001 \
163
+ --depends-on api-feature-xxxx-task-xxxx \
167
164
  --priority P1
168
165
  ```
169
166
 
@@ -171,7 +168,7 @@ mandor task create api-feature-xxx "Login Endpoint" \
171
168
 
172
169
  ```bash
173
170
  # See all tasks in feature with visualization
174
- mandor track feature api-feature-xxx
171
+ mandor track feature api-feature-xxxx
175
172
 
176
173
  # Get task details
177
174
  mandor task detail <task-id>
@@ -185,7 +182,7 @@ mandor task update <task-id> --status in_progress
185
182
  mandor task update <task-id> --status done
186
183
 
187
184
  # Dependent tasks auto-transition to "ready"
188
- mandor track feature api-feature-xxx # Now shows "Login Endpoint" as ready
185
+ mandor track feature api-feature-xxxx # Now shows "Login Endpoint" as ready
189
186
  ```
190
187
 
191
188
  ---
@@ -510,13 +507,11 @@ Deep dependency chains (>5 levels) are hard to manage. Consider breaking into sm
510
507
 
511
508
  ```bash
512
509
  # Good: tasks depend on other tasks in same feature
513
- mandor task create api-feature-xxx "Task B" \
510
+ mandor task create api-feature-xxxx "Task B" \
514
511
  --goal "..." \
515
512
  --implementation-steps "..." \
516
513
  --test-cases "..." \
517
- --derivable-files "..." \
518
- --library-needs "none" \
519
- --depends-on api-feature-xxx-task-001
514
+ --depends-on api-feature-xxxx-task-xxxx
520
515
 
521
516
  # Consider splitting if: task chains exceed 5 levels
522
517
  ```
@@ -528,12 +523,11 @@ mandor task create api-feature-xxx "Task B" \
528
523
 
529
524
  ```bash
530
525
  # Feature work
531
- mandor task create api-feature-xxx "Add OAuth2" \
526
+ mandor task create api-feature-xxxx "Add OAuth2" \
532
527
  --goal "..." \
533
528
  --implementation-steps "..." \
534
529
  --test-cases "..." \
535
- --derivable-files "..." \
536
- --library-needs "..."
530
+ --library-needs "oauth2-lib"
537
531
 
538
532
  # Bug fix
539
533
  mandor issue create "Fix auth timeout" --project api --type bug
@@ -544,8 +538,8 @@ mandor issue create "Fix auth timeout" --project api --type bug
544
538
  Always provide clear reasons when cancelling:
545
539
 
546
540
  ```bash
547
- mandor task update api-feature-xxx-task-001 --cancel --reason "Superseded by feature X"
548
- mandor feature update api-feature-xxx --project api --cancel --reason "Sticking with JWT, OAuth2 adds too much complexity"
541
+ mandor task update api-feature-xxxx-task-xxxx --cancel --reason "Superseded by feature X"
542
+ mandor feature update api-feature-xxxx --project api --cancel --reason "Sticking with JWT, OAuth2 adds too much complexity"
549
543
  ```
550
544
 
551
545
  ### 7. Use Pipe Separators For Lists
@@ -568,8 +562,8 @@ For flags accepting multiple values, use pipe separators:
568
562
  Before making significant updates, preview with `--dry-run`:
569
563
 
570
564
  ```bash
571
- mandor task update api-feature-xxx-task-001 --status done --dry-run
572
- mandor feature update api-feature-xxx --project api --cancel --reason "..." --dry-run
565
+ mandor task update api-feature-xxxx-task-xxxx --status done --dry-run
566
+ mandor feature update api-feature-xxxx --project api --cancel --reason "..." --dry-run
573
567
  ```
574
568
 
575
569
  ### 9. Dependency Auto-Resolution
@@ -601,10 +595,10 @@ mandor status --project api
601
595
  mandor track project api
602
596
 
603
597
  # See feature tasks
604
- mandor track feature api-feature-xxx
598
+ mandor track feature api-feature-xxxx
605
599
 
606
600
  # See task details
607
- mandor track task api-feature-xxx-task-001
601
+ mandor track task api-feature-xxxx-task-xxxx
608
602
  ```
609
603
 
610
604
  ---
Binary file
Binary file
Binary file
Binary file
package/logo.png CHANGED
Binary file
package/npm/logo.png CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mandors/cli",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
4
4
  "description": "Event-based task manager CLI for AI agent workflows",
5
5
  "main": "npm/lib/index.js",
6
6
  "bin": {