Repository navigation
Workbench File Map per-kind rendering + docs overhaul + engine cleanup - #371
Merged
Merged
Conversation
+ Fix many doc <c/> instead of <see/> + EcsQuery fluent API now throws on invalid cascades + Workbench File Map view: many improvements
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
Bundles three related streams plus engine cleanup. Headlined by the Workbench Database File Map — A6 per-kind chunk rendering feature; also lands a full DocFx documentation overhaul and several engine correctness/quality changes.
Scope: 5 commits, 139 files (+26,270 / −2,028).
1. Workbench — Database File Map: A6 per-kind chunk rendering (
tools/Typhon.Workbench, 24 files)Every chunk-based segment kind now renders its intra-chunk structure (L3 fill) and gets a typed L4 decoder, replacing the prior binary occupancy-only view. Establishes the
ChunkFill(0–255 SoA) +ChunkClass(enum byte) wire format, extended incrementally per kind.enabledMaskoverlay picker (green=enabled / dim=disabled / dark=free).EntryCount/capacity, meta/directory chunks hatched as non-data, overflow buckets dotted; L4 decoder for meta/directory/bucket/overflow.L4Decoderdecoders +StorageMapService.Detailpopulators +StorageDetailDtosfields.2. Engine — introspection, LogicalSegment, EcsQuery, doc crefs (
src/Typhon.Engine)DatabaseEngine.StorageIntrospection.cs) — new cluster / occupancy / hashmap / index / VSBS layout accessors; introspection APIs madeinternal(viaInternalsVisibleTo) except the three footprint queries.Kindin the root header (read back on Load) for authoritative segment classification. Removed theNoNextMapstatic field (CA1000) in favour of stack locals.NextEcsQueryIdstatic moved out of the generic type intoEcsQueryIdAllocator(CA1000).<c>Type<T></c>→<see cref="...">across Runtime, Profiler, Spatial, Transactions, Schema, Ecs, Storage for IDE navigation + compiler validation.3. Documentation (DocFx
doc/, 77 files)typhon-architecture-layers.svg.SkirmishGuideexample project).4. Tests
ClusterStorageTests(+274),EcsQueryTests(+44),SpatialEcsIntegrationTests(+117),StorageIntrospectionTests(+70).StorageDecoderTests(+255),StorageMapDetailTests(+317), extended fixtures.Test plan
dotnet test test/Typhon.Engine.Tests(cluster / query / spatial / introspection)dotnet test test/Typhon.Workbench.Tests(decoder + detail)npm run typecheck+npx vitest run src/libs/dbmap/wb-dev start, open a cluster-heavy.typhon, verify per-kind L3 fill, L4 decoders, occupancy region-mapdoc/🤖 Generated with Claude Code