refactor(install): 种子退役,migrate:run 一条命令完成建表与初始数据

新增 InitDataAlignService 六域对齐(超管/角色/权限节点/配置/快捷入口/商城演示)与 20260909130000 迁移;SystemAdmin 快照以字面量哈希入库;删除种子三件与安装锁依赖,seeds 目录留 .gitkeep;README/tests/规则等 11 处说明同步。

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
augushong
2026-09-09 14:38:10 +00:00
parent e54c772868
commit 553047025c
18 changed files with 371 additions and 242 deletions

View File

@@ -212,7 +212,7 @@ class McpServiceTest extends TestCase
public function test_drift_super_admin_creator_gets_full_whitelist(): void
{
// 超管(seed 的 id=1,auth_ids 空):判定链超管直通,白名单全保留
// 超管(初始化迁移创建的 id=1,auth_ids 空):判定链超管直通,白名单全保留
// (含未注册节点也放行——超管对全量节点可见)
$fakeNode = 'nonexist.fake_node/action';
$key = $this->createKey(1, [self::NODE_A, $fakeNode, self::NODE_B]);