pi-pstack-workflow-kit 0.0.0-stage → 0.1.1

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.
Files changed (138) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +146 -2
  3. package/agents/ci-watcher.md +1 -0
  4. package/agents/comment-sicko.md +1 -0
  5. package/agents/poteto-agent.md +1 -0
  6. package/agents/quality-agent.md +1 -0
  7. package/agents/worker.md +3 -0
  8. package/lib/catalog-data.json +560 -0
  9. package/lib/catalog.ts +160 -0
  10. package/lib/jobs.ts +5 -0
  11. package/lib/models.ts +125 -0
  12. package/lib/pool.ts +27 -0
  13. package/lib/state.ts +127 -0
  14. package/lib/transcript.ts +48 -0
  15. package/lib/validation.ts +16 -0
  16. package/package.json +65 -4
  17. package/reference/GAPS.md +21 -0
  18. package/reference/PARITY.md +169 -0
  19. package/reference/benny/config.example.json +12 -0
  20. package/reference/benny/repro.md +3 -0
  21. package/reference/benny/setup.md +3 -0
  22. package/reference/benny/triage.md +3 -0
  23. package/reference/parity.json +3095 -0
  24. package/reference/rules/no-inline-imports.md +3 -0
  25. package/reference/rules/typescript-exhaustive-switch.md +3 -0
  26. package/reference/source-map.json +8594 -0
  27. package/scripts/job-input.ts +190 -0
  28. package/scripts/run-job.mjs +121 -0
  29. package/skills/architect/SKILL.md +16 -0
  30. package/skills/arena/SKILL.md +16 -0
  31. package/skills/automate-me/SKILL.md +10 -0
  32. package/skills/benchmark-checklist/SKILL.md +10 -0
  33. package/skills/blast-radius/SKILL.md +10 -0
  34. package/skills/bro/SKILL.md +10 -0
  35. package/skills/check-compiler-errors/SKILL.md +10 -0
  36. package/skills/control-cli/SKILL.md +10 -0
  37. package/skills/control-ui/SKILL.md +10 -0
  38. package/skills/correct/SKILL.md +10 -0
  39. package/skills/create-formal-verification-skill/SKILL.md +16 -0
  40. package/skills/create-verification-skill/SKILL.md +16 -0
  41. package/skills/deslop/SKILL.md +10 -0
  42. package/skills/figure-it-out/SKILL.md +17 -0
  43. package/skills/fix-ci/SKILL.md +10 -0
  44. package/skills/fix-merge-conflicts/SKILL.md +10 -0
  45. package/skills/get-pr-comments/SKILL.md +10 -0
  46. package/skills/how/SKILL.md +10 -0
  47. package/skills/in-your-own-words/SKILL.md +11 -0
  48. package/skills/interrogate/SKILL.md +17 -0
  49. package/skills/ketchup/SKILL.md +10 -0
  50. package/skills/ketchup-video/SKILL.md +10 -0
  51. package/skills/loop-on-ci/SKILL.md +10 -0
  52. package/skills/maintain-formal-verification-skill/SKILL.md +16 -0
  53. package/skills/maintain-verification-skill/SKILL.md +16 -0
  54. package/skills/make-bot-ui/SKILL.md +10 -0
  55. package/skills/make-pr-easy-to-review/SKILL.md +10 -0
  56. package/skills/new-branch-and-pr/SKILL.md +10 -0
  57. package/skills/no-comments/SKILL.md +16 -0
  58. package/skills/poteto-help/SKILL.md +11 -0
  59. package/skills/poteto-mode/SKILL.md +60 -0
  60. package/skills/poteto-mode/playbooks/authoring-a-skill.md +20 -0
  61. package/skills/poteto-mode/playbooks/autonomous-run.md +20 -0
  62. package/skills/poteto-mode/playbooks/autopilot-full.md +25 -0
  63. package/skills/poteto-mode/playbooks/autopilot-stack.md +20 -0
  64. package/skills/poteto-mode/playbooks/babysit.md +21 -0
  65. package/skills/poteto-mode/playbooks/bug-fix.md +26 -0
  66. package/skills/poteto-mode/playbooks/eval.md +20 -0
  67. package/skills/poteto-mode/playbooks/feature.md +26 -0
  68. package/skills/poteto-mode/playbooks/hillclimb.md +24 -0
  69. package/skills/poteto-mode/playbooks/investigation.md +19 -0
  70. package/skills/poteto-mode/playbooks/multi-phase-plan.md +19 -0
  71. package/skills/poteto-mode/playbooks/opening-a-pr.md +20 -0
  72. package/skills/poteto-mode/playbooks/pause-safely.md +18 -0
  73. package/skills/poteto-mode/playbooks/perf-issue.md +24 -0
  74. package/skills/poteto-mode/playbooks/prototype.md +21 -0
  75. package/skills/poteto-mode/playbooks/refactoring.md +23 -0
  76. package/skills/poteto-mode/playbooks/runtime-forensics.md +20 -0
  77. package/skills/poteto-mode/playbooks/session-pickup.md +20 -0
  78. package/skills/poteto-mode/playbooks/shipping.md +24 -0
  79. package/skills/poteto-mode/playbooks/trace-forensics.md +20 -0
  80. package/skills/poteto-mode/playbooks/visual-parity.md +22 -0
  81. package/skills/poteto-mode/playbooks/worktree-cleanup.md +19 -0
  82. package/skills/pr-review-canvas/SKILL.md +10 -0
  83. package/skills/principle-attack-the-premise/SKILL.md +12 -0
  84. package/skills/principle-boundary-discipline/SKILL.md +12 -0
  85. package/skills/principle-build-the-lever/SKILL.md +12 -0
  86. package/skills/principle-encode-lessons-in-structure/SKILL.md +12 -0
  87. package/skills/principle-exhaust-the-design-space/SKILL.md +12 -0
  88. package/skills/principle-experience-first/SKILL.md +12 -0
  89. package/skills/principle-explain-the-number/SKILL.md +12 -0
  90. package/skills/principle-fix-root-causes/SKILL.md +12 -0
  91. package/skills/principle-foundational-thinking/SKILL.md +12 -0
  92. package/skills/principle-guard-the-context-window/SKILL.md +12 -0
  93. package/skills/principle-laziness-protocol/SKILL.md +12 -0
  94. package/skills/principle-make-operations-idempotent/SKILL.md +12 -0
  95. package/skills/principle-migrate-callers-then-delete-legacy-apis/SKILL.md +12 -0
  96. package/skills/principle-minimize-reader-load/SKILL.md +12 -0
  97. package/skills/principle-model-the-domain/SKILL.md +12 -0
  98. package/skills/principle-never-block-on-the-human/SKILL.md +12 -0
  99. package/skills/principle-outcome-oriented-execution/SKILL.md +12 -0
  100. package/skills/principle-prove-it-works/SKILL.md +12 -0
  101. package/skills/principle-redesign-from-first-principles/SKILL.md +12 -0
  102. package/skills/principle-separate-before-serializing-shared-state/SKILL.md +12 -0
  103. package/skills/principle-sequence-verifiable-units/SKILL.md +12 -0
  104. package/skills/principle-subtract-before-you-add/SKILL.md +12 -0
  105. package/skills/principle-test-behavior-not-implementation/SKILL.md +12 -0
  106. package/skills/principle-type-system-discipline/SKILL.md +12 -0
  107. package/skills/recall/SKILL.md +10 -0
  108. package/skills/reflect/SKILL.md +10 -0
  109. package/skills/review-and-ship/SKILL.md +10 -0
  110. package/skills/run-smoke-tests/SKILL.md +10 -0
  111. package/skills/setup-pstack/SKILL.md +17 -0
  112. package/skills/sharpen/SKILL.md +11 -0
  113. package/skills/show-me-your-work/SKILL.md +16 -0
  114. package/skills/statechart/SKILL.md +10 -0
  115. package/skills/swarm/SKILL.md +16 -0
  116. package/skills/tdd/SKILL.md +10 -0
  117. package/skills/teach/SKILL.md +17 -0
  118. package/skills/technical-writing/SKILL.md +10 -0
  119. package/skills/thermo-nuclear-code-quality-review/SKILL.md +10 -0
  120. package/skills/typescript-best-practices/SKILL.md +10 -0
  121. package/skills/unslop/SKILL.md +10 -0
  122. package/skills/verify-this/SKILL.md +17 -0
  123. package/skills/weekly-review/SKILL.md +10 -0
  124. package/skills/what-did-i-get-done/SKILL.md +10 -0
  125. package/skills/why/SKILL.md +10 -0
  126. package/skills/workflow-from-chats/SKILL.md +10 -0
  127. package/src/catalog-ui.ts +86 -0
  128. package/src/delegate.ts +367 -0
  129. package/src/forge.ts +246 -0
  130. package/src/git.ts +28 -0
  131. package/src/index.ts +25 -0
  132. package/src/models.ts +189 -0
  133. package/src/parent-diff.ts +64 -0
  134. package/src/plan.ts +181 -0
  135. package/src/records.ts +85 -0
  136. package/src/session.ts +124 -0
  137. package/src/support.ts +47 -0
  138. package/src/worktrees.ts +188 -0
@@ -0,0 +1,3 @@
1
+ # Module-level imports
2
+
3
+ Prefer module-level imports. Use dynamic imports only when deferred loading, conditional platform support or a concrete dependency boundary requires them.
@@ -0,0 +1,3 @@
1
+ # Exhaustive TypeScript switches
2
+
3
+ Use discriminated unions and exhaustive switches. Use a never assertion in the unreachable branch where it provides a compiler check; run the repository type checker.