Skip to content

Fix maintain intent alignment from scorecards#158

Merged
saagpatel merged 1 commit into
mainfrom
codex/align-maintain-scorecard-intent
Jul 4, 2026
Merged

Fix maintain intent alignment from scorecards#158
saagpatel merged 1 commit into
mainfrom
codex/align-maintain-scorecard-intent

Conversation

@saagpatel

Copy link
Copy Markdown
Owner

Summary

  • Recompute portfolio intent alignment after scorecards are attached so on-track maintain repos stop carrying stale needs-review state.
  • Add the canonical OrbitMechanics catalog contract while preserving the local checkout alias.
  • Cover both the evaluator and scorecard-enrichment regression paths.

Verification

  • pytest tests/test_portfolio_catalog.py tests/test_cli_hardening.py tests/test_weekly_command_center.py -q
  • pytest tests/test_portfolio_catalog.py tests/test_cli_hardening.py tests/test_operator_acknowledgments.py tests/test_weekly_command_center.py -q
  • python -m src.cli security-gate
  • python -m src.cli saagpatel --repos OrbitMechanics AssistSupport CryptForge DeepTank LegalDocsReview ScreenshotAnnotate --scorecard --no-analyzer-cache --catalog config/portfolio-catalog.yaml --preflight-mode off
  • python -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: 289ca0d84a

ℹ️ 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/portfolio_catalog.py
"aligned",
"The repo is holding a maintain posture without urgent or revalidation pressure.",
)
if disposition == "maintain" and scorecard_status == "on-track":

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Preserve urgent focus when trusting scorecards

For a maintain repo with an on-track scorecard but an operator queue state that resolves to Act Now or Revalidate (for example an urgent/blocked lane or revalidation-needed status), this unconditional scorecard fallback rewrites the intent alignment to aligned; _apply_scorecards then copies that status back onto the operator queue. That makes portfolio truth/control-center surfaces report an urgent or revalidation item as aligned, bypassing the existing focus guard just above that keeps maintain repos in review when there is active operator pressure.

Useful? React with 👍 / 👎.

@saagpatel saagpatel force-pushed the codex/align-maintain-scorecard-intent branch from 289ca0d to 9da25b1 Compare July 4, 2026 15:12
@saagpatel saagpatel force-pushed the codex/align-maintain-scorecard-intent branch from 9da25b1 to 8d2a152 Compare July 4, 2026 15:16
@saagpatel saagpatel merged commit 2bd511b into main Jul 4, 2026
4 checks passed
@saagpatel saagpatel deleted the codex/align-maintain-scorecard-intent branch July 4, 2026 15:19
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