Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 7.28 KB

EXPERIMENTS.md

File metadata and controls

47 lines (26 loc) · 7.28 KB

Experimental integrations / 实验功能

Claude quota is no longer an experimental query. It is collected passively during CLI execution; the former quota flag is removed on upgrade. Claude native switching is unavailable because its direct identity query was removed. C3 and C2 in the development plan remove the remaining automatic account and native Codex switching features.

Claude 额度不再是实验查询功能,只在 CLI 执行时被动采集,旧额度开关在升级时移除。Claude 本机换号因其直接资料查询已删除而停止提供;剩余自动选号和 Codex 本机换号按开发计划 C3、C2 删除。

The Accounts page contains three separate switches. All default to off, including when upgrading an existing database. Enabling requires acknowledging the displayed limitations. Disabling waits until queued and running work has stopped. Daily conversations, project tasks and manually selected managed accounts remain available.

账号页有三个独立开关,新安装和旧库升级均默认关闭。开启前需了解对应限制;有排队或运行任务时不能停用。日常对话、项目任务及手动选择托管账号仍可使用。

Feature / 功能 Boundary / 边界
Automatic failover / 自动换号 Only a structured rejection before any progress permits an attempt with another explicitly allowed account. Existing failover settings are also gated. Account rotation must not be used to evade service limits. / 仅在明确拒绝且尚无进展时尝试允许的其他账号,旧策略也受开关限制,不得用于规避服务限制。
Codex native client switching / Codex 本机客户端换号 Explicit capture, switch and recovery can quit/reopen the chosen client. Snapshots are encrypted; native acceptance remains manual. / 显式保存、切换和恢复可能退出并重开所选客户端;快照已加密,真实换号需人工验收。
Additional ACP agents / 更多 Agent Fixture coverage proves protocol behavior; installed client versions and real model execution need acceptance. / 协议测试覆盖不等于已验证所有 CLI 版本和真实模型任务。

OpenAI's terms prohibit circumventing rate limits and restrictions. Anthropic's consumer terms constrain automated access except where permitted. These are implementation boundaries, not a determination that every multi-account use violates a contract. A switch being available is not provider authorization.

OpenAI 条款禁止规避限流和限制;Anthropic 消费者条款也对未经许可的自动化访问设有限制。这不等于断言所有多账号使用都违规;功能可开启也不代表已获服务商许可。

ACP credential lifetime / ACP 凭据生命周期

Runs and model discovery acquire a lock for the same native credential source. Seed files are copied into private storage only for that operation. Refreshed authentication files are copied back after checking source fingerprints; settings and proxy files are never copied back. All seed copies are removed after successful reconciliation. An interrupted copy retains a metadata journal for retry, without credential contents. The native child inherits the lease, so a crashed controller cannot recover while the child still uses credentials.

运行及模型读取会锁定同一凭据来源,仅在操作期间保留私有副本。刷新认证文件在核对源指纹后回写,设置及代理文件不回写;核对并回写成功后清理全部种子文件。复制中断保留不含凭据内容的恢复日志,可重试。子进程继承锁,控制端崩溃也不会在原生进程仍运行时回收凭据。

ACP runs sharing a provider on one registered device remain queued until the earlier run finishes; other providers and devices can proceed. Lock contention with another controller waits cancellably without a 30-second failure. Model discovery fails promptly while that login is busy, rather than waiting behind a long task.

同一登记设备、同一 ACP 服务的运行会排队,前一轮结束后自动继续;其他服务和设备可并行。跨控制端争用同一凭据时可取消等待,不再在 30 秒后失败。读取模型遇到登录占用时立即提示稍后刷新,不等待长任务结束。

If an external CLI changes the native login during a lease, later runs use that current native login. Unchanged child copies are discarded. When both sides changed, the child's complete authentication bundle is preserved under ~/.local/share/agentdock/credential-leases/<profile>/conflicts/<digest>/ with private permissions; it is never automatically restored. The active journal is cleared only after preservation succeeds. Old conflicting journals recover the same way, so one external refresh does not permanently block the provider. A failed disk write retains the journal for retry.

租约期间原生 CLI 若更新登录,后续运行沿用当前原生登录。子进程未改变凭据时直接清理副本;两侧均改变时,将子进程的完整认证文件组保存在上述私有 conflicts 目录,避免混用账号或覆盖原生登录,也不自动恢复该副本。保存成功后清理活动恢复日志,旧版遗留的冲突日志按相同规则恢复。磁盘写入失败仍保留日志供重试,正常外部刷新不会永久锁住服务。

Conflict archives have no automatic expiry or cleanup. They can contain refresh tokens and remain on disk until manually reconciled and removed; private filesystem permissions do not encrypt them. After confirming that the current native login works and a saved conflict is no longer needed, its digest directory can be removed manually. Do not include these archives in diagnostics or support attachments.

冲突存档没有自动过期或清理策略,其中可能含 refresh token,会一直留在磁盘上,直到人工核对并移除;私有文件权限不等于加密。确认当前原生登录可用且某份冲突副本不再需要后,可手动删除对应的 digest 子目录。不要将这些目录放入诊断包或支持附件。

Project delegation / 项目派工

Each project can enable Ask me before agents delegate work. Delegated work remains queued after the sender finishes; native full access does not bypass this decision. Approval releases that one dispatch, rejection returns a cancelled result, cancellation invalidates pending decisions, and restart requires explicit recovery. Changing the project preference does not approve requests already pending.

项目可启用 Agent 派工需我确认。发起者结束当前轮后,派工仍排队等待;完全访问权限不能跳过确认。批准只放行这一条,拒绝回传取消结果,取消任务会使待确认请求失效,重启后需显式恢复。修改项目开关不会自动批准已经等待的派工。

Model discovery keeps recovery storage outside temporary workspaces. Legacy credential copies with unknown provenance that differ from the native login are preserved and require reconciliation; they are never silently discarded.

模型发现的恢复存储位于临时工作目录之外。旧版本遗留凭据若与原生登录不同,会保留并要求核对,不能自动判定哪份是有效刷新结果。