[codex] Pin agent-core v0.7 insight contract#33
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cf6865a66e
ℹ️ 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".
| if routing_decision in {"allow_candidate", "allow_approved"}: | ||
| return "draft" |
There was a problem hiding this comment.
Don't map candidate-only routing to draft
When the Governor returns allow_candidate, it intentionally leaves the issue at loop:candidate for human review, while only loop:approved is consumed by the daemon for draft PR work. This branch records both allow_candidate and allow_approved as action_selected="draft", so insight logs or arbitration built on these records will report/learn a draft action for issues that were not approved to draft. Reserve draft for allow_approved and use a human-facing action for allow_candidate.
Useful? React with 👍 / 👎.
Summary
agent-coreto the releasedv0.7.0insight contract.Validation
uvx ruff check src testsuv run --group dev mypy --strict srcTMPDIR=/tmp uv run --group dev python -m pytest -quv run --group dev hyrule-engineering-loop evals run --strict