Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript
20.8 KB
Raw Blame
{
  "golden": {
    "admission_paused (stop)": {
      "delegated": {
        "continuation_job_id": null,
        "drain": {
          "eta_seconds": null,
          "outcome": "resumable",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": 1,
          "stop_reason": "admission_paused",
          "waived": 0,
          "written": 0
        },
        "incomplete": true,
        "next": {
          "code": "admission_paused",
          "command": "gbrain sync status --source default --json",
          "docs": "docs/guides/write-refusals.md#drain-admission-paused",
          "eta_seconds": null,
          "fix": {
            "actor": "user",
            "argv": [
              "gbrain",
              "config",
              "set",
              "sync.admission",
              "normal"
            ],
            "command": "gbrain config set sync.admission normal",
            "consent": [],
            "next": "tell_user_to_run",
            "requires_exclusive": false,
            "user_message": "Managed sync of default is paused by sync.admission. To resume it, run: gbrain config set sync.admission normal",
            "verify": {
              "argv": [
                "gbrain",
                "sync",
                "status",
                "--source",
                "default",
                "--json"
              ]
            },
            "why": "Restores what managed sync may write; never run automatically."
          },
          "rate_pages_per_min": null,
          "retry_after_ms": 0,
          "safe_to_loop": false,
          "why": "sync.admission is not normal, so the pass admitted only what it allows and stopped; nothing failed. Restoring it is the owner's decision: gbrain config set sync.admission normal, then the next sync continues."
        },
        "outcome": "resumable",
        "pagesAffected": []
      },
      "direct": {
        "drain": {
          "eta_seconds": null,
          "outcome": "resumable",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": 1,
          "stop_reason": "admission_paused",
          "waived": 0,
          "written": 0
        },
        "next": {
          "code": "admission_paused",
          "command": "gbrain sync status --source default --json",
          "docs": "docs/guides/write-refusals.md#drain-admission-paused",
          "eta_seconds": null,
          "fix": {
            "actor": "user",
            "argv": [
              "gbrain",
              "config",
              "set",
              "sync.admission",
              "normal"
            ],
            "command": "gbrain config set sync.admission normal",
            "consent": [],
            "next": "tell_user_to_run",
            "requires_exclusive": false,
            "user_message": "Managed sync of default is paused by sync.admission. To resume it, run: gbrain config set sync.admission normal",
            "verify": {
              "argv": [
                "gbrain",
                "sync",
                "status",
                "--source",
                "default",
                "--json"
              ]
            },
            "why": "Restores what managed sync may write; never run automatically."
          },
          "rate_pages_per_min": null,
          "retry_after_ms": 0,
          "safe_to_loop": false,
          "why": "sync.admission is not normal, so the pass admitted only what it allows and stopped; nothing failed. Restoring it is the owner's decision: gbrain config set sync.admission normal, then the next sync continues."
        },
        "outcome": "resumable"
      },
      "exit": 0,
      "job": "needs_operator"
    },
    "grant_scope (stop)": {
      "delegated": {
        "continuation_job_id": null,
        "drain": {
          "eta_seconds": null,
          "outcome": "blocked",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": 1,
          "stop_reason": "grant_scope",
          "waived": 0,
          "written": 0
        },
        "incomplete": true,
        "next": {
          "code": "grant_scope",
          "command": "gbrain sync status --source default --json",
          "docs": "docs/guides/write-refusals.md#drain-grant-scope",
          "eta_seconds": null,
          "fix": {
            "actor": "user",
            "argv": [
              "gbrain",
              "sync",
              "--source",
              "default",
              "--no-pull"
            ],
            "command": "gbrain sync --source default --no-pull",
            "consent": [],
            "next": "tell_user_to_run",
            "requires_exclusive": false,
            "user_message": "On the host that owns source default, run: gbrain sync --source default --no-pull",
            "verify": {
              "argv": [
                "gbrain",
                "sync",
                "status",
                "--source",
                "default",
                "--json"
              ]
            },
            "why": "Only the source's owner host finishes the pass."
          },
          "rate_pages_per_min": null,
          "retry_after_ms": 0,
          "safe_to_loop": false,
          "why": "This writer's grant covers only part of source default, so the pass admitted what it could see and cannot finish the source; the owner host's sync finishes it: gbrain sync --source default --no-pull."
        },
        "outcome": "blocked",
        "pagesAffected": []
      },
      "direct": {
        "drain": {
          "eta_seconds": null,
          "outcome": "blocked",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": 1,
          "stop_reason": "grant_scope",
          "waived": 0,
          "written": 0
        },
        "next": {
          "code": "grant_scope",
          "command": "gbrain sync status --source default --json",
          "docs": "docs/guides/write-refusals.md#drain-grant-scope",
          "eta_seconds": null,
          "fix": {
            "actor": "user",
            "argv": [
              "gbrain",
              "sync",
              "--source",
              "default",
              "--no-pull"
            ],
            "command": "gbrain sync --source default --no-pull",
            "consent": [],
            "next": "tell_user_to_run",
            "requires_exclusive": false,
            "user_message": "On the host that owns source default, run: gbrain sync --source default --no-pull",
            "verify": {
              "argv": [
                "gbrain",
                "sync",
                "status",
                "--source",
                "default",
                "--json"
              ]
            },
            "why": "Only the source's owner host finishes the pass."
          },
          "rate_pages_per_min": null,
          "retry_after_ms": 0,
          "safe_to_loop": false,
          "why": "This writer's grant covers only part of source default, so the pass admitted what it could see and cannot finish the source; the owner host's sync finishes it: gbrain sync --source default --no-pull."
        },
        "outcome": "blocked"
      },
      "exit": 1,
      "job": "needs_operator"
    },
    "not_converged (stop)": {
      "delegated": {
        "continuation_job_id": null,
        "drain": {
          "eta_seconds": null,
          "outcome": "resumable",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": 1,
          "stop_reason": "not_converged",
          "waived": 0,
          "written": 0
        },
        "incomplete": true,
        "next": {
          "code": "not_converged",
          "command": "gbrain sync --source default --no-pull",
          "docs": "docs/guides/write-refusals.md#drain-not-converged",
          "eta_seconds": null,
          "fix": {
            "actor": "agent",
            "argv": [
              "gbrain",
              "sync",
              "--source",
              "default",
              "--no-pull"
            ],
            "command": "gbrain sync --source default --no-pull",
            "consent": [],
            "next": "run",
            "requires_exclusive": false,
            "verify": {
              "argv": [
                "gbrain",
                "sync",
                "status",
                "--source",
                "default",
                "--json"
              ]
            },
            "why": "Reruns the pass; it starts from what the last one settled."
          },
          "rate_pages_per_min": null,
          "retry_after_ms": 0,
          "safe_to_loop": true,
          "why": "The pass ran 4 rounds without the level settling (another writer kept changing it); everything it admitted stands. The next sync reads the level again: rerun gbrain sync --source default --no-pull."
        },
        "outcome": "resumable",
        "pagesAffected": []
      },
      "direct": {
        "drain": {
          "eta_seconds": null,
          "outcome": "resumable",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": 1,
          "stop_reason": "not_converged",
          "waived": 0,
          "written": 0
        },
        "next": {
          "code": "not_converged",
          "command": "gbrain sync --source default --no-pull",
          "docs": "docs/guides/write-refusals.md#drain-not-converged",
          "eta_seconds": null,
          "fix": {
            "actor": "agent",
            "argv": [
              "gbrain",
              "sync",
              "--source",
              "default",
              "--no-pull"
            ],
            "command": "gbrain sync --source default --no-pull",
            "consent": [],
            "next": "run",
            "requires_exclusive": false,
            "verify": {
              "argv": [
                "gbrain",
                "sync",
                "status",
                "--source",
                "default",
                "--json"
              ]
            },
            "why": "Reruns the pass; it starts from what the last one settled."
          },
          "rate_pages_per_min": null,
          "retry_after_ms": 0,
          "safe_to_loop": true,
          "why": "The pass ran 4 rounds without the level settling (another writer kept changing it); everything it admitted stands. The next sync reads the level again: rerun gbrain sync --source default --no-pull."
        },
        "outcome": "resumable"
      },
      "exit": 0,
      "job": "continue"
    },
    "not_converged after a 3-pass streak": {
      "delegated": {
        "continuation_job_id": null,
        "drain": {
          "eta_seconds": null,
          "outcome": "resumable",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": 1,
          "stop_reason": "not_converged",
          "waived": 0,
          "written": 0
        },
        "incomplete": true,
        "next": {
          "code": "not_converged",
          "command": "gbrain sync status --source default --json",
          "docs": "docs/guides/write-refusals.md#drain-not-converged",
          "eta_seconds": null,
          "fix": {
            "actor": "agent",
            "consent": [],
            "next": "report",
            "requires_exclusive": false,
            "verify": {
              "argv": [
                "gbrain",
                "sync",
                "status",
                "--source",
                "default",
                "--json"
              ]
            },
            "why": "3 consecutive passes did not converge; report it instead of rerunning."
          },
          "rate_pages_per_min": null,
          "retry_after_ms": 0,
          "safe_to_loop": false,
          "why": "3 passes in a row ended without the level settling, so rerunning is not converging. Report it with the status (read-only) and gbrain doctor --json; the writer changing the checkout is named there."
        },
        "outcome": "resumable",
        "pagesAffected": []
      },
      "direct": {
        "drain": {
          "eta_seconds": null,
          "outcome": "resumable",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": 1,
          "stop_reason": "not_converged",
          "waived": 0,
          "written": 0
        },
        "next": {
          "code": "not_converged",
          "command": "gbrain sync status --source default --json",
          "docs": "docs/guides/write-refusals.md#drain-not-converged",
          "eta_seconds": null,
          "fix": {
            "actor": "agent",
            "consent": [],
            "next": "report",
            "requires_exclusive": false,
            "verify": {
              "argv": [
                "gbrain",
                "sync",
                "status",
                "--source",
                "default",
                "--json"
              ]
            },
            "why": "3 consecutive passes did not converge; report it instead of rerunning."
          },
          "rate_pages_per_min": null,
          "retry_after_ms": 0,
          "safe_to_loop": false,
          "why": "3 passes in a row ended without the level settling, so rerunning is not converging. Report it with the status (read-only) and gbrain doctor --json; the writer changing the checkout is named there."
        },
        "outcome": "resumable"
      },
      "exit": 0,
      "job": "needs_operator"
    },
    "reconcile_host_required (stop)": {
      "delegated": {
        "continuation_job_id": null,
        "drain": {
          "eta_seconds": null,
          "outcome": "blocked",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": 1,
          "stop_reason": "reconcile_host_required",
          "waived": 0,
          "written": 0
        },
        "incomplete": true,
        "next": {
          "code": "reconcile_host_required",
          "command": "gbrain sync status --source default --json",
          "docs": "docs/guides/write-refusals.md#drain-reconcile-host-required",
          "eta_seconds": null,
          "fix": {
            "actor": "user",
            "argv": [
              "gbrain",
              "sync",
              "--source",
              "default",
              "--no-pull"
            ],
            "command": "gbrain sync --source default --no-pull",
            "consent": [],
            "next": "tell_user_to_run",
            "requires_exclusive": false,
            "user_message": "On the host that owns source default, run: gbrain sync --source default --no-pull",
            "verify": {
              "argv": [
                "gbrain",
                "sync",
                "status",
                "--source",
                "default",
                "--json"
              ]
            },
            "why": "Only the source's owner host finishes the pass."
          },
          "rate_pages_per_min": null,
          "retry_after_ms": 0,
          "safe_to_loop": false,
          "why": "What is left in source default needs the owner host (holds, markers or decisions a remote caller never writes); everything this run admitted stands. On the owner host run: gbrain sync --source default --no-pull."
        },
        "outcome": "blocked",
        "pagesAffected": []
      },
      "direct": {
        "drain": {
          "eta_seconds": null,
          "outcome": "blocked",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": 1,
          "stop_reason": "reconcile_host_required",
          "waived": 0,
          "written": 0
        },
        "next": {
          "code": "reconcile_host_required",
          "command": "gbrain sync status --source default --json",
          "docs": "docs/guides/write-refusals.md#drain-reconcile-host-required",
          "eta_seconds": null,
          "fix": {
            "actor": "user",
            "argv": [
              "gbrain",
              "sync",
              "--source",
              "default",
              "--no-pull"
            ],
            "command": "gbrain sync --source default --no-pull",
            "consent": [],
            "next": "tell_user_to_run",
            "requires_exclusive": false,
            "user_message": "On the host that owns source default, run: gbrain sync --source default --no-pull",
            "verify": {
              "argv": [
                "gbrain",
                "sync",
                "status",
                "--source",
                "default",
                "--json"
              ]
            },
            "why": "Only the source's owner host finishes the pass."
          },
          "rate_pages_per_min": null,
          "retry_after_ms": 0,
          "safe_to_loop": false,
          "why": "What is left in source default needs the owner host (holds, markers or decisions a remote caller never writes); everything this run admitted stands. On the owner host run: gbrain sync --source default --no-pull."
        },
        "outcome": "blocked"
      },
      "exit": 1,
      "job": "needs_operator"
    },
    "reconcile_read_incomplete (stop)": {
      "delegated": {
        "continuation_job_id": null,
        "drain": {
          "eta_seconds": null,
          "outcome": "blocked",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": null,
          "stop_reason": "reconcile_read_incomplete",
          "waived": 0,
          "written": 0
        },
        "incomplete": true,
        "next": {
          "code": "reconcile_read_incomplete",
          "command": "gbrain sync status --source default --json",
          "docs": "docs/guides/write-refusals.md#drain-reconcile-read-incomplete",
          "eta_seconds": null,
          "fix": {
            "actor": "agent",
            "consent": [],
            "next": "report",
            "requires_exclusive": false,
            "verify": {
              "argv": [
                "gbrain",
                "sync",
                "status",
                "--source",
                "default",
                "--json"
              ]
            },
            "why": "The checkout could not be listed; report it with gbrain doctor --json."
          },
          "rate_pages_per_min": null,
          "retry_after_ms": 0,
          "safe_to_loop": false,
          "why": "A Git listing of source default's checkout did not finish cleanly, so the pass classified nothing and wrote nothing. Check the checkout (git status), then report it with gbrain doctor --json if it repeats."
        },
        "outcome": "blocked",
        "pagesAffected": []
      },
      "direct": {
        "drain": {
          "eta_seconds": null,
          "outcome": "blocked",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": null,
          "stop_reason": "reconcile_read_incomplete",
          "waived": 0,
          "written": 0
        },
        "next": {
          "code": "reconcile_read_incomplete",
          "command": "gbrain sync status --source default --json",
          "docs": "docs/guides/write-refusals.md#drain-reconcile-read-incomplete",
          "eta_seconds": null,
          "fix": {
            "actor": "agent",
            "consent": [],
            "next": "report",
            "requires_exclusive": false,
            "verify": {
              "argv": [
                "gbrain",
                "sync",
                "status",
                "--source",
                "default",
                "--json"
              ]
            },
            "why": "The checkout could not be listed; report it with gbrain doctor --json."
          },
          "rate_pages_per_min": null,
          "retry_after_ms": 0,
          "safe_to_loop": false,
          "why": "A Git listing of source default's checkout did not finish cleanly, so the pass classified nothing and wrote nothing. Check the checkout (git status), then report it with gbrain doctor --json if it repeats."
        },
        "outcome": "blocked"
      },
      "exit": 1,
      "job": "needs_operator"
    },
    "scoped pass converged (selection_scoped)": {
      "delegated": {
        "drain": {
          "eta_seconds": null,
          "outcome": "synced",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": 0,
          "waived": 0,
          "written": 0
        },
        "incomplete": false,
        "outcome": "synced",
        "pagesAffected": []
      },
      "direct": {
        "drain": {
          "eta_seconds": null,
          "outcome": "synced",
          "passes": 1,
          "processed": 0,
          "rate_pages_per_min": null,
          "remaining": 0,
          "waived": 0,
          "written": 0
        },
        "outcome": "synced"
      },
      "exit": 0,
      "job": "synced"
    }
  },
  "normalizer": "sync-pass-outcomes-v1"
}