fix: v2.7.3 — ownsCompaction, doctor phantom tasks, scope visibility#186
Merged
Conversation
Without ownsCompaction: true, OpenClaw's Pi auto-compaction could run alongside palaia's own GC, causing unpredictable context truncation. Bump to v2.7.2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Two related bugs from v2.7.1 feedback: 1. Doctor reported stale tasks that `palaia list --type task --all` could not find. Root cause: doctor scanned .md files directly, bypassing the Store's entry discovery. Now uses Store.all_entries_unfiltered() for consistent results. 2. Entries with empty or unrecognized scope values were invisible to all list/query operations because can_access() returned False for any scope not matching team/public/private/shared:*. Now treats empty scope as "team" and unknown scopes as accessible (safe default). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ownsCompaction: true— prevents Pi auto-compaction from running in parallel withpalaia gc_check_stale_unassigned_tasksnow reads throughStore.all_entries_unfiltered()instead of direct file scanning, eliminating false positives for entries invisible topalaia listcan_access()no longer returnsFalsefor empty or unrecognized scope values, preventing entries from being silently invisibleContext
Discovered during OpenClaw v2026.4.5 compatibility audit (ownsCompaction) and v2.7.1 user feedback (doctor/scope).
Test plan
palaia doctorno longer reports phantom stale taskspalaia list --type task --allmatches doctor findings🤖 Generated with Claude Code