Skip to content

feat(execution_kernel): B13-b T1–T3 pure guards + unit tests - #657

Merged
Pigbibi merged 1 commit into
mainfrom
rebuild/b13b-execution-kernel-guards-t1-t3
Oct 9, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
rebuild/b13b-execution-kernel-guards-t1-t3

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Summary

B13-b step 1 (rebuild): add a pure quant_platform_kit.execution_kernel package with shared vocabulary and shadow guards T1–T3 only.

  • T1 deny_live_submit_without_durable_identity — live ∧ ¬bypass ∧ ¬identity → deny
  • T2 deny_new_cycle_when_submission_unknown — certainty=unknown ∧ new-cycle submit → deny
  • T3 deny_blind_retry_after_uncertain_transport — uncertain transport ∧ unreconciled ∧ blind retry → deny

No broker/GCS/Firestore I/O. No platform adopt (Binance/FT/LB shadow later). Does not merge claim/owner stores.

Context

N12-D1 (Schwab/IBKR holdings/fills → DIGEST) is blocked: digest-candidate builders today only see equity on account-facts; Schwab daily fills remain not_connected; IBKR does not promote orders_*_count to fills. See workspace note N12-D1-holdings-fills-blocker.md.

Test plan

  • PYTHONPATH=src python3 -m unittest tests.test_execution_kernel_guards -v (14 OK locally)
  • CI green on this PR

Out of scope

  • LongBridge / Firstrade Environment or ingress
  • Live Telegram / production strategy switches
  • T4 notify-failure guard wiring

Shadow-only vocabulary and allow/deny helpers for durable identity,
unknown submission new-cycle, and blind retry after uncertain transport.
No broker/GCS I/O and no platform adopt in this PR.
@Pigbibi
Pigbibi merged commit 155d74a into main Oct 9, 2026
1 check passed
@Pigbibi
Pigbibi deleted the rebuild/b13b-execution-kernel-guards-t1-t3 branch October 9, 2026 10:44
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