Skip to content

docs: propose material SQLite discussion checkpoint - #1235

Merged
brokemac79 merged 1 commit into
mainfrom
codex/csw-138-sqlite-policy-draft
Aug 24, 2026
Merged

brokemac79 merged 1 commit into
mainfrom
codex/csw-138-sqlite-policy-draft

Conversation

@brokemac79

@brokemac79 brokemac79 commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1234

What Problem This Solves

OpenClaw needs an explicit, human-owned checkpoint before maintainers consider
material SQLite, schema, or persistent-store changes for merge. Without a
durable proposal, the boundary between routine storage maintenance and a new
persistence contract is difficult to discuss consistently.

Why This Change Was Made

This draft records the CSW-138 policy proposal as a proposed, noncanonical
ClawSweeper documentation page and makes it discoverable from the documentation
index. It defines material triggers, exclusions, an exception route, and a
strictly advisory future role for ClawSweeper.

It does not change the persistent-data classifier, request review, add or
automate labels, change a workflow, alter merge authority, or re-evaluate any
historical OpenClaw PR. openclaw/openclaw maintainers remain the policy owner;
this page cannot become active policy or authorize detection until the four
listed approvals are recorded.

User Impact

No current user, contributor, or automation behavior changes. Maintainers have
a concrete draft to approve, amend, or reject before any enforcement work is
started.

Evidence

  • git diff --check passed.
  • pnpm run check:docs passed after staging the new page, validating Markdown
    links and the documentation lifecycle manifest.
  • Codex pre-commit review: clean; no findings.
  • Codex committed-range review against origin/main: clean; no findings.

Risks and rollout

The only change is a noindex proposed documentation page. It grants no execute,
label, review, merge, or apply permission; OpenClaw Bay and production behavior
are unaffected.

Proposed linked changes in openclaw/openclaw

After maintainers approve the policy threshold and exception route, a separate
docs-only OpenClaw PR should establish the canonical policy:

  • docs/reference/database-schemas.md: add the complete material-change
    definition, required decision record, low-risk exclusions, and urgent
    bug/security/recovery exception route.
  • CONTRIBUTING.md: add one concise Before You PR requirement to link the
    approved discussion for material SQLite or persistent-store changes.
  • AGENTS.md: broaden the existing schema-version-bump discussion rule to
    cover material same-version additions such as new tables, projections,
    retention, concurrency, recovery, and user-visible persistence semantics,
    while linking to the canonical database-schema reference.

Do not initially change .github/pull_request_template.md; a repository-wide
checkbox would affect unrelated PRs and can be considered later if maintainers
want stronger visibility. The linked OpenClaw policy PR should not change
runtime code, schemas, labels, or CHANGELOG.md.

Once that OpenClaw policy lands, update this ClawSweeper proposal to cite the
canonical document. Any advisory detector remains a separate, explicitly
authorized implementation PR with its own false-positive controls, tests, and
behavior proof.

Approval needed before any follow-up

  1. Confirm that the policy belongs in the openclaw/openclaw contributor/PR
    process.
  2. Approve the material-change threshold and exception route.
  3. Approve use of the existing clawsweeper:needs-product-decision and
    clawsweeper:needs-maintainer-review labels without adding a broad SQLite
    label.
  4. Separately authorize any advisory-only ClawSweeper detection implementation.

@clawsweeper

clawsweeper Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 24, 2026
@clawsweeper

clawsweeper Bot commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed August 24, 2026, 2:24 PM ET / 18:24 UTC.

ClawSweeper review

What this changes

Adds a proposed, noncanonical documentation page for a material SQLite-change discussion checkpoint, with lifecycle-manifest and documentation-index entries.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep this draft open for an explicit product-direction decision. The patch safely records a non-enforcing proposal, but its intended policy belongs to the OpenClaw contributor process and the linked proposal remains awaiting that sponsor decision.

Priority: P3
Reviewed head: 5c71dcde89f20179dc4db40e79d3f91a7d62c350
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The documentation implementation is focused and lifecycle-safe; merge readiness depends on the outstanding product-direction decision rather than a patch defect.
Proof confidence 🌊 off-meta tidepool Not applicable: Docs-only change; the stated diff and documentation-link checks are the relevant validation, with no changed runtime behavior to demonstrate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Docs-only change; the stated diff and documentation-link checks are the relevant validation, with no changed runtime behavior to demonstrate.
Evidence reviewed 5 items Proposal is explicitly non-enforcing: The added page says it is not current OpenClaw contributor policy and cannot authorize ClawSweeper to block, label, close, or merge PRs.
Documentation lifecycle protects discovery: The page is classified as proposed, while the current main documentation builder renders noncanonical pages with noindex metadata.
Current main does not already contain this proposal: A current-main search found no material-SQLite checkpoint or CSW-138 page; the new page is not an implemented-on-main duplicate.
Findings None None.
Security None None.

How this fits together

The documentation pipeline classifies Markdown pages through a lifecycle manifest before rendering the public site. This change feeds a proposed policy page into that pipeline, producing a noindex, bannered reference rather than changing review or merge behavior.

flowchart LR
  A[Maintainer policy proposal] --> B[Proposed documentation page]
  B --> C[Documentation index]
  B --> D[Lifecycle manifest]
  D --> E[Static documentation build]
  E --> F[Bannered noindex reference]
Loading

Decision needed

Question Recommendation
Should this noncanonical ClawSweeper proposal remain a draft until OpenClaw maintainers sponsor the material SQLite discussion checkpoint in their contributor process? Keep the proposal as a draft: Wait for an OpenClaw maintainer decision on the linked policy proposal before merging or implementing any related detector.

Why: The patch deliberately avoids enforcement, but only OpenClaw maintainers can decide whether the threshold, exception route, and contributor-process placement should become policy.

Before merge

  • Add real behavior proof - Not applicable: Docs-only change; the stated diff and documentation-link checks are the relevant validation, with no changed runtime behavior to demonstrate.
  • Resolve merge risk (P1) - The proposed policy is owned by OpenClaw’s contributor process; landing the draft without a sponsor decision could leave a visible local proposal that readers mistake for an accepted cross-repository policy.
  • Complete next step (P2) - A maintainer must choose the cross-repository policy direction before a repair or implementation lane can act.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Documentation lifecycle surface 1 new proposed page, 1 manifest entry, 1 index entry The complete patch is limited to lifecycle-safe documentation discovery and does not alter runtime or automation code.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #1234
Summary: This PR is the linked documentation candidate for the open policy-direction issue; it cannot resolve that issue until maintainers make the requested decision.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Have OpenClaw maintainers decide the policy direction in CSW-138: propose maintainer checkpoint for material SQLite changes #1234, then either establish the approved process in OpenClaw’s canonical contributor documentation or retire this proposal.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Have OpenClaw maintainers decide the policy direction in #1234, then either establish the approved process in OpenClaw’s canonical contributor documentation or retire this proposal.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this is a documentation and policy-direction proposal, not a report of broken runtime behavior.

Is this the best way to solve the issue?

Unclear: the lifecycle treatment is appropriately narrow, but maintainers must decide whether the proposed OpenClaw policy should exist before this reference becomes useful.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against ce250708c1ea.

Labels

Label justifications:

  • P3: This is a non-enforcing process proposal with no current user, runtime, or automation behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Docs-only change; the stated diff and documentation-link checks are the relevant validation, with no changed runtime behavior to demonstrate.

Evidence

What I checked:

Likely related people:

  • Martin Cleary: Recent main history updated both the documentation lifecycle manifest and close-policy index. (role: recent documentation and policy contributor; confidence: high; commits: 023046ec0354; files: config/documentation-site.json, docs/README.md)
  • Peter Steinberger: History shows a substantial documentation and proof-surface update touching the current documentation system. (role: documentation-system contributor; confidence: medium; commits: c06a897aadd7; files: config/documentation-site.json, docs/README.md)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-24T18:06:01.990Z sha 5c71dcd :: needs real behavior proof before merge. :: none

@clawsweeper

clawsweeper Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: docs: propose material SQLite discussion checkpoint This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@brokemac79
brokemac79 merged commit ed20a56 into main Aug 24, 2026
19 checks passed
@brokemac79
brokemac79 deleted the codex/csw-138-sqlite-policy-draft branch August 24, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSW-138: propose maintainer checkpoint for material SQLite changes

1 participant