Feat/mount gen command#27
Merged
Merged
Conversation
codex gate 跑出的 codex-*.txt(prompt+原始审查转录)是一次性过程产物, 结论已蒸馏进各 spec 的 RETROSPECTIVE.md,全仓零提交先例。加 **/codex-*.txt 防其污染 git status / 误入库。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
按新文档模型(docs 入公开仓、settled spec 迁移 .harness 归档、两快照作现状唯一入口): - 更新 BUSINESS_SNAPSHOT(172→252)/TECH_SNAPSHOT(438→600),补 cli-generator 程序 (P1 泛化 / P2 inject+marker / P3 MCP / P4a assemble / modify / 安全三守卫) + MCP 资源隔离重构 - 迁出 2 个 settled spec(已入 .harness/repo-archive/done-coding-cli/specs/): 2026-06-11 mcp资源隔离重构 / 2026-06-18 cli-gen安全收尾硬化 - 快照按实际代码修正 spec 笔误(probeMarkerBlock → 实际 probeMarkerPairing 三态预检) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- packages/cli 依赖 @done-coding/cli-generator(workspace:*),main.ts 挂载 createGeneratorCommand → `done-coding/DC generator`(bin dc-gen), 暴露 add/modify/remove/list/init/assemble - index.ts 补 createGeneratorCommand 再导出 - 新建 packages/generator/README.md(命令/配置布局/安全守卫/编程式复用) - 更新 packages/cli/README.md:generator 详细区块 + 命令示例 + 计数 11→12 + 依赖树/mermaid/链接 - 验证:done-coding -h 现含 generator、generator --help 分发正常、eslint 0 error、prettier 通过 注:发布主 cli 前需先发布 @done-coding/cli-generator(现 0.0.0),否则 workspace:* 解析不到 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…fo.bin 派生 - generator bin 改名 dc-gen → dc-generator(单 bin,与 dc-component/dc-mcp 等兄弟包一致;injectInfo 同步重生成) - marker NS 不再 hardcode、各包从自己 injectInfo.bin 派生(单一真值源、改 bin 自动跟随): · generator getMarkerNs() 早已派生 → 随 bin 自动变 dc-generator(源码零改) · template DEFAULT_MARKER_NS 由 hardcoded "dc-gen" → deriveMarkerNs()(读本包单 bin) → dc-template - 全量 sweep ~24 处测试断言/marker 字面/README/MCP 文案,按工具归属分流: generator/component/mcp/cli-skills → dc-generator;template → dc-template - 验证:七包 419 测试全绿(含 component R5 byte-identical)、eslint 0 error、stray dc-gen=0 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.