Skip to content

Add live candidate notification events#180

Merged
Pigbibi merged 1 commit into
mainfrom
codex/live-candidate-notifications
Jul 5, 2026
Merged

Add live candidate notification events#180
Pigbibi merged 1 commit into
mainfrom
codex/live-candidate-notifications

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Adds lifecycle live-candidate notification event builder and exports it from strategy_lifecycle.\n\nValidation: PYTHONPATH=src python3 -m pytest -q (454 passed, 1 skipped).

Co-Authored-By: Codex <noreply@openai.com>
@cursor

cursor Bot commented Jul 5, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@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: 34e07328ac

ℹ️ 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".



def _build_alert_key(strategy_profile: str, domain: str, stage: str, approval_action: str) -> str:
return f"lifecycle/live_candidate/{domain}/{strategy_profile}/{stage}/{approval_action}"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Include package identity in alert keys

When these events are routed through the existing notification stores, alert_key is the duplicate marker, but this key only varies by domain/profile/stage/action. If a strategy submits a later evidence package with the same outcome, such as a second hold after some sections were corrected or a refreshed approve, it reuses the previous marker and can be skipped as a duplicate, so operators may never see the new gate result. Include a submission timestamp or package digest in the key to distinguish distinct evidence packages.

Useful? React with 👍 / 👎.

@Pigbibi Pigbibi merged commit 4ba22d0 into main Jul 5, 2026
4 checks passed
@Pigbibi Pigbibi deleted the codex/live-candidate-notifications branch July 5, 2026 21:26
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