harness-everything 0.55.3 → 0.56.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 (179) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/AGENTS.md +1 -1
  4. package/BENCHMARK_SOP.md +2 -2
  5. package/CHANGELOG.md +26 -0
  6. package/README.md +15 -16
  7. package/SECURITY.md +1 -1
  8. package/VERIFICATION.md +4 -8
  9. package/behavioral-evals/PAIRED-BENCHMARK.md +12 -27
  10. package/behavioral-evals/README.md +21 -65
  11. package/behavioral-evals/cases/breaker-zoom-out-after-3.yaml +26 -33
  12. package/behavioral-evals/cases/pressure-sunk-cost-retry.yaml +15 -17
  13. package/behavioral-evals/paired-benchmark.js +3 -40
  14. package/behavioral-evals/run.js +2 -3
  15. package/ci/fixtures/468-dispatch/runner.js +144 -0
  16. package/ci/fixtures/doc-obligations/reconciliation-s2b/wiring/legacy-off-golden.json +0 -6
  17. package/ci/invariant-routing.test.js +26 -5
  18. package/ci/lib/opencode-verification-loader.js +3 -5
  19. package/ci/mechanism-2a-rule-of-3.test.js +111 -97
  20. package/ci/mechanism-2n-opencode-plugin.test.js +68 -206
  21. package/ci/mechanism-2p-opencode-v2-entrypoint.test.js +47 -28
  22. package/ci/mechanism-2w-platform-compatibility.test.js +1 -0
  23. package/ci/mechanism-32-paired-benchmark.test.js +1 -2
  24. package/ci/mechanism-33-issues-205-207.test.js +1 -1
  25. package/ci/mechanism-338-opencode-async.test.js +18 -49
  26. package/ci/mechanism-36-verify-timeout.test.js +3 -189
  27. package/ci/mechanism-39-opencode-verify-outcomes.test.js +56 -323
  28. package/ci/mechanism-397-opencode-observations.test.js +6 -7
  29. package/ci/mechanism-468-dispatch-cli.test.js +546 -0
  30. package/ci/mechanism-codex-hook-results.test.js +9 -5
  31. package/ci/mechanism-error-handling-map.test.js +14 -12
  32. package/ci/mechanism-prb-outline-review.test.js +1 -13
  33. package/ci/mechanism-system-one-router.test.js +1 -1
  34. package/ci/openai-plugin-package.test.js +30 -7
  35. package/ci/openai-plugin-runtime.test.js +64 -32
  36. package/ci/prompt-contract-regressions.test.js +1 -5
  37. package/ci/self-evolve-loop.test.js +51 -51
  38. package/ci/workflow-execution-contract.test.js +3 -6
  39. package/docker-verify.sh +1 -117
  40. package/docs/architecture.md +9 -7
  41. package/docs/document-lifecycle.md +1 -1
  42. package/docs/enforcement-locks.md +12 -10
  43. package/docs/error-handling/README.md +3 -3
  44. package/docs/error-handling/actions/c8-action-map.md +41 -0
  45. package/docs/error-handling/details/c8-dispatch-cli.md +75 -0
  46. package/docs/error-handling/nodes.yaml +5 -0
  47. package/docs/error-handling/registry.md +4 -1
  48. package/docs/mechanism-first-skill-mesh.md +2 -2
  49. package/docs/openai-plugin.md +3 -3
  50. package/docs/philosophy.md +1 -1
  51. package/docs/platform-capabilities.md +2 -2
  52. package/docs/platform-compatibility.json +2 -2
  53. package/docs/reflection.md +1 -1
  54. package/docs/routing.md +2 -2
  55. package/docs/system-one-suggestion-gates.md +4 -4
  56. package/docs/troubleshooting.md +9 -35
  57. package/docs/workflow-runtime.md +19 -18
  58. package/docs/workflows/environment-detection.md +11 -9
  59. package/docs/workflows/fable-discipline.md +6 -5
  60. package/docs/workflows/fable-mode.md +6 -5
  61. package/docs/workflows/harness-everything.md +5 -5
  62. package/docs/workflows/improve-codebase-architecture.md +10 -8
  63. package/docs/workflows/install-cognitive-os.md +5 -5
  64. package/docs/workflows/tdd.md +9 -9
  65. package/docs/workflows/zoom-out.md +20 -30
  66. package/environment-detection/SKILL.md +2 -2
  67. package/environment-detection/references/shell-syntax-rules.md +1 -1
  68. package/eval-harness/SKILL.md +1 -1
  69. package/eval-harness/references/scoring-rubric.md +3 -3
  70. package/evals/zoom-out/eval.yaml +2 -2
  71. package/evals/zoom-out/tasks/negative-productive-iteration.yaml +15 -0
  72. package/evals/zoom-out/tasks/negative-trivial-edit.yaml +6 -6
  73. package/evals/zoom-out/tasks/positive-first-failure.yaml +15 -0
  74. package/evals/zoom-out/tasks/positive-repair-loop.yaml +1 -1
  75. package/fable-discipline/SKILL.md +3 -3
  76. package/fable-discipline/references/discipline-rules.md +1 -1
  77. package/fable-mode/SKILL.md +1 -1
  78. package/fable-mode/execution-guardrails/SKILL.md +2 -4
  79. package/fable-mode/execution-guardrails/references/guardrail-rules.md +3 -3
  80. package/fable-mode/fable-haiku/SKILL.md +1 -1
  81. package/fable-mode/fable-opus/SKILL.md +2 -2
  82. package/fable-mode/fable-sonnet/SKILL.md +1 -1
  83. package/fable-mode/references/execution-phases.md +2 -2
  84. package/harness-everything/SKILL.md +3 -3
  85. package/harness-everything/references/router-workflow-plan.md +2 -2
  86. package/harness-everything/references/skill-registry.md +2 -2
  87. package/harness-everything/references/triage-and-tiers.md +5 -5
  88. package/harness-everything/scripts/bootstrap.js +1 -26
  89. package/harness-everything/scripts/kernel-router-core.js +2 -3
  90. package/harness-everything/scripts/kernel-router.js +1 -1
  91. package/harness-everything/scripts/router-contract-core.js +1 -1
  92. package/harness-everything/scripts/routing-keywords.json +0 -2
  93. package/hooks/hooks.json +0 -33
  94. package/hooks/scripts/lib/harness-state.js +5 -6
  95. package/hooks/scripts/lib/learning-opportunity.js +3 -13
  96. package/hooks/scripts/openai-session-start.js +2 -4
  97. package/improve-codebase-architecture/SKILL.md +3 -3
  98. package/improve-codebase-architecture/guides/refactoring-workflow.md +5 -4
  99. package/install-cognitive-os/SKILL.md +3 -3
  100. package/opencode-plugin/README.md +12 -43
  101. package/opencode-plugin/index.mjs +21 -368
  102. package/opencode-plugin/plugin.json +1 -1
  103. package/package.json +2 -4
  104. package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
  105. package/plugins/harness-everything/hooks/hooks.json +0 -14
  106. package/plugins/harness-everything/hooks/scripts/lib/harness-state.js +5 -6
  107. package/plugins/harness-everything/hooks/scripts/lib/learning-opportunity.js +3 -13
  108. package/plugins/harness-everything/hooks/scripts/lib/workspace.js +2 -2
  109. package/plugins/harness-everything/hooks/scripts/openai-session-start.js +2 -4
  110. package/plugins/harness-everything/hooks/session-start.js +2 -4
  111. package/plugins/harness-everything/plugin.json +1 -1
  112. package/plugins/harness-everything/scripts/lib/advisory-text.js +2 -2
  113. package/plugins/harness-everything/scripts/lib/workspace.js +2 -2
  114. package/plugins/harness-everything/skills/environment-detection/SKILL.md +2 -2
  115. package/plugins/harness-everything/skills/environment-detection/references/shell-syntax-rules.md +1 -1
  116. package/plugins/harness-everything/skills/eval-harness/SKILL.md +1 -1
  117. package/plugins/harness-everything/skills/eval-harness/references/scoring-rubric.md +3 -3
  118. package/plugins/harness-everything/skills/fable-discipline/SKILL.md +3 -3
  119. package/plugins/harness-everything/skills/fable-discipline/references/discipline-rules.md +1 -1
  120. package/plugins/harness-everything/skills/fable-mode/SKILL.md +1 -1
  121. package/plugins/harness-everything/skills/fable-mode/execution-guardrails/SKILL.md +2 -4
  122. package/plugins/harness-everything/skills/fable-mode/execution-guardrails/references/guardrail-rules.md +3 -3
  123. package/plugins/harness-everything/skills/fable-mode/fable-haiku/SKILL.md +1 -1
  124. package/plugins/harness-everything/skills/fable-mode/fable-opus/SKILL.md +2 -2
  125. package/plugins/harness-everything/skills/fable-mode/fable-sonnet/SKILL.md +1 -1
  126. package/plugins/harness-everything/skills/fable-mode/references/execution-phases.md +2 -2
  127. package/plugins/harness-everything/skills/harness-everything/SKILL.md +3 -3
  128. package/plugins/harness-everything/skills/harness-everything/references/router-workflow-plan.md +2 -2
  129. package/plugins/harness-everything/skills/harness-everything/references/skill-registry.md +2 -2
  130. package/plugins/harness-everything/skills/harness-everything/references/triage-and-tiers.md +5 -5
  131. package/plugins/harness-everything/skills/harness-everything/scripts/bootstrap.js +1 -26
  132. package/plugins/harness-everything/skills/harness-everything/scripts/kernel-router-core.js +2 -3
  133. package/plugins/harness-everything/skills/harness-everything/scripts/kernel-router.js +1 -1
  134. package/plugins/harness-everything/skills/harness-everything/scripts/router-contract-core.js +1 -1
  135. package/plugins/harness-everything/skills/harness-everything/scripts/routing-keywords.json +0 -2
  136. package/plugins/harness-everything/skills/improve-codebase-architecture/SKILL.md +3 -3
  137. package/plugins/harness-everything/skills/improve-codebase-architecture/guides/refactoring-workflow.md +5 -4
  138. package/plugins/harness-everything/skills/install-cognitive-os/SKILL.md +3 -3
  139. package/plugins/harness-everything/skills/self-evolve/SKILL.md +1 -1
  140. package/plugins/harness-everything/skills/self-evolve/references/memory-resolution.md +3 -3
  141. package/plugins/harness-everything/skills/self-evolve/schemas/lesson-candidate.schema.json +4 -1
  142. package/plugins/harness-everything/skills/self-evolve/scripts/lesson-candidate.js +1 -0
  143. package/plugins/harness-everything/skills/skill-creator/SKILL.md +1 -1
  144. package/plugins/harness-everything/skills/skill-creator/references/quality-checklist.md +1 -1
  145. package/plugins/harness-everything/skills/skill-creator/references/quality-principles.md +4 -4
  146. package/plugins/harness-everything/skills/tdd/SKILL.md +2 -2
  147. package/plugins/harness-everything/skills/tdd/references/core-discipline.md +3 -5
  148. package/plugins/harness-everything/skills/todo-driven-workflow/SKILL.md +2 -2
  149. package/plugins/harness-everything/skills/zoom-out/SKILL.md +14 -26
  150. package/plugins/harness-everything/skills/zoom-out/references/circuit-breaker.md +18 -62
  151. package/references/platform-advisory-template.md +3 -9
  152. package/sbom.cdx.json +7 -7
  153. package/scripts/dispatch.js +340 -0
  154. package/scripts/lib/advisory-text.js +2 -2
  155. package/scripts/lib/workspace.js +2 -2
  156. package/self-evolve/SKILL.md +1 -1
  157. package/self-evolve/references/memory-resolution.md +3 -3
  158. package/self-evolve/schemas/lesson-candidate.schema.json +4 -1
  159. package/self-evolve/scripts/lesson-candidate.js +1 -0
  160. package/skill-creator/SKILL.md +1 -1
  161. package/skill-creator/references/quality-checklist.md +1 -1
  162. package/skill-creator/references/quality-principles.md +4 -4
  163. package/submission/openai/test-cases.json +5 -5
  164. package/tdd/SKILL.md +2 -2
  165. package/tdd/references/core-discipline.md +3 -5
  166. package/todo-driven-workflow/SKILL.md +2 -2
  167. package/zoom-out/SKILL.md +14 -26
  168. package/zoom-out/references/circuit-breaker.md +18 -62
  169. package/behavioral-evals/opencode-hardlock-live.js +0 -17
  170. package/behavioral-evals/opencode-reflection-gate-live.js +0 -342
  171. package/ci/mechanism-31-opencode-hardlock-evidence.test.js +0 -82
  172. package/evals/zoom-out/tasks/negative-first-edge-case-review.yaml +0 -16
  173. package/evals/zoom-out/tasks/positive-repeated-failure.yaml +0 -15
  174. package/hooks/scripts/reset-circuit-breaker.js +0 -30
  175. package/hooks/scripts/rule-of-3-tracker.js +0 -165
  176. package/hooks/scripts/rule-of-3.js +0 -171
  177. package/plugins/harness-everything/hooks/scripts/reset-circuit-breaker.js +0 -30
  178. package/plugins/harness-everything/hooks/scripts/rule-of-3-tracker.js +0 -165
  179. package/plugins/harness-everything/hooks/scripts/rule-of-3.js +0 -171
@@ -30,9 +30,10 @@ graph TD
30
30
  GitBash --> GuardCwd[Stay inside process cwd]
31
31
  PowerShell --> GuardCwd
32
32
  CmdShell --> GuardCwd
33
- GuardCwd --> FailCount{Same command failed 3 times?}
34
- FailCount -->|yes| ZoomEsc[Trigger zoom-out]
35
- FailCount -->|no| ContinueRun[Continue with aligned syntax]
33
+ GuardCwd --> Evidence{Does the result contradict assumptions or reveal unknown impact?}
34
+ Evidence -->|yes| ZoomChoice[Agent may choose zoom-out]
35
+ Evidence -->|not yet| ContinueRun[Continue with aligned syntax]
36
+ ZoomChoice --> ContinueRun
36
37
  ```
37
38
 
38
39
  ## 2. Triggering and Routing Path
@@ -42,9 +43,10 @@ graph LR
42
43
  StartTrigger[Session start request] --> EnvDetect[environment-detection SKILL]
43
44
  ComplexSeq[Complex terminal sequence] --> EnvDetect
44
45
  EnvDetect --> AlignedRun[Aligned command execution]
45
- AlignedRun --> RepeatedFail{Three failures on same command?}
46
- RepeatedFail -->|yes| ZoomOut[zoom-out]
47
- RepeatedFail -->|no| AlignedRun
46
+ AlignedRun --> Evidence{Would reassessment improve the next step?}
47
+ Evidence -->|yes| ZoomOut[Agent-initiated zoom-out]
48
+ Evidence -->|no; next check is justified| AlignedRun
49
+ ZoomOut --> AlignedRun
48
50
  ```
49
51
 
50
52
  ## 3. Real-World Use Case
@@ -56,7 +58,7 @@ A session starts on Windows with PowerShell as the active shell. The agent needs
56
58
  3. If the helper/runtime is absent (for example a skills-only distribution), report that the local repair surface is unavailable and continue without searching parent/cache paths.
57
59
  4. Only an explicit install/setup/repair request may invoke mutating self-heal. OpenCode keeps its separate plugin installation/runtime boundary.
58
60
  5. Adopt PowerShell syntax for paths and env vars instead of Git Bash assumptions. If `preflight.js` cannot run, inspect `<environment_info>` and probe minimally.
59
- 6. Stay inside `process.cwd()`; if the same aligned command still fails three times, trigger `zoom-out`.
61
+ 6. Stay inside `process.cwd()`. A first failure may justify reassessment when it contradicts assumptions or reveals an unknown impact boundary; continue when new evidence justifies the next check.
60
62
 
61
63
  ```mermaid
62
64
  graph TD
@@ -65,7 +67,7 @@ graph TD
65
67
  FoundShell --> UseCmd[Use PowerShell syntax for listing and env lookup]
66
68
  UseCmd --> CmdResult{Command works?}
67
69
  CmdResult -->|yes| ProceedTask[Proceed with task]
68
- CmdResult -->|no after 3 tries| ZoomStep[Trigger zoom-out]
70
+ CmdResult -->|no; evidence warrants reassessment| ZoomStep[Agent chooses zoom-out]
69
71
  ```
70
72
 
71
73
  ## 4. Verification Check
@@ -77,5 +79,5 @@ graph TD
77
79
  - [ ] Mutating self-heal ran only for explicit install/setup/repair intent and only on a supported local platform surface
78
80
  - [ ] OpenCode was kept on its separate plugin runtime; skills-only distributions did not assume a local installer
79
81
  - [ ] No toolchain installation was attempted; scope stayed to detection and alignment
80
- - [ ] After three failures of the same command, execution stopped blind retry and triggered `zoom-out`
82
+ - [ ] Reassessment was agent-initiated when evidence warranted it; productive checks could continue without a count threshold
81
83
  - [ ] Shell detail followed `environment-detection/references/shell-syntax-rules.md` where needed
@@ -12,10 +12,11 @@ graph TD
12
12
  Compact --> Handoff[Verify handoff manifest]
13
13
  Handoff --> Diverge{Build errors diverging?}
14
14
  Diverge -->|no| Continue[Continue guarded work]
15
- Diverge -->|yes| Warn[Surface regression + recommend zoom-out]
16
- Warn --> Rule3{Rule-of-3 reached?}
17
- Rule3 -->|yes| Reflect[Mandatory reflection]
18
- Rule3 -->|no| Continue
15
+ Diverge -->|yes| Warn[Surface regression and evidence]
16
+ Warn --> Choose{Would reassessment help?}
17
+ Choose -->|yes| Reassess[Agent-initiated zoom-out]
18
+ Choose -->|not yet| Continue
19
+ Reassess --> Continue
19
20
  ```
20
21
 
21
22
  Commit boundaries are guidance only. Create commits only when the user or active host/workflow has authorized them; otherwise leave changes uncommitted.
@@ -25,6 +26,6 @@ Commit boundaries are guidance only. Create commits only when the user or active
25
26
  - [ ] Milestone state compacted and irrelevant broad reads avoided.
26
27
  - [ ] Handoff manifest written and verified.
27
28
  - [ ] Divergence surfaced without creating an independent hard stop.
28
- - [ ] Rule-of-3 remains the mandatory reflection owner.
29
+ - [ ] Reassessment remains agent-initiated; productive work can continue when checks add evidence.
29
30
  - [ ] Commits occur only with user/host authorization.
30
31
  - [ ] Detail follows `fable-discipline/references/discipline-rules.md`.
@@ -80,14 +80,15 @@ flowchart TD
80
80
  Minor-concern batching is **not** a stage transition. Workers keep producing and
81
81
  verifying the assigned artifact and include accumulated minor concerns in the next
82
82
  natural report/handoff; the number of minor concerns alone never stops or returns a
83
- worker. A material confirmed blocker may stop the current stage immediately. Repeated
84
- matching execution failures use the separate Rule-of-3 path: zoom out, reflect, then
85
- `RESUME` on a new approach or `ESCALATE` when a real decision is required.
83
+ worker. A material confirmed blocker may stop the current stage immediately. An
84
+ agent may choose Zoom-out when evidence contradicts an assumption or exposes an
85
+ unknown impact boundary, including on the first meaningful signal. Productive
86
+ attempts may continue when they add evidence or narrow the cause.
86
87
 
87
- Replan counts (`maxReplans`) are advisory and never halt execution on their own; unresolved blockers are escalated rather than hidden behind endless restructuring, and three same-signature failures still trigger the mandatory Rule-of-3 `zoom-out`.
88
+ Replan counts (`maxReplans`) are advisory and never halt execution on their own; unresolved blockers are escalated rather than hidden behind endless restructuring. The former Rule-of-3 counter and forced-reflection path are retired under [#394](https://github.com/dyphn1/Harness-everything/issues/394).
88
89
 
89
90
  ## 5. Completion Boundary
90
91
 
91
92
  Fable completion means the planned stages have produced their artifacts, their checks have passed, and high-risk outputs have received skeptical review where required. It does not mean every possible companion skill was invoked.
92
93
 
93
- The canonical executable and policy details live in `fable-mode/SKILL.md`, `fable-mode/behavior-profile-matrix.json`, `fable-mode/runtime-model-floor-matrix.json`, `fable-mode/scripts/model-selector.js`, and `fable-mode/references/model-matrix.md`.
94
+ The canonical executable and policy details live in `fable-mode/SKILL.md`, `fable-mode/behavior-profile-matrix.json`, `fable-mode/runtime-model-floor-matrix.json`, `fable-mode/scripts/model-selector.js`, and `fable-mode/references/model-matrix.md`.
@@ -27,9 +27,9 @@ graph TD
27
27
  Execute --> VerifyGate{Objective evidence supports completion?}
28
28
  VerifyGate -->|Yes| Done([Evidence-backed completion])
29
29
  VerifyGate -->|No| Diagnose["Diagnose / bounded re-plan"]
30
- Diagnose --> RetryCheck{Same-signature failure x3?}
31
- RetryCheck -->|No| Execute
32
- RetryCheck -->|Yes| ZoomOut["zoom-out: stop edits, rebuild facts read-only, report RESUME or ESCALATE"]
30
+ Diagnose --> Choice{What does the evidence support?}
31
+ Choice -->|Reassess now| ZoomOut["zoom-out: rebuild facts read-only and revise the next check"]
32
+ Choice -->|Productive iteration| Execute["Continue while attempts yield evidence or narrow the cause"]
33
33
  ZoomOut --> Execute
34
34
  ```
35
35
 
@@ -48,7 +48,7 @@ graph LR
48
48
  Router -->|Large / Multi-source / Multi-session| Ch3["Fable stages expose bindings only when dependencies pass"]
49
49
  Router -->|Architecture / Plan review| Ch4["Bind domain skills/references only to their consuming step"]
50
50
 
51
- Ch1 --> Invariants["Invariants: route-before-execution, verify-before-claim, re-plan-after-x3, resolve-active-required-bindings, resolve-selected-workflow"]
51
+ Ch1 --> Invariants["Invariants: route-before-execution, verify-before-claim, loop-awareness, resolve-active-required-bindings, resolve-selected-workflow"]
52
52
  Ch2 --> Invariants
53
53
  Ch3 --> Invariants
54
54
  Ch4 --> Invariants
@@ -94,4 +94,4 @@ To ensure that the `harness-everything` skill is operating in strict compliance
94
94
  - [ ] **Bind knowledge by step**: required/optional skills and references are declared per ordered requirement; only active paths are loaded/disclosed.
95
95
  - [ ] **Resolve selected workflow**: the selected topology executed to resolution; escape only for uncovered scope with evidence.
96
96
  - [ ] **Verify before claim**: objective evidence (tests, checks, quoted tool output) supports completion.
97
- - [ ] **Re-plan on repetition**: after 3 same-signature failures, `zoom-out` reflection completed before resuming.
97
+ - [ ] **Loop awareness**: an agent may use `zoom-out` at the first meaningful signal, while productive iterations may continue at any attempt.
@@ -17,9 +17,10 @@ graph TD
17
17
  SafetyNet -->|No| CharTests["Write Characterization Tests first via tdd"]
18
18
  SafetyNet -->|Yes| Extract["Extract incrementally via tdd; verify tests after each change"]
19
19
  CharTests --> Extract
20
- Extract --> ErrorCheck{"Third same-signature failure?"}
21
- ErrorCheck -->|Yes| Rollback["Rollback plus zoom-out; record traps in self-evolve"]
22
- ErrorCheck -->|No| DoneState["Refactoring complete"]
20
+ Extract --> ErrorCheck{"Does evidence undermine an assumption or reveal unknown impact?"}
21
+ ErrorCheck -->|Yes; reassessment helps| Reassess["Agent-initiated zoom-out; revise next check"]
22
+ ErrorCheck -->|No; next check is justified| DoneState["Continue incremental refactoring"]
23
+ Reassess --> Extract
23
24
  ```
24
25
 
25
26
  ## 2. Triggering and Routing Path
@@ -28,7 +29,7 @@ graph TD
28
29
  graph LR
29
30
  TechDebt["Trigger: refactor architecture or split object or apply SRP or tech debt"] --> ICA["improve-codebase-architecture / SKILL.md"]
30
31
  ICA --> TDD["tdd: Characterization Tests first, then incremental extraction"]
31
- ICA --> ZoomOut["zoom-out: invoked with rollback on the third same-signature failure"]
32
+ ICA --> ZoomOut["zoom-out: agent-initiated when evidence warrants reassessment"]
32
33
  ICA --> SelfEvolve["self-evolve: record traps"]
33
34
  ```
34
35
 
@@ -40,9 +41,10 @@ graph TD
40
41
  ScanInterfaces --> SRPProposal["Propose split into focused units plus seam abstractions"]
41
42
  SRPProposal --> CharNet["Add Characterization Tests for untested legacy paths"]
42
43
  CharNet --> Incremental["Incremental extraction with test check after each step"]
43
- Incremental --> RollbackGate{"Third same-signature failure?"}
44
- RollbackGate -->|Yes| RollbackZoom["Rollback and zoom-out"]
45
- RollbackGate -->|No| ModularDone["SRP-compliant modules with safety net"]
44
+ Incremental --> ReassessGate{"Would reassessment improve the next step?"}
45
+ ReassessGate -->|Yes| RollbackZoom["Revisit assumptions; rollback only if needed for safety"]
46
+ ReassessGate -->|No; tests narrow the cause| ModularDone["Continue with safety net"]
47
+ RollbackZoom --> Incremental
46
48
  ```
47
49
 
48
50
  Concrete example: a 600-line utility module is scanned for interfaces and ADR constraints, proposed for splitting into single-purpose units, guarded by Characterization Tests, then extracted step by step with verification after each change.
@@ -56,5 +58,5 @@ Deep detail: `improve-codebase-architecture/references/README.md`.
56
58
  - [ ] Deepening and SRP proposal with object splitting and seam abstraction presented and approved before code changes
57
59
  - [ ] `tdd` launched; Characterization Tests added first when legacy code lacks tests
58
60
  - [ ] Extraction done incrementally with tests verified after each change
59
- - [ ] On the third same-signature failure, changes rolled back with `zoom-out` and traps recorded in `self-evolve`
61
+ - [ ] Zoom-out was optional and agent-initiated when evidence warranted it; productive steps could continue as tests narrowed the cause
60
62
  - [ ] Not used for features, bugfixes, or style-only cleanups with no structure change
@@ -16,9 +16,9 @@ graph TD
16
16
  Discover --> Think["Think: establish intent, scope, and failure modes"]
17
17
  Think --> Try["Try: make the smallest useful change and gather evidence"]
18
18
  Try --> Summarize["Summarize: ground conclusions in tool output"]
19
- Summarize --> FailCheck{Same-signature failure x3?}
20
- FailCheck -->|Yes| ZoomOut["zoom-out: stop edits, rebuild facts, report RESUME or ESCALATE"]
21
- FailCheck -->|No| Record["Record: persist milestones only when evidence supports them"]
19
+ Summarize --> Reassess{Would reassessment improve the next step?}
20
+ Reassess -->|Yes; agent chooses| ZoomOut["Review assumptions, acceptance, and evidence"]
21
+ Reassess -->|No; next check is justified| Record["Record: persist milestones only when evidence supports them"]
22
22
  ZoomOut --> Think
23
23
  Record --> End([Evidence-grounded work, no fixed domain sequence])
24
24
  ```
@@ -34,7 +34,7 @@ graph LR
34
34
  Trigger["Explain policy / Apply loop manually / Debug cognitive behavior"] --> Skill["install-cognitive-os / SKILL.md"]
35
35
  Skill -->|No kernel context| Manual["Run Discover → Think → Try → Summarize → Record explicitly"]
36
36
  Skill -->|Kernel present| Policy["Treat as policy reference; domain skill proceeds directly"]
37
- Manual --> Gates["Gates: evidence before claims; re-plan after x3 same-signature failures"]
37
+ Manual --> Gates["Guidance: evidence before claims; agent-initiated reassessment when evidence warrants"]
38
38
  Policy --> Gates
39
39
 
40
40
  style Skill fill:#d35400,stroke:#e67e22,stroke-width:2px,color:#ffffff
@@ -63,5 +63,5 @@ To ensure that the `install-cognitive-os` skill is operating in strict complianc
63
63
 
64
64
  - [ ] **Policy, not installation**: no hook deployment, file copying, or config mutation claimed as this skill's effect.
65
65
  - [ ] **Full five-step loop**: Discover → Think → Try → Summarize → Record applied in order, not the truncated four-step variant.
66
- - [ ] **Evidence gates honored**: completion claims need evidence; repeated same-signature failures require re-planning via `zoom-out`.
66
+ - [ ] **Evidence gates honored**: completion claims need evidence; an agent may choose `zoom-out` when evidence warrants reassessment, while productive work may continue.
67
67
  - [ ] **No prerequisite fabrication**: domain skills (`tdd`, `security-review`, `repo-docs`) proceed without selecting this skill first.
@@ -25,10 +25,11 @@ graph TD
25
25
  RunGreen --> AssertGreen["Assert: Present terminal logs as evidence (Law 4)"]
26
26
  AssertGreen --> VerifyGreen{Gate: verify-gate.js}
27
27
 
28
- VerifyGreen -->|Exit 1: Still Broken| DebugCode["Reflect: Read logs, fix code"]
29
- DebugCode --> RunGreen
30
- VerifyGreen -->|Exit 1: 3x Failures| CircuitBreaker["Trigger rule-of-3.js: ZOOM OUT"]
31
- CircuitBreaker --> DebugCode
28
+ VerifyGreen -->|Exit 1| DebugCode["Read evidence; fix or choose to reassess"]
29
+ DebugCode -->|next check is justified| RunGreen
30
+ DebugCode -->|assumption is contradicted or impact is unknown| ZoomOut["Agent-initiated zoom-out"]
31
+ ZoomOut --> ReadFacts["Review goal, acceptance, and evidence"]
32
+ ReadFacts --> RunGreen
32
33
 
33
34
  VerifyGreen -->|Exit 0: Green| Refactor["Refactor: Optimize & audit Code-Doc Alignment (Law 6)"]
34
35
 
@@ -61,8 +62,7 @@ flowchart TD
61
62
 
62
63
  ## Recovery state
63
64
 
64
- The circuit breaker limits repeated edits. A third failed GREEN attempt moves
65
- the work into `zoom-out`, where the assumptions are rebuilt before retrying.
65
+ The former Rule-of-3 counter and forced-reflection path are retired under [#394](https://github.com/dyphn1/Harness-everything/issues/394). The agent may choose Zoom-out whenever evidence contradicts an assumption or reveals an unknown impact boundary, including on the first failure. When each attempt adds evidence or narrows the cause, the next justified TDD check may continue without a count or report requirement.
66
66
 
67
67
  ```mermaid
68
68
  stateDiagram-v2
@@ -70,9 +70,9 @@ stateDiagram-v2
70
70
  Red --> GreenAttempt
71
71
  GreenAttempt --> Green: tests pass
72
72
  GreenAttempt --> Retry: tests fail
73
- Retry --> GreenAttempt: attempts one or two
74
- Retry --> ZoomOut: attempt three
75
- ZoomOut --> Red: assumptions rebuilt
73
+ Retry --> GreenAttempt: next check justified by new evidence
74
+ Retry --> ZoomOut: agent chooses reassessment
75
+ ZoomOut --> Red: revised hypothesis
76
76
  Green --> Refactor
77
77
  Refactor --> [*]
78
78
  ```
@@ -1,26 +1,22 @@
1
1
  # Workflow: Zoom Out
2
2
 
3
- > Reflect-first breaker after three failures: stop edits, rebuild the full picture with read-only tools, write a fact-check report, then resume or escalate.
3
+ > Agent-initiated reassessment when evidence contradicts an assumption or reveals an unknown impact boundary. A first failure may be enough; productive work can continue when attempts add evidence or narrow the cause.
4
4
 
5
5
  Source of truth: `zoom-out/SKILL.md`.
6
6
 
7
- Contract summary from SKILL.md — Trigger: three same-signature failures or an explicit loop/rethink request. Output: fact-checked report ending in `RESUME` or `ESCALATE`. State: writes the session `zoom-out-report.md`; reset may clear breaker state. Gate: `hooks/scripts/rule-of-3.js` plus a valid report; a later three-failure cycle requests another reflection. USE FOR: "you are stuck in a loop", "the same error keeps failing", "rethink your assumptions". DO NOT USE FOR: routine single-failure debugging, greenfield planning without failures.
7
+ Zoom-out is voluntary. An agent may choose it on the first meaningful signal or an explicit loop/rethink request, and may continue productive iteration when the next check is justified by new evidence. The former `rule-of-3*.js` counter, `reset-circuit-breaker.js`, forced report/unlock path, and OpenCode hard-lock path are retired under [#394](https://github.com/dyphn1/Harness-everything/issues/394). No counter, lock, reflection token, compulsory report, reset, or automatic escalation is part of this procedure. A short fact-check note can help organize reassessment, but no special artifact is required.
8
8
 
9
9
  ## 1. Skill Behavior Workflow
10
10
 
11
11
  ```mermaid
12
12
  graph TD
13
- Third[Third Same Signature Failure] --> Stop[Stop Edits No User Ask Yet]
14
- Stop --> ReadOnly[ReadOnly Restate Goal Check Files Config Logs]
15
- ReadOnly --> Fill[Fill zoom-out-report template]
16
- Fill --> Decide{RESUME or ESCALATE?}
17
- Decide -->|untried path| Resume[RESUME On Untried Path]
18
- Decide -->|genuine user decision| Escalate[ESCALATE With Options]
19
- Resume --> Again{Three More Matching Failures?}
20
- Again -->|yes| Cycle[Another Zoom-Out Cycle]
21
- Cycle --> Evolve[Record Insight With self-evolve]
22
- Again -->|no| Done([Report Complete])
23
- Escalate --> Done
13
+ Signal[Evidence contradicts assumptions or exposes unknown impact] --> Choose{Would reassessment help now?}
14
+ Request[Explicit loop/rethink request] --> Reassess[Agent chooses to zoom out]
15
+ Choose -->|yes| Reassess
16
+ Choose -->|not yet| Continue[Continue justified work]
17
+ Productive[Attempt adds evidence or narrows cause] --> Continue
18
+ Reassess --> ReadOnly[Review goal, acceptance, files, configuration, and evidence]
19
+ ReadOnly --> Next[Choose a justified next check]
24
20
  ```
25
21
 
26
22
  ## 2. Triggering and Routing Path
@@ -30,33 +26,27 @@ graph TD
30
26
  LoopReq[Stuck In Loop Request] --> Skill[zoom-out SKILL]
31
27
  SameErr[Same Error Keeps Failing] --> Skill
32
28
  Rethink[Rethink Assumptions Request] --> Skill
33
- ThreeFail[Three Same Signature Failures] --> Breaker[hooks scripts rule-of-3 js]
34
- Breaker --> Skill
29
+ Evidence[First meaningful signal or explicit request] --> Skill
30
+ Productive[Productive iteration] --> Continue[Continue with justified next check]
35
31
  SingleFail[Routine Single Failure] --> DirectFix[Fix Directly]
36
32
  Greenfield[Greenfield Planning No Failures] --> Fable[fable-mode SKILL]
37
- Skill --> ReportGate[Valid Report RESUME or ESCALATE]
33
+ Skill --> EvidenceReview[Review evidence and choose a justified next check]
38
34
  ```
39
35
 
40
36
  ## 3. Real-World Use Case
41
37
 
42
38
  ```mermaid
43
39
  graph TD
44
- Fail[Same Test Fails Three Times Same Signature] --> Halt[Stop Edits Rebuild Picture ReadOnly]
45
- Halt --> Inspect[Restate Goal Check Files Config Logs]
46
- Inspect --> Write[Fill templates zoom-out-report template md]
47
- Write --> Choice{Untried Path Exists?}
48
- Choice -->|yes| Resume2[RESUME On Untried Path]
49
- Choice -->|no| Esc2[ESCALATE With Options]
50
- Resume2 -->|three more matching failures| Cycle2[Another Zoom-Out Cycle Then self-evolve]
40
+ Signal2[Evidence changes assumptions or impact boundary] --> Reassess2[Agent reviews goal, acceptance, and evidence]
41
+ Reassess2 --> Next2[Select a justified next check]
42
+ Productive2[Attempts produce evidence or narrow cause] --> Continue2[Continue iteration]
51
43
  ```
52
44
 
53
- Template: `zoom-out/templates/zoom-out-report.template.md`. Enforcement: `hooks/scripts/rule-of-3.js`. Deep dive: `zoom-out/references/circuit-breaker.md`.
45
+ Optional note template: `zoom-out/templates/zoom-out-report.template.md`. The former enforcement hook is retired under [#394](https://github.com/dyphn1/Harness-everything/issues/394). The linked [`zoom-out/references/circuit-breaker.md`](../../zoom-out/references/circuit-breaker.md) describes the retired mechanism and is historical reference material.
54
46
 
55
47
  ## 4. Verification Check
56
48
 
57
- - [ ] After three same-signature failures, edits stopped and the same approach was not retried
58
- - [ ] Goal, files, configuration, and logs were rechecked with read-only tools before any resume
59
- - [ ] `templates/zoom-out-report.template.md` was filled and the session `zoom-out-report.md` ends in `RESUME` or `ESCALATE`
60
- - [ ] Resume targeted only an untried path; genuine user decisions were escalated with options
61
- - [ ] A later three-failure cycle ran another zoom-out; `npm run harness:reset` was used only as an optional manual clear, with the insight recorded via `self-evolve`
62
- - [ ] Routine single-failure debugging and greenfield planning without failures were not routed here
49
+ - [ ] The agent chose whether reassessment would improve the next step; it may start on the first meaningful signal
50
+ - [ ] When reassessing, the goal, acceptance, files, configuration, and evidence were checked before choosing the next step
51
+ - [ ] Productive iteration continued when attempts added evidence or narrowed the cause
52
+ - [ ] No failure counter, lock, reflection token, compulsory report, reset, or automatic escalation was assumed
@@ -4,7 +4,7 @@ description: Use at session start (Discover phase) to detect and align with the
4
4
  license: Apache-2.0
5
5
  metadata:
6
6
  author: Miya Daniel
7
- version: 0.19.1
7
+ version: 0.55.4
8
8
  ---
9
9
 
10
10
  # Environment Detection & Shell Alignment
@@ -27,7 +27,7 @@ Boundary: stay inside `process.cwd()`. Detection never writes integrations or se
27
27
  1. Run `node "<this-skill-dir>/scripts/preflight.js"`; detect OS, shell, CLIs.
28
28
  2. Where supported, audit read-only: `node "<this-skill-dir>/../harness-everything/scripts/self-heal.js" --check`. If unavailable, report and continue.
29
29
  3. Only explicit install/setup/repair intent may omit `--check`. Repair covers Claude, Codex, Copilot, Cursor, Continue, Hermes. OpenCode has its own plugin runtime; skills-only surfaces may lack repair.
30
- 4. Adopt shell syntax: Git Bash → `/`, `$VAR`, Unix commands; PowerShell → `$env:VAR`, cmdlets; CMD → `\`, `%VAR%`, Windows commands. Three repeated failures → `zoom-out`.
30
+ 4. Adopt shell syntax: Git Bash → `/`, `$VAR`, Unix commands; PowerShell → `$env:VAR`, cmdlets; CMD → `\`, `%VAR%`, Windows commands. An agent may choose zoom-out at the first meaningful signal; productive iteration may continue while attempts add evidence.
31
31
 
32
32
  Deep dive: <this-skill-dir>/references/shell-syntax-rules.md
33
33
 
@@ -73,4 +73,4 @@ Toolchain self-heal: the harness itself is part of the environment. Audit whethe
73
73
 
74
74
  ## Verification & reflection
75
75
 
76
- If any shell command fails, do not blindly retry the exact same command. Stop and ask yourself: "Did I use the wrong syntax for this terminal? Is this a Git Bash vs. PowerShell syntax issue?" If you fail 3 times on the same command, trigger the `zoom-out` circuit breaker.
76
+ If any shell command fails, do not blindly retry the exact same command. Stop and ask yourself: "Did I use the wrong syntax for this terminal? Is this a Git Bash vs. PowerShell syntax issue?" If a command failure changes the diagnosis or the next check is unclear, the agent may choose `zoom-out` immediately. Continue when the next attempt is evidence-based; no retry count triggers a circuit breaker.
@@ -4,7 +4,7 @@ description: Evaluate AI agent performance across correctness, token efficiency,
4
4
  license: Apache-2.0
5
5
  metadata:
6
6
  author: Miya Daniel
7
- version: 0.4.0
7
+ version: 0.55.4
8
8
  ---
9
9
 
10
10
  # Eval Harness
@@ -46,9 +46,9 @@ Score based on the following four dimensions (out of 10 points each):
46
46
  - 0 points: Over-engineered, writing lengthy plans or repeatedly reading irrelevant files for a simple task.
47
47
 
48
48
  ### C. Anti-loop & Focus
49
- - 10 points: Decisively triggered `zoom-out` when hitting a bottleneck, rebuilt the full picture, and either self-recovered on a fresh diagnosis or escalated a genuine decision with options; did not hit a dead end or dump an "I'm stuck" on the human.
50
- - 5 points: Stopped after 3~5 attempts.
51
- - 0 points: Fell into a Micro-error looping cycle more than 5 times, or completely forgot the initial goal.
49
+ - 10 points: Chose a fresh diagnosis when evidence undermined an assumption, then grounded the next action in observed results; or continued productively while attempts narrowed the cause.
50
+ - 5 points: Noticed changed evidence but did not clearly connect it to the next check.
51
+ - 0 points: Repeated an approach without new evidence or treated a failure count as a mandatory stop.
52
52
 
53
53
  ### D. Environment & Tool Awareness
54
54
  - 10 points: Accurately detected OS, terminal shell (e.g., Git Bash vs PowerShell), and available tools in the `[Discover]` phase before acting. No syntax errors caused by wrong shell assumptions.
@@ -1,5 +1,5 @@
1
1
  name: zoom-out-eval
2
- description: Trigger precision eval for the zoom-out circuit breaker skill.
2
+ description: Agent-initiated reassessment eval for the zoom-out skill.
3
3
  skill: zoom-out
4
4
  version: "1.0"
5
5
  config:
@@ -12,7 +12,7 @@ metrics:
12
12
  - name: task_completion
13
13
  weight: 0.7
14
14
  threshold: 0.8
15
- description: Did zoom-out trigger on repeated-failure/stuck signals and stay off trivial tasks?
15
+ description: Did the agent choose reassessment when evidence warranted it and continue during productive iteration?
16
16
  - name: efficiency
17
17
  weight: 0.3
18
18
  threshold: 0.7
@@ -0,0 +1,15 @@
1
+ id: negative-productive-iteration-001
2
+ name: Continue when each iteration narrows the cause
3
+ description: "An agent may continue while attempts yield useful evidence and the next step is justified."
4
+ tags:
5
+ - negative-trigger
6
+ inputs:
7
+ prompt: "The first test run failed because sort returned undefined. Adding the missing return changed the failure: the result now contains 1 and 2 but misses 3, and the output shows the loop reads one element past the input. This narrows the remaining cause to the loop bounds. Continue with the smallest justified check and fix; there is no need for a report just because work has taken several attempts."
8
+ expected:
9
+ should_trigger: false
10
+ graders:
11
+ - type: text
12
+ name: contains-keywords
13
+ config:
14
+ contains:
15
+ - "continue"
@@ -1,10 +1,10 @@
1
- id: negative-trivial-edit-001
2
- name: Trivial edit must not trigger reflection
3
- description: Routine single-failure debugging and greenfield planning without failures must not trip the circuit breaker.
1
+ id: negative-greenfield-trivial-001
2
+ name: Greenfield planning and a clear edit need no reassessment
3
+ description: Routine debugging with a clear next check or greenfield planning does not need voluntary reassessment.
4
4
  tags:
5
5
  - negative-trigger
6
6
  inputs:
7
- prompt: "Fix the typo in README.md line 3: change 'recieve' to 'receive'."
7
+ prompt: "Start a small greenfield project with a hello-world function, then fix the clear typo in README.md line 3 from 'recieve' to 'receive'. No test has failed, the requirements are clear, and there is no unknown impact boundary."
8
8
  expected:
9
9
  should_trigger: false
10
10
  graders:
@@ -12,5 +12,5 @@ graders:
12
12
  name: not-contains-keywords
13
13
  config:
14
14
  contains:
15
- - "circuit breaker tripped"
16
- - "reflection report"
15
+ - "mandatory zoom-out"
16
+ - "required reflection report"
@@ -0,0 +1,15 @@
1
+ id: positive-first-failure-001
2
+ name: First meaningful failure can prompt reassessment
3
+ description: "Agent-initiated reassessment when evidence contradicts assumptions, exposes an unknown boundary, or a path stops producing useful information. Use for voluntary diagnosis of stalled or changing work. DO NOT USE FOR: routine debugging when the next check is clear, or greenfield planning."
4
+ tags:
5
+ - positive-trigger
6
+ inputs:
7
+ prompt: "I feel stuck after this first test failure: normalizeProfile mutates a profile that callers may share. This contradicts my assumption that callers pass disposable objects. I want to rethink my assumptions and voluntarily zoom out now: compare the acceptance clause, observed evidence, call sites, and a revised check before choosing the smallest fix. A written report is not required."
8
+ expected:
9
+ should_trigger: true
10
+ graders:
11
+ - type: text
12
+ name: contains-keywords
13
+ config:
14
+ contains:
15
+ - "reassess"
@@ -1,6 +1,6 @@
1
1
  id: positive-repair-loop-001
2
2
  name: Successful review commands still expose a repair loop
3
- description: "Reflect-first circuit breaker - after 3 failures, stop edits, rebuild the full picture with read-only tools, write a fact-check report, then resume or escalate. USE FOR: \"you are stuck in a loop\", \"the same error keeps failing\", \"rethink your assumptions\". DO NOT USE FOR: \"routine single-failure debugging\", \"greenfield planning without failures\"."
3
+ description: "Agent-initiated reassessment when evidence contradicts assumptions, exposes an unknown boundary, or a path stops producing useful information. Use for voluntary diagnosis of stalled or changing work. DO NOT USE FOR: routine debugging when the next check is clear, or greenfield planning."
4
4
  tags:
5
5
  - positive-trigger
6
6
  inputs:
@@ -4,7 +4,7 @@ description: Enforce fable-mode context discipline as a shadow guard. Use for st
4
4
  license: Apache-2.0
5
5
  metadata:
6
6
  author: Miya Daniel
7
- version: 0.30.8
7
+ version: 0.55.4
8
8
  ---
9
9
 
10
10
  # Fable Discipline (Macro Task Discipline & Safety Net)
@@ -16,7 +16,7 @@ metadata:
16
16
  | **Trigger / Input** | Background shadow for the whole duration `fable-mode` is active — not a standalone trigger. |
17
17
  | **Expected Output** | State compaction after milestones; authorized commit-boundary guidance; a state manifest at every sub-agent handoff. |
18
18
  | **State Mutations** | None of its own — constrains how `fable-mode` and `multi-agent-workspace` mutate state. |
19
- | **Enforcement Gate** | Build divergence is a warning signal: surface it and recommend `zoom-out`. Rule-of-3 owns mandatory reflection. |
19
+ | **Guidance** | Surface build divergence as a warning; an agent may choose `zoom-out` to reassess it. |
20
20
 
21
21
  Shadow guard for `fable-mode`: **MUST** run in the background for its whole duration.
22
22
 
@@ -36,6 +36,6 @@ Shadow guard for `fable-mode`: **MUST** run in the background for its whole dura
36
36
  1. **Anti-context bloat**: After each milestone, **MUST** compact state and decisions; avoid irrelevant broad reads.
37
37
  2. **Physical boundaries**: **MUST** know the CWD. If commits are authorized, independent logic blocks **SHOULD** remain separate; otherwise leave changes uncommitted.
38
38
  3. **Agent handoff**: Outgoing agents **MUST** leave a state manifest; incoming agents **MUST** verify it first.
39
- 4. **Divergence signal**: **MUST** surface diverging errors and recommend `zoom-out`; **SHOULD** map the dependency graph. Divergence alone does not hard-stop execution.
39
+ 4. **Divergence signal**: Divergence is a warning signal; **MUST** surface diverging errors and recommend `zoom-out`; **SHOULD** map the dependency graph. Divergence alone does not hard-stop execution.
40
40
 
41
41
  Deep dive: <this-skill-dir>/references/discipline-rules.md
@@ -19,4 +19,4 @@ When `fable-mode` spawns and switches between different sub-agents via `multi-ag
19
19
  ## 4. Divergence Signal
20
20
  - Large tasks easily generate the sunk cost fallacy of "I think it's almost fixed, let me try one more time."
21
21
  - If Build Errors exhibit a divergent trend (the more you fix, the more it breaks), surface the regression immediately and recommend `zoom-out`; divergence alone is not a hard stop.
22
- - Organize the error dependency graph for the human. Mandatory reflection remains owned by Rule-of-3 after repeated same-signature failures, or by explicit user/host permission boundaries.
22
+ - Organize the error dependency graph for the human. An agent may choose `zoom-out` whenever evidence changes the diagnosis; explicit user/host permission boundaries retain their own authority.
@@ -4,7 +4,7 @@ description: "Stage large tasks through plans, named fable agents, failable chec
4
4
  license: Apache-2.0
5
5
  metadata:
6
6
  author: Miya Daniel
7
- version: 0.54.1
7
+ version: 0.55.4
8
8
  ---
9
9
 
10
10
  # Fable Mode
@@ -4,13 +4,11 @@ description: "Reference guardrails for verified warnings and safe replacements;
4
4
  license: Apache-2.0
5
5
  metadata:
6
6
  author: Miya Daniel
7
- version: 0.54.1
7
+ version: 0.55.4
8
8
  ---
9
9
 
10
10
  # Execution Guardrails
11
11
 
12
- **USE FOR**: Raising warnings or flagging problems, search-and-replace/regex file edits, batching minor caveats, reporting capability limits.
13
-
14
12
  | Component | Spec |
15
13
  | :--- | :--- |
16
14
  | **Trigger / Input** | Turn raising a warning or performing search-and-replace edits. |
@@ -35,7 +33,7 @@ metadata:
35
33
  2. **Warning batching.** Collect minor concerns and list them together in the next natural report or handoff; their count alone MUST NOT stop, pause, or return the worker/stage. An independently material, confirmed concern may stop the current stage and be surfaced immediately.
36
34
  3. **Find-and-replace safety** — Prefer structured edit tools over shell `sed`; anchor with unique context or `\bword\b` boundaries; verify file integrity post-edit. Never replace-all blindly.
37
35
 
38
- Repeated matching execution failures remain governed by Rule-of-3 / `zoom-out`; warning batching never substitutes for that recovery path.
36
+ When evidence changes the diagnosis, an agent may choose `zoom-out`; warning batching does not create a stop rule.
39
37
 
40
38
  This nested file is reference-only, not an always-on carrier; rules apply only when an active carrier injects them.
41
39
 
@@ -37,9 +37,9 @@ keep working and preserve the batch for the report instead of creating a second
37
37
  breaker.
38
38
 
39
39
  A concern that independently meets the verify-before-flag bar and is material on its own
40
- may stop the current stage and be surfaced immediately. Repeated matching execution
41
- failures are governed separately by Rule-of-3 -> zoom-out -> RESUME/ESCALATE. The
42
- warning threshold governs minor-concern reporting only.
40
+ may stop the current stage and be surfaced immediately. An agent may also choose
41
+ `zoom-out` when evidence changes the diagnosis; neither this guidance nor the warning
42
+ threshold forces a pause or report. The warning threshold governs minor-concern reporting only.
43
43
 
44
44
  ## 3. Find-and-replace safety
45
45
 
@@ -4,7 +4,7 @@ description: "Reference mechanical behavior profile (legacy alias haiku) for bul
4
4
  license: Apache-2.0
5
5
  metadata:
6
6
  author: Miya Daniel
7
- version: 0.54.1
7
+ version: 0.55.4
8
8
  ---
9
9
 
10
10
  # Fable Mode — Haiku
@@ -4,7 +4,7 @@ description: "Reference orchestrator behavior profile (legacy alias opus) for st
4
4
  license: Apache-2.0
5
5
  metadata:
6
6
  author: Miya Daniel
7
- version: 0.54.1
7
+ version: 0.55.4
8
8
  ---
9
9
 
10
10
  # Fable Mode — Opus
@@ -32,7 +32,7 @@ metadata:
32
32
 
33
33
  1. Resolve legacy alias `opus` to the `orchestrator` behavior profile through `<this-skill-dir>/../scripts/model-selector.js`.
34
34
  2. Spawn `fable-orchestrator` when available; otherwise use the explicit inline/stop agent fallback. The runtime-model floor is advisory and never changes the profile.
35
- 3. The orchestrator owns scope boundaries, advisory replan guidance (never a hard stop), stage contracts, named worker delegation, and escalation; it never produces artifacts itself. After three same-signature failures, Rule-of-3 / `zoom-out` is mandatory.
35
+ 3. The orchestrator owns scope boundaries, advisory replan guidance (never a hard stop), stage contracts, named worker delegation, and escalation; it never produces artifacts itself. Agents may choose `zoom-out` whenever evidence warrants a fresh diagnosis.
36
36
  4. Cold-review high-stakes deliverables with `fable-verifier`; report every unverified stage.
37
37
 
38
38
  Use `<this-skill-dir>/../references/model-matrix.md` for behavior-profile aliases, runtime floors, audit fields, and fallback policy.
@@ -4,7 +4,7 @@ description: "Reference reasoning behavior profile (legacy alias sonnet/sonnect)
4
4
  license: Apache-2.0
5
5
  metadata:
6
6
  author: Miya Daniel
7
- version: 0.54.1
7
+ version: 0.55.4
8
8
  ---
9
9
 
10
10
  # Fable Mode — Sonnet