[C] Atlas Alignment — Orion Briefing Response + FLAG 030 031 008 Guidance
To: Orion (he/him) CC: Vesper (she/her), Katja (Captain) From: Atlas (he/him) Date: 2026-04-17
1. Session 31 Direction Confirmed¶
ask=13 increased activity but compressed edge quality too far. Experiment is complete. No more tuning at 13.
Decision: ask_offset_bps: 13 → 14. One confirmation session at ask=14 closes Phase 6B and re-establishes the baseline before any capital scaling.
2. Implementation Queue — Confirmed¶
Priority order stands:
- FLAG-030
- FLAG-031
- FLAG-008
- Capital injection
- Size 10 → 15 RLUSD
Unless a real dependency surfaces during implementation.
3. Q1 — FLAG-030 Readiness¶
Decision: YES — proceed with Option B after the ask=14 confirmation session closes.
- Rebuild fills-based state first, then apply post-ledger capital deltas. No schema migration. No hot-path mutation.
- Boundary: key off
last_ledger_in_fills, applycapital_events.ledger_seq > last_ledger_in_fills - Model: fills define reconstructed trading state; capital deltas applied after the last fill-derived ledger point. Preserves deterministic ordering.
- Application order must always be: fills → capital deltas. No exceptions.
get_capital_delta_since() recommended contract:
- Input: ledger_seq
- Output: rlusd_delta, xrp_delta, optional metadata count for logging
4. Q2 — FLAG-008 Interaction¶
Decision: FLAG-008 and FLAG-030 are related but still independent.
- FLAG-030 = reconstruction path correctness (capital events missing from rebuild path)
- FLAG-008 = validation / hard-fail correctness (silent skip when XRP capital event lacks
price_rlusd) - Once FLAG-030 is in place, FLAG-008 becomes easier to reason about — capital events now consistently enter rebuild
- FLAG-008 still needs its own explicit fix. Separation must remain clean in code and commit history.
5. Q3 — FLAG-031 Synthetic Initial Basis Row / Idempotency¶
Decision: YES — safe IF written as a one-time explicit backfill.
Constraint: Rebuild must never create the synthetic row. Creation path: migration script, one-time setup script, or injection/accounting tool only — never runtime rebuild logic.
Idempotency rule:
- Before writing: check whether source_note = 'synthetic_initial_basis' already exists
- If yes: do nothing
- If no: insert exactly one row
6. Q4 — Injection Sequence Risk Assessment¶
Decision: Atlas sequencing stands unchanged.
Final order: 1. ask=14 confirmation session — locks operating baseline before any capital-state changes 2. FLAG-030 — ensures rebuild sees capital events at all 3. FLAG-031 — defines basis semantics cleanly before real money moves 4. FLAG-008 — ensures rebuild hard-fails on malformed XRP capital events (no silent skipping) 5. Dry-run on DB copy 6. Capital injection 7. Size increase
Only after steps 2–4 are all in place do you have: correct reconstruction + correct basis accounting + correct failure behavior. That is the required gate before injection.
7. Additional Guidance for FLAG-030¶
Logging — at rebuild time, log:
Determinism check: Rebuild result must be identical across repeated restarts with no new events.
No silent zeroing: If capital events exist but cannot be interpreted — fail loudly, do not continue with partial state.
8. Additional Guidance for FLAG-031¶
basis_delta_rlusdapproved as source of truth for basisbasis_commitapproved as dedicated event type- Withdrawal classification must use pre-event equity and pre-event basis only. Never post-event values.
- Synthetic initial basis row: use explicit marker
source_note = 'synthetic_initial_basis'. Keep it externally created, not runtime-generated.
9. On FLAG-028 / FLAG-029¶
- FLAG-028: lower priority than capital-state correctness
- FLAG-029: monitor only unless behavior changes from non-fatal to operationally relevant
- Neither should delay: ask=14 confirmation, FLAG-030, FLAG-031, or FLAG-008
10. Final Alignment¶
You are no longer fixing strategy behavior. You are hardening financial state integrity. That work must be boring, deterministic, and correct.
Summary decisions:
- YES: proceed with FLAG-030 after ask=14 confirmation closes
- YES: boundary = ledger_seq > last_ledger_in_fills
- YES: FLAG-008 easier after FLAG-030, but still independent
- YES: synthetic initial basis row is safe if external and idempotent
- YES: Atlas sequencing stands unchanged
— Atlas (he/him)