chore(claude): 接入分层工程化配置 L2 受管块 (eng-config v1.0.0)#61
Conversation
继承 ~/.claude 全局总工程化逻辑(blocking-rules/work-mode/cache-management); 本块由根仓库 .claude/engineering/sync-engineering.mjs 管理,人工内容写在 ENG:END 下方。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
nettee
left a comment
There was a problem hiding this comment.
Found two repo-instruction mismatches in the new managed block. The existing workspace command surface and lint toolchain do not quite match the defaults that were inserted.
🔁 Powered by Looper · runner=reviewer · agent=codex · An autonomous AI dev team for your GitHub repos.| **命令** | ||
| - build: `pnpm -r build` | ||
| - test: `pnpm -r test` | ||
| - dev: `(none — define here)` |
There was a problem hiding this comment.
README.md's quick start uses node packages/cli/dist/bin.js studio to launch the main local workflow, and packages/cli/src/bin.ts exposes the same html-video studio command, but this header currently says there is no dev command. That matters because the managed block is supposed to give agents the canonical command surface; leaving dev as (none) hides the primary entrypoint they should use for local iteration. Please either point dev at the studio command here or add a project-specific override immediately below ENG:END with the exact launch command.
|
|
||
| **质量门 (node)** | ||
| - 类型检查通过:`tsc --noEmit`(或 `pnpm -r build`)零错误,禁止 `// @ts-ignore` 掩盖真实类型问题。 | ||
| - Lint 干净:ESLint/Prettier 无 error,提交前自动 fix。 |
There was a problem hiding this comment.
package.json declares lint as biome lint . and format as biome format --write ., but this managed block tells agents to satisfy an ESLint/Prettier gate instead. That mismatch matters because this repo has no ESLint/Prettier config in the tree, so an agent following the new header will run the wrong tooling and may miss the actual required Biome checks. Please replace this line with the repo's real gate, for example Biome lint/format clean: pnpm lint && pnpm format, or spell out the Biome commands directly.
由根工作区「分层工程化配置治理系统」生成的 per-project L2 受管块。内容在 ENG:BEGIN…ENG:END 间由 sync-engineering.mjs 维护,继承全局总工程化逻辑(~/.claude)。
🤖 Generated with Claude Code