Skip to content

fix(memory): stop the curator calling a working mirror broken - #83

Merged
arthware-dev merged 1 commit into
mainfrom
fix/curator-quiet-probe-log
Sep 11, 2026
Merged

arthware-dev merged 1 commit into
mainfrom
fix/curator-quiet-probe-log

Conversation

@arthware-dev

Copy link
Copy Markdown
Contributor

The curator logged brain git diff failed every cycle that had something to mirror.

git diff --cached --quiet exits 1 to say staged changes exist, which is the reason to commit, but the brain helper treated every non-zero exit as a fault. The log therefore reported a broken mirror at exactly the moments it was working, and went quiet when there was genuinely nothing to do.

The curator logged "brain git diff failed" every cycle that actually had
something to mirror. Nothing was wrong: `git diff --cached --quiet` exits
1 to say staged changes exist, which is the reason to commit, but the
brain helper treated every non-zero exit as a fault.

So the log announced a broken mirror at precisely the moments it was
doing its job, and went quiet when there was genuinely nothing to do.
Anyone debugging the memory wiki read it backwards.
@arthware-dev
arthware-dev merged commit e09291d into main Sep 11, 2026
1 check passed
@arthware-dev
arthware-dev deleted the fix/curator-quiet-probe-log branch September 22, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant