**retain_closets.py** — 90-day closet aging enforcement for #1083.
Removes *.closet.json files older than --days (default 90) from the
fleet palace. Supports --dry-run for safe preview. Wired into the
weekly-audit workflow as a dry-run CI step; production cron guidance
added to workflow comments.
**tunnel_sync.py** — remote wizard wing pull client for #1078.
Connects to a peer's fleet_api.py HTTP endpoint, discovers wings via
/wings, and pulls core rooms via /search into local *.closet.json
files. Zero new dependencies (stdlib urllib only). Supports --dry-run.
This is the code side of the inter-wizard tunnel; infrastructure
(second wizard VPS + fleet_api.py running) still required.
**Tests:** 29 new tests, all passing. Total suite: 294 passing.
Refs #1075, #1078, #1083
Bug 1: nexus_think.py line 318 — stray '.' between function call and if-block
This is a SyntaxError. The entire consciousness loop cannot import.
The Nexus Mind has been dead since this was committed.
Bug 2: nexus_think.py line 445 — 'parser.add_.argument()'
Another SyntaxError — extra underscore in argparse call.
The CLI entrypoint crashes on startup.
Bug 3: groq_worker.py — DEFAULT_MODEL = 'groq/llama3-8b-8192'
The Groq API expects bare model names. The 'groq/' prefix causes a 404.
Fixed to 'llama3-8b-8192'.
Bug 4: server.py — clients.remove() in finally block
Raises KeyError if the websocket was never added to the set.
Fixed to clients.discard() (safe no-op if not present).
Also added tracking for disconnected clients during broadcast.
Bug 5: public/nexus/ — 3 corrupt duplicate files (28.6 KB wasted)
app.js, style.css, and index.html all had identical content (same SHA).
These are clearly a broken copy operation. The real files are at repo root.
Tests: 6 new, 21/22 total pass. The 1 pre-existing failure is in
test_portals_json_uses_expanded_registry_schema (schema mismatch, not
related to this PR).
Signed-off-by: gemini <gemini@hermes.local>