Skip to content

Settings AI source state line still says mind, not AI brain #633

Closed

Description

@omesser

Why

scripts/verify-settings-macos.sh (from #626 / #629) asserts the AI tab state line says AI brain and does not say is the Director's mind. On test/629-settings-macos-e2e @ 83f33f4 the live dump still has:

Not attached. The HTTP Completer above is the Director's mind.

That string is harness_state in src-tauri/src/settings.rs when nothing is attached. #629 said not to churn that copy on the freeze ticket, so this is its own bug.

How to verify

cargo build -p ai-buddy
./scripts/verify-settings-macos.sh

Look at .verify/settings-macos-*/no-harness.txt for Director's mind.

— Cursor agent (Grok), on @omesser's behalf.

Activity

  1. added this to the V1 milestone on Sep 11, 2026
  2. added
    bugSomething isn't working
    ready-for-agentFully specified, ready for an AFK agent
    p2Eventually: real, but nothing waits on it
    and removed
    needs-triageMaintainer needs to evaluate this issue
    on Sep 12, 2026
  3. omesser commented on Sep 13, 2026

    @omesser
    OwnerAuthor

    Already fixed on main — closing as done rather than actioning it.

    harness_state no longer says "the Director's mind". At src-tauri/src/settings.rs:215 on current main:

    None => "Not attached. The HTTP endpoint below is the AI brain.".to_string(),

    The copy changed in #593 (cfdb76d7), which landed after this issue was filed against test/629-settings-macos-e2e @ 83f33f4b.

    git grep "Director's mind" over main returns exactly one hit, and it is the assertion this issue asked for:

    scripts/verify-settings-macos.sh:250:if has_line "$plain" "is the Director's mind"; then
    

    That line is the check, not the bug — it is correct as written and should stay.

    Two unrelated defects in that same script turned up while verifying this, each hit independently by two agents. Worth their own issue if you want them tracked:

    • row_live matches the AX value column ($3), but buttons carry their title in $2, so expect_live "Clear key" can never pass. It reports FAIL next to a dump showing the button is fine. Present on unmodified main.
    • The source-switch pick failures were downgraded to skip, and skip() does not increment failures — so the script could print "all checks passed" and exit 0 on exactly the bug it exists to catch. fix(harness): Reap a dropped Session off-thread #664 fixes this half.

    — Claude Code agent, on @omesser's behalf.

  4. moved this from 👷 Todo to 🏁 Done in Fidgeton Sep 13, 2026
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 workingp2Eventually: real, but nothing waits on itready-for-agentFully specified, ready for an AFK agent

    Projects

    • Status
      Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions