@seanmars/tospec 0.26.0-beta → 0.27.0

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 (46) hide show
  1. package/CHANGELOG.md +50 -2
  2. package/README.md +3 -1
  3. package/assets/how/page.mjs +235 -0
  4. package/assets/how/skeleton.html +790 -0
  5. package/dist/commands/config.d.ts.map +1 -1
  6. package/dist/commands/config.js +8 -0
  7. package/dist/commands/config.js.map +1 -1
  8. package/dist/core/shared/skill-generation.d.ts +7 -1
  9. package/dist/core/shared/skill-generation.d.ts.map +1 -1
  10. package/dist/core/shared/skill-generation.js +3 -1
  11. package/dist/core/shared/skill-generation.js.map +1 -1
  12. package/dist/core/templates/fragments/debugging.d.ts +32 -0
  13. package/dist/core/templates/fragments/debugging.d.ts.map +1 -0
  14. package/dist/core/templates/fragments/debugging.js +32 -0
  15. package/dist/core/templates/fragments/debugging.js.map +1 -0
  16. package/dist/core/templates/fragments/verify.d.ts +2 -2
  17. package/dist/core/templates/fragments/verify.d.ts.map +1 -1
  18. package/dist/core/templates/fragments/verify.js +5 -3
  19. package/dist/core/templates/fragments/verify.js.map +1 -1
  20. package/dist/core/templates/skill-templates.d.ts +2 -0
  21. package/dist/core/templates/skill-templates.d.ts.map +1 -1
  22. package/dist/core/templates/skill-templates.js +2 -0
  23. package/dist/core/templates/skill-templates.js.map +1 -1
  24. package/dist/core/templates/workflows/apply.d.ts.map +1 -1
  25. package/dist/core/templates/workflows/apply.js +16 -2
  26. package/dist/core/templates/workflows/apply.js.map +1 -1
  27. package/dist/core/templates/workflows/explore.js +3 -3
  28. package/dist/core/templates/workflows/grill.d.ts.map +1 -1
  29. package/dist/core/templates/workflows/grill.js +3 -1
  30. package/dist/core/templates/workflows/grill.js.map +1 -1
  31. package/dist/core/templates/workflows/how.d.ts +3 -0
  32. package/dist/core/templates/workflows/how.d.ts.map +1 -0
  33. package/dist/core/templates/workflows/how.js +283 -0
  34. package/dist/core/templates/workflows/how.js.map +1 -0
  35. package/dist/core/templates/workflows/issue.d.ts.map +1 -1
  36. package/dist/core/templates/workflows/issue.js +13 -0
  37. package/dist/core/templates/workflows/issue.js.map +1 -1
  38. package/dist/core/templates/workflows/restate-your-goal.d.ts +17 -0
  39. package/dist/core/templates/workflows/restate-your-goal.d.ts.map +1 -0
  40. package/dist/core/templates/workflows/restate-your-goal.js +45 -0
  41. package/dist/core/templates/workflows/restate-your-goal.js.map +1 -0
  42. package/dist/core/templates/workflows/update.d.ts.map +1 -1
  43. package/dist/core/templates/workflows/update.js +1 -0
  44. package/dist/core/templates/workflows/update.js.map +1 -1
  45. package/package.json +2 -2
  46. package/schemas/issue/schema.yaml +7 -3
@@ -12,15 +12,19 @@ artifacts:
12
12
  requires: []
13
13
  instruction: |
14
14
  Diagnose and write the issue task: first build a tight feedback loop (one
15
- command that turns this bug red), list as many falsifiable hypotheses as
15
+ command that turns this bug red; for a performance bug, a measured number
16
+ recorded with its run count, range, and limiter), list as many falsifiable hypotheses as
16
17
  the evidence supports (one or two is fine when the loop already points at
17
18
  one cause) and rank them, verify each, then write down the root cause.
18
19
  Redact secrets as <REDACTED> in everything pasted here: task.md is
19
20
  committed and kept in the archive. Quote only the lines that carry the
20
21
  signal, and do not redact the error message itself. A step that needs
21
22
  the user's login is theirs to run; do not capture its output.
22
- Contents: root-cause analysis, fix plan, test plan (why existing tests missed it / which edge
23
- cases are missing), and a task checkbox list.
23
+ Contents: root-cause analysis, fix plan (why it fixes where the state
24
+ went wrong rather than guarding where it surfaced, and the one fact the
25
+ fix is safe because of, proven or marked unproven), test plan (why
26
+ existing tests missed it / which edge cases are missing), and a task
27
+ checkbox list.
24
28
  validation:
25
29
  requiredSections: [Feedback Loop, Root Cause, Fix Plan, Test Plan, Tasks]
26
30
  - id: specs