Skip to content

release: Open Brain 1.0.2 with packaged database bootstrap - #63

Merged
benclawbot merged 16 commits into
masterfrom
fix/pipx-schema-bootstrap
Sep 7, 2026
Merged

release: Open Brain 1.0.2 with packaged database bootstrap#63
benclawbot merged 16 commits into
masterfrom
fix/pipx-schema-bootstrap

Conversation

@benclawbot

@benclawbot benclawbot commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #54.

This prepares Open Brain 1.0.2 and fixes the remaining standalone pip/pipx database bootstrap gap.

Database bootstrap

  • adds src/db/migrations/001_base_schema.sql, so the packaged migration chain can initialize an empty PostgreSQL + pgvector database
  • adds openbrain migrate for installed CLI users
  • keeps initialization on the existing checksum-protected migration ledger and uses idempotent base-schema SQL
  • adds regression coverage for packaged migration availability, pre-attribution upgrade ordering, and CLI success/failure behavior
  • updates README and installation docs with the standalone bootstrap flow

CI reliability

  • fixes e2e pytest collection so a missing API stack skips the integration suite instead of aborting ordinary pytest collection

Release 1.0.2

  • bumps the Python package and Hermes plugin to 1.0.2
  • updates README release metadata and CHANGELOG, including the missing 1.0.1 entry
  • extends the existing Verify workflow with a release job that runs only after tests succeed on a trusted push to master
  • keeps test permissions read-only and grants contents: write only to that post-verify release job
  • builds and smoke-tests the release package, then creates v1.0.2 and attaches the wheel and source distribution if the release does not already exist

This supersedes #57: merely packaging schema.sql would make the file available but would not make the installed migration runner apply it.

@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: 7cf4ee7b8c

ℹ️ 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 src/db/migrations/001_base_schema.sql Outdated
@benclawbot benclawbot changed the title fix: bootstrap empty databases from packaged migrations release: Open Brain 1.0.2 with packaged database bootstrap Sep 7, 2026
Comment thread .github/workflows/release.yml Fixed
@benclawbot
benclawbot merged commit 02a7e65 into master Sep 7, 2026
5 checks passed
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.

src/db/schema.sql is not included in the built package — pipx installs cannot bootstrap the base schema

2 participants