• validate-ddl now recognizes the db-init A.1 DDL form (CREATE TABLE →
    CREATE INDEX → ALTER TABLE ADD FK), so schemas with out-of-body indexes/
    FKs no longer report false-positive index/FK diffs. Adds a second parse
    pass (mergeStandaloneIndexes / mergeStandaloneForeignKeys), string-literal
    blanking so DEFAULT/COMMENT text isn't mistaken for real DDL, backtick
    non-ASCII identifier support across all matchers (H3), and shared index-
    column normalization (strip backtick / prefix-length / ASC|DESC) on both
    docs and DDL sides. Chinese 主键/唯一 index labels map to PRIMARY/UNIQUE.
    
    apply-ddl resolves mysql2 from the target project dir (not the plugin),
    rejects 【人工填写】 credential placeholders before connecting, and exits 2
    on missing config/DDL paths. setup-test-db template validates schema as an
    ASCII identifier before interpolating it into DROP/CREATE. db-init gains a
    B.1 toolchain precheck (mysql2 module + mysql client) before any DROP.
    zichun authored
     
    Browse Code »
  • - db-design-gen: drop unused `AskUserQuestion` grant (the A0 convention-
      confirm step was removed; conventions are now fixed in step B). Update the
      stale README A3 row that still described the dropped AskUserQuestion flow.
    - downstream-gen: drop unused `Skill` grant (terminal A step — it stops for
      /plan-start, never dispatches).
    - skeleton-gen: QA banner 产出清单 referenced docs/07, which was removed
      (the skill itself states A2 no longer emits docs/06/07/09) → drop it.
    - project-init: align description with body + README — dependency check is
      auto-install-then-stop, not give-instructions-and-stop.
    zichun authored
     
    Browse Dir »
  • - delete docs-07-env-template.md (§一 依赖↔docs/04 §零; §二 端口↔config-vars.yaml; §四 命令↔docs/04 §零 build/lint/unit/e2e; §三 规则折入 config-vars.yaml 头)
    - skeleton-gen: B.1 (gen docs/07) removed → B = just append docs/04 §一+; add 'A2 不再单独出 docs/06/07/09 — 各内容归属' note; frontmatter/checkbox/E.1-scan/参考 drop docs/07
    - config-vars.yaml header: + 2 guardrails (配置值不散落; base_package 锁定后复用)
    - plan-start drop 'docs/07 仅承载规则' note; docs-08 checkbox; README A2 row + template table
    zichun authored
     
    Browse Dir »
  • - docs-04 template: remove § 2.5 样式与主题 (tokens live in src/styles/tokens.css) + § 3.5 配置与安全 (config in config-vars.yaml, rules in docs/07→now config-vars header)
    - styles-tokens-template.css: fix 3 stale docs/06 refs missed in the earlier docs/06 removal (greps had excluded *.css) → self-contained '色值单一来源 / SSoT'
    - coding.mjs: frontend ref §一 前端架构 → §二 前端规范 (§一 is 后端); backend drop frontend §2.1 → §1.2 分层; 样式/色值 → tokens.css; remove docs/07 from value-lookup order
    zichun authored
     
    Browse Code »
  • - delete docs-09-structure-template.md (its § 二/§ 三 dir layout duplicated docs/04 § 1.2/2.1; § 四 docs-tree was a self-referential maintenance trap; § 五 overlapped docs/04)
    - skeleton-gen B.1 now generates only docs/07; B.2 captures backend/frontend dir layout into docs/04 § 1.2/2.1; frontmatter/checkbox/参考 drop docs/09
    - coding.mjs (6 refs): file placement -> docs/04 § 1.2/2.1; frontend root -> frontend/ convention; cross-module path->module -> docs/08 § 二 路径: field
    - CLAUDE-template rule #2 -> docs/04 § 1.2/2.1; docs-08 checkbox + README A2/template-table drop docs/09
    zichun authored
     
    Browse Dir »
  • - delete lib/merge-gitignore.mjs + merge-gitignore.test.mjs: over-engineered for a once-run greenfield step (base .gitignore usually absent; duplicate ignore patterns are harmless)
    - D now uses C.1-style Read+Write: Write template if no .gitignore, else append missing lines (consistent with render.mjs removal + scope-lock direct-write)
    - removes the 'pre-Write empty .gitignore' fragility (Write self-creates); skeleton-gen drops Bash(node *) from allowed-tools
    zichun authored
     
    Browse Dir »
  • zichun authored
     
    Browse Dir »
  • 尾部 6/6 reset-test-db 与下次运行的 1/x setup-test-db 重复(都 DROP+CREATE),对正确性零贡献;删除后闸门为 detect→setup→build→lint→test→e2e,重编号 1/5..5/5。
    zichun authored
     
    Browse Dir »
  • - C.1: stop generating sql/migrations/.gitkeep (A4 db-init's Write V1 creates the dir); README A2 drops 'create empty migrations dir'
    - precedence rule: on color conflict, tokens.css wins over prototype (prototype = structure/layout/interaction; tokens.css = color) — encoded in skeleton-gen note, coding.mjs frontend stage, code-reviewer § Design Tokens
    zichun authored
     
    Browse Dir »
  • - skeleton-gen B.1: remove stale line claiming 根包名/命名空间 placeholder is filled at docs/09 top (docs/09 has no such placeholder; base_package lives in config-vars.yaml since A1)
    - docs-05-header: 端口 占位 -> pointer to config-vars.yaml backend.http_port (was a duplicate 【人工填写】 of the same port)
    zichun authored
     
    Browse Dir »
  • - delete frontend-scope-lock skill + docs/06 templates (static + module-pagelist)
    - A5 downstream-gen gains prototype/ gate + FE-list derivation -> docs/08 § 三
    - plan-start: drop A6 dispatch row, gate 5->4 items; coding-start A0~A6 -> A0~A5
    - Design Tokens single source = src/styles/tokens.css (code-reviewer, coding.mjs)
    - plugin.json skills 9->8; docs-09 tree drops 06-UI; docs-08 drops A6 section
    zichun authored
     
    Browse Dir »
  • - config-vars.yaml now holds全部 config incl. secrets (database/admin_init.password/secrets), committed
    - delete env-local-template; setup-test-db reads config-vars.yaml; gitignore no longer ignores .env.local
    - docs-07 single-store rule; db-init/db-design-gen read config-vars.yaml database: section
    - drop test_db_allowed_hosts whitelist + schema-looks-like-test guard (trust config-vars.yaml)
    zichun authored
     
    Browse Dir »



  • - mr-create → milestone-tag:本地 merge 进默认分支 + 打 milestone/<id> tag,完成后自动回调 coding-start(无人工闸门)
    - 移除 push/GitLab MR/API:删 deny-no-verify hook、derive-gitlab 脚本、pre-push 模板,env-local 去 GITLAB_*
    - 完成判定改为 docs/08「里程碑」字段 + git tag -l;README/CLAUDE-template/状态语义同步
    - 删除空 skills/internal 目录,skill 计数 27→25
    - docs-04 § 一 新增 1.1 规则(后端通用约定)占位,由 skeleton-gen E 填写
    zichun authored
     
    Browse Code »

  • 后端模块全部 merged 后进入前端整体阶段(1 个 MR)。
    
    - 入口:coding-start 由模块循环器升级为阶段分发器,按 docs/08 §二/§三 + GitLab state 路由到 module-start 或 frontend-start
    - 前端 skill:新增 frontend-start + fe-feature-brainstorm/plan/tdd/verify/review 共 6 个 skill;fe-code-reviewer agent 做 7 维 review
    - 前端门禁:prototype/ 至少 1 个 *.html mockup;FE 清单由 AI 扫 prototype + docs/01 + docs/05 自主推导写入 docs/08 §三,无人工审阅断点
    - 后端 skill 阶段化:feature-brainstorm/plan/tdd 加「阶段范围(后端)」标记;feature-tdd 增 frontend/ 路径硬护栏;module-start/test-gate/module-report/mr-create 接受 phase 参数(backend/frontend)
    - 模板同步:CLAUDE-template / docs-08-initial / docs-06-static / docs-02 / mr-description / coding-start banner 更新含前端段落
    - README:21→27 skill / 1→2 agent / 35→44 模板;A5 章节 docs/06 §五 改为 §三
    zichun authored
     
    Browse Code »

  • zichun authored
     
    Browse Dir »
  • - docs-04 模板新增 § 2.5 样式与主题(命名规范 + tokens.css 位置 + 引用约定)
    - docs-06 模板 § 四改为 Design Tokens 三段式(4.1 全局调色板 / 4.2 组件级状态色 / 4.3 引用约定)
    - 新增 styles-tokens-template.css:8 个全局调色板 + 10 个组件状态色默认值
    - SKILL.md 同步:C.1 加 mkdir src/styles + cp tokens.css;C.3 加勾选项;参考列表加新模板
    zichun authored
     
    Browse Dir »



  • - 去 erp- 前缀:project-init / scope-lock / skeleton-gen / db-design-gen / db-init / downstream-gen / plan-start / coding-start / module-start / feature-* / module-report / mr-create / cross-module-log
    - 红旗 → 中断:red-flag-check → interrupt-check;命中 → 触发(中断语境)
    - local-test-gate → test-gate
    - docs/01-需求清单 的 README.md → index.md(原先改名过 abstract.md,再改 index.md)
    - CLAUDE-template.md 大幅精简:删 § ⚡ Skill 索引 / § 🧪 自测要求 / § 🔄 统一响应格式 / § 通用工作准则 等冗余;§ 🏷️ 覆盖 3 类占位符;§ 📐 从 27 条压到 14 条;§ ✅ 模块完成判定规则 缩到 27 行;§ 🚩 改名中断机制
    - A0 project-init:步骤 A/B 互换(先 cp 模板创建 docs/08,再做依赖检查),修复首次运行 bootstrap bug;docs/04-stack-template.md 归 project-init 持有
    - scope-lock 合并 D+E 为单步;step A 加 CLAUDE.md § 🎯 的 Grep 占位校验
    - skeleton-gen:test.sh 骨架抽成模板(scripts-test-template.sh);step E 占位符处理从 130 行压到 34 行;删除内联 Flyway 说明;勾选分布到每个子步骤
    - req-card 模板三段式:目标引言 + 字段表 + 元数据 list;字段级 vs REQ 级规则用 field_rules/rules 区分
    - 模块级依赖模块 / 涉及表 改 TBD,由 A3/A5 回填(和 REQ 级 依赖表/依赖接口 同模式)
    - cross-module 留痕策略:hook 落存根不弹提示;所有 TBD 统一延到 module-report § ⑦ 一次性批量补齐
    - 其他:feature-verify 删除孤儿 Write 权限;Git commit type 解读表;软规则 S1 技术栈外组件;docs/08 § 二 加 REQ 功能子项由 feature-review approve 时勾选
    
    72 files changed, 1556 insertions(+), 1745 deletions(-)
    zichun authored
     
    Browse Code »