Skip to content

docs: recover governance incident runbook#706

Merged
BigSimmo merged 3 commits into
mainfrom
codex/historical-branch-cleanup-20260717
Jul 17, 2026
Merged

docs: recover governance incident runbook#706
BigSimmo merged 3 commits into
mainfrom
codex/historical-branch-cleanup-20260717

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • recover the still-useful governance incident-response checklists from the historical governance branch
  • add the runbook to the documentation index
  • record the exact historical branch-cleanup disposition

Why

The historical branch mixed obsolete implementation work with one durable operational artifact. Recovering only the runbook preserves useful governance guidance without reintroducing superseded code.

Files

  • docs/governance-incident-runbooks.md
  • docs/README.md
  • docs/branch-review-ledger.md

Verification

  • npx prettier --check docs/README.md docs/branch-review-ledger.md docs/governance-incident-runbooks.md — passed
  • npm run docs:check-links — passed; 824 references resolved
  • npm run docs:check-scripts — passed; 264 npm script references resolved
  • git diff --check — passed

Checks not run

No application, browser, clinical, Supabase, or provider-backed checks were run because this is a documentation-only recovery.

Risk

Low. The change adds operator documentation and ledger metadata only; it does not alter runtime behavior.

Summary by CodeRabbit

  • Documentation
    • Added operator checklists for responding to clinical, source, privacy, provider, and answer-pipeline incidents.
    • Updated the governance and safety index with a link to the new incident runbooks.
    • Recorded historical branch maintenance and review details in the project ledger.

@supabase

supabase Bot commented Jul 17, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project sjrfecxgysukkwxsowpy because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@BigSimmo, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 20 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 2ab84d80-36f7-4c7b-babf-886c3bbab477

📥 Commits

Reviewing files that changed from the base of the PR and between 300acba and cd1ce62.

📒 Files selected for processing (3)
  • docs/README.md
  • docs/branch-review-ledger.md
  • docs/governance-incident-runbooks.md
📝 Walkthrough

Walkthrough

Added governance incident-response runbooks, linked them from the documentation index, and recorded the related historical branch cleanup in the review ledger.

Changes

Governance documentation

Layer / File(s) Summary
Incident runbooks and documentation index
docs/governance-incident-runbooks.md, docs/README.md
Adds operator procedures for clinical output, source, privacy/provider, and answer-pipeline incidents, with evidence preservation, quarantine, validation, and release gates; the documentation index links to the new runbooks.
Historical cleanup ledger record
docs/branch-review-ledger.md
Documents the 2026-07-17 branch and worktree cleanup, preserved references, runbook recovery, protected open PRs, and the absence of live workflows.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

  • BigSimmo/Database#446: Updates the branch-review ledger and related review-protocol documentation.
  • BigSimmo/Database#657: Documents similar branch-cleanup records and retention mechanics in the same ledger.
  • BigSimmo/Database#584: Restructures the documentation index covering governance, safety, and privacy topics.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately summarizes the main change: recovering the governance incident runbook documentation.
Description check ✅ Passed The description is mostly complete with summary, rationale, files, verification, risk, and no critical sections are missing.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/historical-branch-cleanup-20260717

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/governance-incident-runbooks.md`:
- Around line 24-27: Update the incident runbook step covering raw query/answer
persistence and provider-response storage to fail closed: explicitly disable
either path if found enabled, then verify both settings are off before
proceeding to cache and telemetry retention assessment. Keep the existing
escalation guidance unchanged.

In `@docs/README.md`:
- Line 47: Update the governance-incident-runbooks.md index entry in
docs/README.md to mention answer-pipeline rollback alongside the existing
incident categories, preserving the link and current description.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 32b19124-9350-47ad-a37e-c4528ee38166

📥 Commits

Reviewing files that changed from the base of the PR and between e36ac0c and 300acba.

📒 Files selected for processing (3)
  • docs/README.md
  • docs/branch-review-ledger.md
  • docs/governance-incident-runbooks.md

Comment thread docs/governance-incident-runbooks.md Outdated
Comment thread docs/README.md Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 300acbacc4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/governance-incident-runbooks.md Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fec0aa6367

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/governance-incident-runbooks.md Outdated
Comment thread docs/governance-incident-runbooks.md Outdated
@BigSimmo
BigSimmo merged commit 2056b94 into main Jul 17, 2026
24 checks passed
@BigSimmo
BigSimmo deleted the codex/historical-branch-cleanup-20260717 branch July 17, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant