Everything torn out of the Amicus repo during the 2026-08-15 session — the rules, the memory, and the four-wire harness. Recorded from the live filesystem.
pre_gate.py. This version was checked against the actual files.
| Rule | Where | Status |
|---|---|---|
The prose rule set in CLAUDE.md, cut to a single survivor | Earlier teardown. Only COPY / PORT survives. The live file is 886 bytes. | removed |
Certified checks: visual_diff, repo_archive_gcs_only | The checks/ files still exist on disk, but no hook runs them. | orphaned |
| Unenforced “rule candidates” in the failure ledger | .claude/failure_ledger.md | removed |
| The wrongly-created Google-Doc memory rule | reference_colored_google_doc_via_html.md — created, then deleted the same session | removed |
| File | Size | Status |
|---|---|---|
MEMORY.md (the index) | 304 B | deleted |
elpaseo-dc-html-self-contained.md | 1315 B | deleted |
| 230 archived memory files (prior teardown) | memory_pre_teardown.tgz, 2026-08-14 | archived |
The memory directory is empty as of this session. Verified: 0 files.
The four wires, their hook files, the tool scripts, and the registration. All erased. The files now sit only in the backup folder .claude/_harness_erased_20260815-022604/.
| Component | Detail | Status |
|---|---|---|
| Hook registrations (4) | UserPromptSubmit→prompt_queue.py, PreToolUse *→pre_gate.py, PostToolUse *→post_count.py, Stop→stop_contract.py. No live settings.json holds them; only a .bak copy. | erased |
| Hook files | pre_gate.py, prompt_queue.py, post_count.py, stop_contract.py, harness_state.py — moved to the backup folder | erased |
| Tool scripts | task_status.py, certify_gates.py, visual_diff.py — in the backup folder | erased |
| WIRE 0a | Block Edit/Write to .claude/hooks, state, settings | down |
| WIRE 0b | Block Bash that references the protected paths | down |
| WIRE 1 | Turn budget: 60 tool calls per prompt | down |
| WIRE 2 | Edit budget: 5 edits per prompt | down |
WIRE 3 (gdoc_gate.py) | Block a Google-Doc create_file. Built and tested 8/8 this session, never installed. | never live |
| State + cache | .claude/state/ and __pycache__/ | erased |