Skip to content

fix: hide experiment rows from control center summary#153

Merged
saagpatel merged 1 commit into
mainfrom
codex/filter-control-center-experiments
Jul 4, 2026
Merged

fix: hide experiment rows from control center summary#153
saagpatel merged 1 commit into
mainfrom
codex/filter-control-center-experiments

Conversation

@saagpatel

Copy link
Copy Markdown
Owner

Summary

  • Hide experiment-lifecycle rows from the default control-center console summary
  • Keep the raw artifacts intact for deeper audit evidence
  • Add regression coverage for the default print filter

Verification

  • /opt/homebrew/bin/python3.13 -m pytest tests/test_cli_hardening.py tests/test_weekly_command_center.py -q
  • /opt/homebrew/bin/python3.13 -m src.cli security-gate --output-dir output --max-age-hours 168 --json
  • /opt/homebrew/bin/python3.13 -m src.cli saagpatel --control-center

@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: 0be06abc54

ℹ️ 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 src/cli.py
for lane, label in lane_labels:
items = [item for item in queue if item.get("lane") == lane]
lane_items = [item for item in queue if item.get("lane") == lane]
items = [item for item in lane_items if _should_print_control_center_item(item)]

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 Filter the summary before hiding experiment rows

When the blocked/urgent pressure is caused by an experiment item, this filters only the lane rows after _print_control_center_summary has already printed the unfiltered operator_summary headline/what-to-do fields. In that case the default console can still announce live blocked/urgent work or recommend acting on the hidden experiment while showing no matching queue row, which defeats the new default-view suppression; the summary/handoff should be derived from the same visible queue or suppressed when its primary item is hidden.

Useful? React with 👍 / 👎.

@saagpatel
saagpatel merged commit 57d0a49 into main Jul 4, 2026
4 checks passed
@saagpatel
saagpatel deleted the codex/filter-control-center-experiments branch July 4, 2026 13:34
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