Files
settled-reach/.gitignore
T
jpmschweitzerandClaude Opus 5.5 23538d640f refactor(tooling): T-1289 — economy-db becomes reach ledger
The sole generator of systems.db moves to tooling/domains/ledger/ and is
now `reach ledger import`. economy_import/ keeps its name (Rust comments in
server/src cite it); the entrypoint becomes service.py; schema_version.py
moves with the importer, which is where the version is defined.

The stamp survived the move, which is the thing that had to hold:

- generated_brands.toml is byte-identical (sha256 e748531…) before and after
- `reach check systems-db-stamp` reported STALE after the move (the registry
  saw it) and OK after the regen
- the dry-run carries every count and warning of the baseline transcript,
  and exit 2 — imported and stamped, coverage gate unmet — still reaches the
  caller through @command

`make regen-db` survives as a one-line delegate, per D-263's muscle-memory
clause: about fifty files name it, including the headers of generated wiki
TOMLs and the remedies the push gate prints. `make economy-db` is retired;
it ran `reach generate brands` before the import, which the import already
does as its first step.

economy_import.errors is reconciled as DOMAINS.md asked. ImportAborted stays
as internal rollback control flow and never reaches a caller; the service
converts it to a ReachError carrying the remedy.

regenerate_brands caught cargo_binary's ReachError, printed it and raised
ImportAborted, dropping the remedy. It runs before the import transaction
opens, so there is nothing to roll back — it now propagates.

Both sys.path bootstraps are gone; they existed only because the directory
was hyphenated. The step labels ran [1/10]…[10/13]…[17/19]; one 24-step
counter now drives the event phase and progress.

Stale pointers fixed on the way: MIGRATION_SQL has lived in
economy_import/migration.py since T-1067, but the asset-pipeline rule,
DEVOPS and the schema comments still sent readers to import_economics.py;
the rule and DEVOPS also still named the check scripts T-1281 retired.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 16:18:59 +02:00

136 lines
3.2 KiB
Plaintext

# Secrets
.env
# Local-only settings DB and WAL/SHM sidecars of tracked DBs
# (root-level entries: servers spawned with cwd=repo root — e.g. the T-1120
# atlas capture harness — open settings.db relative to their cwd)
settings.db
settings.db-shm
settings.db-wal
server/settings.db
server/settings.db-shm
server/settings.db-wal
server/data/systems.db-shm
server/data/systems.db-wal
# Build and cache
.cache/
.tmp/
server/target/
server/sr-voice/target/
server/models/
tooling/content-converter/target/
tooling/econ-sim/target/
tooling/line-previewer/target/
tooling/test-client/target/
# Godot client
client/.godot/
client/export/
client/reports/
client/**/*.import
client/**/*.uid
# Renderer (separate Godot project for sprite pipeline)
renderer/.godot/
renderer/**/*.import
renderer/**/*.uid
renderer/output/*.png
# Spikes (Godot cache + import artifacts)
spikes/**/.godot/
spikes/**/*.import
spikes/**/*.uid
spikes/**/*.npy
spikes/**/*.npz
# Spike binary artifacts are local-only (D-241): models, textures, renders are
# reproducible from purchased packs (docs/assets/downloads/) + spike scripts.
# Verdict/review markdown and spike code stay tracked. Production assets live
# in client/assets/ after promotion, never in spikes/.
spikes/**/*.glb
spikes/**/*.gltf
spikes/**/*.bin
spikes/**/*.png
spikes/**/*.jpg
spikes/**/*.jpeg
spikes/**/*.webp
spikes/**/*.fbx
spikes/**/*.blend
spikes/**/*.exr
spikes/**/*.hdr
spikes/**/*.zip
# Extracted vendor payload (reproducible from docs/assets/downloads/ archives
# via the spike's own extraction script) — includes Unity .asset/.sk metadata.
spikes/**/raw/
# Planet generator intermediates
*.tmp.npz
# Generated terrain grids (large, regenerated from pipeline)
wiki/**/bodies/**/terrain.npz
# Asset downloads (vendor archives, not game content)
docs/assets/downloads/
# Reference repos for investigation
vendor/
# Frame0 ID mapping files (ephemeral, per-machine)
*.idmap.json
# Python
__pycache__/
*.pyc
*.pyo
# Editable-install metadata, regenerated by every `uv pip install -e .` (T-1258)
*.egg-info/
# Was only in .git/info/exclude, which is machine-local — so a fresh clone or a
# new worktree did not ignore it at all (T-1258)
.venv/
# OS
.DS_Store
Thumbs.db
# IDE
.idea/
.vscode/
.obsidian/
*.swp
*.swo
# Generated economics pipeline artifacts (re-created by make regen-db)
wiki/economics/corporations/generated_brands.toml
wiki/economics/corporations/generated_corporations.toml
# Git worktrees (per-machine, created under the repo root)
.worktrees/
# Claude Code internals (plans, session transcripts)
# Note: .claude/agents/, .claude/skills/, and .claude/settings.json ARE tracked
.claude/plans/
.claude/projects/
.claude/agent-memory/
.claude/scheduled_tasks.lock
.claude/scheduled_tasks.json
.tmp/
# Local agent tooling caches (per-machine, not shared)
.clide/
# pql: ignore the rebuildable local databases (index + planning DB + WAL/SHM
# sidecars), but TRACK .pql/config.yaml and .pql/changelog/ — the changelog is
# pql's durable, git-versioned planning state (LWW, idempotent replay).
.pql/*.db
.pql/*.db-*
# Client runtime artifacts (settings store written by e2e test runs)
client/settings.db
client/settings.db-shm
client/settings.db-wal
.claude/settings.local.json
.pql/*
!.pql/changelog/