executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
audit-icon-pipeline通过将注册表与符号映射文件、图标目录和清单进行比较,检测缺失的符号、图标 和高清变体。报告技能、代理和团队在所有调色板中的差异。
Independent GitHub snapshot · Automated classification · Original documentation governs
通过将注册表与符号映射文件、图标目录和清单进行比较,检测缺失的符号、缺失的图标和过时的清单。生成涵盖技能、代理和团队的结构化差异报告。
skill、agent、team 或 all(默认:all)cyberpunk — 参考调色板)从权威数据源注册表中收集所有实体 ID。
skills/_registry.yml — 提取所有领域中的全部技能 IDagents/_registry.yml — 提取所有代理 IDteams/_registry.yml — 提取所有团队 ID预期结果: 三个实体 ID 列表,计数与 total_skills、total_agents、total_teams 匹配。
失败时: 如果注册表文件缺失,报告路径并跳过该实体类型。
从符号映射文件中收集所有已映射的实体 ID。
viz/R/glyphs.R — 提取 SKILL_GLYPHS 列表中的所有键viz/R/agent_glyphs.R — 提取 AGENT_GLYPHS 列表中的所有键viz/R/team_glyphs.R — 提取 TEAM_GLYPHS 列表中的所有键预期结果: 三个已映射 ID 列表。
失败时: 如果符号文件缺失,报告并将该类型的所有实体标记为未映射。
将注册表 ID 与已映射 ID 进行差异比较。
registry_skill_ids - mapped_skill_idsregistry_agent_ids - mapped_agent_idsregistry_team_ids - mapped_team_ids预期结果: 存在于注册表中但没有映射符号函数的实体 ID 列表。
失败时: 如果差异计算失败,验证注册表和符号文件之间的 ID 格式是否匹配(例如下划线与连字符)。
验证已映射的符号是否有对应的已渲染图标文件。
viz/public/icons/<palette>/<domain>/<skillId>.webpviz/public/icons/<palette>/agents/<agentId>.webpviz/public/icons/<palette>/teams/<teamId>.webpviz/public/icons-hd/ 中相同结构的高清变体预期结果: 有符号但缺失已渲染图标(标准和/或高清)的实体列表。
失败时: 如果图标目录不存在,说明流水线尚未运行 — 将所有标记为缺失。
将清单计数与注册表计数进行比较。
viz/public/data/icon-manifest.json — 统计条目数viz/public/data/agent-icon-manifest.json — 统计条目数viz/public/data/team-icon-manifest.json — 统计条目数预期结果: 清单计数与注册表计数匹配。差异表明清单已过时。
失败时: 如果清单文件不存在,需要先运行数据流水线(node build-data.js && node build-icon-manifest.js)。
生成结构化的汇总报告。
=== Icon Pipeline Audit ===
MISSING GLYPHS (no glyph function):
Skills: 5 missing — [list]
Agents: 2 missing — [list]
Teams: 0 missing
MISSING ICONS (glyph exists, no rendered WebP):
Standard (512px): 3 skills, 1 agent
HD (1024px): 8 skills, 3 agents, 1 team
STALE MANIFESTS:
icon-manifest.json: 320 entries vs 326 registry (stale)
agent-icon-manifest.json: 66 entries vs 66 registry (OK)
team-icon-manifest.json: 15 entries vs 15 registry (OK)
预期结果: 包含可操作后续步骤的完整差异报告。
失败时: 如果所有检查通过且无差异,报告"流水线完全同步"作为正面结果。
create-skill),符号映射可能使用 snake_case 键 — 确保比较时进行格式规范化icons-hd/)中 — 不要与标准图标混淆build.sh creates icons at the new path but does NOT delete the old path — always run Step 6 orphan check after any domain migration