Skip to content

docs(handoff): Z890 DB-lane live-apply → Knuckles (Z890 reinstall) - #1943

Merged
POWERFULMOVES merged 1 commit into
mainfrom
docs/knuckles-db-lane-handoff-2026-07-02
Jul 2, 2026
Merged

POWERFULMOVES merged 1 commit into
mainfrom
docs/knuckles-db-lane-handoff-2026-07-02

Conversation

@POWERFULMOVES

Copy link
Copy Markdown
Owner

What

Reassigns the parked Supabase DB-lane live-apply work from Z890 (being reinstalled — Windows) to Knuckles (B850).

Z890 had mirrored the voice migrations into supabase/migrations/ (#1909) but deferred the live supabase-bootstrap (CHIT/data-tier gate), and two source writes from the #1920 handoff never landed. Verified on main today:

This live apply is the single gate on 4090's first persona voice.

Handoff actions (in the doc)

  1. Patch the P1 breaker 20250204… → TO service_role USING(true)
  2. Mirror v5_18 via make db-apply-migration + allowlist in sql-policy-lint
  3. Run live make -C pmoves supabase-bootstrap → creates + seeds pmoves_core.voice_profiles
  4. RELEASE line in AGNOTE → unblocks 4090 S3 persona voice

Supersedes the Z890-addressed handoffs #1907 / #1920.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

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

Next review available in: 13 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

Run ID: 8a682001-7b22-4a12-bce5-e0636f2138c3

📥 Commits

Reviewing files that changed from the base of the PR and between 9ab169a and 3e6b63b.

📒 Files selected for processing (1)
  • pmoves/docs/handoffs/knuckles-db-lane-handoff-2026-07-02.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/knuckles-db-lane-handoff-2026-07-02

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@POWERFULMOVES
POWERFULMOVES merged commit 7135c39 into main Jul 2, 2026
11 of 13 checks passed
@POWERFULMOVES
POWERFULMOVES deleted the docs/knuckles-db-lane-handoff-2026-07-02 branch July 2, 2026 09:23

@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: 3e6b63b7e9

ℹ️ 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".

This iterates `supabase/migrations/*.sql` then `supabase/initdb/*.sql`, idempotent via the
`public.pmoves_bootstrap_history (kind, filename)` ledger (already-applied rows are skipped —
safe re-run). It applies, in one pass:
- the voice schema (v5_16/v5_17 + anon-grant) → **creates + seeds `pmoves_core.voice_profiles`**,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Add the missing voice profile seed step

Following Action 3 will not populate profiles: I checked the mirrored v5_16 migration (pmoves/supabase/migrations/20260628000000_voice_catalog.sql) and repo-wide SQL/Python references, and there is no INSERT/seed for pmoves_core.voice_profiles, only DDL/grants. In this handoff scenario the bootstrap can create the table but SELECT count(*) remains 0, so persona/profile routing stays blocked unless this document adds the actual seed/register step before the RELEASE instruction.

Useful? React with 👍 / 👎.

## Action 3 — run the live apply + verify

```
make -C pmoves supabase-bootstrap # or supabase-bootstrap-no-start

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Remove no-start as an equivalent live-apply path

For the alternate supabase-bootstrap-no-start path, I checked pmoves/Makefile:688-715: it runs _psql < "$migration" without -v ON_ERROR_STOP=1 and then records the migration when psql exits successfully; PostgreSQL documents that script errors only produce the dedicated failure status when ON_ERROR_STOP is set. If Knuckles uses this path on the live DB and a nonfatal SQL statement fails, the bootstrap ledger can mark a partially applied migration as applied, so this handoff should either require the fail-fast target or first fix the no-start wrapper.

Useful? React with 👍 / 👎.

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