Skip to content

/codecarto-dashboard reports success when the write failed #369

Description

@TheAmericanMaker

What

The Pi /codecarto-dashboard handler ignores the boolean writeDashboard returns and reports "Dashboard regenerated" unconditionally (extensions/codecarto/index.ts:1701-1704) (mechanical 2.1). writeDashboard is best-effort and returns false on any failure, so a swallowed write failure is surfaced as success; the sibling codecarto-amend handler reads the boolean.

Fix

Read the boolean and say "could not regenerate the dashboard" on false. Test: a read-only .codecarto/ and the notification text.

Found by the 2026-09-15 self-audit (full-with-deep-audit on this repository at a159d6c, v0.25.0 + #353, ollama-cloud/deepseek-v4.1-flash); confirmed by reading before filing. Report and finding id in self-audit/2026-09-15-v0.25.0-full-with-deep-audit/REVIEW.md.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingself-auditFiled from a CodeCartographer self-audit run

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions