Make the debugging skill aware of doltlite backends (agnostic — detect + trace to the owning layer) - #1
Draft
Wldc4rd wants to merge 1 commit into
Draft
Conversation
Wldc4rd
force-pushed
the
doltlite-backend-plugin-awareness
branch
from
July 5, 2026 00:27
2c3fed6 to
2ed077e
Compare
Wldc4rd
force-pushed
the
doltlite-backend-plugin-awareness
branch
from
July 5, 2026 00:34
2ed077e to
616427f
Compare
…torializing) The pack modeled the data plane as the Dolt mysql sql-server (PROCESSLIST, a TCP port, DOLT_GC over the wire) and treated doltlite as a raw SQLite file. It had no notion of the DoltLite backend-plugin deployment: bd/gc run plain (unlinked) and speak to `bd-backend-doltlite serve` (stdio) + `gc-doltlite-fastpath serve`, store at `.beads/doltlite/*.db`, no TCP server. Keep the skill backend-agnostic — its job is to detect a store's backend and trace to the OWNING LAYER's repo, not to rank backends: - gas-stack-map: a "detect the backend FIRST" recipe (`.beads/metadata.json` is ground truth) listing the common backends + their repos, explicitly leaving the set open (others may exist). No official/default/legacy framing. - gc-diagnostic-toolkit: tag the sql-server section as dolt-only; give the doltlite section the plugin model — query via `bd sql` (not a raw `sqlite3` open), inspect the `…serve` procs + store dir, use DoltLite SQL maintenance functions; defer to the `beads-doltlite` skill for dolt_gc/flatten/locks/fastpath. - SKILL: reflect the pluggable backend in the stack tree. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Wldc4rd
force-pushed
the
doltlite-backend-plugin-awareness
branch
from
July 5, 2026 00:48
616427f to
a95e0ea
Compare
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.
Charlie's ask (2026-07-04): update gc-debug to accommodate cities on the new DoltLite backend-plugin — the pack assumed Dolt.
What was wrong
The skill modeled the data plane as the Dolt mysql sql-server (
SHOW PROCESSLIST, a TCP port,DOLT_GCover the wire) and treated doltlite as a generic raw SQLite file. It had no notion of the current backend-plugin deployment: bd/gc run plain (unlinked) and speak tobd-backend-doltlite serve(stdio) +gc-doltlite-fastpath serve; the store is.beads/doltlite/*.db; there is no TCP server to introspect.What changed (docs only, 3 files)
.beads/metadata.jsonis ground truth) + the data plane split into the three real deployments (dolt sql-server / doltlite linked / doltlite backend-plugin). Notes that backends can coexist per-city on a shared box (true right now on coutts-hq).bd sql(not a rawsqlite3open, which bypasses the working-set/commit model), inspect the…serveprocs + store dir, use DoltLite SQL maintenance functions; defers to the authoritativebeads-doltliteskill for dolt_gc/flatten/locks/fastpath.Grounded against the live house-staff city (now on the plugin) — the detection commands and proc names are real, not invented.
Draft for your review, sir. Merge to master when it reads right.