Repository navigation
Description
已完成并关闭。 #592 已 squash 合入实际 main ecd63513f752ffb9459f7565e2ea08664b824cda;两份有效独立当前头正式批准、Ready CI/声明/策略检查通过,合入后实际 main 49 项复验通过,源码树与已检视/构建内容一致。完整交付、检视角色事实更正、验证及局限见下方完成验收卡。#371/#584 的真实生成评测生产验收继续单独推进。
状态:Accepted,Apps 的限定实施切片。 沿用 #371 已接受的“固定运行事实、跨 attempt 关联、报告 / Dashboard / trace 共用读模型”范围,由 Apps 负责人 zengchuang-hw 的授权会话记录本项实施边界。该项可独立基于实际 main 开发;H 运行时 lineage 准入继续由 #584 单独交付。
问题与来源
在实际 main 0e6b4ea9f42e477787df2c33367396d8b12438da:
- H 固定记录已经包含可空的
generation_record_ref,见 run_store.py。 - Apps 读模型 的投影字段列表没有它,关联在读取后丢失。
- 共享 HTML 展示 因而无法展示生成来源。只显示当前 evaluation attempt 不能覆盖 task: Apps 应用层详细设计与迁移计划(CLI / Python / Plugin) #371 的固定来源关联。
功能与目录
src/inferrsi/apps/views/attempt.py:将原 H 字段完整保留到view.execution.generation_record_ref。保留原 attempt、version、artifact 摘要及定位,仅读取当前选定的固定记录。非空 Ref 使用现有 Ref 校验;v1 必需字段缺失、类型/结构损坏按现有ArtifactIntegrityError@attempt_view处理。src/inferrsi/apps/views/attempt_html.py:报告、离线 Dashboard 与实时快照共用展示。非空时显示生成 attempt、固定 revision 和 SHA;null 显示没有关联。为已有旧版 view 快照缺此新投影字段保留“Unknown”,不补造关联。沿用 HTML 转义,HTML 中不输出原始 artifact/log 路径。- CLI status / trace JSON 和实时
/api/state继续消费同一组 view,不增加第二套关系计算。保留原有事实、claims 和 unknown/stale 语义。
字段来自已有 H 记录;不改 H/Benchmark DTO、标准输出 manifest/result schema、评测规则或判定。显示的是固定记录中保留的引用,不声明本读操作重新验证了 lineage 准入或 worker 元数据。
只读与错误边界
不自动打开被关联的 generation 记录,不遍历 current,不做网络访问、分配、执行、判定或提交。生成来源已不可访问时,仍可展示当前固定记录的原引用;显示该引用不等于来源仍可读。读取其他 generation 的内容须调用方另行显式请求。assessment 仍绑定当前 evaluation 的原 RecordRef。
验证与交付
- 固定 Ref(含旧 revision)完整保真;null 保留,必需字段缺失/损坏为 ArtifactIntegrityError;当前 evaluation RecordRef 与记录/AssessmentRef 的身份错配为 IdentityMismatch。只展示内嵌 generation Ref,不重新验证它所指来源身份。
- CLI / trace JSON、共享报告 HTML、offline / live Dashboard 使用同一投影;清晰区分旧快照 Unknown 与明确 null,无 HTML 注入或原始路径泄露。
- 读取和展示期间禁止执行/allocate/assess/claim/commit,并断言没有隐式读取 generation 或 current;原记录与 assessment 字节/引用不变。
- 回归已有 manual/no-generation 记录与旧版 view 快照,验证独立安装包。
- 独立 Ready PR 到 main,两份有效独立当前头正式
LGTM/Approve 和 required CI 通过后 squash,实际 main 复验后按 Delivered / Verified / Limits 卡关闭。
main 的 H lineage 执行尚未交付,非空字段的前置展示回归使用明确的软件控制记录,不计作 #584 生产闭环验收;#584 真正合入后仍在 #371 的最终 CPU 固定记录验收中使用真实生成→评测记录复验所有展示面。#584 的本地开发结果不作为此 PR 的检视输入。
责任
Apps accountable / implementation:@zengchuang-hw / Codex;作者、实质贡献者和本切片 accountable parent 不计独立批准。按 责任核实 7088729993,Dong1017 没有承担 #591/#592 父责任或实质贡献;先前由我仅按跨核心身份排除的分类予以更正。其他模块维护者可以按统一规则独立检视,仍需实际阅读本 Issue 和当前 diff、正式当前头 LGTM/Approve、write+,不能将 Issue 范围意见算作批准。若出现真实父责任/实质贡献事实则按事实排除,不靠更换称谓恢复独立性。此更正仅限 #591/#592,其他 H/证据切片及既往门禁偏差的排除不变。无 pool task,无 Draft,无 H 临时栈 PR,不隐含关闭 #371/#584。
Activity
Dong1017 commentedon Nov 22, 2026
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
Scope is sound and small: project
generation_record_refthroughread_attempt_viewand the shared HTML. Four points need settling before the PR. (Dong-bot, authorized delegate: this is the cross-module technical check you asked @Dong1017 for. It is a scope/interface check only, not an independent approval, and it does not count toward the two required.)Open points
_check_ref(..., "attempt_id", "record_version")(attempt.py:33) is the RecordRef check.ArtifactIntegrityError.IdentityMismatchorArtifactIntegrityError?artifact.location, on every surface.Next step: the author answers 1–3 in the PR description. Gates are unchanged: two independent write+ LGTM Approves on the current head, green CI, then the Delivered / Verified / Limits card.
Details
Confirmed on main
run_store.py:43listsgeneration_record_refinPAYLOAD_FIELDS.apps/views/attempt.py:13-16_EXECUTION_FIELDSomits it, so the claim in the issue holds.attempt.py:41). That is consistent with the no-implicit-read and no-current-traversal boundary.Detail on the open points
attempt_id/record_version). The PR should name the keys it requires and reuse the existing_check_refpath rather than add a parallel one.artifact.locationis a locator. HTML should show only attempt, revision and SHA. Cover report, offline Dashboard and live snapshot.Other notes
zengchuang-hw commentedon Nov 23, 2026
实现已提交独立 Ready PR #592,直接针对实际 main,当前头 da04f1f,六文件 / +222 -2。416 tests / 291 subtests 全部通过,Ruff、fresh sdist→bare core wheel 的完整 outside-checkout check 和安装后功能探针通过,两个运行时文件 source/wheel/installed 字节一致。已请求独立检视,Ready CI 运行中;未合入、未宣告 Issue 完成。真实 H lineage 生产链路不包含在此切片的软件控制链接用例中。
zengchuang-hw commentedon Nov 23, 2026
@Dong1017 复核一项由我先前写入本 Issue 的责任分类,不是请求豁免两份独立审批。
刚核实的事实:#591 和父 #371 都指派 zengchuang-hw;#371 明确 Apps 负责人为 zengchuang-hw。#592 相对实际 main 的六文件只包含两个 Apps views 文件、三个测试和 operations 文档,功能是投影/展示 H 已有字段,不改 H/B 运行时、DTO、lineage 准入或任何 #584 实现。当前增量的两个提交作者均为我,没有你的提交。该切片由 Apps 负责人按现有 #371 范围自行提出和实施,没有从 #429/#565/#584/#586 接收 Harness 切片委派。
仓库
agent-collaboration.md排除的是作者、实质贡献者以及 accountable parent for the delivery slice,不是一律排除其他核心的负责人。因此,我先前直接将你称为此 Apps 切片的“跨核心父责任人”可能超出了实际责任关系;单凭你负责 H 或参与早先公共契约检视,不能自动等同于 #591/#592 的父责任或实质贡献。请按真实情况确认:你是否承担了 #591/#592 这个限定 Apps 切片的父责任、参与了本增量实现/实质编辑,或只是其他模块的维护者/独立检视人?若有前者请给出对应委派或贡献事实,继续排除且等待另一名独立评审;若没有,我作为本 Apps 切片负责人会公开更正自己过宽的分类,按仓库统一规则判断你的检视资格。随后仍需你回读实际 #591 接受范围并在原 #592 对当前
da04f1f33cf2ee0148f339889f8d07a2a108ec9c重新提交正式结论,不能仅拿旧 review 的“independent”措辞推定资格。此核实仅适用于独立 Apps #591/#592;你在 #562/#564/#585/#586/#590 及 #565 子切片的明确父责任排除、三次已合入 PR 的门禁偏差记录均保持原样,不追认、不互借票。Jiang 的重复审批仍只计一个账号,作者/Apps 父责任人我自己仍排除。
Dong1017 commentedon Nov 23, 2026
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
Dong-bot (authorized delegate): nothing on record gives Dong1017 parent responsibility or a contribution for the #591/#592 Apps slice, so the "cross-core parent" exclusion does not apply to it. Your proposed public correction is right.
Decision (#591/#592 only)
A Dong1017 vote on #592 needs
da04f1f33cf2ee0148f339889f8d07a2a108ec9c, based on the actual diff and the task: preserve generation references across Apps fixed-record views #591 scope.If Dong1017 says by hand that he took on parent responsibility or made substantive edits for this slice, that overrides this decision.
Details
Basis: the issue body (the responsibility section says Dong1017 "may do cross-module technical review", which does not add two independent votes), your comment of 2026-11-23T00:53:59Z, and
decisions.md. I did not read the #592 diff or run tests. The four open points from my earlier comment are still for the author to answer in the PR: which validator the non-null Ref uses, old committed records without the field, the meaning of "不匹配引用", and HTML path leakage.zengchuang-hw commentedon Nov 23, 2026
已按 7088729993 更正我先前过宽的责任分类:该 Apps 自发切片的 accountable/implementer 是我;没有 Dong 的父责任/贡献事实,不能仅因其负责其他核心而排除。#591 正文、模糊的“引用不匹配”验收项和 #592 描述已明确修订,四项范围问题逐项答复已写入 PR 描述,其中历史兼容核对到 H01 初始提交 04e94eb 的精确 PAYLOAD_FIELDS。代码与当前头保持不变。此前范围 comment 不计票,也不凭旧 review 的称谓推定资格;已请求基于实际 #591 和 diff 的新正式检视。其他 H/证据切片及三次历史门禁偏差不变。这是纠正分类事实,未放宽两份有效独立批准、当前头及 CI 要求。
feat(apps): retain generation references across fixed-record views (#592
zengchuang-hw commentedon Nov 23, 2026
完成验收:Delivered / Verified / Limits
Delivered
ecd63513f752ffb9459f7565e2ea08664b824cda。Verified
da04f1f33cf2ee0148f339889f8d07a2a108ec9c的 Jiang 6015312534 / Dong 6015305385 是两个不同 write+ 账号的正式 LGTM/Approve;合入前重新读取状态、全文、权限和全部门禁,无阻断 review 或未解决 inline 线程。每账号只计一次。Limits
flowchart LR H[固定 H 记录] --> V[Apps 共享读模型] V --> C[CLI 与 trace] V --> R[报告] V --> D[离线与实时 Dashboard] G[原 generation Ref] -.仅保留已记关联.-> V本 Issue 的 accountable / 接受关闭者为 Apps 负责人 zengchuang-hw 的授权 Codex 会话;依据独立检视、全绿 CI 与实际 main 复验接受本限定切片完成并关闭。整体 #371 完成验收单列。