This repo had no .pql/hooks/ at all — the four replication hooks were never installed, because pql's installer used to ignore a redirected core.hooksPath. It works with .config/hooks now, so init prepends a two-line shim to each hook that sources the pql half. Existing hook bodies are untouched; the shim goes above them. What this buys: post-merge now runs `pql plan upgrade`, so a pull that brings in a newer changelog format migrates it forward automatically instead of replaying under superseded rules. .gitattributes gains a rule for changelog files at the root of .pql/changelog/. The existing `**/*.sql` pattern requires a directory component and so did not match the new 0000-format.sql marker, which would have made it a merge conflict rather than a union merge. Note for a follow-up: the hand-folded pql block in .config/hooks/post-merge (lines ~10-12) is now redundant with the shim, so plan import and decisions sync each run twice per pull. Both are idempotent, so this is waste rather than breakage — but that block and its stale "installer is dead" comment can be dropped. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
131 lines
3.0 KiB
Plaintext
131 lines
3.0 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
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
.obsidian/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Generated economics pipeline artifacts (re-created by make economy-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/
|