> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# Task V3 Rollout 状态快照

> **Snapshot date：2026-08-04。** 本页记录可从 GitHub 与 `callytics-infrastructure/main` 复验的 source state。稳定的产品与领域定义见 [Task V3 Product / Domain Contract](/product-design/v3/tasks-feature/task-domain-lifecycle.md)。

| Metadata                | Value                                                                                                                                                             |
| ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Scope                   | Source code、PR state、checked-in config 与 evaluation evidence                                                                                                      |
| Infrastructure baseline | [`f2aba7390c902915610468cf76e48fda359bf07f`](https://github.com/retaintive/callytics-infrastructure/commit/f2aba7390c902915610468cf76e48fda359bf07f)（核验时的 `main`） |
| 不包含                     | AWS/Neon 目标环境 deployment、migration state、员工 UAT 或 PROD release evidence                                                                                           |

## 当前结论

- Task V3 已经越过早期 proposal/backend-only 阶段：Harness、统一 Reasoner runtime、approval backend、owner/staff UI、全部 Managed objective cutover allowlist、首批人工签署评估与日常 quality workflow 的 source 都已进入 `main`。
- Checked-in environment config 中，TEST 的 Task V3 runtime gates 为 `true`，`pre` 和 `prod` 对应 gates 为 `false`。
- Formal evaluation 已开始，但 formal gate 尚未通过。
- 本页没有目标环境证据，因此不得据此声称 TEST deployment/UAT 已完成，也不得声称 PROD release。

## 已进入 `main` 的 source

| Area                               | Fresh-verified source state                                                                                                                                                                                                                                | 边界                                                                                |
| ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| Harness integrity                  | [#1896](https://github.com/retaintive/callytics-infrastructure/pull/1896) merged，补齐 Provider provenance、independent close oracle 与 closed-task episode sequencing                                                                                          | Harness pass 不等于模型准确率或业务 UAT                                                      |
| Unified runtime + approval backend | [#1908](https://github.com/retaintive/callytics-infrastructure/pull/1908) merged，统一 Call Task claims、bounded Reasoner、Guard/writer，并加入 owner-scoped proposal list/approve/dismiss                                                                          | Source merged 不等于 route 已在目标环境验证                                                  |
| Legacy AI decider retirement       | [#1913](https://github.com/retaintive/callytics-infrastructure/pull/1913) merged，移除 `contacts-analyzer` 的 AI semantic Task authority                                                                                                                       | Compatibility surface 与 deterministic backstop 仍在，见下文                             |
| Human-ratified evaluation          | [#1925](https://github.com/retaintive/callytics-infrastructure/pull/1925) merged；该 PR 记录首批 21 个 stories / 62 个 checkpoints，point-in-time semantic diagnostic 为 28.6%                                                                                       | 这是诊断结果，不是 formal gate pass 或 production accuracy                                  |
| Managed objective authority        | [#1982](https://github.com/retaintive/callytics-infrastructure/pull/1982) merged，把 cutover allowlist 从 lead-only 扩到全部 7 类 Managed objectives                                                                                                               | 允许切换不等于环境已经切换或验收                                                                  |
| New Store authority default        | [#1993](https://github.com/retaintive/callytics-infrastructure/pull/1993) merged；新 Store 的缺失 authority rows 以 `target/target` provision                                                                                                                    | Existing rows 仍由 audited cutover path 管理，provisioning 使用 `ON CONFLICT DO NOTHING` |
| Approval / settings / Workbench UI | [#2024](https://github.com/retaintive/callytics-infrastructure/pull/2024) merged，包含 `Needs review` approve/dismiss、Task Automation settings 与 Managed Task close UI                                                                                        | UI source merged 不等于已部署或员工 UAT 通过                                                 |
| Daily quality workflow             | [#2037](https://github.com/retaintive/callytics-infrastructure/pull/2037) merged，加入 Task V3 daily quality check；[#2042](https://github.com/retaintive/callytics-infrastructure/pull/2042) 随后 merged，把 daily cron 校准为 3-run majority、`timeout-minutes: 120` | Workflow source 存在不替代 formal evaluation 或 release gate                            |

## Checked-in runtime gates 与 defaults

核验基线的 [`lib/config/environments.ts`](https://github.com/retaintive/callytics-infrastructure/blob/f2aba7390c902915610468cf76e48fda359bf07f/lib/config/environments.ts) 对 Task V3 gates 的取值是：

| Environment | Checked-in Task V3 gates |
| ----------- | ------------------------ |
| `test`      | `true`                   |
| `pre`       | `false`                  |
| `prod`      | `false`                  |

这只说明 repository 中的配置值。它不能证明相应 commit 已部署，也不能证明目标环境没有 drift。

两个容易混淆的 default 分别是：

- **Objective authority**：[`seedTaskObjectiveAuthorityDefaultsForStores()`](https://github.com/retaintive/callytics-infrastructure/blob/f2aba7390c902915610468cf76e48fda359bf07f/packages/common/src/domain/task-authority-provisioning.ts) 对新建或缺失 rows 写入 `create_lane=target`、`semantic_automation_mode=target`。
- **Automation tier**：[`resolveStoreAutomationTier()`](https://github.com/retaintive/callytics-infrastructure/blob/f2aba7390c902915610468cf76e48fda359bf07f/packages/common/src/control-plane/automation-tier/resolution.ts) 对成功读取但 row 缺失使用 `full_auto`；read failure 或无法识别的 stored value fail closed 到 `cautious`。

`full_auto` 仍不绕过 Guard、DNC、Store isolation、evidence、dedupe、idempotency 或 atomic writer。

## Legacy retirement 仍是部分完成

[#1913](https://github.com/retaintive/callytics-infrastructure/pull/1913) 已移除第二个 AI semantic Task decider，但 `main` 仍保留 rollout/rollback 所需的 compatibility surface：

- [`applyTaskAction()` stable facade](https://github.com/retaintive/callytics-infrastructure/blob/f2aba7390c902915610468cf76e48fda359bf07f/packages/common/src/domain/task-orchestrator/index.ts) 及 canonical legacy command adapter；
- [persisted command compatibility reader](https://github.com/retaintive/callytics-infrastructure/blob/f2aba7390c902915610468cf76e48fda359bf07f/packages/common/src/domain/task-command-persistence-compatibility.ts) 和 [legacy projection mapping](https://github.com/retaintive/callytics-infrastructure/blob/f2aba7390c902915610468cf76e48fda359bf07f/packages/common/src/domain/task-policy/legacy-compatibility.ts)；
- `contacts-analyzer` 的 [`createInvariantBackstopTask`](https://github.com/retaintive/callytics-infrastructure/blob/f2aba7390c902915610468cf76e48fda359bf07f/lambda/contacts-analyzer/src/handler.ts) deterministic invariant backstop。

这些残留不代表第二个 AI decider 仍在运行，但也说明 physical compatibility retirement 尚未全部结束。

## Open follow-ups

| PR                                                                        | Live state       | 还未进入 `main` 的能力                                          |
| ------------------------------------------------------------------------- | ---------------- | -------------------------------------------------------- |
| [#1997](https://github.com/retaintive/callytics-infrastructure/pull/1997) | **Draft / Open** | V3 Rollout control page、guarded cutover 与 kill switch UI |
| [#1998](https://github.com/retaintive/callytics-infrastructure/pull/1998) | **Open**         | 手工、只读的 dual-projection reconciliation CLI                |

Open PR 的描述与代码不能写成 `main` 已有行为；即使以后 merged，也仍需分别核验 deployment 与 runtime evidence。

## Release claim boundary

当前可以说：**Task V3 Target source 已大幅落地，TEST 的 checked-in gates 已打开。**

当前不能说：

- TEST migration 与 runtime 已按此 commit 部署并验证；
- owner/staff browser UAT 已通过；
- formal accuracy/evaluation gate 已通过；
- `pre` 或 `prod` 已启用 Task V3；
- PROD release 已完成。

## 如何复验

```bash
gh api repos/retaintive/callytics-infrastructure/commits/main --jq .sha
gh pr view 1908 -R retaintive/callytics-infrastructure --json state,isDraft,mergedAt,url
gh pr view 1997 -R retaintive/callytics-infrastructure --json state,isDraft,mergedAt,url
git show <MAIN_SHA>:lib/config/environments.ts
git show <MAIN_SHA>:packages/common/src/domain/task-authority-provisioning.ts
git show <MAIN_SHA>:packages/common/src/control-plane/automation-tier/resolution.ts
```

更新本页时必须重新核验全部 PR state 与 `main` SHA；不要只改日期。
