Fix maintain intent alignment from scorecards#158
Conversation
There was a problem hiding this comment.
💡 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".
| "aligned", | ||
| "The repo is holding a maintain posture without urgent or revalidation pressure.", | ||
| ) | ||
| if disposition == "maintain" and scorecard_status == "on-track": |
There was a problem hiding this comment.
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 👍 / 👎.
289ca0d to
9da25b1
Compare
9da25b1 to
8d2a152
Compare
Summary
Verification