Skip to content

docs: add tool and model fallback RFC#346

Open
mason5052 wants to merge 2 commits into
vxcontrol:mainfrom
mason5052:codex/issue-341-fallback-rfc
Open

docs: add tool and model fallback RFC#346
mason5052 wants to merge 2 commits into
vxcontrol:mainfrom
mason5052:codex/issue-341-fallback-rfc

Conversation

@mason5052

Copy link
Copy Markdown
Contributor

Summary

Adds a docs-only RFC for configurable fallback when tools, missing CLI commands, or model/tool-call generation fail.

Problem

Issue #341 asks for broader fallback behavior, including similar-tool fallback, optional safe tool installation, and model/provider fallback. PentAGI already has retries, tool-call fixing, reflector recovery, mentor monitoring, planner support, Installer Agent concepts, and tool-call limits. Jumping straight to runtime fallback would risk hidden automation, unsafe installation behavior, or silent provider switches.

Solution

Add examples/proposals/tool_model_fallback.md as a conservative design proposal. The RFC defines goals, non-goals, current recovery behavior, problem cases, v1 design principles, tool fallback, missing CLI handling, model fallback, operator approval, visibility, configuration sketch, failure bounds, security considerations, open questions, and incremental milestones.

The proposal keeps fallback disabled or policy-limited by default, requires visible bounded decisions, requires explicit operator approval for installs by default, rejects untrusted install commands such as curl-pipe-shell, and calls out that this should not reintroduce hidden queue or lifecycle state risks.

Refs #341

User Impact

Users and maintainers get a focused design surface before any runtime fallback code lands. This should make future implementation safer to review and easier to split into small milestones.

Test Plan

  • git diff --check
  • git diff --check upstream/main...HEAD
  • git diff --name-status upstream/main...HEAD
  • Verified the branch changes only examples/proposals/tool_model_fallback.md

Copilot AI review requested due to automatic review settings June 10, 2026 00:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds an RFC/design proposal describing a conservative, policy-driven fallback layer for tool failures, missing CLI tools, and model/tool-call failures (per issue #341), without changing runtime behavior.

Changes:

  • Introduces an RFC outlining goals/non-goals, failure bounds, and security considerations for fallbacks.
  • Sketches an illustrative configuration shape (pseudocode) for future implementation.
  • Proposes incremental milestones for implementing the feature safely.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread examples/proposals/tool_model_fallback.md Outdated
Comment thread examples/proposals/tool_model_fallback.md
Comment thread examples/proposals/tool_model_fallback.md
Comment thread examples/proposals/tool_model_fallback.md
@mason5052 mason5052 force-pushed the codex/issue-341-fallback-rfc branch from e7d52ae to 1a7012c Compare June 10, 2026 00:10
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.

2 participants