The shipped 28-tag catalog palette is canonical (user ratification, /whats-next refinement 2026-07-07). New machine-readable registry wiki/economics/object_tag_vocabulary.toml (wall/roof/facade/street axes + 4 generic fallback terminals, Miri/Araminta co-owned header). Importer validation in economy_import/traits.py: V-TT-03 (every catalog allow/block/visual_bundle tag exists in the registry, axis-checked) and V-TT-04 (fallback graph: non-generics declare a parent, chains acyclic, resolve to a generic — absorbs T-1004's Phase-4 slice). Registry added to generator_sources (stamp coverage); systems.db regenerated + stamped. Q-049 marked Resolved — divergence is now a loud build failure. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
53 lines
1.8 KiB
Python
53 lines
1.8 KiB
Python
"""Source-file path constants for the economy_import modules.
|
|
|
|
Single façade: modules import their input paths from here. Paths that are
|
|
also part of the import_economics meta-stamp source set are defined once in
|
|
tooling/generator_sources.py and re-exported, so the stamp registry and the
|
|
importer can never disagree about where a stamped source lives.
|
|
"""
|
|
|
|
from pathlib import Path
|
|
|
|
from generator_sources import (
|
|
ARCHITECTURE_TRAIT_BIAS_TOML,
|
|
ARCHITECTURE_TRAIT_CATALOG_TOML,
|
|
GENERATE_BRANDS_WRAPPER,
|
|
OBJECT_TAG_VOCABULARY_TOML,
|
|
REPO_ROOT,
|
|
SPECIALIZATION_VOCAB_TOML,
|
|
SYSTEM_SPECIALIZATION_TOML,
|
|
)
|
|
|
|
__all__ = [
|
|
"ARCHITECTURE_TRAIT_BIAS_TOML",
|
|
"ARCHITECTURE_TRAIT_CATALOG_TOML",
|
|
"BRANDS_TOML",
|
|
"CHAINS_TOML",
|
|
"COMMODITIES_TOML",
|
|
"CORPORATIONS_DIR",
|
|
"CURRENCY_ZONES_TOML",
|
|
"DB_PATH",
|
|
"GENERATED_BRANDS_TOML",
|
|
"GENERATE_BRANDS_WRAPPER",
|
|
"OBJECT_TAG_VOCABULARY_TOML",
|
|
"REPO_ROOT",
|
|
"SCHEMA_SQL",
|
|
"SPECIALIZATION_VOCAB_TOML",
|
|
"STAR_MAP",
|
|
"SYSTEM_SPECIALIZATION_TOML",
|
|
"WIKI_STAR_SYSTEMS",
|
|
]
|
|
|
|
DB_PATH: Path = REPO_ROOT / "server" / "data" / "systems.db"
|
|
STAR_MAP: Path = REPO_ROOT / "docs" / "design" / "star-map.json"
|
|
COMMODITIES_TOML: Path = REPO_ROOT / "wiki" / "economics" / "commodities.toml"
|
|
CHAINS_TOML: Path = REPO_ROOT / "wiki" / "economics" / "production_chains.toml"
|
|
CURRENCY_ZONES_TOML: Path = REPO_ROOT / "wiki" / "economics" / "currency_zones.toml"
|
|
SCHEMA_SQL: Path = REPO_ROOT / "server" / "data" / "systems-schema.sql"
|
|
CORPORATIONS_DIR: Path = REPO_ROOT / "wiki" / "corporations"
|
|
WIKI_STAR_SYSTEMS: Path = REPO_ROOT / "wiki" / "star-systems"
|
|
BRANDS_TOML: Path = REPO_ROOT / "wiki" / "economics" / "corporations" / "brands.toml"
|
|
GENERATED_BRANDS_TOML: Path = (
|
|
REPO_ROOT / "wiki" / "economics" / "corporations" / "generated_brands.toml"
|
|
)
|