Files
solution-erp/.claude/workflows/runs/2026-08-05-S173-bookend-open/sub-tooling-auditor-open-S173.md
2026-08-05 10:50:22 +07:00

6.9 KiB
Raw Blame History

sub-tooling-auditor — bookend @OPEN S173 (phiên-LOGIC L11)

  • Vai: tooling-auditor (H1 tooling/docs freshness) — INFORM-only · propose-only · single-writer = lead
  • Ngày: 2026-08-05 · Repo: SOLUTION_ERP · HEAD @spawn: 1b3bcaa (Docs: đóng 4 orphan run-folder cuối)
  • Mốc diff: last-session = S172 @close (.claude/workflows/runs/2026-08-05-S172-bookend-close/)
  • Working tree @spawn: M .claude/governance/.session-counter.json + ?? .claude/sessions/session-11/ (2 entry — session-11 mới mở, chưa track)
  • Mode ghi: ĐỔ RUỘT LIÊN TỤC (chống #53) — mỗi mục ghi ngay khi đo xong.

0. Trạng thái file (đổ ruột)

  • file mở @start
  • ① skill
  • ② roster
  • ③ plugin
  • ④ docs
  • soi riêng: HANDOFF slot (72) mfe-eval claim
  • soi riêng: NEXT-em #7 monthly drift-audit 2026-08-01
  • VERDICT

① SKILL — PASS (0 finding)

Đo đĩa (đếm PHẦN-TỬ, không tin số doc):

Tập Lệnh đo Kết quả vs S172
project skill find .claude/skills -mindepth 1 -maxdepth 1 -type d | wc -l 6 0-delta
user-global skill find ~/.claude/skills -mindepth 1 -maxdepth 1 -type d | wc -l 23 0-delta
command-file find .claude/commands -maxdepth 1 -name '*.md' | wc -l 19 0-delta
  • 6 project: contract-workflow · dependency-audit-erp · ef-core-migration · form-engine · iis-deploy-runbook · permission-matrix (+ README.md = FILE, KHÔNG đếm — bẫy glob thừa-1, agents/README.md:6).
  • 19 command: adap-apply/report/request · check-email · fable-clone · fable-real · pause · send-email · session-end · session-start · sleep-recovery-memory-l2 · snapshot · tiep · ultra-off · ultra-on · user-mark-{active-high,active,medium,disable}.
  • 23 standalone user-global: algorithmic-art · brand-guidelines · canvas-design · claude-api · code-reviewer · codebase-onboarding · doc-coauthoring · docx · focused-fix · frontend-design · git-worktree-manager · internal-comms · mcp-builder · pdf · pptx · senior-frontend · skill-creator · slack-gif-creator · sql-database-assistant · theme-factory · web-artifacts-builder · webapp-testing · xlsx. 0 skill MỚI ⇒ new-alloc @open = 0-action.

Freshness nội-dung (last-touch git + soi số):

Skill last commit Đánh giá
ef-core-migration ff7f655 2026-08-01 FRESHSKILL.md:92 có row Mig 70 AddContractCatalogEntries, :93 row Mig 71 AddKhkkApprovalGroupCatalogAndFinalizeRuntime; :96 Total: **97 bảng** = khớp canonical 97. Đo bằng cắt-cột awk -F'|' $3 (bài S172: grep ^| *7[01] trượt vì cột có markdown-bold)
contract-workflow e5123ff 2026-07-30 không có sự-kiện HĐ mới sau S172 (S172 = KHKK 3-panel mirror, chạm module KHKK)
permission-matrix bd68f71 2026-07-31 ⚠️ theo-dõi (không flag): Menu keys 113 / Policies 452 landed @S166 — trước mốc chạm này
dependency-audit-erp e70c046 2026-06-18 ops-skill, không có CVE-event
form-engine 2abbc1d 2026-04-30 0-đổi domain
iis-deploy-runbook d085436 2026-06-25 0-đổi hạ-tầng
skills/README.md 3a6eb92 2026-08-05 (S172) vá S172 LANDED-verified: :20 ô ef-core nay ghi "số bảng + số Mig → docs/STATUS.md (B1, KHÔNG neo số ở ô này)" — số 96 cũ ĐÃ BỎ (đúng doctrine BỎ SỐ, không ĐỔI SỐ). Ổ cùng-lớp ring1 bắt @S172 (mục Related, :90) cũng đã BỎ digest gotcha: "số + các mục mới nhất → docs/STATUS.md — B1, KHÔNG chép digest ở đây… gỡ @S172 sau khi đo lệch 7 mục". File 91 dòng — 0 số neo còn sót

Map skill→vai: agents/README.md:174-201 bảng skill-assignment phủ đủ 23 vai (10 worker có skill/ref + 13 monitor ref-only). 0 vai mồ-côi, 0 skill chưa gán.


② ROSTER (vai-trò sub-agent) — PASS (0 finding)

5 bề-mặt, đếm PHẦN-TỬ:

# Bề mặt Phép đo Số Diff tập-TÊN
1 đĩa .claude/agents/*.md find … -printf '%f\n' | grep -v '^README.md$' 23 — (gốc)
2 hmw.js VALID_ROLES awk '/^const VALID_ROLES = \[/,/^\]/' + strip // comment 23 diff = IDENTICAL
3 .claude/agent-memory/*/ (dir) find -mindepth 1 -maxdepth 1 -type d 23 diff = IDENTICAL
4 agents/README.md:27 "Roster THẬT" (liệt TÊN) đếm phần-tử: 7 core + 16 named 23 khớp
5 agents/README.md:242 VALID_ROLES prose + "13 monitor + 10 worker = roster 23" đếm phần-tử: 10 + 13 23 khớp
  • ⚠️ Lưu ý phép đo: awk '/VALID_ROLES/,/^\]/' không anchor cho ra 27 token — vì bắt đầu từ dòng COMMENT VALID_ROLES ở đầu file và nuốt cả khối badRoles ('sub', 'task', 'return-delta-only', ''). Anchor đúng = ^const VALID_ROLES = \[ (bài S153 bẫy-parse). Số đúng = 23.
  • STATUS canonical :6 ghi roster 23 ✓ khớp đĩa.
  • Thừa/idle/scope-drift: 0. agents/ last-touch = bf0200b (2026-08-04, "vá 4 điểm stale hậu-ring S170 — persona ×2"), 0 commit chạm .claude/agents/ sau đó ⇒ 0 vai mới ⇒ 0 vai chưa-active (không cần restart-probe phiên này).

③ PLUGIN — PASS (0 finding) — báo ĐÚNG 4 NẤC, không conflate

Nguồn authority = ~/.claude/settings.json (user-global). Project .claude/settings.json chỉ có autoMemoryDirectory + hooks.Stop wal-flush ⇒ KHÔNG override plugin/model (đừng conflate 2 file — bài S111 H22).

Nấc Số Chi tiết
available (marketplace) 37 ~/.claude/plugins/marketplaces/claude-plugins-official/plugins
installed (registered enabledPlugins) 18 0-delta vs S172
enabled (true) 15 claude-code-setup · feature-dev · skill-creator · playground · mcp-server-dev · frontend-design · learning-output-style · plugin-dev · code-review · claude-md-management · commit-commands · explanatory-output-style · csharp-lsp · typescript-lsp · session-report
disabled (false) 3 pr-review-toolkit · code-modernization · hookify
assigned (doc) agents/README.md:216-228 bảng H3 map → vai; :225 khối "KHÔNG DÙNG" đã vá @S153 nói đúng nấc (enabled nhưng CỐ Ý không dùng)
used per-session auto-trigger, KHÔNG đo được @open ⇒ khai thẳng: không-đo-được, không suy từ enabled
  • 18/15/3 + marketplace 37 = IDENTICAL S168 & S172 ⇒ 0-delta 3 phiên liên tiếp.
  • model user-global :11 = claude-opus-5[1m]; effortLevel: xhigh. Khớp agents/README.md:5 "lead DEFAULT Opus 5 MAX". ✓

(④ docs + 2 probe riêng: đang đo)