Repository navigation
Dependabot/GitHub actions/dependencies a8cfc930ad - #5467
Open
wayu1689w-dev wants to merge 12 commits into
Open
wayu1689w-dev wants to merge 12 commits into
wayu1689w-dev wants to merge 12 commits into
Conversation
…ers) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EGAKcmS3uz1Xhna1GGFydb
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EGAKcmS3uz1Xhna1GGFydb
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EGAKcmS3uz1Xhna1GGFydb
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EGAKcmS3uz1Xhna1GGFydb
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EGAKcmS3uz1Xhna1GGFydb
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EGAKcmS3uz1Xhna1GGFydb
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EGAKcmS3uz1Xhna1GGFydb
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EGAKcmS3uz1Xhna1GGFydb
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EGAKcnLLeaMa9S2vGmLSFV
…ide-effect tasks Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EGAKcnLLeaMa9S2vGmLSFV
Add critic and fact-check review pass
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Several active correctness and safety issues remain, including unsupported provider routes, consent authorization bypass, and thread-unsafe metrics writes that can cause failures or unintended actions.
6 open issues
Consent fingerprint omits the side-effect flag · New Image and video tasks are routed to a text-only Gemini model · New Canva adapter is eligible but cannot execute design tasks · New Ensemble workers use a thread-bound SQLite connection · New Ensemble metrics writes fail on the caller's SQLite connection · New PR description does not match the changes in the diff · New
What changed in this PR
Adds a new ai_office_orchestrator package for routing tasks across AI providers with scoring, failover, consent controls, output validation, metrics, and ensemble execution. The implementation is unrelated to the Dependabot/GitHub Actions scope described in the PR metadata.
Changes:
- Introduces task planning, provider scoring, circuit breaking, critique, consent handling, orchestration, and metrics persistence.
- Adds OpenAI, Gemini, Claude, Grok, Meta, and Canva adapters with a factory and CLI entry point.
- Adds documentation, dependency and environment configuration, and unit tests.
| File | Description |
|---|---|
| ai_office_orchestrator/tests/test_core.py | Adds unit tests for adapters, orchestration, consent, metrics, critique, and ensemble execution. |
| ai_office_orchestrator/tests/__init__.py | Marks the tests directory as a Python package. |
| ai_office_orchestrator/requirements.txt | Declares dependencies for the provider integrations. |
| ai_office_orchestrator/README.md | Documents the orchestrator design, setup, supported providers, and test execution. |
| ai_office_orchestrator/docs_provider_reference.md | Documents provider SDK, model, endpoint, and configuration assumptions. |
| ai_office_orchestrator/app/core/task.py | Defines task and result data models. |
| ai_office_orchestrator/app/core/scoring.py | Implements weighted provider scoring. |
| ai_office_orchestrator/app/core/planner.py | Classifies prompts and creates tasks. |
| ai_office_orchestrator/app/core/orchestrator.py | Coordinates provider ranking, execution, failover, critique, metrics, and ensemble calls. |
| ai_office_orchestrator/app/core/metrics.py | Persists provider outcomes and performance metrics in SQLite. |
| ai_office_orchestrator/app/core/critic.py | Provides heuristic and optional reviewer-based output validation. |
| ai_office_orchestrator/app/core/consent.py | Implements expiring, single-use consent tokens for side-effecting tasks. |
| ai_office_orchestrator/app/core/circuit_breaker.py | Implements provider circuit-breaker state transitions. |
| ai_office_orchestrator/app/core/checker.py | Rejects empty and placeholder provider outputs. |
| ai_office_orchestrator/app/core/__init__.py | Initializes the core package. |
| ai_office_orchestrator/app/adapters/providers.py | Implements provider-specific adapter classes and the default registry. |
| ai_office_orchestrator/app/adapters/factory.py | Builds configured provider adapter instances. |
| ai_office_orchestrator/app/adapters/base.py | Defines adapter credentials, health checks, profiles, and interface behavior. |
| ai_office_orchestrator/app/adapters/__init__.py | Initializes the adapters package. |
| ai_office_orchestrator/app/__main__.py | Provides the command-line orchestration entry point. |
| ai_office_orchestrator/app/__init__.py | Initializes the application package. |
| ai_office_orchestrator/.gitignore | Ignores generated metrics and Python cache files. |
| ai_office_orchestrator/.env.example | Documents provider credential environment variables. |
Review effort: Lite (adaptive)
Author
|
wayu1689w-dev:dependabot/github_actions/dependencies-a8cfc930ad |
Author
|
👍 |
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.



Please confirm this pull request meets the following requirements:
Which change are you proposing?
Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:
*.png, square, dimensions 288x288, size <= 75 kB)index.md)Curating a new topic or collection
https://github.com/topics/[NAME]orhttps://github.com/collections/[NAME])*.pngimage (if applicable) andindex.mdindex.mdconform to the Style Guide and API docs: https://github.com/github/explore/tree/main/docsSomething that does not neatly fit into the binary options above
Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.