liuyun 2b3ae072f2 docs: consolidate governance docs into single source of truth
- spec 约定/模块清单/设计决策统一由 docs/spec-conventions.md 维护
- 丢弃 PRD 唯一权威,单一事实源改为 openspec/specs/
- 填充技术栈(NestJS 12 / Vue 3 / Node 22.23.1 / pnpm 12.10.1)
- 资源表 RES 命名 + 多租户/数据权限设计决策
- CLAUDE.md/README/config.yaml 改为引用,AGENTS.md 保持 symlink

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-10 14:30:47 +08:00

18 lines
917 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

schema: spec-driven
context: |
项目:通用系统管理脚手架 (sysmgr)
领域:用户/角色/资源/组织/审计/字典/日志等后台基础能力的统一管理(多租户 tenant_id 隔离)
技术栈:后端 NestJS 12,前端 Vue 3;Node 22.23.1 · pnpm 12.10.1
事实源:openspec/specs/ 为单一事实源(无 PRD 权威)
工作流:spec-driven(proposal → specs → design → tasks);superpowers 过程技能驱动
spec 约定:三层 shared/frontend/backend + 功能块级粒度 + 编号 <层>-<端/域>-<页面>.<块>;
唯一权威见 docs/spec-conventions.md
rules:
specs:
- 遵循 docs/spec-conventions.md(三层结构/粒度/编号/铁律/模块清单),此处不重复
- 字段名引用 shared/data-model 字段字典,禁止各自命名
design:
- 数据库 schema(ERD/DDL/字段字典)放 design,字段以 shared/data-model 为源