Files
Drew T 4c1d5d9f7c docs(phase-33.5): task 12 — kit part 3: decomp-architect/SETUP.md (Step 0 contract with the write-scope guardrails; Step 1 the PA-2.0 pin, the ladder-in-constitution check, the §E precondition, Path A only, the Phase-0.5 phase file; Step 2 the interview + the answers: file contract; Step 3 the firewall with the planted-fixture negative control and the check-ignore probes; Step 4 layout; Step 5 bootstrap + the checkpoint commit; Step 6 the flywheel documents that outlive the package; Step 7 the registry seed inserted before §E′ with the renumber fallback; Step 8 the overlays by marker + config templates instead of a live settings/mcp merge + the skeletons; Step 9 the memory seed; Step 10 the leftover-placeholder audit, the sorted install manifest, PhaseEnd_Phase0.5, the close commit, the five-part final message, hard stop; install manifest; troubleshooting); class 7 of the firewall gains /.claude-state/transcripts/ (a decomp's transcripts quote the target) and the scratch block re-includes .run/README.md — wiki fence + template re-extracted (75 lines identical); pa-overlays Block 7 → config/decomp-hooks.snippet.json + config/mcp.json.template (no comment keys in JSON); PLACEHOLDERS "Filled" wording aligned with the steps; verify: kit_lint OK over 44 files, doc_links --strict rc 0, 19/19 PA installer mechanisms with counterparts, 12/12 markers present in their templates, all placeholders named, every Step reference resolves; log + checkpoint (NEXT = task 13, the dry-run, xHigh)
2026-09-07 19:42:41 -06:00

76 lines
3.0 KiB
Plaintext

# ============================================================
# ROM firewall — in force from the FIRST commit; no private-repository exemption, ever.
# The repository ships NO game-derived bytes and NO vendor SDK. Symbol names, addresses,
# hashes, configuration and the decompiled C are what a decompilation publishes.
# ============================================================
# 1. The disc / ROM dump — never committed; your own copy goes here
/disks/
# 2. Extracted payloads — regenerated from YOUR dump by the extractor and verified against the
# committed manifest of hashes, the only thing tracked under extracted/
/extracted/*
!/extracted/retail/
/extracted/retail/*
!/extracted/retail/manifest.jsonl
!/extracted/retail/manifest.sha1
# 3. Generated disassembly, assets and build output — `make extract` / `make build` recreate them;
# the durable record is the symbol file. (A pasted listing of target instructions is class 3 too.)
/asm/
/assets/
/build/
/expected/
/undefined_syms_auto.txt
/undefined_funcs_auto.txt
# 4. Memory images — local only; INDEX.md + CHECKSUMS.sha1 stay tracked and describe them
/dumps/*.bin
# 5. The reverse-engineering database — embeds the program's bytes; tracked as a TEXT export
# (config/ghidra/) with a rebuild script that proves the round trip. NEVER `git clean -x` here.
/ghidra/
# 6. The vendor SDK — user-supplied, optional, never distributed; its checksums are tracked
/tools/psyq/
# 7. Session transcripts — they quote the target's disassembly; keep them out of any public tree
# (a governance system that keeps the agent's transcripts inside the repository writes them under
# .claude-state/transcripts/ — ignored here; the memory files beside them stay tracked)
/session-archive/
/.claude-state/transcripts/
# 8. Training data and weights derived from the target
/datasets/
/models/
*.gguf
*.safetensors
# 9. Re-downloadable binaries — a sha256 in the ops reference and a fetch step, not a commit.
# (A vendored compiler tarball may be tracked only if its license allows; keep its checksum beside it.)
/tools/bin/*
!/tools/bin/*.sha256
/tools/ghidra-ext/*.zip
*.tar.gz
# ---- Scratch: ignored by CONTENTS (/.run/* not /.run/) so that dated `!` exceptions can re-include ----
# ---- irreplaceable work. Rule of thumb: commit what a rerun CANNOT reproduce (hand analysis, ----
# ---- harnesses, ledgers, the recorded contract run); leave what a script regenerates ignored. ----
/.run/*
!/.run/README.md
# One dated block per exception — re-include the directory, re-exclude its contents, re-include
# the wanted files — under a comment naming the phase, the session and the rule. For example:
# # P<N> <task> (<session>, <date>): the recorded contract run's per-step logs. Evidence, tracked.
# !/.run/P<N>/
# /.run/P<N>/*
# !/.run/P<N>/verify/
# /.run/P<N>/verify/*
# !/.run/P<N>/verify/*.log
# ---- Toolchain caches, research clones and editor noise ----
/.venv/
__pycache__/
/tools/reference/
.vscode/
Thumbs.db