genichin and Claude Opus 4.8
01a51d0c16
Advance dcy-004 ledger slice: confirm Discovery, draft+approve REQ-017~020, draft BAT-006
...
- confirm-discovery dcy-004: draft→confirmed (Confirmed By: Justin Ko),
OQ-1~3 resolved, scope/R-1 accepted, portfolio-hub contract deferred to REQ/delivery
- draft-req: REQ-017 (LedgerPort + portfolio-hub adapter + stub), REQ-018
(fill→ledger recording + FillStatus exec_id/fee), REQ-019 (ledger outbox
durability + correlation_id idempotency), REQ-020 (baseline alignment);
NFR-1~3 absorbed
- confirm-req: REQ-017~020 Proposed→Approved
- draft-batch: BAT-006 (standard) bundling REQ-017~020 from dcy-004
- Update SRS/Discovery/batches indexes
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-04 22:32:27 +09:00
genichin and Claude Opus 4.8
88f5af434b
Resolve dcy-004 OQ-1~3 from trex-orbit reference
...
- OQ-1 asset_id: asset_id == portfolio_id — use the slot's portfolio_id
directly as the ledger path param (orbit ledger.py / migration 003 /
coordinator). No symbol mapping or asset lookup.
- OQ-2 durability: ledger outbox (work item) + retry loop, correlation_id
{asset_id}:{order_id}:{execution_id} dedup, outcome vocabulary
(completed/duplicate_completed/retryable_failure/conflict_blocked) —
orbit LedgerWriter pattern; recording decoupled from slot transition.
- OQ-3 exec data: deterministic execution_id (KIS
kis-daily-ccld:{ord_dt}:{brno}:{odno}:{tot_ccld_qty} / paper synth),
fee via BrokerPort calculate_fee, tax default 0.
All dcy-004 open questions answered; R-2/R-4 resolved. Remaining gates
(scope-defer confirm, portfolio-hub contract data, Confirmed By) left for
confirm-discovery.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-04 19:44:00 +09:00
genichin and Claude Opus 4.8
b37b16be93
Add dcy-004 Discovery (draft): portfolio-hub ledger integration
...
Record fills to the portfolio-hub ledger (orbit post_ledger_trade pattern)
so external accounting/positions reflect trades. The slot already carries
portfolio_id but nothing consumes it; this closes a deferral not previously
made explicit in dcy-003. Scope: LedgerPort + portfolio-hub adapter + stub,
record on buy/sell fill, execution_id idempotency, failure retry/hold;
out of scope: non-trade transactions, asset sync, reconciliation. OQ-1
(asset_id source), OQ-2 (durability), OQ-3 (exec data source) left for
confirm-discovery; handoff held.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-04 19:30:38 +09:00