Repository navigation
Read archived decisions without repeating the original prose - #9173
Conversation
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · Antigravity · Google Deepmind · self_reported
Approval conclusion (author-owned PR; GitHub blocks formal self-approval)
无阻塞性发现(no blocking finding)。
动机 / Motivation
需要核对归档或只读来源 Goal 历史执行决策的维护者与研究复盘人员,在工作台执行抽屉(ContextDrawer 的 SourceRunHistory)与策略历史阅读器(GoalSourceStrategies)中阅读原文记录。
改动前,只读来源 Goal 的执行抽屉只展示时间、回合编号和策略检查点决策标签,缺失完整原始决策正文;同一条目的“其他决策字段”展开后会把上方已结构化呈现的目标、观察与后续计划再重复渲染一遍,导致同一段原文在阅读区出现两次、破坏浏览器验收,且当来源使用 workspace_goal_id 别名时状态路由还会把 agent_vision 内的原始 goal_id 改写为本地别名。改动后,执行抽屉直接复用共享文档阅读器展示每条保留记录的完整结构化决策与附加字段,结构化章节已消费的键不会在附加字段中重复出现,未保留完整正文时明确提示未留存,状态投影也跳过 agent_vision 以保持原始身份不变。
用户在只读来源 Goal 的执行抽屉与策略历史页中可以无重复地通读结构化决策、按需展开附加未映射字段与完整原始记录(含原始 Goal、来源命名空间与记录身份),并隐藏不适用于归档记录的实时会话标签与高级诊断开关,同时保留本地正常 Goal 与提案/调度抽屉的原先诊断入口。
边界与非目标:不改变只读限制、不引入新的后端历史接口或持久化状态、不修改实时 Goal 的执行会话与高级诊断路径,也不承担已安装桌面 App WebView 读取、完整未压缩执行包下载或父级跨 Goal 对比。
当前增量仍留边界:受限于 status.json 的 compact_run 窗口,执行抽屉只呈现 latest_runs 中保留的最近记录而非全量历史;完整历史与未压缩原始记录仍需经策略历史接口读取,且正式已安装桌面 App、完整执行包与父级对比仍待后续独立验证。
改动思路 / Approach
本 PR 通过“状态投影保真 + 前端唯一文档组件复用 + 归档抽屉诊断隔离”三条最小接缝打通只读归档决策阅读。上游 projectGoalSourceStatus 在递归映射 workspace_goal_id 时跳过 agent_vision 子树,确保无论来源是否使用工作区别名,原生决策对象内的 goal_id 及未来嵌套字段都不被本地路由字段污染;runRecordSchema 以 .nullish().catch(null) 宽容接纳 agent_id、turn_instance_id、vision_checkpoint 与 agent_vision,在老快照缺失或异常字段时静默降级而非打断整份状态解析;前端 dashboard-page.tsx 仅在 goal.source_access 存在时映射 sourceRunHistory,ContextDrawer 的 SourceRunHistory 与策略历史页 GoalSourceStrategies 共用同一个 GoalStrategyDocument 组件渲染,既避免维护两份结构化/回退逻辑,也使本次去重修复同时惠及两处阅读入口。
在结构化与未映射字段去重上,方案选择了在 GoalStrategyDocument 内部基于浅拷贝 additional、由 readDecisionSection / readDecisionText 按已消费键摘除的策略,而非在“其他决策字段”处整体重绘原始对象或硬编码黑名单。这样既不修改原记录对象引用,也能在零重复的前提下自动接纳任何新增顶层或嵌套字段(包含 0 与 false)。对于归档执行记录,抽屉在 sourceRunGoal 命中时直接呈现 SourceRunHistory(含来源、原 Goal 身份和记录数),并屏蔽实时运行标签页与 personal-diagnostics-trigger“高级诊断”开关,因为归档条目本身已在每份文档底部折叠区提供“完整原始记录与来源”。
架构边界判定与当前 PR 边界:复用现有的 GoalStrategyDocument 作为策略历史与归档执行抽屉的唯一决策文档渲染 owner,用纯读取-消费浅拷贝将结构化章节与附加未映射字段在同一渲染层分离,并在状态投影入口 projectGoalSourceStatus 显式保留 agent_vision 原文身份,无需新增第二套历史阅读器或后端投影接口。本 PR 边界限定在只读来源 Goal 的执行抽屉接入、GoalStrategyDocument 去重展示、alias 状态路由保真、以及用真实 ContextDrawer SSR 校验替代源码正则耦合;不扩展后端 history/status 窗口,也不在本轮修改通用 .personal-detail-card 的网格布局。
具体改动 / Changes
精确 head fb09887f12bcac638b3fef03254998d04f66f8cb,基线 64353773dc8b1ca82ff531cc7653dec6c3d41c0b,共 6 笔签署提交、11 个文件(生产代码 9 个 +224/-61;测试 2 个 +126/-1;文档 0 个;总计 +350/-62)。按 docs/development/frontend-delivery.md(spec_revision 387a8ea7b404222aec95edf4e4a7c061f7ea0b29)以及 design.md 核对以下映射条目(注:原规范为连续散文而非编号清单,以下标识符为本评审对对应条款的映射):
source-original-identity:implemented(projectGoalSourceStatus、SourceRunHistory;验证:npm --prefix apps/presentation/dashboard run test:native-decision-read、tests/control_plane_ts/goal_source_links.test.ts15/15 PASS)。使用workspace_goal_id时仅外层run.goal_id与路由字段改为别名,run.agent_vision与抽屉显示的原 Goal 身份保持原始值。source-read-only:implemented(SourceRunHistory、ContextDrawer;验证:smoke:runtime-source-workspacePASS、native-decision-read.test.mjsPASS)。归档执行抽屉无执行、恢复、纠偏或会话控制按钮,且隐藏实时诊断入口。original-decision-content:implemented(GoalStrategyDocument、readDecisionSection、readDecisionText、NativeDecisionFields;验证:test:native-decision-readPASS、smoke:runtime-source-workspacePASS)。结构化章节消费过的字段不会在“其他决策字段”中二次出现,未知嵌套字段及0/false保留可读,且不修改传入agent_vision对象。archived-execution-provenance:implemented(SourceRunHistory、ContextDrawer、native-decision-read.test.mjs;验证:test:native-decision-readPASS、实测 Playwright 归档抽屉检查 PASS)。归档执行记录依赖每条记录内置的“完整原始记录与来源”折叠区并省略personal-diagnostics-trigger,同时保留本地正常run、proposal、schedule的诊断开关与output排除规则。native-app-source-readback:deferred(超出本 PR 边界,留待正式安装版桌面 App 验收阶段由发布与桌面端负责)。
关键代码讲解
GoalStrategyDocument与readDecisionSection:先建立顶层浅拷贝additional,在渲染vision_patch、path_delta、stride_decision各已支持字段时通过readDecisionSection为每个嵌套段建立局部浅拷贝并在提取后delete已渲染键;当整个段被消费完时从上层对象删除,若仍留有未映射键(如axes、未知扩展字段或非字符串值0/false),才保留在“其他决策字段”中由NativeDecisionFields展示。若additional为空则不渲染该折叠区,从源头避免空折叠与 prose 重复。projectGoalSourceStatus:在递归路由函数route(value, key)中对key === "agent_vision"直接返回原值,明确将 Agent 原生决策文档视为不透明原生载荷,只路由外层run与调度索引字段。SourceRunHistory与ContextDrawer:在selection.kind === "goal"(sourceAccess存在时)与selection.kind === "run"(sourceRunGoal命中时)两条入口复用的折叠列表组件;为每条保留记录展示记录类型、原回合turn_instance_id、检查点决策,并在存在agent_vision时传入GoalStrategyDocument executionRecord,否则显示drawer.sourceRunDecisionUnavailable;同时在第 404、713、1127–1128、1388 行将归档执行抽屉与实时运行页签及personal-diagnostics-trigger隔离。runRecordSchema与buildPersonalHomeModel:前者以.nullish().catch(null)保护老快照与畸形字段,后者仅在goal.source_access存在时构建sourceRunHistory,确保本地常规 Goal 完全不走该分支。native-decision-read.test.mjs与personal-workspace-contract.test.mjs:移除了原先要求selection.kind === "run" || ...源码字面量的脆弱正则断言,改为直接 SSR 渲染ContextDrawer验证归档运行、当前运行、提案、调度与输出五类对象的诊断开关存在性,并将npm run test:native-decision-read纳入smoke:personal-workspace与打包门禁脚本。
对主干的风险 / Risks
- 回归与负面路径分析:
- 本地正常 Goal(feature-off / 无
source_access)隔离完整:dashboard-page.tsx#L1150-L1154仅在goal.source_access存在时生成sourceRunHistory,context-drawer.tsx#L398-L400、#L940、#L1128与#L1388对本地 Goal 保留原personal-goal-session、personal-run-drawer-tabs与personal-diagnostics-trigger;native-decision-read.test.mjs对照验证了currentDrawer、proposalDrawer、scheduleDrawer保留诊断开关而archivedDrawer与outputDrawer隐藏它。 - 状态与边界负例:非对象或畸形
agent_vision(undefined、null、[]、字符串、数字)经runRecordSchema降级为null并显示“未保留完整决策正文”;projectGoalSourceStatus拒绝goal_id不匹配的原生状态;策略历史切换或损坏保留原有错误提示与重试按钮。 - 非阻塞样式观察(P3):在
ContextDrawer(data-context-kind="run")内展开SourceRunHistory下方的“其他决策字段”时,personal-workspace.css#L1351的.personal-detail-card dl div(grid-template-columns: 74px minmax(0, 1fr))在 390px 与 1440px 下都会使顶层未知长键名(如future_field)在 74px 列内换行并收窄嵌套对象右栏;上方主结构化正文与下方原始 JSON 区块排版正常,也无横向溢出(scrollWidth <= innerWidth),建议后续将.personal-source-run-history .source-strategy-document dl > div或窄屏下的.personal-detail-card dl div改为单列堆叠。 - 轻微展示细节:
context-drawer.tsx#L86当run.turn_instance_id缺失时,version字符串会留下末尾·,仅影响折叠来源详情内的文本美观。
- 本地正常 Goal(feature-off / 无
- 本地全量验证矩阵(
wait_for_ci: false,均在精确 headfb09887f12bcac638b3fef03254998d04f66f8cb上执行):npm --prefix apps/presentation/dashboard run test:native-decision-read(含中英文去重 SSR、0/false、不可变性、alias/non-alias 投影、ContextDrawer诊断边界):PASS。node --no-warnings --experimental-strip-types --test tests/control_plane_ts/goal_source_links.test.ts:PASS(15/15 passed)。node --no-warnings --experimental-strip-types --test tests/control_plane_ts/source_projection.test.ts tests/control_plane_ts/source_grants.test.ts tests/control_plane_ts/vision_checkpoint.test.ts:PASS(59/59 passed)。node --no-warnings --experimental-strip-types --test ...research-record-versions/export/search.test.mjs:PASS(12/12 passed)。node apps/presentation/dashboard/src/features/personal-workspace/personal-workspace-contract.test.mjs:PASS。npm run typecheck:control-plane与npm --prefix apps/presentation/dashboard run build(含tsc --noEmit && vite build && npm run build:chat)与check:css-custom-properties(43 份样式表、62 个定义 token、0 未定义引用):PASS。smoke:presentation-surface-schema、smoke:status-projection-contract、smoke:research-analysis-read、smoke:goal-work-browse、smoke:team-report、smoke:answer-report、smoke:goal-order、smoke:goal-activity、smoke:proposal-recency、workspace-theme.test.mjs、font-token.test.mjs、server-startup.test.mjs:PASS。npm --prefix apps/presentation/dashboard run smoke:runtime-source-workspace(修复了 #9128 在第 203 行失败的重复文本 strict mode 断言)与smoke:status-source-switch-packaged:PASS。- 打包浏览器场景
research-source-recovery、research-finding-reader、research-native-reading:PASS;另有RuntimeWorkspaceServer+source_access的 Playwright 实景抽屉测试(1440px 与 390px 折叠/展开/缺失正文/Escape 焦点归还):PASS。 pytest tests/presentation/test_runtime_workspace.py tests/presentation/test_research_analysis_api.py tests/presentation/test_goal_source.py tests/presentation/test_linked_goal_sources.py:PASS(85 passed;本 PR 未修改任何.py文件,故未针对.py改动运行 ruff/mypy)。examples/semantic-vocabulary-drift-smoke.py与loopx check --scan-path ...(全部 11 个改动文件):PASS(0 errors, 0 warnings)。loopx canary premerge --from-git-diff --git-diff-base 64353773dc8b1ca82ff531cc7653dec6c3d41c0b --tier standard:PASS(4/4 direct checks,10/10 catalog canaries,8/8 risk-profile smokes,0 manual holds)。- 远程 CI 状态:UNVERIFIED(按当前配置
wait_for_ci: false不等待也不参考远程 CI)。
我的整体评价 / Verdict
本 PR 在精确 head fb09887f12bcac638b3fef03254998d04f66f8cb 上完整解决了 #9128 遗留的别名身份改写与阅读区正文重复两大问题,并妥善修复了随后的诊断按钮测试耦合,使策略历史页与归档执行抽屉能够共享同一套不重复、不改写原记录的渲染路径,本地 TS/构建/打包浏览器/Python 后端/标准 premerge 门禁均全部通过,无阻塞性发现。就产物与长期影响判断,long_horizon 为 preserved(只读边界与本地状态不变,无额外持久化或重试副作用),user_experience 为 improved(归档执行可直接在抽屉读取完整原文,同时在策略历史与抽屉两端消除重复正文)。
可视化核查结果(visual_review: inspected):已在 exact head fb09887 构建产物上直接核验渲染结果:通过 smoke:runtime-source-workspace 在 1512x982 桌面与 390x844 窄屏实测策略历史总览、单条策略正文(结构化段落下方折叠“其他决策字段”与“完整原始记录与来源”),并额外以真实 RuntimeWorkspaceServer 挂载带 source_access 的双条归档运行(含完整决策与缺失决策对照)在 1440x900 与 390x844 的默认折叠态和展开态下检视 ContextDrawer。默认视图在桌面与 390px 窄屏均保持单行时间折叠、层级清楚、无横向溢出;展开后主结构化正文以正常阅读字号单次呈现、无重复段落、无实时诊断开关,缺失正文回退文案清晰,390px 下无横向溢出且 Escape 正常归还焦点。观察到一个非阻塞样式细节:在 ContextDrawer 内展开“其他决策字段”时,.personal-detail-card dl div 的 74px 列宽规则使较长嵌套键名(如 future_field)出现换行且深层嵌套对象右栏较窄,但不影响上方结构化正文与下方原始 JSON 的完整可读性。 未覆盖范围:未在正式已安装桌面 App 的原生 WebView 中实际打开归档来源抽屉,未执行后端 403/503 对 SourceRunHistory 本身的分页外超窗数据测试;远程 GitHub Actions 第三分片浏览器结果未作为判定依据(wait_for_ci=false)。
对照基线 64353773dc8b1ca82ff531cc7653dec6c3d41c0b 与目标语义判断,observable_semantics 为 intentional_change_validated(本地常规 Goal 行为完全不变;只读归档 Goal 显式新增 sourceRunHistory 并用“完整原始记录与来源”替代实时诊断按钮,且在 GoalStrategyDocument 中去除结构化已展示正文在附加字段中的重复);code_volume 为 necessary(兼容性策略 retain:保留 runRecordSchema 的 .nullish().catch(null) 宽容解析以兼容旧运行记录,未引入冗余适配层);change_proportionality 为 proportionate(architecture_assessment: retain:复用现有的 GoalStrategyDocument 作为策略历史与归档执行抽屉的唯一决策文档渲染 owner,用纯读取-消费浅拷贝将结构化章节与附加未映射字段在同一渲染层分离,并在状态投影入口 projectGoalSourceStatus 显式保留 agent_vision 原文身份,无需新增第二套历史阅读器或后端投影接口。本 PR 边界限定在只读来源 Goal 的执行抽屉接入、GoalStrategyDocument 去重展示、alias 状态路由保真、以及用真实 ContextDrawer SSR 校验替代源码正则耦合;不扩展后端 history/status 窗口,也不在本轮修改通用 .personal-detail-card 的网格布局。);default_off_isolation 为 isolated(以 goal.source_access 为开关隔离本地 Goal 与归档来源 Goal);authority_semantics 为 not_applicable(未引入新的 Actor 生命周期或协调权限语义)。语义与词汇方面,本 PR 复用既有 agent_vision、vision_checkpoint、source_access 模型(semantic_alignment: not_applicable / reuse_existing),未引入新的控制面词汇或状态机。
残余风险与未覆盖范围:主要限于上文指出的“其他决策字段”内嵌长键在 .personal-detail-card dl div 中的局部换行样式细节(非阻塞 follow-up),以及超出本 PR 范围的桌面端已安装 WebView 实机读取与 latest_runs 窗口外历史读取。
English verdict: APPROVE — verified on exact head fb09887; fixes alias provenance leakage and repeated prose in GoalStrategyDocument, isolates archived execution drawer provenance/diagnostics with all local TS, build, packaged Playwright browser, Python presentation (85 passed), and standard premerge checks (18/18) passing; non-blocking P3 CSS nesting polish in SourceRunHistory additional-fields table noted for follow-up.
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
Approval conclusion (author-owned PR; GitHub blocks formal self-approval)
动机 / Motivation
操作者要阅读归档策略并核对原执行回合、来源和时间。 同一已结构化展示的段落会在额外详情再次出现,执行记录没有共享这个原文阅读组件。 研究者打开已归档的策略或原执行记录。原界面将已读过的正文与其他字段一起重复呈现,增加对照成本。本提案让普通阅读只呈现一次正文,保留未消费字段,并提供完整保存的引用与原文。 浏览器把已读字段从私有投影中移出,将其余字段和完整原始记录分别提供给现有披露控件。 范围限打包本地 Chat、真实 File source/typed link 投影、合成归档。已安装 App、当前发布浏览器整套和作者报告的 Ubuntu 工作区性能另行验收。
改动思路 / Approach
沿用 native history、来源命名空间和原版本。薄 schema 接受原 agent_vision JSON,React 同一渲染器供 Strategy 和归档执行读端复用。 普通执行保留原 tabs 和 diagnostics。关联只读源保留原 Turn 标签和缺证状态,零权限或执行变化。 按字段映射逐区提取已展示的字段,保留未知的嵌套字段与不可变原文,减少阅读重复同时维持向前兼容。
具体改动 / Changes
准确头 3f5d3c1,merge base a6ffb3b,11 个文件,+350/-62。11 文件完整差量,b4e1ded37d4ecf1d43b788cf9d870d3e1020d3ab 有无冲突整合预演。读端、状态转接、语言、排版、CSS 和仓库回归均纳入检查。 按修订 a6ffb3b 的现有规范核对各项要求。 目标规范
- single-readable-prose · Show structured prose once and preserve additional native fields.
- exact-original-version · Bind original Goal, version, timestamp and raw content to the source.
- read-only-recovery · Keep the same-source snapshot on failed refresh and make unavailable execution evidence explicit.
关键代码讲解
- 原始身份 重组工作区 ID,保留原 agent_vision 内容。
- 策略阅读 私有浅拷贝逐区提取已展示字段,保留未读键和完整原文。
- 归档执行 复用策略阅读器,显示原 Turn 与缺失决策。
- 状态联接 将准确 scope 最近 run 加到归档 Goal,完整策略仍从 native history 获取。
- 双语与存档反例 校验正文一次、字段保留和真实来源投影。
对主干的风险 / Risks
准确头构建 Chat 生产包,双语 SSR、15 个 TypeScript 来源测试、现有 drawer 合同和 quick premerge 通过。1200 和 390 CSS px 的打包页面通过真实 File 原生 history 与读端显示同一原文一次,390 px 展开后完整读到嵌套的 0、false 和 null。 同来源的策略 GET 受控返回 503 时保留已读原版本,服务恢复后同一按钮成功重试。关联来源的历史执行查了含决策和无决策两条记录,均显示原 Turn,无决策条目有明确提示,关闭恢复焦点。原索引摘要一致,读操作零写入。 本地 quick premerge 4 项 direct、3 项执行检查均通过。Safari、Ubuntu 下完整装包旅程和发布性能未独立重跑。本地打包 Chromium 证据覆盖 1200 和 390 px。 执行抽屉只列状态窗口里的最近记录。完整策略从单独历史视图读取。本轮独立复验不关闭 Ubuntu 工作区性能或正式安装资格。
我的整体评价 / Verdict
批准。沿用 native history、来源命名空间和原版本。薄 schema 接受原 agent_vision JSON,React 同一渲染器供 Strategy 和归档执行读端复用。 普通执行保留原 tabs 和 diagnostics。关联只读源保留原 Turn 标签和缺证状态,零权限或执行变化。 批准准确头的归档阅读范围。原来字段的可追溯性已保留,原 Task/Turn 读取、失效恢复和只读保护由当前入口验证。完整发布性能仍需单独验收。
独立检查打包 Chromium 的桌面默认、窄屏展开与关联执行缺证状态。 执行抽屉只列状态窗口里的最近记录。完整策略从单独历史视图读取。本轮独立复验不关闭 Ubuntu 工作区性能或正式安装资格。
English verdict: APPROVE at 3f5d3c1. Approve this exact head for archived decision reading. The packaged reader preserves each original version, remaining fields, and provenance without duplicate reading or writes. It also retains the same-source retry and missing-decision boundaries.
…on-reading-20261121 Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
Approval conclusion (author-owned PR; GitHub blocks formal self-approval)
动机 / Motivation
需要复查归档决策的操作者,尤其是用键盘从旧链接返回研究原文的人。 原界面会重复展示归档正文。失效的章节或引文链接虽有说明,说明可能留在视口外,键盘找不到下一步。当前提交保留完整归档,让焦点回到所选版本的说明和恢复入口。 读者能读到一次与来源绑定的正文、查阅额外字段及完整原文,并在链接失效后继续浏览原版本。 本轮核对打包 Chat、File/SQLite 的原文读取、失效导航和归档决策。原生 App 窗口、正式安装和完整发布矩阵分别验收。
改动思路 / Approach
后端继续按原 Goal、来源和保存版本读取。同一个 React 阅读器负责归档正文的结构化展示,研究读端负责在现有提示上恢复键盘焦点。 本 PR 复用原生归档、现有证据授权与版本路由。新增焦点处理只在当前选中的解读里运行。 失效链接继续由保存的解读判断,找不到目标时才聚焦原有说明。有效链接仍从同一版本打开原文章节和引文。
具体改动 / Changes
评审提交 31d2ff7,目标基点 b4e1ded。13 个文件新增 374 行、删除 63 行,涉及归档抽屉、策略历史、来源投影、语言与排版以及研究链接的浏览器回归。上一轮覆盖的 11 个文件,旧基线和新基线、旧头和新头的对应文件内容全部相同。沿用这部分实测证据,独立复验新增两个文件和当前集成基点。 既有批准属于 3f5d3c1。 上一提交评审
single-readable-prose 已实现,归档正文一次展示,额外字段和完整原文可以展开。exact-original-version 已实现,保留原 Goal、版本和来源。read-only-recovery 已实现,失效链接保留当前解读,读者能接着打开所对应的原文。 前端交付契约
关键代码讲解
- GoalStrategyDocument 复用结构化视图。附加详情保留未知的嵌套字段和 0、false、null。完整原始记录提供独立读回。 决策阅读器
- ContextDrawer 从归档运行中取有记录的决定,暴露缺证状态,沿用普通执行的诊断界面。 执行抽屉
- projectGoalSourceStatus 在工作区投影时保留原 Goal、物理来源与版本。 原生来源投影
- ResearchCaseStudy 在活动解读找不到指定的原文或章节时聚焦现有说明。原引文序号仍按所保存的解读解析。 键盘恢复
- 新的浏览器回归从已打开的引文转到失效序号,检查通知的焦点、可见范围和引文请求次数。 浏览器回归
对主干的风险 / Risks
PASS 生产 Chat bundle、双语 SSR、4 项界面合同、15 项 TypeScript 来源检查、7 项 Python Fixture 检查均通过。标准 premerge 的 4 项直接检查和 18 项 canary 通过。 双语 SSR 继续验证正文只显示一次并保留未呈现的字段。原生投影和归档抽屉的来源限定继承已核对的文件内容。
前后对照。 旧头 390 px 的引文失效时,提示在视口上方,焦点落在文档主体。 当前头在 File 1440 px 和 SQLite 390 px 中均将失效引文和章节的说明移入视口并聚焦,下一次 Tab 到达证据入口。 有效引文两次打开同一原文行。中间的失效引文和章节未增加引文请求。两种存储均拒绝跨 Goal 请求(409),读取期间无写请求,源字节保持一致。 关闭重开的原文时,焦点回到同一引文。页面内的链接切换保持同一文档。
UNVERIFIED 独立浏览器证据来自本地构建的打包 Chat 和合成 File/SQLite 实例。原生 App、正式安装、真实工作负载和这个提交的托管 CI 未在本轮独立验证。 执行抽屉仍显示状态窗口里的近期记录。完整记录从策略历史读取。作者提供的旧提交托管结果和组合验证各自保留其修订范围。
语义与 CI 对齐
最新差量只增加现有提示的聚焦与滚动。现有链接格式、授权、存储和配置沿用原契约。正常返回原文与错误链接的本地对照使用同一个构建,远端 CI 是独立证据。
我的整体评价 / Verdict
批准该提交的归档阅读和失效链接恢复。长期执行方面,原结果、缺失证据和版本始终可供下一次检查。用户体验方面,失效后能用键盘回到可读说明和证据入口。
对比了当前打包界面的桌面、窄屏和旧版窄屏。失效提示与下一入口可以同时看到,窄屏打开有效引文后能看到完整行号和正文。 独立浏览器证据来自本地构建的打包 Chat 和合成 File/SQLite 实例。原生 App、正式安装、真实工作负载和这个提交的托管 CI 未在本轮独立验证。 作者桌面截图 作者窄屏截图
English verdict: APPROVE at 31d2ff7. Packaged Chat focuses stale chapter and citation notices and preserves exact-version excerpt readback. The File and SQLite checks show no extra citation request on stale links and reject cross-Goal reads.
Supersedes #9128. The branch includes the archived execution reader, shared renderer fix, and release browser checks. The branch incorporates main at
64353773dc. Previous exact-head reviewRead an archived decision once
The archive drawer and strategy history share the same decision reader. The structured view presents the original objective, findings, changes, and recorded next plan. The Additional decision fields disclosure shows the fields that the structured sections did not display, including unknown nested fields. Complete original record and source still exposes the complete original record with its source identity, version and timestamp.
Saved citation links and keyboard recovery
The current head
31d2ff7includes main atb4e1ded. A missing chapter or citation link moves keyboard focus to its existing notice and scrolls it into view. In the packaged reader, reopening a valid link restores the same study version and exact saved lines. A missing citation produces zero evidence reads. The File and SQLite HTTP readers each returned 409 for a citation addressed to another Goal and kept the original data byte-identical.The exact head passed the packaged research-evidence smoke, the Chat build, and standard premerge. Combining this head with #9218 at
843e531changes two canonical fixture test files; the wheel inputs are identical. The earlier composed tree passed 65 Python tests across the canonical fixtures and research store, and native-decision rendering passed. The attached images compare the previous packaged behavior with the current head using the public synthetic study.The independent review of
31d2ff7approved the archived reader and missing-link recovery. The older review and earlier hosted runs below remain scoped to the recorded revisions.Hosted artifact readback for
31d2ff7The release artifact run passed all 87 distinct browser scenarios across three partitions. Each partition identifies the same wheel candidate and source manifest. The verified manifest points to integration commit
a8538fc3cf5f, whose tree matches this PR head and whose parents are current main and31d2ff7.The downloaded wheel passed 36 research HTTP and fixture tests in an isolated interpreter. On File and SQLite, the packaged reader reopened historical ANN and Codec citations at 1440 and 390 px. It restored two registered versions per case and matched 32 saved excerpt reads across the four browser runs. Missing citation links moved focus to the notice without a citation request. Cross-Goal reads returned HTTP 409, and the retained sources stayed byte-identical with zero write attempts.
The Windows Python job failed on four research captures with
WinError 10038in the unchanged shared subprocess fixture. #9218 changes two test files, and its native Windows job passed. The current source workflow still has other checks in progress.The separate macOS preview artifact carries the same integration revision, and the bundled runtime payload matches its recorded SHA-256. This was an archive readback. Formally installed Desktop, live Feishu, the full original execution bundles, and parent-level comparison remain open.
Original archive readback
The isolated Chat backend from the hosted wheel opened the registered ANN and Codec archive sources from their parent directory. It read the original task documents and all 63 retained strategy records across 46 ANN runs and 80 Codec runs. Each strategy matched the original run index. The recent execution drawer data preserved original Turn identities and decision fields. The original Goal identifier is shared by both archives, and a mismatched source namespace returned HTTP 409.
In packaged Chromium, ANN at 1440 px and Codec at 390 px showed every saved strategy. The earliest and newest records opened by keyboard, the full original record matched its source, and focus returned to the selected item. An injected HTTP 503 during Codec refresh kept the selected record visible and an explicit retry recovered it. The readback made zero write attempts and left the original source files byte-identical.
The historical execution drawer was also opened from each registered case overview. With the same wheel, ANN at 1440 px and Codec at 390 px each showed the latest five retained executions. All ten original Turn identities and record types matched native status. Four records showed their checkpoint and decision JSON as projected by native status, with their original source identity. The other six showed the missing decision and checkpoint states. Keyboard disclosure and focus return passed, and the readback made no writes.
Retained execution files and App readback
The hosted wheel for
31d2ff7read 46 ANN and 80 Codec entries from native history. All 126 entries had an archived JSON and Markdown pair. The JSON matched its indexed Goal, time, Agent, record type and original Turn when recorded. The stored absolute references pointed outside the copied archive, so native history reported both paths unavailable for all 126 entries. The verifier checked the copy in each registered source's own runs directory and left source bytes intact.The packaged App execution drawer matched native status and showed the latest five entries per case. In each case, two decisions and their checkpoints used compacted status fields. Strategy history returned all 63 indexed decisions. The saved execution JSON for those decisions also retained the original Goal and validation fields within the decision record. Both wrong-namespace requests returned HTTP 409. Source-scoped access to the retained JSON and Markdown pairs remains open.
Installed preview runtime and original case records
The runtime carried by the current macOS preview artifact passed installation and doctor in a disposable prefix. Its packaged Chat HTTP routes opened both registered archive views from the parent. The ANN source retained 12 completed tasks and no Explore log. The Codec source retained one completed task and 113 Explore records across three pages. The backend matched three original task details, both original documents, and ten recent executions against their archived sources. Eleven cross-source reads returned HTTP 409. Invalid task cursors were rejected and a fresh read recovered the same rows.
The probe made no mutation requests. It preserved the archive files, machine CLI and registry. This exercised the preview runtime and packaged HTTP assets. The native Desktop window, formal installation, live Feishu, full execution bundles, and a matched parent comparison remain open.
A browser pass with the same preview runtime opened the registered parent research page at 1200 and 390 CSS pixels. Three usage reference captures returned unavailable. The selected comparison showed unknown deltas, with no numeric table. A single injected HTTP 503 left the parent timeline and both archive links usable. Retrying restored the same selection and the scope warning. At 390 pixels, keyboard navigation opened both originals, verified each captured document against its registered digest and source namespace, and returned to the clean parent address. This probe issued only local reads.
The same read-only preview downloaded an archive history covering three pages. The JSON matched the original record IDs, timestamps, text and evidence references. At 390 CSS pixels, a filter produced the same single record in JSON and in the Markdown reading report. An injected failure on page two left the previous full export available and marked the refresh as failed. Retry cleared that marker and returned the same records. Switching to the other registered source with the same original Goal ID showed its own empty Explore state and hid the previous archive's export. Raw archive downloads remain local.
Current main and portable Windows fixture composition
The reviewed
31d2ff7and current maineb49d6acomposed locally without conflicts. Adding #9218 at843e531changed only its two test files. The local composition passed 72 focused tests, the Chat build, the research analysis reading smoke, and the browser smoke for evidence versions and saved excerpts.The composed wheel opened the two registered archives from an isolated installation. The installed reader matched original completed tasks, paged history and original task documents to their source. Eleven reads with the other source namespace returned HTTP 409. The probe issued no mutations and preserved the source files. The Windows fixture job passed on #9218. The local composition was tested on macOS.
Validation
The new bilingual SSR regression failed before the fix because an exact paragraph occurred twice in the reading views. It passes on
cb84dd09b1c85d681cd5e341875bb29a8e867178and verifies nested additional fields, zero and false values, and preservation of the original decision. The alias/non-alias source projection checks passed, with 15 source-owner TypeScript tests passing.A local isolated replay of the hosted wheel loaded both the runtime HTTP backend and the browser assets from the installed package. The read-only fixture covers 23 archived decisions, original task and version access, switching between separate sources that share an ID, failed reads and retry, and focus return at desktop and 390 px. Browsing made zero analysis writes.
Ego browser readback on the same record found two matching paragraphs before the fix and one after. At 390 px, pressing Enter opened the disclosure and the full original record was still present. Both views fit without horizontal overflow.
The installed wheel also passed a separate archived execution drawer check at 1440 px and 390 px with two synthetic retained runs. The drawer renders the original paragraph once, preserves the nested field and original run identifiers, shows when a decision was unavailable, and restores keyboard focus on close.
Standard premerge passed four direct and 18 selected checks after installing the root TypeScript development dependency.
Release browser qualification
The three original browser partitions stopped at the same source assertion for the diagnostics control. It required the old live-execution expression even on the archived reading path. The release smoke now renders the actual drawer and checks that archived executions show source provenance, live executions and applicable actions retain diagnostics, and result artifacts omit the control. Forcing diagnostics back onto an archived execution makes the test fail.
At
fb09887f12bcac638b3fef03254998d04f66f8cb, partition 3/3 passed all 29 scenarios locally against a freshly installed wheel, including research-source recovery and the finding reader. The source drawer checks and 15 source projection tests passed. Ego reopened the archived execution at 1440 and 390 px, read the original record and the missing-decision state, and returned keyboard focus on close. Standard premerge passed four direct and 18 selected checks.The hosted run passed all 87 distinct browser scenarios across three partitions using the same candidate artifact. Partition 3 passed source recovery and original finding readback. The artifact was built at GitHub's PR merge commit
843151338625fff47c67b8f93df3b4f784961c7c, whose second parent is the candidate head above. The hosted wheel SHA-256 is670bf9bd819dff033695de4163fc62e0a28fbdbb2ee311d6ccce105f9fa6810b.The same wheel also passed the retained research cases locally at desktop and 390 px. The saved Graph analysis preserved all 36 original judgments across six episodes. Switching to its older result kept unknown adoption evidence visible, and opening a missing citation showed its own unavailable state. The source records stayed unchanged and browsing made zero mutation requests.
The same packaged reader also opened the Codec evaluator response recovered from its archived submission output. The response and queued receipt match the same submission and archive identity. The desktop and 390 px views show all eight dataset results, retain the earlier interpretation, and reopen the exact source after a simulated citation failure. Cross-Goal citations were rejected and browsing issued no writes.
The new Pages build stopped on the relative runtime guide link in
docs/reference/protocols/turn-envelope-v0.md. Matching strict builds of the full PR base and merged tree each reproduced that sole warning.Dashboard shard and archive readback
Integration with main at
790f3a4The reviewed head and main at
790f3a4merged locally without conflicts. A fresh bundle from the resulting tree passed the finding reader and source recovery browser scenarios. The reader retained the selected finding and complete original record across reload and Back. The source recovery case preserved same-source history during an outage, waited for the new source after switching, and recovered after retry at both widths without posting mutations.The upstream Ubuntu job reached the 200-attached-row assertion and then failed at 184 visible rows during expansion in the uninstrumented pass. Its checkout has the same source tree as the reviewed head. On macOS with the same Chrome for Testing version, the integrated tree reached 200 visible rows both with and without coverage. A separate diagnostic on the hosted source tree observed five groups of 40 rows. All groups opened and all 200 rows remained visible after the groups reordered, with fourfold CPU throttling during expansion. The original Ubuntu result remains failed. Hosted assertion
Additional decision fields on desktop and mobile
The bundle built from the reviewed head served two synthetic archived revisions through the real read-only source backend. At 1440 px and 390 px, the page stayed within the viewport. Long original and nested field names wrapped and remained readable, with a few pixels of glyph overhang inside the page. The reader preserved the original values, including zero, false, and null, and reopened the complete record. At 390 px, switching versions showed each version's own fields, and reloading kept the selected earlier revision.
Integration with main at
f0018b1fb09887andf0018b1from Git tree50355db. This includes the task disclosure layout fix and grouped research record reading. #9132, #8973dashboard-browser (3)job forfb09887still records 184 visible tasks after 200 attached. The combined tree still requires hosted Ubuntu validation. Ubuntu jobLinux comparison for the 200-task disclosure
8431513. Reconstructing that commit's tree from its recorded parents gives the same tree asfb09887. The first, uninstrumented M2 pass reported 184 visible tasks after attaching 200. Hosted job202d7bdeach rendered all 200 tasks. The integrated tree's uninstrumented expansion measured 589 ms on Ubuntu 24.04 and 609 ms on Ubuntu 26.04. Both versions passed the focused scenario on 24.04. On 26.04, both exceeded the 1 s median for at least one loaded view switch, so the full M2 scenario failed in that environment.Integration with main at
a6ffb3bThe branch head
3f5d3c192bd01015763889c6a3cc9a272b612837now includes the tested main revision. The 11-file feature diff is unchanged from the prior head.Hosted release candidate and archived case readback
The Frontstage Pages build passed on the updated branch. All 87 distinct browser scenarios passed across the three Release Artifacts partitions. Their result records bind the same candidate artifact and wheel SHA-256
a69282ba0fb15449041101c4af3de8b6ce04b03bd79087df0002741c2a99efe6. GitHub built merge commit48801268564a5252c824ee690851636f6d09cd9ffrom mainb4e1dedand PR head3f5d3c1.The hosted Ubuntu release browser partition saw all 200 tasks after expanding them in 311 ms. The slowest loaded view switch median was 418 ms, within the 1,000 ms threshold. This measurement comes from the installed wheel with source coverage disabled. The source Dashboard browser checks remain pending.
A separate local install of that same hosted wheel reopened the retained ANN and Codec cases at 1440 px and 390 px. It checked 16 original citation excerpts, switched back to each case's prior version, and reopened the same source after a simulated failure. Keyboard focus returned to the citation control, cross-Goal requests were refused, and the source bytes stayed unchanged. The browser and backend reported zero mutation requests.
Independent review and Windows fixture dependency
The independent review of
3f5d3c1approved this exact head. It verified original-version provenance, the additional fields and the same-source retry in the packaged reader.The Windows PowerShell job failed on four captured research fixtures. Its shared canonical worker passed an anonymous subprocess pipe to a socket selector and raised WinError 10038. The worker source is identical in main, the PR head and the hosted merge tree.
On macOS, restricting the selector to socket behavior reproduced the same four failures on the hosted source tree. Combining that tree with #9218 at
843e531passed 18 fixture tests under the same restriction with unhandled thread warnings treated as errors. Nineteen source contract tests also passed on the combination. Native Windows qualification for the shared fix and the source Dashboard checks remain pending.macOS preview runtime readback
The Apple silicon preview artifact was built from the same GitHub merge commit
4880126. The App carries the runtime assigned to that commit. The archive SHA-256 in its bundle metadata matchedc864925aab3a7df559d0a78385faec48ac8500209f35f52cbd84ef012477db6d. The bundled runtime installer and installation doctor passed in an isolated prefix.A read-only HTTP fixture used that installed runtime and its bundled Chat assets to reopen the retained ANN and Codec cases. File and SQLite each verified 16 original citation excerpts, returned to the original version of both cases, and rejected four cross-Goal or cross-version citation requests. The source evidence remained byte-identical and the fixture recorded zero mutation requests. The native App window and the official installed App journey remain untested in this check.
All three source Dashboard browser shards and Dashboard acceptance passed. The source Windows job failed while the shared canonical fixture waited on its subprocess pipe with
WinError 10038. The shared fixture job passed the captured research fixtures on native Windows for #9218. The source workflow at this head still needs the remaining Python shards.Browser reading from the installed macOS preview runtime
Chromium used the Chat assets and actual HTTP reader from the isolated preview installation for
4880126.Visual evidence
Synthetic archived decisions served by the real read-only runtime workspace backend. The desktop image shows the first viewport of the selected decision. The two 390 px images show the old and new expanded disclosure. The captures use packaged dashboard assets at
94f667efa2andcb84dd09b1on the same base.Missing citation at desktop and narrow widths
The same saved-citation link was opened, then replaced with a stale link while the reader was scrolled down. Previously the inline notice was above the viewport at both widths. The current head brings that notice into view with keyboard focus and keeps the existing evidence disclosure beside it. Captures use the repository's synthetic research study with packaged Chat and the isolated SQLite HTTP reader.
Before at 1440 px, missing citation
After at 1440 px, focused citation notice
Before at 390 px, missing citation
After at 390 px, focused citation notice
Remaining qualification
An independent review of the current head
31d2ff7concluded APPROVE for the packaged archived citation reader. Current-head review The execution drawer still follows the recent-history window of the underlying status response. General Python CI remains separate from the completed release browser workflow. The earlier real retained case captures are linked from #9128. Official installed App readback, complete execution package and artifact access, and parent-level comparison remain open.