@mandors/cli 0.2.3 → 0.3.2

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
@@ -184,8 +184,8 @@ FEATURE_ID=$(mandor feature list --project api --json | jq -r '.[0].id')
184
184
  mandor task create "Password Hashing" \
185
185
  --feature $FEATURE_ID \
186
186
  --goal "Implement bcrypt hashing" \
187
- --implementation-steps "Install bcrypt,Create utility,Write tests" \
188
- --test-cases "Hash validation,Password comparison" \
187
+ --implementation-steps "Install bcrypt|Create utility|Write tests" \
188
+ --test-cases "Hash validation|Password comparison" \
189
189
  --derivable-files "src/utils/password.ts" \
190
190
  --library-needs "bcrypt"
191
191
 
@@ -371,25 +371,25 @@ AUTH_FEATURE_ID=$(mandor feature list --project api --json | jq -r '.[] | select
371
371
  mandor task create "Password Hashing" \
372
372
  --feature $AUTH_FEATURE_ID \
373
373
  --goal "Implement bcrypt hashing" \
374
- --implementation-steps "Install bcrypt,Create utility,Write tests" \
375
- --test-cases "Hash validation,Password comparison" \
374
+ --implementation-steps "Install bcrypt|Create utility|Write tests" \
375
+ --test-cases "Hash validation|Password comparison" \
376
376
  --derivable-files "src/utils/password.ts" \
377
377
  --library-needs "bcrypt"
378
378
 
379
379
  mandor task create "JWT Token Management" \
380
380
  --feature $AUTH_FEATURE_ID \
381
381
  --goal "Implement JWT token generation and validation" \
382
- --implementation-steps "Review JWT spec,Implement token generation,Add validation middleware" \
383
- --test-cases "Token generation works,Token validation works,Expired tokens rejected" \
384
- --derivable-files "src/utils/jwt.ts,src/middleware/auth.ts" \
382
+ --implementation-steps "Review JWT spec|Implement token generation|Add validation middleware" \
383
+ --test-cases "Token generation works|Token validation works|Expired tokens rejected" \
384
+ --derivable-files "src/utils/jwt.ts|src/middleware/auth.ts" \
385
385
  --library-needs "jsonwebtoken"
386
386
 
387
387
  # Task with no new external libraries
388
388
  mandor task create "Update Login Endpoint" \
389
389
  --feature $AUTH_FEATURE_ID \
390
390
  --goal "Refactor existing login endpoint" \
391
- --implementation-steps "Review current endpoint,Refactor logic,Update tests" \
392
- --test-cases "Endpoint returns correct status,Authentication works,Errors handled" \
391
+ --implementation-steps "Review current endpoint|Refactor logic|Update tests" \
392
+ --test-cases "Endpoint returns correct status|Authentication works|Errors handled" \
393
393
  --derivable-files "src/handlers/auth.ts" \
394
394
  --library-needs "none"
395
395
 
@@ -397,7 +397,7 @@ mandor issue create "Fix security vulnerability" --project api \
397
397
  --type security --goal "Fix JWT signing vulnerability" \
398
398
  --affected-files "src/utils/jwt.ts" \
399
399
  --affected-tests "src/utils/jwt.test.ts" \
400
- --implementation-steps "Review JWT library,Update to secure version,Verify signature"
400
+ --implementation-steps "Review JWT library|Update to secure version|Verify signature"
401
401
 
402
402
  mandor status
403
403
  ```
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mandors/cli",
3
- "version": "0.2.3",
3
+ "version": "0.3.2",
4
4
  "description": "Event-based task manager CLI for AI agent workflows",
5
5
  "main": "npm/lib/index.js",
6
6
  "bin": {
@@ -1,9 +0,0 @@
1
- {"layer":"project","type":"created","id":"api","by":"BUDISANTOSO","ts":"2026-01-30T07:25:46.812207Z"}
2
- {"layer":"feature","type":"created","id":"api-feature-LfrH","by":"BUDISANTOSO","ts":"2026-01-30T07:25:51.075751Z"}
3
- {"layer":"task","type":"created","id":"api-feature-LfrH-task-AAd2","by":"BUDISANTOSO","ts":"2026-01-30T07:25:51.10241Z"}
4
- {"layer":"task","type":"ready","id":"api-feature-LfrH-task-AAd2","by":"system","ts":"2026-01-30T07:25:51.10241Z"}
5
- {"layer":"task","type":"created","id":"api-feature-LfrH-task-qvlw","by":"BUDISANTOSO","ts":"2026-01-30T07:25:51.12448Z"}
6
- {"layer":"task","type":"blocked","id":"api-feature-LfrH-task-qvlw","by":"system","ts":"2026-01-30T07:25:51.12448Z"}
7
- {"layer":"task","type":"updated","id":"api-feature-LfrH-task-AAd2","by":"BUDISANTOSO","ts":"2026-01-30T07:25:54.676119Z","changes":["status"]}
8
- {"layer":"task","type":"ready","id":"api-feature-LfrH-task-qvlw","by":"system","ts":"2026-01-30T07:25:54.711899Z"}
9
- {"layer":"task","type":"updated","id":"api-feature-LfrH-task-AAd2","by":"BUDISANTOSO","ts":"2026-01-30T07:25:54.711615Z","changes":["status","dependent_unblocked"]}
@@ -1 +0,0 @@
1
- {"id":"api-feature-LfrH","project_id":"api","name":"Feature","goal":"Feature","priority":"P3","status":"draft","created_at":"2026-01-30T07:25:51.075751Z","updated_at":"2026-01-30T07:25:51.075751Z","created_by":"BUDISANTOSO","updated_by":"BUDISANTOSO"}
File without changes
@@ -1,11 +0,0 @@
1
- {
2
- "id": "api",
3
- "name": "API",
4
- "goal": "This is a comprehensive test project for task and issue dependency testing. The goal is to implement a complete system that demonstrates proper handling of dependencies within a single project and across multiple projects when configured. This includes task management, issue tracking, feature coordination, and comprehensive reporting capabilities. All code will follow best practices and coding standards. Documentation will be maintained throughout the development process and updated regularly as needed.",
5
- "status": "initial",
6
- "strict": false,
7
- "created_at": "2026-01-30T07:25:46.812207Z",
8
- "updated_at": "2026-01-30T07:25:46.812207Z",
9
- "created_by": "BUDISANTOSO",
10
- "updated_by": "BUDISANTOSO"
11
- }
@@ -1,29 +0,0 @@
1
- {
2
- "version": "mandor.v1",
3
- "$schema": "https://json-schema.org/draft/2020-12/schema",
4
- "rules": {
5
- "task": {
6
- "dependency": "same_project_only",
7
- "cycle": "disallowed"
8
- },
9
- "feature": {
10
- "dependency": "cross_project_allowed",
11
- "cycle": "disallowed"
12
- },
13
- "issue": {
14
- "dependency": "same_project_only",
15
- "cycle": "disallowed"
16
- },
17
- "priority": {
18
- "levels": [
19
- "P0",
20
- "P1",
21
- "P2",
22
- "P3",
23
- "P4",
24
- "P5"
25
- ],
26
- "default": "P3"
27
- }
28
- }
29
- }
@@ -1,2 +0,0 @@
1
- {"id":"api-feature-LfrH-task-AAd2","feature_id":"api-feature-LfrH","project_id":"api","name":"Task 1","goal":"Task 1","priority":"P3","status":"done","implementation_steps":["step"],"test_cases":["test"],"derivable_files":["f"],"library_needs":["none"],"created_at":"2026-01-30T07:25:51.10241Z","updated_at":"2026-01-30T07:25:54.711615Z","created_by":"BUDISANTOSO","updated_by":"BUDISANTOSO"}
2
- {"id":"api-feature-LfrH-task-qvlw","feature_id":"api-feature-LfrH","project_id":"api","name":"Task 2","goal":"Task 2","priority":"P3","status":"ready","depends_on":["api-feature-LfrH-task-AAd2"],"implementation_steps":["step"],"test_cases":["test"],"derivable_files":["f"],"library_needs":["none"],"created_at":"2026-01-30T07:25:51.12448Z","updated_at":"2026-01-30T07:25:54.711899Z","created_by":"BUDISANTOSO","updated_by":"BUDISANTOSO"}
@@ -1,13 +0,0 @@
1
- {
2
- "id": "7KiL",
3
- "name": "Mandor",
4
- "version": "mandor.v1",
5
- "schema_version": "mandor.v1",
6
- "created_at": "2026-01-30T07:25:32.126001Z",
7
- "last_updated_at": "2026-01-30T07:25:32.126001Z",
8
- "created_by": "BUDISANTOSO",
9
- "config": {
10
- "default_priority": "P3",
11
- "strict_mode": false
12
- }
13
- }
package/mandor DELETED
Binary file