- README: recorder row + architecture diagram reflect fold->parquet-> 15-min mirror (and research/ joins the diagram); cheat-sheet gains a 'sync the tape now' row - HANDOFF: snapshot dated 2026-07-21, launchd roster (tape-sync + research-nightly wait behavior), #15 back in the open queue, tape ops line in quick-reference - recorder/README: ops block (sync_tape + fold health, deploy gap note), storage economics (/mo, mirror as Stage-1 feedstock) - research/README: nightly.sh wait-for-fresh-tape semantics - live/tape_sharps.json: refreshed 4-day chain-validated screen (the smoke run had briefly left a chain-less version) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1.9 KiB
research/ — the edge factory (SILO)
Standing rules (user directive 2026-07-20: "built in a silo to not affect anything on the live bot"):
- Nothing here is imported by, or imports, the bot (
copybot.py,copytrade.py, their configs). The Fly workers run pinned entrypoints; this directory is inert to them. - Tape access is read-only (
duckdb.connect(..., read_only=True)). - The ONE shared write:
live/cache.duckdb::resolutionsvialive/payouts.py— append-only immutable chain facts, the same store the daily pipeline already feeds. Nothing else inlive/is touched. - The existing paper bot is the live test's CONTROL — graduated edges get their own paper harness here, never that one.
- Studies are pre-registered (GitHub issue per study: hypothesis, params,
verdict + kill criteria) BEFORE their forward window opens. Exploration
happens on already-collected tape; verdicts only come from
forward_ledger.jsonlrows dated after the params freeze commit.
Layout: tape.py read-only loaders · tape proxy-resolution (terminal-VWAP + sibling veto, the 742/742 chain-validated method) · title parsers (niche, crypto strike/expiry/sprint) sim.py execution replayer calibrated on OUR live fills ledger (lag, FAK no-match, protected band, 3% taker fee) study_flow.py Study A — informed-flow state signal study_oracle.py Study B — crypto oracle fair value vs the book requote.py crater→requote timing measurement (retry tuning) forward.py scores frozen studies on new tape days → forward_ledger.jsonl params/ frozen study parameters (committed = frozen) nightly.sh launchd runner (fires 09:15, then WAITS for fresh tape — Stage 0 keeps the tape ~15-min fresh whenever the Mac is awake; deadline 8h, then scores anyway and logs staleness)