Commit Graph
5 Commits
Author SHA1 Message Date
adminandClaude 1e0807ea7a docs(design): 多本体/多租户设计(每租户一套 schema + 1:1 隐式路由)
- 选型:多本体(schema-per-tenant),非行级 tenant_id
- 控制面(ontologies 表 + 管理页)留在默认租户 public,租户 schema 只装业务本体
- 主体↔租户 1:1,不带 ontology_id 时隐式落到家租户,替换原 ACL 名单方案
- 前置项:ctxPool 修 a.pool 全局替换的并发串味(零 handler 改动)
- migrate() 拆带版本号迁移段,启动按 schema_version 自动补跑
- 备份按租户切,snapshot_path 与 tenant_path 同句叠加;补表数完整性硬约束
- 记录现存越权洞:X-Principal 头无鉴权,多租户下会放大为跨租户洞

Co-Authored-By: Claude <[email protected]>
2026-10-17 11:39:07 +08:00
adminandClaude Opus 4.8 9924ecc499 docs(plan): M4/M5 执行记录——16 commits 清单 + 裁决要点 + 已知限制
Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-20 22:30:37 +08:00
adminandClaude Opus 4.8 e16bca882c docs(gb48000): M4/M5 落地状态回写(GAP/README/PLAN/CLAUDE/INSTANCE_GOVERNANCE)+ CHANGELOG 1.6.0
Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-20 21:25:10 +08:00
adminandClaude Opus 4.8 6e08f15581 feat(ontology): object_types.axioms 公理声明列(形状校验+创建/更新/回显+写入路径串入 schema 版本流)
Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-20 18:57:55 +08:00
adminandClaude Opus 4.8 34933b7c53 docs(gb48000): 差距分析报告 + 标准 PDF + PLAN/README 同步 + 实施计划 + CLAUDE.md
Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-20 14:50:56 +08:00