VIOLET OA: partial spec PASS 6 — execution internals + quirk-injection gate
VIOLET_PART_SPEC_OA_TODO_PASS6.md — the execution internals on top of PASS-5's mock, plus the quirk-injection layer that flips PASS-5's QuirkProfile seams ON and proves each handler survives. Six independent units extending contracts_v3 (AccountFrame/PositionFrame/ReconcileCorrection/ OwnershipPolicy): 25. Account/position frame contracts + ownership predicate (foreign-fill filter basis). 26. Fill-pump (ownership filter [quirk #2], dedup, idempotent) → ledger deltas. 27. Reconcile loop (zero-wb guard [#1], reseed-on-update, settle/funding event_seq order [#5]). 28. TTL requote / cancel-replace (+ setLeverage ordering [#7]) over PASS-5 venue + V2 driver. 29. Orphan detection (ORPHAN_VENUE adopt, ORPHAN_LOCAL quarantine — never silent flatten/resurrect). 30. Quirk-injection suite + @gate: flip every QuirkProfile flag ON, assert each is neutralized. VIOLET's exec reconcile/quirk-handling mirrors PINK's production-tested logic (pink_direct.py is the authoritative reference — transcribe + cite). New-file-only: quirk injection plugs into PASS-5's existing seams via NEW fill/frame models, never editing the PASS-5 mock. Real-key boundary smoke remains MANDATORY before V4-live (injection proves logic, not undocumented venue reality). Standing ready for PASS 7–9. Added PASS 6 to the review queue in VIOLET_TODO_CRITICAL.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -64,6 +64,12 @@ economics ledger / exec-intent / alpha data feed / time exits; review when done.
|
||||
NOTE: BingX "quirks" are SEAM-ONLY here (default OFF) — a later quirk-injection pass + a mandatory
|
||||
real-key boundary smoke are required before V4-live; review when done.
|
||||
|
||||
**PASS 6**: `VIOLET_PART_SPEC_OA_TODO_PASS6.md` (issued 2026-06-17) — execution INTERNALS
|
||||
(fill-pump/ownership filter, reconcile/zero-wb guard, TTL-requote, orphan handling) + the
|
||||
QUIRK-INJECTION gate that flips PASS-5's QuirkProfile flags ON and proves each handler neutralizes
|
||||
the quirk. Mirrors PINK's production fixes (pink_direct.py). Real-key smoke still MANDATORY before
|
||||
V4-live; review when done.
|
||||
|
||||
**Action:** review each pass for correctness, BLUE-algo compliance, V-TYPES, no-shared-edits,
|
||||
real (non-vacuous) tests. **Owner: Claude (me), later.**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user