You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugSomething isn't workingdomain:servicesRetired 2026-10-22, alias of domain:server (services surface); in-flight cards keep it until landedpm:dispatchedDispatched to a dev agent by /pm-dispatchpm:queueReady for the PM dispatch looppriority:p0Queue-jump: outranks batch and breaks the round — never exempts claiming or same-file serial
bugSomething isn't workingdomain:servicesRetired 2026-10-22, alias of domain:server (services surface); in-flight cards keep it until landedpm:dispatchedDispatched to a dev agent by /pm-dispatchpm:queueReady for the PM dispatch looppriority:p0Queue-jump: outranks batch and breaks the round — never exempts claiming or same-file serial
Activity
docs(spec): regenerate the API reference for the new resume error cod…
fix(automation,approvals): 审批决策不能在流程原地不动的情况下"成功" (#4420) (#4460)
fix(approvals,verify): find stranded terminal requests; stop the harn…
test(dogfood): assert what the durable suspended-run row actually con…
fix(automation,approvals): 屏幕流 resume 服务端校验 + 审批越权可审计 (objectstack-ai…
feat(core): enforce the init-service declaration contract with a CI g…
fix(convention): 持久性降级记 error 而非 warn —— 把 objectstack-ai#4460 定成规则,并…
xuyushun441-sys commentedon Aug 3, 2026
分诊:入队,并标记为本次发版最该处理的一条(归运行时/服务面车道)
维护者在发版前要求扫「未入队但值得发版前做」的单,本条是我扫出来的第一优先。此前它有 assignee 但没有任何队列标签,也就是说它不在任何 PM 的派发视野里 —— 补
pm:queue。车道:落点
packages/services/service-automation+ approvals,属os-zhuang主会话(session_015Br2xsJsczFsTR9bvbh2Ny)车道,本会话(session_018iARDqtrhQgz6fVHDeDkbQ,packages/lint/skills/**/content/docs/**)不认领、不派发,仅做分诊与移交。为什么它排第一
@objectstack/*@17.0.0-rc.1,现场是真实项目(os-project-titanwind-ehr,2026-07-31),不是构造出来的场景。sys_approval_request.status落库成approved、UI 提示成功 → 流永不 resume、下一节点不创建、记录镜像字段停成僵尸、日志零报错。审批人侧完全无感。service-automation/dist里suspendedRuns = new Map()仍是纯内存,sys_automation_run在运行库里根本没建表。一个被宣告完成的能力在待发布版本里不生效 —— 这正是我们这两天在 bug(objectql): hook 条件对着「只含本次更新字段」的残缺 record 求值,取不到的字段被吞成 false —— 审计 hook 静默不触发 #4770 / bug(objectql/docs): hookcondition的 CEL 作用域只绑定record—— 文档教的previous.x/ctx.record根本不存在,过渡型条件写不出来 #4784 / fix(metadata-protocol): deleteManyData has the same fake-atomic as batchData, updateManyData ignores atomic entirely #4620 反复修的同一个形状,只是这条的后果是数据一致性级别的。给接手方的建议(不构成指示,车道是你的)
issue 的「期望」里两条优先级不同,建议拆开看:
resume(runId)找不到 run 时显式报错,approve 接口失败或至少告警。这是小改动,且它把「静默数据损坏」降级成「响亮的失败」—— 即便持久化来不及做,有它就不会再有人在不知情的情况下丢掉在途审批。如果只能做一件事,做第 2 条。
service-automation这几天有改动,请对着当前main确认suspendedRuns仍是内存 Map、sys_automation_run仍未建表 —— 今天已经有两条 issue 的前提被我核出已过期(#4728 的「包冻结」、#4763 的验收项)。Generated by Claude Code
claude commentedon Aug 3, 2026
@os-zhuang 过期认领核查:本单是队列里唯一的 p0 服务面 bug,当前挂在你名下,但无认领评论、远端无分支、无 PR;且你的会话
session_015Br2xsJsczFsTR9bvbh2Ny已于 12:34Z 在 #4604 交班并声明「在飞清零」。若确实无人在做,请回一条确认;本会话(
session_01NrmBxj8rK2uGCnh9aipjwX,已在 #4604 登记接管 engine/services 车道)拟于下一轮按 SKILL.md 过期认领规程将其解绑归队并优先派发 —— 它比当前队列里任何一单都值钱,不应被一个旧 assignee 字段挡住。若你在做,以你为准,我让行。Generated by Claude Code
claude commentedon Aug 3, 2026
🔒 认领:PM 循环第 1 轮追加(p0 加急)
会话:
session_01NrmBxj8rK2uGCnh9aipjwX(账号xuyushun441-sys)分支:
claude/issue-4420-suspended-run-durabilityWorktree:
objectstack-issue-4420域:
domain:services文件面:
packages/services/service-automation/src/**(engine.ts 挂起/resume 路径、durable store 接线)+ 必要时packages/plugins/plugin-approvals的 resume 调用点过期认领处置记录:原 assignee
os-zhuang无认领评论、无分支、无 PR,其会话已在 #4604 交班声明在飞清零;16:37Z 质询后维护者直接确认「没人在做,解绑归队直接派」。据此按 SKILL.md 规程解绑并重新认领。派发前提复核(对 origin/main 实测,更新 issue 的 rc.1 现场):
suspendedRuns = new Map()仍在(engine.ts:1086)—— 但其 TSDoc 已写明存在 Optional durable backing;ObjectStoreSuspendedRunStore/sys_automation_run平台对象在 CHANGELOG 均有落地记录(含 retention 声明、engine-owned 锁读)。⛔ 硬约束:
packages/spec/**及生成物零改动;metadata-protocol/src/protocol.ts零改动(在飞 #4721)。全局在飞不相交已核:与 #4889/#4821/#4884/#4875/#4774/#4721/#4636 文件面均不交。
Generated by Claude Code
claude commentedon Aug 3, 2026
✅ 验收通过 —— PR #4969(draft,等 CI);前提证伪 + 一条决策记录
前提更正(公开归档,后续读者以此为准)
issue 是 7-31 对 17.0.0-rc.1 的现场报告;dev 实测确认其两条「期望」在 rc.2 已全部交付(changeset 2826d1e),并在 origin/main 上跑通了既有回归作为基线证据:
AutomationServicePlugin.start()在默认suspendedRunStore: 'auto'下接线(plugin.ts:596)—— 正常宿主路径,非仅测试;sys_automation_run在 init() 注册(start() 重试),optionalDependencies声明了当时现场失效的加载顺序;approval-restart-resume.test.ts6 例)与响亮失败(RUN_NOT_FOUND / STORE_UNAVAILABLE +assertRunResumable预检 + 409/503/500 映射)在改动前就绿。本 PR 实际修的:最后一条静默路径
上述守卫全部挂在 automation 引擎上 —— 无引擎的组合里同一个
typeof this.automation?.resume === 'function'条件把它们全部静默跳过:决策落库、镜像字段推进、200、零日志 —— 恰是 #4420 的症状形状。现在决策仍成立(不 breaking),但绝不静默:error 级日志 + 机器可读resumeError点名搁浅的 run,复用已注册的 RESUME_FAILED 码(spec 零改动),五个决策出口(decide / auto-rejection / sendBack / resubmit / recall×2)全覆盖。📌 决策记录(维护者可否决,不阻塞落地)
无引擎组合下、请求带
flow_run_id时,是否应当直接 409 拒绝(方案 B)而非「落库+响亮上报」(方案 A,已交付)? dev 的两轴分析很完整(见 PR 正文):B 更硬地兑现「flow_run_id即声明」,但会把持有历史行的 standalone 部署从「有报告的缺口」变成「硬故障」,且推翻另一位作者钉过的测试决定。PM 采纳 A 落地;B 若要做,须维护者明示,届时单开 issue。下游收尾(不归本 PR)
releaseDeadRunRequests只扫 pending;inspectStrandedRequests只报告不改写)—— 需操作员处置;验证:plugin-approvals 403 全过 / service-automation 662 全过 / 三个仓库闸门(durability-log-level、startup-registry-verdict、error-code-casing)全绿。⛔ spec / protocol.ts / releases 零触碰(逐一核实)。
CI 绿后转 ready 入合并队列。
Generated by Claude Code
claude commentedon Aug 4, 2026
决策记录收口:维护者 2026-08-04 确认维持已交付的方案 A(落库 + 响亮上报),方案 B(409 硬拒)不做。此项关闭。
Generated by Claude Code
fix(metadata): sys_metadata 的 DDL 失败必须响亮,只静默「表已存在」一种 (objectstack-ai#…
fix(approvals): report the engine-less resume gap instead of strandin…
fix(metadata-protocol): seed-loader 中「计为错误」的失败一律记 error,不再自相矛盾地记 warn (…
fix(plugin-audit): a lost audit row is an `error`, said once (objects…
fix(automation): keep a wait timer's one-shot armed when the shot nev…
fix(service-automation): 启动路径三条日志的外来 cause 改走结构化 meta (objectstack-ai…
docs(spec): ApprovalDecisionResult records what the stranded-decision…
docs(spec): ApprovalDecisionResult records what the stranded-decision…
fix(plugin-audit): key the lost auth-event row report per CAUSE, and …