Skip to content

installing again via install script is dark pattern: "rebuild index" message followed by delete index action #607

Closed

Description

@dskvr

Version

codebase-memory-mcp 0.8.1

Platform

Linux (x64)

Install channel

GitHub release archive / install.sh / install.ps1

Binary variant

standard

What happened, and what did you expect?

the install suggested rebuilding indexes, then gives y/n prompt to nuke them.
Upon starting the web ui again, I am unable to create new indexes, either.
I expected the binary to update
cooked.

"Configuring coding agents...
codebase-memory-mcp install 0.8.1

Found 1 existing index(es) that must be rebuilt:
  /home/***/.cache/codebase-memory-mcp/_config.db

Delete these indexes and continue with install? (y/n): y (auto)
Removed 1 index(es)."

Says indexes need to be rebuilt and next prompt gives y/n to delete them.

No instructions to rebuild.

No rebuild index command:
codebase-memory-mcp --help | grep rebuild

No rebuild index in the now empty ui:

Image

Adding index now has no effect, only solution is to fully uninstall and start over.

at minimum it should remember which directories were indexed before unceremoniously nuking them and forcing the user through the terrible ergonomics of adding many new indexes. #608

Reproduction

  1. Install older version
  2. Run install script
  3. Experience dead end.

Logs

None.

Project scale (if relevant)

30 projects, 1/4 million nodes or so.

Confirmations

  • I searched existing issues and this is not a duplicate.
  • My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.

Back to grafify

Activity

  1. changed the title [-]No clear upgrade path, installing again via install script nukes indexes[/-] [+]installing again via install script cues "rebuild index" with not clear path forward[/+] on Jun 24, 2026
  2. changed the title [-]installing again via install script cues "rebuild index" with not clear path forward[/-] [+]installing again via install script is dark pattern: "rebuild index" message followed by delete index action[/+] on Jun 24, 2026
  3. DeusData commented on Jun 28, 2026

    @DeusData
    Owner

    This issue now has a first-class, durable reproduction in the cumulative bug-reproduction suite landing in #667 — a test that pins the exact failing behaviour, so it's tracked and guarded against silent regression. Where #667 also lands the root-cause fix, that's called out in the PR; otherwise the reproduction makes the eventual fix straightforward and verifiable.

    The reproduction goes live once #667 merges. (Posted from the release branch's QA pass.)

  4. added
    ux/behaviorDisplay bugs, docs, adoption UX
    priority/normalStandard review queue; useful PR with ordinary maintainer urgency.
    on Jun 29, 2026
  5. added this to the 0.9.1-rc milestone on Jul 8, 2026
  6. added
    priority/highNeeds near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.
    and removed
    priority/normalStandard review queue; useful PR with ordinary maintainer urgency.
    on Sep 5, 2026
  7. DeusData commented on Sep 26, 2026

    @DeusData
    Owner

    Thank you, @dskvr, for calling this out so directly. You were right that "must be rebuilt" followed by a delete prompt was a dead end that lost your indexes.

    Since v0.9.0, install keeps existing indexes by default. It only tells you to re-index to pick up extraction improvements, and deleting requires an explicit install --reset-indexes. The update hand-off never treats -y as consent to delete indexes, and a test now pins that. Remembering previously indexed folders is tracked separately in #608.

    Closing as fixed. Please reopen if anything on v0.11.0 still removes an index without you asking.

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 workingpriority/highNeeds near-term maintainer attention; high-impact bug, regression, safety issue, or release blocker.ux/behaviorDisplay bugs, docs, adoption UX

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions