CodePanel
Decisions

Decisions

Resolve technical forks with CodePanel's 3-tier Decision Maker: fast checks, multi-model panel votes, human escalation, overrides, and learnings.

On this page›

When a coding agent hits a technical fork or design tradeoff, CodePanel's Decision Maker resolves it through a structured 3-tier cascade instead of letting the agent guess silently or blocking you on routine calls.

Every decision gets a stable short reference (D1, D2, D4) with its chosen option, rationale, code citations, tradeoffs, and panel votes, so both people and agents can audit or override it later.

How the 3-tier cascade works

When an agent calls ask_decision (or escalates a question from a run) with a question, candidate options, and relevant file paths:

  1. Tier 1 (Fast decision): A single model evaluates the question against the repository's rules, prior learnings, and cited files. If the answer is high-confidence and easily reversible, CodePanel returns it immediately.
  2. Tier 2 (Panel vote): For higher-impact or lower-confidence choices, CodePanel convenes a multi-model panel to vote independently on the options and synthesizes the consensus, rationale, and tradeoffs.
  3. Tier 3 (Human escalation): When the panel splits, confidence stays low, or the change is irreversible (such as a schema or billing boundary), the decision escalates to your Inbox with the panel's votes and tradeoffs already summarized so you can pick an option in one click.

Overriding a decision and capturing learnings

Every automatic decision is visible and reversible:

  • Open any decision in the Inbox or dashboard (or fetch it by ref, such as D4) to inspect its rationale, citations, and panel votes.
  • Override the choice with your own answer and reason at any time.
  • Optionally promote the decision to a repository learning so future runs and review rounds follow the same rule automatically without asking again (Repo context and rules).

Solution options on review findings

When a review finding has more than one valid fix (for example, changing a public signature versus preserving backwards compatibility), the review payload can include structured solution options alongside the finding. Coding agents and maintainers can compare the tradeoffs directly instead of guessing which fix the team prefers.

From an agent

Action MCP API
Ask for a decision ask_decision POST /api/v1/decisions
List decisions list_decisions GET /api/v1/decisions
Inspect a decision (D4) get_decision GET /api/v1/decisions/get
Override or answer escalated override_decision POST /api/v1/decisions/override

Next: Run control and Autopilot rules.

Last updated