audit(runbooks): inventory runbook coverage — find modules without runbooks and orphan runbooks #760

Closed
opened 2026-06-08 23:08:40 +02:00 by ollama · 1 comment
Collaborator

Spec sources (whitelist)

  • modules/ directory listing — find modules with module.yaml but no runbook.md
  • modules/ directory listing — find modules with runbook.md but no module.yaml
  • AGENTS.md — runbook format expectations

Extracted context

Module runbooks are essential for ops/recovery procedures. Not all 88 modules may have runbooks. Some may have runbooks but no module manifest (inconsistent).

Scope

  1. Run: for d in modules/*/; do id=$(basename "$d"); [ "$id" = "INDEX.yaml" ] && continue; [ -f "$d/runbook.md" ] && echo "HAS_RUNBOOK $id" || echo "MISSING $id"; done
  2. Also check: for d in modules/*/; do [ -f "$d/runbook.md" ] && [ ! -f "$d/module.yaml" ] && echo "ORPHAN_RUNBOOK $id"; done
  3. Report counts and names of:
    • Modules WITH module.yaml but WITHOUT runbook.md
    • Orphan runbooks (runbook.md without module.yaml)
  4. Create follow-up issue for each gap

Acceptance criteria

  • Complete inventory of runbook coverage
  • Gap report: which modules need runbooks
  • Orphan report: which runbooks have no parent module

Do NOT read

  • Read module directory names only
  • Do not deep-read runbook content (just existence check)

Agent notes

  • Recommended executor: Gemini 3.5 Flash (pure investigation)
  • Size: Trivial (0 LOC — investigation + report)
  • Review tier: tier/trivial
  • Audit ref: state/audit/deepseek-2026-06-08-multiperspective.md §UR3
## Spec sources (whitelist) - `modules/` directory listing — find modules with `module.yaml` but no `runbook.md` - `modules/` directory listing — find modules with `runbook.md` but no `module.yaml` - `AGENTS.md` — runbook format expectations ## Extracted context Module runbooks are essential for ops/recovery procedures. Not all 88 modules may have runbooks. Some may have runbooks but no module manifest (inconsistent). ## Scope 1. Run: `for d in modules/*/; do id=$(basename "$d"); [ "$id" = "INDEX.yaml" ] && continue; [ -f "$d/runbook.md" ] && echo "HAS_RUNBOOK $id" || echo "MISSING $id"; done` 2. Also check: `for d in modules/*/; do [ -f "$d/runbook.md" ] && [ ! -f "$d/module.yaml" ] && echo "ORPHAN_RUNBOOK $id"; done` 3. Report counts and names of: - Modules WITH module.yaml but WITHOUT runbook.md - Orphan runbooks (runbook.md without module.yaml) 4. Create follow-up issue for each gap ## Acceptance criteria - [ ] Complete inventory of runbook coverage - [ ] Gap report: which modules need runbooks - [ ] Orphan report: which runbooks have no parent module ## Do NOT read - Read module directory names only - Do not deep-read runbook content (just existence check) ## Agent notes - Recommended executor: Gemini 3.5 Flash (pure investigation) - Size: Trivial (0 LOC — investigation + report) - Review tier: tier/trivial - Audit ref: state/audit/deepseek-2026-06-08-multiperspective.md §UR3
Collaborator

Iskra judgment

Field Value
Target pdurlej/platform#issue#760
Priority p2
Action observe
Scores reach 4 / impact 3 / confidence 5
Piotr fit high
Effort small
Labels judge/p2
Judge iskra via openclaw

Rationale: This is P2 observe-first docs/process hygiene because missing or orphaned runbooks weaken recovery readiness but the task is bounded to inventory and follow-up issues.

Caveat: Keep the work read-only except for separate follow-up issues, and do not inspect unrelated repo contents beyond the allowed module and runbook paths.

Structured openclaw.judge.v0 payload
<!-- openclaw.judge.v0 -->
{
  "confidence": 5,
  "effort_hint": "small",
  "escalation": {
    "kind": "none",
    "reason": ""
  },
  "evidence_refs": [
    {
      "note": "Issue scopes a runbook coverage inventory for modules with manifests but missing runbooks and runbooks without manifests.",
      "type": "forgejo",
      "value": "issue-title-body-labels-and-target-snapshot"
    },
    {
      "note": "Body provides bounded directory-listing checks and AGENTS.md format expectations as the only spec sources.",
      "type": "forgejo",
      "value": "issue-body-scope"
    },
    {
      "note": "Current labels mark the target as ready, docs/process chore, priority p2, and small size.",
      "type": "forgejo",
      "value": "issue-labels-and-target-snapshot"
    }
  ],
  "impact": 3,
  "judge_actor": {
    "name": "iskra",
    "runtime": "openclaw"
  },
  "judged_at": "2026-06-18T01:02:00Z",
  "labels_to_apply": [
    "judge/p2"
  ],
  "piotr_fit": "high",
  "priority": "p2",
  "rationale_summary": "This is P2 observe-first docs/process hygiene because missing or orphaned runbooks weaken recovery readiness but the task is bounded to inventory and follow-up issues.",
  "reach": 4,
  "recommended_next_action": "observe",
  "rerun_reason": "no_prior_judgment",
  "schema": "openclaw.judge.v0",
  "target": {
    "kind": "issue",
    "number": 760,
    "repo": "pdurlej/platform"
  },
  "target_snapshot": {
    "body_hash": "sha256:aaf2ee1949a0ef1ec40a7bf350e11bc5fc1cecf4026f2ea27382fa19330c005d",
    "commit_count": null,
    "evidence_hash": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "head_sha": null,
    "labels": [
      "domain:docs",
      "flow/ready",
      "kind/chore",
      "phase/03",
      "priority:p2",
      "risk/process",
      "size/small"
    ],
    "labels_hash": "sha256:ce019f490c735251a36b9edb662e718f5defa4e920a921467b983e92c8e7b592",
    "state": "open",
    "title_hash": "sha256:7bcfe3b6e0a115dc3a0fba1bb732b8e6574f60baf6fcd1e2c37871ae832227b8",
    "updated_at": "2026-06-18T00:06:36+02:00"
  },
  "top_caveat": "Keep the work read-only except for separate follow-up issues, and do not inspect unrelated repo contents beyond the allowed module and runbook paths."
}
<!-- /openclaw.judge.v0 -->
### Iskra judgment | Field | Value | | --- | --- | | Target | `pdurlej/platform#issue#760` | | Priority | p2 | | Action | observe | | Scores | reach 4 / impact 3 / confidence 5 | | Piotr fit | high | | Effort | small | | Labels | `judge/p2` | | Judge | `iskra` via `openclaw` | **Rationale:** This is P2 observe-first docs/process hygiene because missing or orphaned runbooks weaken recovery readiness but the task is bounded to inventory and follow-up issues. **Caveat:** Keep the work read-only except for separate follow-up issues, and do not inspect unrelated repo contents beyond the allowed module and runbook paths. <details> <summary>Structured openclaw.judge.v0 payload</summary> ```json <!-- openclaw.judge.v0 --> { "confidence": 5, "effort_hint": "small", "escalation": { "kind": "none", "reason": "" }, "evidence_refs": [ { "note": "Issue scopes a runbook coverage inventory for modules with manifests but missing runbooks and runbooks without manifests.", "type": "forgejo", "value": "issue-title-body-labels-and-target-snapshot" }, { "note": "Body provides bounded directory-listing checks and AGENTS.md format expectations as the only spec sources.", "type": "forgejo", "value": "issue-body-scope" }, { "note": "Current labels mark the target as ready, docs/process chore, priority p2, and small size.", "type": "forgejo", "value": "issue-labels-and-target-snapshot" } ], "impact": 3, "judge_actor": { "name": "iskra", "runtime": "openclaw" }, "judged_at": "2026-06-18T01:02:00Z", "labels_to_apply": [ "judge/p2" ], "piotr_fit": "high", "priority": "p2", "rationale_summary": "This is P2 observe-first docs/process hygiene because missing or orphaned runbooks weaken recovery readiness but the task is bounded to inventory and follow-up issues.", "reach": 4, "recommended_next_action": "observe", "rerun_reason": "no_prior_judgment", "schema": "openclaw.judge.v0", "target": { "kind": "issue", "number": 760, "repo": "pdurlej/platform" }, "target_snapshot": { "body_hash": "sha256:aaf2ee1949a0ef1ec40a7bf350e11bc5fc1cecf4026f2ea27382fa19330c005d", "commit_count": null, "evidence_hash": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "head_sha": null, "labels": [ "domain:docs", "flow/ready", "kind/chore", "phase/03", "priority:p2", "risk/process", "size/small" ], "labels_hash": "sha256:ce019f490c735251a36b9edb662e718f5defa4e920a921467b983e92c8e7b592", "state": "open", "title_hash": "sha256:7bcfe3b6e0a115dc3a0fba1bb732b8e6574f60baf6fcd1e2c37871ae832227b8", "updated_at": "2026-06-18T00:06:36+02:00" }, "top_caveat": "Keep the work read-only except for separate follow-up issues, and do not inspect unrelated repo contents beyond the allowed module and runbook paths." } <!-- /openclaw.judge.v0 --> ``` </details>
Sign in to join this conversation.
No labels
W6d-automerge-calibration
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
automerge-candidate
class/security-sensitive
cutover-gate
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
iterating
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
large-impact
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
meta
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
needs-operator-decision
needs-triage
not-ready
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
operator-emotional
owner-attention
phase/02
phase/03
priority:p0
priority:p1
priority:p2
priority:p3
proposed
ready-for-agent
ready-for-operator
recovery
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
risk/exposure
risk/process
risk/product
risk/runtime
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:operator-needed
status:parked
tier/full
tier/lite
tier/stacked
tier:0-platform-substrate
tier:1-iskra-value-layer
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pdurlej/platform#760
No description provided.