Skip to content

fix(beads): keep bootstrap on agentv-beads#1461

Closed
christso wants to merge 2 commits into
av-21i-beads-workmux-hardeningfrom
fix-av-21i-metadata-identity
Closed

fix(beads): keep bootstrap on agentv-beads#1461
christso wants to merge 2 commits into
av-21i-beads-workmux-hardeningfrom
fix-av-21i-metadata-identity

Conversation

@christso

Copy link
Copy Markdown
Collaborator

Summary

Stacked fix for PR #1460 after review/dogfood found two Beads identity regressions.

This keeps PR #1460 from mutating the user-owned branch directly while making the correction reviewable.

What changed

  • Adds sync.remote to .beads/config.yaml so bd bootstrap chooses EntityProcess/agentv-beads instead of the code repo when EntityProcess/agentv still advertises refs/dolt/data.
  • Restores the stable .beads/metadata.json identity descriptor from origin/main, because bd currently gets dolt_database: av and project_id from metadata and does not honor those keys from config.yaml.
  • Cancels the contradictory docs/ignore changes from PR fix(beads): harden worktree identity checks #1460, leaving the net diff against origin/main as only the sync.remote line.

Verification

  • Fresh temp clone with staged fix: bd bootstrap --dry-run --json planned action: sync, database: av, sync_remote: git+https://github.com/EntityProcess/agentv-beads.git.
  • Fresh temp clone actual bootstrap: bd bootstrap --yes synced from agentv-beads; bd --readonly count returned 222; bd --readonly list --limit 5 --no-pager returned real av-* issues.
  • Existing embedded-Dolt fixture with restored metadata: bd context --json resolved database av; bd --readonly count returned 222; list returned av-* issues without running bootstrap.
  • Red check with same embedded store and missing metadata reproduced the failure: default database beads, count 0, no issues.
  • git diff --check and git diff --check origin/main...HEAD passed.

Notes

Review finding: federation.remote is not enough for bootstrap; bd bootstrap keys off sync.remote. Also, until upstream bd can express database identity in tracked config, .beads/metadata.json is not disposable for this repo.

christso added 2 commits June 21, 2026 08:17
Restore the tracked Beads metadata descriptor so existing embedded Dolt checkouts resolve the av database while bootstrap continues to use the configured sync remote.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 02fd56e
Status: ✅  Deploy successful!
Preview URL: https://c949a372.agentv.pages.dev
Branch Preview URL: https://fix-av-21i-metadata-identity.agentv.pages.dev

View logs

@christso

Copy link
Copy Markdown
Collaborator Author

Closing this stacked draft as obsolete. PR #1460 changed shape after review and now keeps live Beads config local / moves developer guidance to the shared Beads skill, so this branch conflicts with the current intended approach. The remaining active PR is #1460.

@christso christso closed this Jun 21, 2026
@christso christso deleted the fix-av-21i-metadata-identity branch June 21, 2026 07:18
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