unrip/src/lib
philipp 52ab682fab
All checks were successful
deploy / deploy (push) Successful in 1m12s
Prune non-success quote lifecycle history
Proof: Emergency cleanup showed normalized quote lifecycle tables, not raw quotes alone, filled the Postgres PVC. History-writer now prunes old non-success quote rows across raw quotes, normalized demand, decisions, commands, executor results, and outcome attributions while preserving completed quote settlement rows and a 30 minute live window. Targeted retention tests, full npm test, and operator dashboard bundle build pass.

Assumptions: completed quote outcomes and attributed successful quote ids are the durable settlement evidence to retain; short recent live rows may be retained temporarily so in-flight attribution is not erased mid-cycle.

Still fake: venue-native terminal fill ids and fee-complete realized PnL remain unavailable; historical non-success quote analytics pruned during emergency recovery are intentionally no longer readable.
2026-06-05 17:04:00 +02:00
..
config.mjs Move trading config into Postgres 2026-05-12 21:34:58 +02:00
env.mjs refactor: isolate unrip project into projects folder 2026-03-29 14:33:19 +02:00
http.mjs Implement funded NEAR Intents trade loop 2026-04-02 10:01:15 +02:00
market-data.mjs Add BTC USDC price route 2026-05-13 15:18:38 +02:00
postgres.mjs Prune non-success quote lifecycle history 2026-06-05 17:04:00 +02:00