Skip to content

fix: distinguish SG execution blocks and holding currencies - #527

Merged
Pigbibi merged 1 commit into
mainfrom
fix/sg-blocked-heartbeat-20260929
Sep 28, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
fix/sg-blocked-heartbeat-20260929

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

SG heartbeats currently collapse a durable execution block into “no executable orders” and show holding values with an ambiguous dollar sign. Render explicit blocked and queued-window outcomes from execution fields, and carry same-cycle broker position currencies into holding labels with an unverified fallback.

Preserve direct-routing protection, durable command state transitions, account identity checks and broker order behavior. A queued future command still blocks direct routing while its heartbeat correctly says it is waiting.

Validation: 123 tests and 31 subtests passed in the locked dependency environment; Ruff and diff checks passed. Independent Astra review passed, including service-level queued/blocked regressions. Production command records were read only; this PR does not clear unresolved commands or activate trading. Cloud Run adoption is not claimed.

…currencies

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 310d851 into main Sep 28, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/sg-blocked-heartbeat-20260929 branch September 28, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant