Skip to content

feat: Publish account-bound Flex settled cash for the digest - #999

Merged
Pigbibi merged 4 commits into
mainfrom
feat/flex-settled-cash-digest
Nov 11, 2026
Merged

Pigbibi merged 4 commits into
mainfrom
feat/flex-settled-cash-digest

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

AI assistance

Codex. Independent review is requested through the repository integration.

What changed

Use the existing protected Flex report and verified Cash Report parser to publish each of the four IBKR daily accounts' USD ending settled cash. Resolve each private object identity from the exact existing Cloud Run digest job. Add a manual cash-only mode that has no console publication token.

How verified

229 focused tests and Ruff passed. Tests exercise scoped projection, native negative and zero balances, cross-account cash rows and mismatched report scope. The staged secret scan and whitespace check passed.

Why

The account digest needs the qualified broker's period-end settled cash for all four IBKR accounts with a clear statement date.

Risk

Adds a scheduled, opt-in publisher and manual cash-only workflow path using the already bound Google workload identity. The only new writes are private settled-cash objects using the existing account-bound names. No broker execution changes.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi marked this pull request as ready for review November 11, 2026 22:58
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T23:13:14.613378Z 028b3a4 New commits
🔒 Security Review ✅ Completed 2026-11-11T23:15:49.173762Z 028b3a4 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 97c805acab

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Pigbibi and others added 2 commits November 12, 2026 07:03
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d7864d1dce

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/publish_ibkr_digest_cash.py Resolved
Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi Pigbibi added the agent-approved An agent cleared this high-risk change on the current head; not an owner confirmation label Nov 11, 2026
@Pigbibi
Pigbibi merged commit 12392ab into main Nov 11, 2026
16 of 17 checks passed
@Pigbibi
Pigbibi deleted the feat/flex-settled-cash-digest branch November 11, 2026 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-approved An agent cleared this high-risk change on the current head; not an owner confirmation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant