Skip to content

docs(routing): define provider/model selection, fallback, reasoning state, and invocation evidence #195

Open

Description

@tt-a1i

docs(routing): define provider/model selection, fallback, reasoning state, and invocation evidence

Executive conclusion

OpenPI does not need a provider stack, model registry, fallback chain, reasoning store, cache identity, or endpoint router. Pi already owns those native seams.

OpenPI needs one documentation contract that distinguishes:

configured preference
  ≠ Session-selected model
  ≠ resolved request route
  ≠ transport attempt
  ≠ provider-returned model/response
  ≠ successful invocation

and:

reasoning effort
  ≠ reasoning-token usage
  ≠ visible reasoning summary
  ≠ opaque/encrypted reasoning item
  ≠ provider-native continuation state

Five independent source workstreams completed without failure, followed by synthesis and separate verification.

Fixed baselines:

  • OpenPI 2a69d3f32994da4123f1312b7fa84ef3d6119be1
  • installed Pi @earendil-works/[email protected]
  • Codex a9e447a69dee4f2789dd8d8c776e314772c1f049
  • Hermes cbd8de8ad64530be01efea23b7764d5c37c634ed
  • Grok Build c2ad97f87aea4303b6000a2c22128bc91ee76c9b
  • Gemini CLI 812f7a2bcf20b6e80e2e50c3c8fa8e26567bc1e8
  • OpenCode 8615731d46153dd29b89e205fb55b2cc16205cb0
  • Claude Code: official rolling documentation only; implementation internals are proprietary.

Runtime provenance

This is a fixed-source architecture audit, not a diagnosis of the currently loaded OpenPI runtime.

Verified while preparing this Issue:

source checkout: /Users/tushaokun/work/my-pi-setup
checkout HEAD:    2a69d3f32994da4123f1312b7fa84ef3d6119be1
checkout branch:  main
pi list source:   /Users/tushaokun/work/openpi-main-runtime
OpenPI sources:   exactly one

The inspected checkout and loaded runtime are different paths. Source conclusions below must not be represented as observed endpoint, authentication, fallback, usage or UI behavior in the running Session.

Evidence contract: README — 开发运行时:区分 npm 与当前源码.

1. Taxonomy

Selection and routing

  1. Configured preference — user/config/role-requested provider and model.
  2. Catalog model — metadata known to Pi’s ModelRegistry; catalog presence does not prove authentication or request success.
  3. Session-selected model — current provider/model recorded for a Pi Session.
  4. Resolved request model — model object after registry, auth and compatibility resolution.
  5. Endpoint route — base URL, wire API, headers, proxy/gateway and auth destination.
  6. Transport attempt — one HTTP/SSE/WebSocket request attempt.
  7. Provider-returned model — response model, when the provider reports one.
  8. Response identity — response ID or provider-native continuation identity.
  9. Successful invocation — a terminal response accepted by the client.

Failure recovery

These must never share the undifferentiated word “fallback”:

  • transport retry;
  • stream retry;
  • authentication refresh;
  • WebSocket-to-HTTP/SSE transport fallback;
  • endpoint/gateway failover;
  • same-provider model fallback;
  • cross-provider fallback;
  • startup/Session-restoration substitution;
  • context-overflow compaction and retry;
  • capability adaptation or downgrade;
  • user/model-explicit model change.

Reasoning

  • thinking/reasoning level: canonical requested control such as low or high;
  • provider effort: adapter-specific request value after model mapping;
  • reasoning tokens: provider-reported usage subset, if any;
  • reasoning summary: model-visible or user-visible summary, not chain-of-thought proof;
  • opaque signature/encrypted content: provider-specific continuation payload, not readable reasoning;
  • response item/ID: native conversation continuation data;
  • reasoning UI: presentation only.

2. Ownership

Pi owns

  • ModelRuntime and ModelRegistry;
  • built-in and refreshed model catalogs;
  • models.json and extension-registered providers;
  • credentials and OAuth refresh;
  • provider adapters and request serialization;
  • model capability metadata and thinking-level mapping;
  • provider/transport retry;
  • Pi Session model/thinking entries and JSONL replay;
  • provider-specific reasoning/continuation items;
  • usage returned in assistant messages;
  • Session IDs and provider cache-affinity inputs.

OpenPI owns

  • package-owned role defaults persisted by /openpi-setup;
  • child/Workflow model and effort request fields;
  • model-resolution precedence for OpenPI child roles;
  • creation of independent child Pi Sessions;
  • Workflow call identity, replay journal and usage projection;
  • bounded model labels and operator UI.

OpenPI-created child Session IDs and Workflow child reuse can affect Pi/provider cache affinity. This does not make OpenPI the cache-key owner; it makes child lifecycle an input to Pi/provider-owned cache behavior.

Providers/gateways own

  • actual upstream endpoint behind a gateway;
  • server-side routing and fallback;
  • provider response IDs/model labels;
  • provider-private encrypted/native continuation state;
  • authoritative billing and reported usage fields;
  • retention of provider-side state.

3. Exact Pi 0.84.3 behavior

3.1 Initial model selection

Pi’s initial resolution order is:

  1. CLI provider/model selection;
  2. scoped model selection for a non-resumed Session;
  3. model restored from the Pi Session;
  4. configured settings default;
  5. an authenticated available model.

When a persisted Session model cannot be restored, Pi can choose a currently available/authenticated model and warn. This is Session-start restoration behavior, not request-failure model fallback.

Evidence: installed dist/core/model-resolver.js and Pi Models documentation, v0.84.3.

3.2 /model and /thinking are Session state

Changing /model appends a model_change entry to the current Session even when persistence as a future global default is disabled. Resume restores that Session model before settings fallback.

Thinking changes append thinking_level_change. The effective level may be clamped/mapped for the current model.

Evidence:

A model change does not proactively prove that existing context, tools, images, structured output or provider-native continuation items remain compatible. A smaller context window can fail before the one compaction-and-retry path succeeds.

3.3 Catalog presence is not authentication

Pi merges built-in models, custom models.json, remote/provider catalogs and extension registration. A registry match proves catalog resolution, not valid credentials, quota, endpoint reachability or model availability at request time.

Custom provider/model metadata can include:

  • API/wire protocol;
  • base URL and headers;
  • authentication behavior;
  • reasoning support and thinkingLevelMap;
  • input modalities;
  • context window and max output;
  • pricing and sampling defaults;
  • provider compatibility flags;
  • gateway routing settings.

Evidence:

3.4 Retry and fallback matrix

Mechanism Pi behavior Does route/model change?
Provider transport retry transient network/408/409/429/5xx retry with retry-after/backoff normally no
Agent auto-retry retryable overload/rate-limit/server failures; Session preserves audit history while live context can omit failed assistant no generic model change
Overflow recovery compact and retry once no automatic model change
OAuth refresh refresh expired provider credential no intended route/model change
Session restoration substitution missing/unusable persisted model selects another available model yes, before normal request execution
OpenRouter routing provider-native order/only/allow_fallbacks and related policy gateway may change upstream/model
Anthropic server-side refusal fallback provider may return another actual model provider-side model change
Generic Pi endpoint failover no universal contract established unknown/adapter-specific
Generic runtime cross-provider fallback not established no general Pi contract

Evidence:

Provider-side routing is real even though Pi does not select the fallback itself. A selected provider/model label therefore cannot always prove the actual upstream model.

3.5 Reasoning state

Pi’s canonical thinking levels are:

off | minimal | low | medium | high | xhigh | max

Model metadata can map levels to provider-native values or mark levels unsupported. Adapters then serialize OpenAI reasoning effort, Anthropic adaptive/budget settings, OpenRouter fields and other provider-specific controls.

Provider usage may expose reasoning, but it is provider-dependent and is included within output usage rather than an additional token total. Missing reasoning usage means unknown, not zero.

OpenAI Responses and other adapters can preserve opaque reasoning signatures/items, encrypted content and response IDs for continuation. These are not readable chain of thought. On cross-model/provider replay, Pi adapters may transform or drop incompatible identifiers/items.

Evidence:

  • thinking-level map
  • installed pi-ai/dist/types.d.ts;
  • installed pi-ai/dist/api/openai-responses-shared.js and provider adapters.

3.6 Usage and cache

Assistant messages may persist provider/model, usage, cost, response ID/model and provider-specific metadata. Availability varies by adapter/provider.

Session cumulative usage includes historical messages, including compacted history. Current context occupancy is compaction-aware and can decrease. Neither is direct billing proof unless reconciled with provider accounting.

Session identity may feed provider cache affinity, headers or prompt_cache_key. OpenPI must not infer cache identity from a model label, response ID, latency or a Session UUID alone.

Architecture and diagnostics remain owned by #191 and #156.

4. OpenPI child and Workflow routing

4.1 Model precedence

At the fixed OpenPI revision:

  1. explicit model on the spawn/Workflow invocation;
  2. model in the selected Agent Type;
  3. role assignment persisted by /openpi-setup;
  4. parent Session’s current model.

For a bare model ID, resolution prefers the parent provider, then requires global uniqueness. A registry match does not verify auth; child creation may succeed and the provider request may fail later.

Evidence:

Explicit model fields are model-authored tool arguments and can select any matching registry provider/model. There is no separate cost/provider allowlist or confirmation at this boundary. This is current behavior, not proof that the model has credentials or that a route will succeed.

Do not add a new confirmation/allowlist without a concrete authority requirement. Do document the actual selected child model and failure honestly.

4.2 Reasoning precedence

  1. explicit reasoning_effort;
  2. Agent Type default;
  3. parent Session thinking level.

OpenPI passes the resolved Pi model and canonical thinking level into a newly constructed Pi child Session. It does not own provider-native reasoning serialization.

4.3 Independent child state

Children create fresh Pi Sessions with fresh Session IDs, resources and extension runtimes. They do not copy the parent response ID, provider-private continuation items, live connection, or cache state.

They inherit provider/model/thinking preferences as described above, not native provider continuation identity.

Evidence:

4.4 Workflow replay

Pi owns JSONL Session history and provider-message replay. OpenPI separately owns Workflow journals, call-key replay, result artifacts and replay accounting.

A Workflow replay hit reuses a persisted child result without a provider call. It therefore has no new actual provider route, response ID or provider usage. The replay receipt must refer to the original invocation identity and say that no new model execution occurred.

Workflow replay identity can include selected model/provider/effort. It must not be confused with provider cache reuse or native continuation.

5. Observability contract

5.1 Current labels

OpenPI footer/model-info primarily displays the current Session’s selected provider/model, thinking level, context/cost/cache projections and throughput. It does not prove:

  • actual endpoint URL;
  • gateway upstream provider;
  • retry attempts;
  • OAuth refresh;
  • provider-side fallback;
  • response ID;
  • native reasoning item;
  • reasoning token count;
  • cache key or hit identity.

The child backend can inspect the final assistant message and prefer responseModel when present, which is closer to invocation evidence but still depends on provider reporting.

Evidence:

5.2 Minimal invocation receipt vocabulary

Documentation should distinguish, without requiring OpenPI to collect fields Pi does not expose:

requestedProviderModel
sessionSelectedProviderModel
responseProviderModel?      // provider-reported
responseId?                 // sensitive/provider-specific
thinkingLevel
reasoningUsage?             // unknown when absent
attemptKind?                // retry/fallback only when observed
replayed                    // no new provider call
usage?                      // provider-reported
terminalStatus

Unknown is a valid state. UI labels must not synthesize actual-route evidence.

Secrets, auth source values, bearer headers, endpoint credentials, opaque reasoning payloads, cache keys and provider-private continuation state must not be copied into setup state, Workflow artifacts, child prompts or default UI.

6. Cross-system comparison

Codex

At a9e447a, Codex has layered configuration, provider definitions, custom endpoints/auth/wire protocols, model catalogs, capability metadata, transport retries and limited same-provider model fallback.

Important distinctions:

  • project config cannot override sensitive provider/endpoint/auth-routing fields owned by higher-trust layers;
  • WebSocket → HTTPS is transport fallback, not model/provider fallback;
  • allow_provider_model_fallback can substitute a provider default for an unavailable requested model;
  • model switching recomputes reasoning compatibility and context window;
  • Responses requests carry reasoning effort/summary and native response items/IDs;
  • full-history child forks constrain model/effort override behavior;
  • no generic cross-provider fallback was established.

Sources:

Claude Code

Official rolling contracts document:

  • /model, aliases, version pinning and allowed models;
  • CLI/settings/environment model selection;
  • --fallback-model behavior;
  • Bedrock, Vertex and Foundry deployment paths;
  • effort/adaptive thinking and extended-context availability;
  • child Agent model inheritance/override.

The proprietary implementation does not expose enough evidence to claim exact routing order after every gateway, fallback trigger internals, response identity, endpoint, token accounting or provider-private continuation handling.

Sources:

Hermes

Hermes has the richest explicit fallback chain in this comparison:

  • OpenRouter provider preferences and routing constraints;
  • configured auxiliary provider/model/base-URL credentials;
  • fallback classification for empty response, rate limit, transport and auth failures;
  • exhaustion paths back to the main Agent;
  • model/provider-specific reasoning serialization and downgrade behavior;
  • Codex-style reasoning/message items and encrypted-content issuer guards;
  • Session DB fields for model/config/cache/reasoning/billing route.

This demonstrates why fallback requires route- and issuer-aware reasoning compatibility. It should not be copied into OpenPI, because Pi remains OpenPI’s provider owner.

Source: Hermes fixed tree.

Grok Build

Grok is primarily a single xAI product stack rather than a generic cross-provider router. Its fixed source distinguishes requested model, resolved model and optional model fingerprint. Fork can inherit or explicitly change model. Role-specific model resolution can fail open to the current Session model with structured telemetry.

Retry, authentication refresh and managed endpoint selection remain separate mechanisms; no generic cross-provider LLM fallback was established.

Source: Grok Build fixed tree.

Gemini CLI

Gemini CLI has its own model router, availability service and fallback semantics. A selected route can become sticky, while failures can select a different available model and rebuild model-specific configuration.

That behavior proves only Gemini’s design. It must not be inferred for Pi/OpenPI.

Source: Gemini client fixed source.

OpenCode

OpenCode has a provider catalog, custom loaders/endpoints and AI SDK capability adaptation. Session retry uses bounded exponential backoff with jitter. The fixed source did not establish a universal cross-provider fallback chain.

Sources:

7. /openpi-setup contract

/openpi-setup remains the sole package-owned configuration entry point.

Any future package-owned role model choice must continue to update:

  • extensions/setup/;
  • extensions/shared/setup-config.ts;
  • no-argument /openpi-setup status;
  • SETUP.md;
  • canonical defaults and prose in README.md.

Required invariants:

  • no provider/model hardcoded as a package default;
  • role models inherit the parent unless explicitly configured;
  • no model call during installation or before explicit configuration;
  • store provider/model references, never credentials;
  • validate references against Pi’s registry at write time, while documenting that auth/availability are request-time facts;
  • do not silently rewrite existing Pi preference files;
  • do not automatically reload the running Session after setup persistence.

8. Relationship to existing Issues

  • #169 owns external capability Provider seams such as Browser/Web/GitHub/Computer/Security; it does not own LLM provider routing.
  • #188 owns repeated branch scanning in model-info.
  • #156 owns per-turn cache diagnostics.
  • #191 owns prompt-cache identity/accounting/lifecycle architecture.
  • #193 owns Pi Session and Workflow replay lifecycle.

This Issue is documentation-only: selection, routing, fallback taxonomy, reasoning-state ownership and evidence boundaries.

9. Decision and non-goals

No runtime change is currently justified.

Do not add:

  • an OpenPI model registry or provider adapter stack;
  • routing precedence parallel to Pi;
  • automatic cross-provider fallback;
  • a fallback state machine;
  • endpoint/auth configuration outside Pi;
  • a reasoning or chain-of-thought store;
  • response/native-continuation replay owned by OpenPI;
  • cache-key inference or provider cache registry;
  • hardcoded provider/model defaults;
  • installation-time model calls;
  • raw auth, endpoint secrets, cache keys or encrypted reasoning in UI/artifacts;
  • UI claims about actual routing without provider response evidence.

A future observability improvement should first expose existing Pi facts rather than manufacture a route abstraction.

10. Unknowns

  • Actual endpoint, auth source, retries and server-side fallback in the currently loaded runtime.
  • Whether a gateway’s returned model identifies the ultimate compute model in every case.
  • Provider-internal routing hidden behind one API model ID.
  • Complete retry/fallback behavior for every Pi adapter.
  • Provider-specific persistence and replay guarantees for opaque reasoning items.
  • Authoritative reasoning-token accounting when the provider omits it.
  • Context/tool/structured-output compatibility after arbitrary model changes.
  • Provider file/attachment compatibility across model or provider switches.
  • Exact cost and cache consequences of child Session identity.
  • Claude Code private routing and continuation internals.
  • Generic cross-provider fallback in Grok/OpenCode; none was proven.

11. Acceptance criteria

  • Documentation distinguishes configured, catalog, Session-selected, resolved, endpoint, attempt, provider-returned and successful invocation states.
  • Retry, auth refresh, transport fallback, endpoint failover, model fallback, provider fallback, restoration and capability adaptation are separate terms.
  • Pi remains owner of ModelRuntime, registry, providers, auth, retries, reasoning serialization, Session entries and provider usage.
  • OpenPI Workflow replay remains separately owned and is never called provider retry/cache/native continuation.
  • /model and /thinking Session persistence and restoration are documented.
  • Registry resolution is not described as authentication or availability proof.
  • Provider-side OpenRouter/Anthropic routing is acknowledged without attributing it to OpenPI.
  • Generic Pi cross-provider request fallback is not asserted.
  • Model changes require honest re-evaluation of context, tools, modality, structured output and reasoning compatibility.
  • Reasoning effort, provider effort, reasoning usage, summary, encrypted item and response identity remain distinct.
  • Missing reasoning usage is unknown, not zero.
  • OpenPI child model and effort precedence is documented exactly.
  • Child registry resolution is not called auth preflight.
  • Explicit child override behavior and absence of a separate provider/cost confirmation are documented without adding an unrequested gate.
  • Child Sessions do not claim parent response/native-continuation/cache inheritance.
  • Replay hits say no new provider invocation occurred.
  • Selected-model UI labels are not treated as actual-route receipts.
  • Provider-reported responseModel/responseId is optional evidence, not universal truth.
  • Usage, current context occupancy, cumulative Session stats and billing remain distinct.
  • Sensitive auth, endpoint, cache and opaque reasoning state is not copied into setup/UI/artifacts.
  • /openpi-setup remains the sole package configuration entry and stores no credentials or hardcoded default.
  • Source-checkout and pi list runtime provenance are reported separately.
  • capabilities: 定义 Browser、Web、GitHub、Computer 与 Security 的外部 Provider Seam #169/perf(model-info): 每次生命周期 refresh 都完整扫描 Session branch #188/observability: 从累计 cache 命中率升级到逐 turn 的 prompt-cache 失效诊断 #156/docs(cache): clarify prompt-cache ownership, identity, accounting, and lifecycle boundaries #191/docs(session): define lifecycle, recovery, replay, and side-effect boundaries #193 ownership is preserved.
  • No second registry, provider stack, router, fallback engine, reasoning store or cache manager is introduced.

Activity

  1. added
    documentation
    on Aug 25, 2026
  2. 627150795 commented on Aug 28, 2026

    @627150795
    Contributor

    Hi! I would like to work on this documentation-only issue. I will document the distinction between configured, selected, resolved, routed, attempted, provider-returned, and successful model states; separate retry/fallback/reasoning concepts; record Pi and OpenPI ownership and evidence limits; and preserve the current setup contract without adding a model registry or routing engine.

  3. 627150795 commented on Aug 28, 2026

    @627150795
    Contributor

    Update: I completed the documentation-only implementation for this issue.

    The earlier claim is the public record that I was working on this issue.

  4. tt-a1i commented on Sep 8, 2026

    @tt-a1i
    CollaboratorAuthor

    2026-09-08 目录第二轮,不改 #195 的 routing / invocation evidence 范围。

    本轮未安装、未运行。不新增第二条 /openpi-setup。

  5. tt-a1i commented on Sep 9, 2026

    @tt-a1i
    CollaboratorAuthor

    2026-09-09 源码对照(未安装、未运行)。不改 #195 的 routing / invocation evidence 范围,不新建 provider Issue。

    记录:https://github.com/openpi-dev/openpi/blob/a9b40f0044ee59c360a6077c1c0bdbdbd30da10b/docs/research/EXPERIMENT_PROVIDERS_AUTH_2026-09-09.md
    (本地尚未 commit;对照日写在该文件。OpenPI checkout a9b40f0。官方 Pi docs @earendil-works/pi-coding-agent 0.85.1 / 6160683。)

    相对 2026-09-08 只点名 pi-accounts / deprecated pi-retry,本轮新的源码事实:

    • 官方 Pi 0.85.1 已经拥有 /login radius 与 Radius 目录。@earendil-works/pi-radius npm 0.1.16 是 routing / web_search / notices extras;radius/auto 明确不接受用户 force/prefer。自动选上游是网关策略,不是 OpenPI 该做的 model fallback。
    • 嵌套 harness 的两个完整实现,正好是正文「不要第二套 provider 栈」的具体例子:
      • @vanillagreen/pi-claude-bridge 4.0.1:Claude Agent SDK 当 pi-claude provider;默认把 Fable 5.1 / Opus 5 的 SDK fallbackModel 设为 claude-opus-4-8,并处理 model_refusal_fallback。
      • pi-cursor-sdk 0.3.6:registerProvider("cursor") + @cursor/sdk 本地 loop;无 key 时用 37 模型 fallback 快照,含 auto-smart。
    • Anthropic OAuth 塑形有两条用户包,都不是 OpenPI 该吸收的传输层:@gotgenes/pi-anthropic-auth 2.0.8(registerProvider 包装 streamSimple)与 @benvargas/pi-claude-code-use 2.2.0(before_provider_request + MCP 别名)。
    • @benvargas/pi-synthetic-provider 1.2.5 与 @benvargas/pi-openai-fast 1.1.0 展示社区里硬编码 fallback / supportedModels 表有多常见——正好是正文 NON-GOAL。
    • 官方 providers.md 没有 Google Antigravity 或 Cursor。feat(ai-providers): add Google Antigravity and Cursor OAuth providers #234 若在 OpenPI 里做 extensions/ai-providers/,就是拥有 provider 栈,而不是包一层官方已有物。用户要 Cursor-in-Pi 应自装社区包并接受嵌套 loop,不应变成 OpenPI 默认。
    • @czottmann/pi-automode 1.16.0 是执行门;classifier 默认跟当前 Session 模型,缺模型则挡动作。归属 runtime: 试点全局 allow/ask/deny,不引入社区权限包依赖 #497,不是本帖的 routing 引擎。

    硬禁仍然成立:OpenPI 不拥有 provider 栈、不硬编码默认模型、不把 auto model fallback 或嵌套 harness 做成默认 provider。/openpi-setup 继续只存包自有角色偏好(继承父模型)。#348 只投影 Pi 已有认证可用性,不写凭据。

    本轮未 pi install、未运行、未登录。

  6. tt-a1i commented on Sep 9, 2026

    @tt-a1i
    CollaboratorAuthor

    2026-09-09 SHA-pinned split(研究,不改 #195 正文,不实现 provider)。

    对照:

    • 本工作区 HEAD a9b40f0044ee59c360a6077c1c0bdbdbd30da10b(package 0.4.0)没有 extensions/ai-providers/ / registerProvider。
    • origin/main 0d17f4577fe31315fe6c95370d251bdb4e2413cf / tag v0.8.1 a3edee28fec813582db6b3b1341754cef4597f81 有。引入 merge 71acb1daf8243564f88cdcbd1f9eefd17fdf5932 = PR feat(ai-providers): add Antigravity and Cursor OAuth providers #269;Cursor 桥后续 #426 eaf470b / #432 0bd0041 / #484 e4c2bf4。index.ts 在 v0.8.1 与 0d17f45 上 blob a8c19721。

    拆法(不要焊成一句):

    1. docs(routing): define provider/model selection, fallback, reasoning state, and invocation evidence #195 社区 Ignore 仍成立。 不要把 Claude Agent SDK / pi-cursor-sdk 嵌套 harness、平行 ModelRegistry、自动跨 provider fallback、安装期模型调用、或包默认选中某家,收成 OpenPI 默认。capabilities: 定义 Browser、Web、GitHub、Computer 与 Security 的外部 Provider Seam #169 仍是 Browser/Web/GitHub/Computer/Security 外部能力缝,不是 LLM routing。
    2. feat(ai-providers): add Antigravity and Cursor OAuth providers #269 不是那条第二栈。 它是 Pi 已有缝上的 opt-in 适配器:pi.registerProvider(createProvider) + 原生 /login + auth.json。inert until login;/openpi-setup 不登录、不写凭据;DEFAULT_SETUP_CONFIG.roleModels 仍是 {}。Cursor 不执行 Cursor-native 工具、不拓宽 child 工具集(fix(subagents): support Pi tools, target workspaces, and Cursor execution #426 起把当前 Session 的 Pi 工具广告成 MCP,执行仍回 Pi)。无新的模型面工具,因此没有 CHILD_SAFE / CHILD_EXCLUDED 新行。
    3. feat(ai-providers): add Google Antigravity and Cursor OAuth providers #234 仍 OPEN ≠ origin 没有实现。 PR feat(ai-providers): add Antigravity and Cursor OAuth providers #269 只写 Related,没有 close。本 checkout 不要按 feat(ai-providers): add Google Antigravity and Cursor OAuth providers #234 再做一遍。

    本地记录(尚未 commit,blob 链接在入库前不可解析):docs/research/EXPERIMENT_AI_PROVIDERS_269_2026-09-09.md。不替换 #195 (comment) 的社区包对照。未 pi install,未运行真实 /login。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions