From 176023bf5d5f6240b4ded0a8e6d8e6de146d59ba Mon Sep 17 00:00:00 2001 From: bchanot Date: Tue, 10 Nov 2026 18:34:45 +0100 Subject: [PATCH] chore(memory): G2 fixed (split), BLK-047, LRN-275, measured-cost feature in TODO --- .claude/audits/BUGS-FOUND.md | 1 + .claude/memory/blockers.md | 6 +++ .claude/memory/journal.md | 1 + .claude/memory/learnings.md | 5 +++ .claude/tasks/TODO.md | 3 ++ .../2026-11-10-passive-cost-source-1330.md | 29 +++++++++++++ .../2026-11-10-passive-cost-source-1330.md | 41 +++++++++++++++++++ 7 files changed, 86 insertions(+) create mode 100644 .claude/tasks/contracts/2026-11-10-passive-cost-source-1330.md create mode 100644 .claude/tasks/plans/2026-11-10-passive-cost-source-1330.md diff --git a/.claude/audits/BUGS-FOUND.md b/.claude/audits/BUGS-FOUND.md index 2a4a452..ad5294e 100644 --- a/.claude/audits/BUGS-FOUND.md +++ b/.claude/audits/BUGS-FOUND.md @@ -7,6 +7,7 @@ - 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 `- ` bullets inside ``, so a template-born project prints "- journal: " 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 `