@dungle-scrubs/harness-cli-normalizer 0.4.0 → 0.4.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 (75) hide show
  1. package/dist/cli/args.d.ts +1 -0
  2. package/dist/cli/args.d.ts.map +1 -1
  3. package/dist/cli/args.js +21 -0
  4. package/dist/cli/args.js.map +1 -1
  5. package/dist/cli/config.d.ts.map +1 -1
  6. package/dist/cli/config.js +8 -0
  7. package/dist/cli/config.js.map +1 -1
  8. package/dist/cli/help.d.ts +1 -1
  9. package/dist/cli/help.d.ts.map +1 -1
  10. package/dist/cli/help.js +17 -1
  11. package/dist/cli/help.js.map +1 -1
  12. package/dist/cli/run.d.ts.map +1 -1
  13. package/dist/cli/run.js +42 -2
  14. package/dist/cli/run.js.map +1 -1
  15. package/dist/cli/skills-root.d.ts +4 -0
  16. package/dist/cli/skills-root.d.ts.map +1 -0
  17. package/dist/cli/skills-root.js +45 -0
  18. package/dist/cli/skills-root.js.map +1 -0
  19. package/dist/execution/failure.d.ts +4 -1
  20. package/dist/execution/failure.d.ts.map +1 -1
  21. package/dist/execution/failure.js +15 -2
  22. package/dist/execution/failure.js.map +1 -1
  23. package/dist/execution/stream-turn.d.ts.map +1 -1
  24. package/dist/execution/stream-turn.js +16 -3
  25. package/dist/execution/stream-turn.js.map +1 -1
  26. package/dist/interpretation/argv.d.ts +5 -0
  27. package/dist/interpretation/argv.d.ts.map +1 -1
  28. package/dist/interpretation/argv.js +4 -0
  29. package/dist/interpretation/argv.js.map +1 -1
  30. package/dist/interpretation/refusal.d.ts +1 -1
  31. package/dist/interpretation/refusal.d.ts.map +1 -1
  32. package/dist/interpretation/refusal.js.map +1 -1
  33. package/dist/interpretation/resolve-options.d.ts.map +1 -1
  34. package/dist/interpretation/resolve-options.js +27 -5
  35. package/dist/interpretation/resolve-options.js.map +1 -1
  36. package/dist/interpretation/skills-selection.d.ts +22 -0
  37. package/dist/interpretation/skills-selection.d.ts.map +1 -0
  38. package/dist/interpretation/skills-selection.js +49 -0
  39. package/dist/interpretation/skills-selection.js.map +1 -0
  40. package/dist/knowledge/claude-code.d.ts.map +1 -1
  41. package/dist/knowledge/claude-code.js +1 -0
  42. package/dist/knowledge/claude-code.js.map +1 -1
  43. package/dist/knowledge/codex.d.ts.map +1 -1
  44. package/dist/knowledge/codex.js +1 -0
  45. package/dist/knowledge/codex.js.map +1 -1
  46. package/dist/knowledge/descriptor.d.ts +7 -0
  47. package/dist/knowledge/descriptor.d.ts.map +1 -1
  48. package/dist/knowledge/muse.d.ts.map +1 -1
  49. package/dist/knowledge/muse.js +1 -0
  50. package/dist/knowledge/muse.js.map +1 -1
  51. package/dist/knowledge/pi.d.ts.map +1 -1
  52. package/dist/knowledge/pi.js +1 -0
  53. package/dist/knowledge/pi.js.map +1 -1
  54. package/dist/knowledge/profile.d.ts +3 -0
  55. package/dist/knowledge/profile.d.ts.map +1 -1
  56. package/dist/knowledge/profile.js +20 -0
  57. package/dist/knowledge/profile.js.map +1 -1
  58. package/package.json +1 -1
  59. package/src/cli/args.ts +33 -2
  60. package/src/cli/config.ts +10 -0
  61. package/src/cli/help.ts +17 -1
  62. package/src/cli/run.ts +46 -5
  63. package/src/cli/skills-root.ts +47 -0
  64. package/src/execution/failure.ts +16 -2
  65. package/src/execution/stream-turn.ts +17 -2
  66. package/src/interpretation/argv.ts +9 -0
  67. package/src/interpretation/refusal.ts +1 -0
  68. package/src/interpretation/resolve-options.ts +29 -5
  69. package/src/interpretation/skills-selection.ts +73 -0
  70. package/src/knowledge/claude-code.ts +1 -0
  71. package/src/knowledge/codex.ts +1 -0
  72. package/src/knowledge/descriptor.ts +7 -0
  73. package/src/knowledge/muse.ts +1 -0
  74. package/src/knowledge/pi.ts +1 -0
  75. package/src/knowledge/profile.ts +20 -0
@@ -28,6 +28,26 @@ export const DEFAULT_TURN_PROFILE = deepFreeze({
28
28
  // Ratified: autonomy OFF. No bare run is unattended; --autonomy or a
29
29
  // config must say so deliberately.
30
30
  autonomy: false,
31
+ // D9/D10, ratified round 2: write and shell ON - names current
32
+ // behavior (emit-nothing on claude/codex/pi; muse omits its disable
33
+ // flags). Completes the "what can a bare run do to the machine" row of
34
+ // provenance.
35
+ write: true,
36
+ shell: true,
37
+ // D13, ratified: equivalent-as-possible tool defaults. The marker
38
+ // expands per descriptor at resolve time - pi gains its dormant
39
+ // grep/find/ls; claude emits nothing (already everything); codex/muse
40
+ // report divergence (no list surface). Project floors narrow it by
41
+ // the normal precedence chain.
42
+ tools: "all-known",
43
+ // Model is PERMANENTLY out of profile scope (ratified round 2): no
44
+ // cross-harness model namespace exists, pi's registry is
45
+ // runtime-extensible and environment-dependent, and per-harness config
46
+ // already covers "claude on X, pi on Y". Do not add a model entry.
47
+ // timeout and maxSteps are likewise opt-in-only dimensions (D11/D12):
48
+ // no harness ships a wall-clock cap, one prompt expands into an
49
+ // unbounded turn loop, and a fixed default kills legitimate work. They
50
+ // live in args/config only, never here.
31
51
  } as const);
32
52
 
33
53
  export type ProfileKey = keyof typeof DEFAULT_TURN_PROFILE;