fix(beads): keep bootstrap on agentv-beads#1461
Closed
christso wants to merge 2 commits into
Closed
Conversation
Restore the tracked Beads metadata descriptor so existing embedded Dolt checkouts resolve the av database while bootstrap continues to use the configured sync remote.
Deploying agentv with
|
| 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 |
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
sync.remoteto.beads/config.yamlsobd bootstrapchoosesEntityProcess/agentv-beadsinstead of the code repo whenEntityProcess/agentvstill advertisesrefs/dolt/data..beads/metadata.jsonidentity descriptor fromorigin/main, becausebdcurrently getsdolt_database: avandproject_idfrom metadata and does not honor those keys fromconfig.yaml.origin/mainas only thesync.remoteline.Verification
bd bootstrap --dry-run --jsonplannedaction: sync,database: av,sync_remote: git+https://github.com/EntityProcess/agentv-beads.git.bd bootstrap --yessynced fromagentv-beads;bd --readonly countreturned222;bd --readonly list --limit 5 --no-pagerreturned realav-*issues.bd context --jsonresolved databaseav;bd --readonly countreturned222; list returnedav-*issues without running bootstrap.beads, count0, no issues.git diff --checkandgit diff --check origin/main...HEADpassed.Notes
Review finding:
federation.remoteis not enough for bootstrap;bd bootstrapkeys offsync.remote. Also, until upstreambdcan express database identity in tracked config,.beads/metadata.jsonis not disposable for this repo.