Repository navigation
chore(beads): adopt Dolt-backed sync via refs/dolt/data; stop tracking issues.jsonl - #117
Conversation
…g issues.jsonl Owner decision 2026-11-24: cdk-constructs uses the same Dolt-backed Beads synchronization model as Jedi Duel. The Dolt database is authoritative and syncs through refs/dolt/data and the __dolt_remote_info__ branch (bd dolt push/pull); the committed JSONL export is no longer the store. - untrack .beads/issues.jsonl and ignore JSONL exports - config: drop export.auto and no-git-ops (stealth mode); keep sync.remote and dolt.auto-push false - CLAUDE.md: Beads storage, sync rules, fresh-clone bootstrap, agent roles Verified before this commit: 50 issues / 104 dependency edges identical (content and dependency digests) between the pre-migration export and a fresh clone bootstrapped from the remote; two-way push/pull tested. Beads: cdkc-lqw Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex review — focus: (1) that untracking .beads/issues.jsonl and the config change (removing export.auto and no-git-ops) cannot lose Beads records or break bd bootstrap from the Dolt remote; (2) accuracy of the new CLAUDE.md Beads section. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Beads:
cdkc-lqw.Summary
Owner decision (2026-11-24): this repository now uses the same Dolt-backed Beads synchronization model as Jedi Duel. The embedded Dolt database is authoritative and synchronizes through
refs/dolt/dataand the Beads-managed__dolt_remote_info__branch (bd dolt push/bd dolt pull). The committed.beads/issues.jsonlexport is no longer the store.Stop tracking
.beads/issues.jsonl, and ignore JSONL exports (.beads/.gitignore). The records themselves are not deleted; they live in the Dolt database and its remote..beads/config.yaml:export.auto: true/git-add, so no automatic JSONL export;no-git-ops: true(stealth mode);issue-prefix,sync.remoteanddolt.auto-push: false.This matches Jedi Duel's configuration.
CLAUDE.md: a new "Issue Tracking (Beads)" section covering storage and sync rules, the protected refs, no committed exports, fresh-clone bootstrap, and agent roles.Migration evidence (actually run, 2026-11-24)
Backup:
.beads/directory, includingembeddeddolt/and the localbackup/;bd exportof the pre-migration state.Both are kept outside the repository.
Remote refs inspected first: neither
refs/dolt/datanor__dolt_remote_info__existed (the earlier accidental refs had been deleted). Nothing was overwritten.Superset check: every record in
main's tracked.beads/issues.jsonl(39) exists in the database (50). No record existed only in Git. The 6 status differences are newer database states (3.0.0: drop net8/net9, update all dependencies, SDK and workflows, Compono-first tests #109 closed, gates closed, 3.0.0: LambdaFunctionConstruct alias name, alias-only permissions, public alias, scoped log policy, S3 artifacts #110/3.0.0: private static-assets construct (Block Public Access, CloudFront OAC, optional DNS, immutable deployment) #111 in progress).First push:
bd dolt push, no force. It createdrefs/dolt/data(d09d35a) andrefs/heads/__dolt_remote_info__(91d8ded).Fresh clone of
main:bd bootstrap --dry-runreported "clone from remote, Database: cdkc". Afterbd bootstrap --yes, 4,440 chunks were synced and the records matched the pre-migration export exactly:1f46150d…9d5211ef…The content digest covers id, title, status, type, priority, description, notes, acceptance criteria, labels, external ref, created/closed timestamps and close reason. No record was renumbered.
Two-way synchronization:
cdkc-lqwand pushed;Fresh clone of this branch (with no tracked JSONL): bootstrap again cloned from the remote and returned 51 records (50 +
cdkc-lqw), including the sync-test note.Open PRs
.beads/issues.jsonlexport was removed (the file was restored tomain's version), so it no longer touches Beads files..beads/.After merge
The primary checkout pulls
main. Its working copy then stops auto-exporting JSONL (export.autoremoved), and the untracked localissues.jsonlis ignored.No code, package, release or AWS change.
🤖 Generated with Claude Code