@proletariat/cli 0.3.12 → 0.3.14
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 +5 -3
- package/dist/lib/pmo/storage/base.js +56 -5
- package/oclif.manifest.json +2523 -2523
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
>
|
|
14
14
|
> Themed agents, including billionaires - Finally, they work for us.
|
|
15
15
|
|
|
16
|
-
> ⚠️ **Beta Software** — Under active development. Commands and APIs may change between versions, and bugs are actively being squashed.
|
|
16
|
+
> ⚠️ **Beta Software** — Under active development. Commands and APIs may change between versions, and bugs are actively being squashed.
|
|
17
|
+
>
|
|
18
|
+
> - [Book a call](https://cal.com/chrismcdermut) - Feedback, ideas, or chat multi-agent workflows and the future of work/labor (and economic labor theory..)
|
|
17
19
|
|
|
18
20
|
---
|
|
19
21
|
|
|
@@ -359,8 +361,8 @@ $ prlt work spawn --json --many
|
|
|
359
361
|
"type": "checkbox",
|
|
360
362
|
"message": "Select tickets to spawn:",
|
|
361
363
|
"choices": [
|
|
362
|
-
{
|
|
363
|
-
{
|
|
364
|
+
{"name": "[P1] TKT-042 - Add user authentication", "value": "TKT-042"},
|
|
365
|
+
{"name": "[P1] TKT-043 - Add API rate limiting", "value": "TKT-043"}
|
|
364
366
|
]
|
|
365
367
|
}
|
|
366
368
|
}
|
|
@@ -339,6 +339,27 @@ export function seedBuiltinPhaseTemplates(db) {
|
|
|
339
339
|
insertTemplate.run(template.id, template.name, template.description, JSON.stringify(template.phases), now);
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
+
/**
|
|
343
|
+
* Rule for agents about using the globally installed prlt command.
|
|
344
|
+
* This prevents agents from wasting time trying to build from source when working in the prlt repo.
|
|
345
|
+
*/
|
|
346
|
+
const PRLT_USAGE_RULE = `
|
|
347
|
+
**IMPORTANT RULES**:
|
|
348
|
+
|
|
349
|
+
1. **Use globally installed prlt**: Always use the \`prlt\` command directly
|
|
350
|
+
2. **Never use local dev builds**: Do NOT use \`./apps/cli/bin/dev.js\` or \`./apps/cli/bin/run.js\`
|
|
351
|
+
3. **Why**: You may be working inside the prlt source code. The local builds require dependencies and may not work correctly. The globally installed version is already configured and ready to use.
|
|
352
|
+
|
|
353
|
+
Example (correct):
|
|
354
|
+
\`\`\`bash
|
|
355
|
+
prlt ticket edit TKT-123 --add-ac "Test passes"
|
|
356
|
+
\`\`\`
|
|
357
|
+
|
|
358
|
+
Example (WRONG - do not do this):
|
|
359
|
+
\`\`\`bash
|
|
360
|
+
./apps/cli/bin/run.js ticket edit TKT-123 ...
|
|
361
|
+
\`\`\`
|
|
362
|
+
`.trim();
|
|
342
363
|
/**
|
|
343
364
|
* Seed built-in work actions.
|
|
344
365
|
*/
|
|
@@ -348,7 +369,13 @@ export function seedBuiltinActions(db) {
|
|
|
348
369
|
id: 'groom',
|
|
349
370
|
name: 'Groom',
|
|
350
371
|
description: 'Flesh out ticket with requirements and acceptance criteria',
|
|
351
|
-
prompt:
|
|
372
|
+
prompt: `${PRLT_USAGE_RULE}
|
|
373
|
+
|
|
374
|
+
---
|
|
375
|
+
|
|
376
|
+
# Action: Groom
|
|
377
|
+
|
|
378
|
+
Analyze this ticket and improve its definition:
|
|
352
379
|
- Add detailed requirements if missing or vague
|
|
353
380
|
- Add clear, testable acceptance criteria
|
|
354
381
|
- Break down into subtasks if the work is complex
|
|
@@ -422,7 +449,13 @@ After updating, output a brief summary of your grooming changes.`,
|
|
|
422
449
|
id: 'implement',
|
|
423
450
|
name: 'Implement',
|
|
424
451
|
description: 'Write code to implement the ticket requirements',
|
|
425
|
-
prompt:
|
|
452
|
+
prompt: `${PRLT_USAGE_RULE}
|
|
453
|
+
|
|
454
|
+
---
|
|
455
|
+
|
|
456
|
+
# Action: Implement
|
|
457
|
+
|
|
458
|
+
Implement this ticket according to its requirements and acceptance criteria:
|
|
426
459
|
- Follow the acceptance criteria exactly
|
|
427
460
|
- Write clean, well-tested code
|
|
428
461
|
- Update documentation if the changes affect it
|
|
@@ -469,7 +502,13 @@ When complete, the ticket should be ready for code review.`,
|
|
|
469
502
|
id: 'continue',
|
|
470
503
|
name: 'Continue',
|
|
471
504
|
description: 'Continue working from where you left off',
|
|
472
|
-
prompt:
|
|
505
|
+
prompt: `${PRLT_USAGE_RULE}
|
|
506
|
+
|
|
507
|
+
---
|
|
508
|
+
|
|
509
|
+
# Action: Continue
|
|
510
|
+
|
|
511
|
+
Continue working on this ticket from where you left off.
|
|
473
512
|
- Review existing commits and changes to understand current state
|
|
474
513
|
- Check what subtasks remain incomplete
|
|
475
514
|
- Complete the remaining work
|
|
@@ -508,7 +547,13 @@ git add -A && prlt commit "your change" && git push
|
|
|
508
547
|
id: 'test',
|
|
509
548
|
name: 'Write Tests',
|
|
510
549
|
description: 'Add comprehensive tests for the implementation',
|
|
511
|
-
prompt:
|
|
550
|
+
prompt: `${PRLT_USAGE_RULE}
|
|
551
|
+
|
|
552
|
+
---
|
|
553
|
+
|
|
554
|
+
# Action: Write Tests
|
|
555
|
+
|
|
556
|
+
Write comprehensive tests for this ticket's implementation:
|
|
512
557
|
- Add unit tests for core functionality
|
|
513
558
|
- Add integration tests where appropriate
|
|
514
559
|
- Cover edge cases and error handling
|
|
@@ -567,7 +612,13 @@ No commits are needed for code review.`,
|
|
|
567
612
|
id: 'revise',
|
|
568
613
|
name: 'Revise',
|
|
569
614
|
description: 'Address PR feedback and review comments',
|
|
570
|
-
prompt:
|
|
615
|
+
prompt: `${PRLT_USAGE_RULE}
|
|
616
|
+
|
|
617
|
+
---
|
|
618
|
+
|
|
619
|
+
# Action: Revise
|
|
620
|
+
|
|
621
|
+
Address the feedback on this ticket's pull request:
|
|
571
622
|
- Review all comments and requested changes carefully
|
|
572
623
|
- Make the necessary code changes to address each point
|
|
573
624
|
- Respond to questions with explanations
|