Files
settled-reach/server/src/atlas/mod.rs
T
jpmschweitzerandClaude Fable 5 204359927a feat(simulation): BuildingExteriorTag grammar + Layer-5 material fill + ops-surface (T-988/T-959/T-1097)
T-988 — BuildingExteriorTag {wall_material, roof_form, facade_rhythm,
setback_tier, color:HsvColor, street_surface}. New trait_exterior.rs:
3-step era-free derivation (visual_bundle filter -> zone-bias weighted
pick -> density->setback), color seed-sampled within the register band.
Resolved at GenerateSkeleton plan time (T-994 precedent), frozen on
BuildingPropertyTag; FillChunk only reads it. Four append-only
integer-discriminant enums (WallMaterial/RoofForm/FacadeRhythm/
StreetSurface), unknown token -> axis Generic + warn. trait_catalog_reader
now parses visual_bundle + the two new tables (OnceLock-cached).
New SeedDomain::TraitExterior (per-axis sub-chains — no cross-field
correlation).

T-959 — FillChunk reads the frozen exterior tag: wall_material/roof_form
onto Wall/Roof shell voxels (FilledChunk.surface_material). Additive,
ShellVoxel untouched, all shell tests pass. (Interstitial-fill-from-setback
split to T-1098 — needs a FillChunk block-metadata + geometry design pass;
nothing consumes FillChunk until Phase 5.)

T-1097 — BlockSkeleton.interstitial_character (OpenSpace|OperationsSurface),
D-233 bulk-driven: bulk-industry blocks' non-roofed remainder tags as built
economic infrastructure, not generic open space.

cargo check --all-targets clean; 1666 lib tests pass; no golden impact
(harnesses top out at CascadeLayer::RoadGraph, unreachable by Layer 4/5).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 09:42:20 +02:00

41 lines
995 B
Rust

//! Atlas data loaders — reads pre-computed build-time data from systems.db.
//!
//! These loaders are used by the runtime-background tier (D-200, D-206) when
//! populating BodyWorldState (D-203). They are never called on the main tick thread.
pub mod attractor_matching;
pub mod believability;
pub mod block_irregularity;
pub mod body_params_reader;
pub mod body_world_state;
pub mod cascade;
pub mod chunk_context;
pub mod city_context_reader;
pub mod detail_scatter;
pub mod district_mix;
pub mod district_profile;
pub mod domain_warp;
pub mod drainage;
pub mod features;
pub mod gen_queue;
pub mod heightmap;
pub mod layer1;
pub mod layer_proxy;
pub mod mosaic;
pub mod plugin;
pub mod region_profile;
pub mod road_graph;
pub mod scale;
pub mod shell;
pub mod skeleton_gen;
pub mod source_resolver;
pub mod subbiome;
pub mod tile_condition;
pub mod trait_catalog_reader;
pub mod trait_draw;
pub mod trait_exterior;
pub mod trait_swerve;
pub mod voxel;
pub use plugin::GenerationPlugin;