Tighten hybrid control-plane handoff and vision fallback - #30683
Draft
yoshio-cell wants to merge 3 commits into
Draft
yoshio-cell wants to merge 3 commits into
yoshio-cell wants to merge 3 commits into
Conversation
- Refactor check_hybrid_control_plane.py: add --handoff/--all-handoff-fixtures
modes with fail-fast gate pipeline (schema -> forbidden_path_writes ->
prompt_artifact_unchanged -> diff_size_limit:SKIP -> unit_tests -> cost_cap:SKIP
-> AUTOMATED_PASS_HUMAN_REVIEW_REQUIRED)
- Normalize leading ./ in changed_files before forbidden-path comparison;
AGENTS.md.backup passes, ./AGENTS.md is caught as forbidden (not format error)
- Add agent enum validation (must be claude_code or codex)
- Add empty changed_files detection at schema gate
- Treat absent test_results as unit_tests SKIP/missing-evidence (fail-fast)
- Register ALL_HANDOFF_EXPECTED closed map; fail on unknown stub-handoff-*.yaml
- Add 6 new adversarial fixtures:
stub-handoff-fail-agent-enum.yaml
stub-handoff-fail-dotslash-prompt-artifact.yaml
stub-handoff-fail-empty-changed-files.yaml
stub-handoff-fail-test-results-absent.yaml
stub-handoff-fail-traversal.yaml
stub-handoff-pass-agent-md-backup.yaml
- Expand test suite: 92 tests (280 in skills slice), all green
- Add Phase 1.5 plan doc (dogfood adversarial-review amendments)
Collaborator
|
Thanks for the defensive handoff and routing work. The vision portion needs to be separated from the remaining draft work. Problems
Suggested changes
Automated hermes-sweeper review. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
async_call_llm(task="vision")behavior.grok-4.3viaxai-oauthorgemini-3-flash-previewsubscription route before API-key/OpenRouter spend.QA
python -m py_compile agent/auxiliary_client.py tests/agent/test_auxiliary_client.py tests/agent/test_auxiliary_main_first.py tests/tools/test_vision_tools.py tools/vision_tools.pytests/tools/test_vision_tools.pytests/agent/test_auxiliary_main_first.pytests/agent/test_auxiliary_client.pypython -m pytest tests/agent/test_auxiliary*.py tests/tools/test_vision_tools.py -q342 passed, 6 skippedgit diff --checkNotes
This updates the existing hybrid control-plane MVP PR with the Phase 1.5 guard tightening and the auxiliary vision fallback fix.