Files
claude_mac/.claude/audits/BUGS-FOUND.md
T

4.0 KiB

BUGS-FOUND

  • lib/toggle-external.sh:350 (pre-cleanup numbering; usage(), now near :370) — usage() prints header lines 3-26 only (sed -n '3,26p'); the managed-tool list continues to line 32, so --help omits 8 of the 14 tools. Severity: low (help text only). Discovered while: code-clean run 2026-10-12 (B5 audit). Not fixed (cleanup and bugfix are separate concerns). FIXED 2026-10-12 (inline on chore/code-clean, no /bugfix pipeline): usage() now prints lines 3 .. closing banner (sed -n '3,/^# ====/p' | sed '$d'), no numeric range; --help shows all 14 tools (36 lines).
  • hooks/session-start.sh:200-217 + lib/detect-plugins.sh:49-52 (detect_uiux_pro_max) — the banner "ALWAYS ON" row and the ui-ux-pro-max toggle row read user-scope settings.json / plugin cache, not the effective profile (profile.sh current --plain, BDR-134 single source of truth): a dev or minimal project shows ui-ux-pro-max on; pr-review-toolkit on in max/audit is not shown. Severity: low (banner only). Discovered while: code-clean 2026-11-09 (phase 5 sweep). Not fixed. FIXED 2026-11-10 (/bugfix, bugfix/banner-effective-profile): new list_on_plugins (lib/detect-plugins.sh) = effective profile for the ids lib/profiles manages, user-scope true for the others; the ✅ row reads it (model-router now shown, user choice) and detect_uiux_pro_max = cache AND enabled; pipefail-safe for doctor.sh; test lib/tests/session-banner.test.sh SB1-SB8.
  • hooks/session-start.sh:177-183 + agents/plugin-advisor.md:193,197,211,226,233,263 vs doctor.sh:520-526 — passive-cost constants disagree (banner/advisor: gstack 2750, ui-ux-pro-max 400, context7 200, graphify 300; doctor dropped gstack/context7/graphify 2026-09-28 as double counting, ui-ux-pro-max 670); agents/status-reporter.md:26-30 names doctor as source of truth. Severity: low (estimates). Discovered while: code-clean 2026-11-09. Not fixed. FIXED 2026-11-10 (/bugfix, bugfix/passive-cost-source, split by the user): stale hand figures removed from the banner (💰 budget row + _plugin_costs + now-dead detect_plan deleted), plugin-advisor and status-reporter (cost → make doctor); doctor keeps its measured ui-ux 670; tests SB9/SB10, detect-plan.test.sh renamed hook-recursion-guard.test.sh. Measured-cost API = TODO feature.
  • hooks/session-start.sh:404-408 (_digest_journal) — greps ^- without skipping HTML comments; templates/memory/journal.md:19-21 holds - <line …> bullets inside <!-- -->, so a template-born project prints "- journal: <line 3-5 max>" in the session digest until its first journal write. Fix template and digest together. Severity: low. Discovered while: code-clean 2026-11-09 (phase 4 sweep). Not fixed. FIXED 2026-11-09 (/hotfix, bugfix/digest-journal-comment): the digest skips HTML comment blocks (opener anchored at line start, CommonMark rule; an inline <!-- in a bullet stays text), test SD18; the template stays byte-identical (copied by onboarder/init-project/memory.sh), so fixing the template was not needed.
  • agents/status-reporter.md:35 + agents/plugin-probe.md:22-23,69 — report installed (cache) or user-scope claude plugin list state as "active"; the per-project state is the PROFILE line (current --plain). Severity: low. Discovered while: code-clean 2026-11-09. Not fixed. FIXED 2026-11-10 (/bugfix, bugfix/banner-effective-profile): status-reporter takes Plugins ON: from list_on_plugins + pack-*=on (cache = installed only); plugin-probe comment and plugin-advisor INPUT name PROFILE as the per-project source (PLUGINS = installed).
  • agents/handover-doc-writer.md:77-84 — parses registry statuses by hand ("open vs resolved"), the class behind the BLK-032..034 false-open (BDR-129). A fix must read memory.sh -C <project> index on v2 registries and keep the ## Index read on v1 registries never upgraded (memory.sh index ignores a v1 Index; memory.sh:21-23). Severity: medium (client deliverable). Discovered while: code-clean 2026-11-09. Not fixed.