Harness Teardown Ledger

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.

Correction (2026-08-15). An earlier version of this page claimed the harness was “restored and hardened.” That was false. It was written from a session summary, not from the disk. The block that was cited as proof was the built-in shell sleep limit, not the repo hook pre_gate.py. This version was checked against the actual files.

A.Rules removed

RuleWhereStatus
The prose rule set in CLAUDE.md, cut to a single survivorEarlier teardown. Only COPY / PORT survives. The live file is 886 bytes.removed
Certified checks: visual_diff, repo_archive_gcs_onlyThe checks/ files still exist on disk, but no hook runs them.orphaned
Unenforced “rule candidates” in the failure ledger.claude/failure_ledger.mdremoved
The wrongly-created Google-Doc memory rulereference_colored_google_doc_via_html.md — created, then deleted the same sessionremoved

B.Memory removed

FileSizeStatus
MEMORY.md (the index)304 Bdeleted
elpaseo-dc-html-self-contained.md1315 Bdeleted
230 archived memory files (prior teardown)memory_pre_teardown.tgz, 2026-08-14archived

The memory directory is empty as of this session. Verified: 0 files.

C.Harness removed

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/.

ComponentDetailStatus
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 filespre_gate.py, prompt_queue.py, post_count.py, stop_contract.py, harness_state.py — moved to the backup foldererased
Tool scriptstask_status.py, certify_gates.py, visual_diff.py — in the backup foldererased
WIRE 0aBlock Edit/Write to .claude/hooks, state, settingsdown
WIRE 0bBlock Bash that references the protected pathsdown
WIRE 1Turn budget: 60 tool calls per promptdown
WIRE 2Edit budget: 5 edits per promptdown
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