cyberneticlibrary

Apply safe refactors with human review

harness-dietworkflowsetup L32
moongci38-oss/forge
What it does

Apply low-risk harness diet rules from queue with human approval gate

Best for

Safely applying low-risk harness optimizations while preserving safety constraints.

Inputs
  • · diet-queue.json path, outBase
Outputs
  • · Before/after state metrics, applied changes, human-approval backlog
Requires
  • · bash
  • · agent()
  • · Read
  • · Edit
  • · Write
Preconditions

diet-queue.json generated, git restore point available

Failure modes
  • · Queue file missing
  • · Agent violates forbidden rules
  • · Verify smoke-test fails
  • · Edit conflicts
Trust signals
  • · Git restore point tag created
  • · Forbidden rules hardcoded in prompts
  • · Before/after state audited
  • · 7-action safety gates