Skip to content

fix(ci): allow SQLite schema contract inspection - #105591

Merged
steipete merged 1 commit into
mainfrom
codex/fix-sqlite-schema-contract-guard
Jul 12, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/fix-sqlite-schema-contract-guard

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

The architecture CI lane on current main fails after #105583 because the new SQLite schema-contract inspector performs intentional raw node:sqlite metadata queries without being listed as an approved SQLite boundary.

Why This Change Was Made

Add src/infra/sqlite-schema-contract.ts to the existing lifecycle/schema/transaction/pragma allowlist group. This is the narrow owner-boundary fix: the module must execute generated DDL in an in-memory database and inspect SQLite-native schema metadata, while the guard continues rejecting raw SQLite access everywhere else.

User Impact

No runtime behavior changes. Architecture CI accepts the intentional schema-inspection boundary introduced by #105583 and remains fail-closed for other raw SQLite access.

Evidence

AI-assisted change.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Jul 12, 2026
@steipete
steipete force-pushed the codex/fix-sqlite-schema-contract-guard branch from e8e065e to f425474 Compare July 12, 2026 18:18
@clawsweeper

clawsweeper Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head e8e065e317c17a5bed6c81561caf77f06aa612a1, but the PR head is now f4254746ad2b3a5beb2c3450a26748dfe75b449b. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready proof for f4254746ad2b3a5beb2c3450a26748dfe75b449b:

No runtime, config, documentation, or changelog surface changes.

@steipete
steipete merged commit e0aba31 into main Jul 12, 2026
88 checks passed
@steipete
steipete deleted the codex/fix-sqlite-schema-contract-guard branch July 12, 2026 18:26
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant