Repository navigation
Database File Map (Workbench Module 15) — Track A: the Map - #361
Merged
Merged
Conversation
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.
Closes #358.
Track A — the Map of the Database File Map Workbench module (Module 15): a 2D, semantic-zoom map of a Typhon database's on-disk layout where on-screen area is strictly proportional to bytes on disk — exposing fragmentation, free space and locality. Built from the live
DatabaseEnginein-process; a Hilbert-curve page layout makes tiles and the LOD pyramid trivial.Delivered in 4 phases:
StorageMapService+ coarseStructuralMap+ Hilbert aggregate pyramid;/dbmapREST surface; hand-rolled 2D camera + Hilbert layout + viewport culling; L0/L1 bands + crossfade; three coarse encodings; minimap, breadcrumb, offset strip.StructuralMap; L3 chunk grid + L4 content bands + crossfades; server-side L4 decoders; detail-tier encodings (fill/write-age/CRC/residency); full Detail-panel decode.Alt+←/→); bookmarks (persisted per database); filter-to-dim; export (PNG view / PNG whole map / region CSV) + copy/reveal context menu; down-sampling + approximate mode for large databases.Design doc:
claude/design/Apps/Workbench/Modules/15-database-file-map.md§13 Track A (per-phase acceptance criteria, decisions, deviations). Track B (Captures & Diff) is explicitly out of scope.Tests: server NUnit (
Typhon.Workbench.Tests— coarse/detail/scale + auth + invariants), client Vitest (libs/dbmap+ stores), Playwright canaries (e2e/dbmap-*.spec.ts). All green; typecheck + ESLint clean.🤖 Generated with Claude Code