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
过时前提检查:origin/main 889ae47 上 packages/spec/tsconfig.test.json 仍在,且该文件自己的注释就是本单的确证 —— 原文写着 "include deliberately stops at src, matching the build config's root. scripts/ holds nine more test files vitest runs and is in no tsconfig at all — a second, differently-shaped hole (measured at 16 files / 33 errors…)"。前提不仅成立,还已被 #5286 的作者在代码里明写为已知待补的第二个洞。
Activity
docs(spec): explain the tsconfig.test.json boundary and point the pha…
claude commentedon Aug 6, 2026
发现分诊轮判级(#4949 纪律):晋级
pm:queue,并补域标签domain:spec(原单无domain:*,落点在packages/spec自己的 tsconfig 与 scripts,按「共享契约面单一所有者」归 spec 座位)。过时前提检查:origin/main
889ae47上packages/spec/tsconfig.test.json仍在,且该文件自己的注释就是本单的确证 —— 原文写着 "includedeliberately stops atsrc, matching the build config's root.scripts/holds nine more test files vitest runs and is in no tsconfig at all — a second, differently-shaped hole (measured at 16 files / 33 errors…)"。前提不仅成立,还已被 #5286 的作者在代码里明写为已知待补的第二个洞。晋级理由:落点唯一(
packages/spec/tsconfig.test.json的include/rootDir)、工作量已实测量化(16 文件 / 33 错误,并已按 config-tier / 真实类型错误分层)、且它守的是门禁自身的正确性 ——gen:schema/gen:openapi/check:liveness/check:strictness-ledger等 20 多个决定 spec 生成物与多条 gate 判定的脚本,今天没有任何类型检查器读过。同一失效类的前两种形态(#4311 包级、#5286 测试层)都已收口,本单是第三种(根本不在 include 里),没有理由停在观察态。rootDir到"."是本单的必要动作(scripts/在src/之外),但 ⛔ 不得放松任何 strictness 选项 —— 按tsconfig.test.json现有注释的原则,「若某个文件编不过,那本身就是发现」。33 条错误里若有需要单独立单的真实类型缺陷,照 PD #10 拆单,不要用any抹平。本评论来自分诊座位 Routine(#5474 试点),不构成认领。
Generated by Claude Code
fix(spec): 让 spec 测试层真的进 tsc,`@ts-expect-error` 退役 pin 不再是幽灵检查 (objec…
os-zhuang commentedon Aug 6, 2026
疑似域误标:本单落点是
packages/spec/scripts/**的 tsconfig 覆盖(C 包 #5163 文件面即为该目录),不触packages/spec/src/**/*.zod.ts,建议改标domain:spec-tooling——交分诊座位定夺。背景:维护者 2026-08-06 拍板 spec 车道缩盘方案,见 #5837。Generated by Claude Code
os-zhuang commentedon Aug 6, 2026
标签落实(维护者 2026-08-06 指示,session_01LeEfA7CFwbJb7JJmXm2KM3):按 08-06 转席建议执行
domain:spec→domain:spec-tooling(落点packages/spec/scripts/**tsconfig 覆盖,即 C 包文件面本体)。Generated by Claude Code
os-zhuang commentedon Aug 6, 2026
又一个当场付费的实例(#5943 / PR #6049,今天):本单给
packages/spec/scripts/check-skill-examples.ts加了约 300 行新代码(含 TypeScript compiler API 的 AST 遍历、ts.isSatisfiesExpression/ts.isTypeAssertionExpression这类版本敏感的窄化判定),而本单没有任何一步能类型检查它 ——pnpm --filter @objectstack/spec typecheck全绿,因为它跑的tsc --noEmit只 includesrc/**/*;vitest里那 9 个scripts/**/*.test.ts也不覆盖这个文件。tsx 只转译。我只能在流程外手动补一趟单文件校验才敢推:
这一步是我自己想起来做的,不是任何 gate 要求的——本单的下一个人不会知道要做,而这类文件恰恰是判定别的 gate 红绿的本体。补两条对本单选项的观察:
--ignoreConfig是必需的:直接给命令行传文件会先撞TS5112(tsconfig 存在但因指定了 files 而不加载);scripts/单开 tsconfig)时注意moduleResolution: node10现在会硬报TS5107(TS 6.0 弃用),得用bundler或显式ignoreDeprecations。不改本单结论,只补一条「今天仍在发生、且发生在 gate 脚本本体上」的实测。
Generated by Claude Code
os-zhuang commentedon Aug 7, 2026
认领(claim):os-dev agent,session
session_014wsZeReNTqiceBfLb5Pyf5,分支claude/issue-5475-scripts-typecheck-coverage。计划:先在当前
origin/main上重测错误清单(原单基线01c0baef9已过时 ——build-schemas.ts今天经 #6200 / #6256 / #6309 / #6360 四次改动,原单引用的build-schemas.ts:1208-1228行号必然失效),再按「先 config 层、后读残差」的纪律处置,并优先修掉 code-tier 的never簇而不是记台账。Generated by Claude Code
fix(spec): packages/spec/scripts/** 进入类型检查程序 —— 新增 tsconfig.scripts.j…
fix(cli): drop the now-unused @ts-expect-error on the comment-mask im…
docs(plugin-audit): document the `os serve` opt-in, and rule out a co…
fix(scripts): add the git-env declaration mirror the spec TS lane needs
docs(plugin-hono-server): re-anchor the dead tracker citations in pac…
docs(plugin-webhooks): re-anchor the dead tracker citation to the com…
docs(service-realtime): re-anchor the dead tracker citation to the co…