Fix pattern decay rates and watcher noise filtering#270
Merged
CalebisGross merged 1 commit intomainfrom Mar 20, 2026
Merged
Conversation
Three fixes for signal quality issues found during agent audit: 1. Pattern decay rates increased — self-sustaining patterns now decay at 0.995/cycle (was 0.9999, ~30% monthly loss vs ~0.07%). Normal patterns 0.995 (was 0.998). Stale threshold reduced from 7 to 3 days. Stale decay rates increased across all tiers. 2. Hard-reject release tooling files — .release-please-manifest.json and CHANGELOG.md added to heuristic lockfile rejection list. These are deterministic files with zero semantic value. 3. Salience floor raised 0.0 → 0.5 in DefaultConfig — non-MCP memories below 0.5 salience (shallow config changes, desktop noise) are skipped during encoding. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Three signal quality fixes found during agent audit of v0.26.0:
1. Pattern decay was effectively disabled for established patterns
Self-sustaining patterns (10+ evidence, 0.9+ strength) had 0.9999 per-cycle decay — a month of hourly consolidation only reduced them by 0.07%. Stale patterns from weeks ago were stuck at strength 1.0.
2. Release tooling files bypassed heuristic filtering
.release-please-manifest.jsonscored 0.45 heuristic (0.3 base + 0.15 JSON config bonus), clearing the 0.4 salience floor. Added to hard-reject list alongsideCHANGELOG.md.3. Salience floor was too permissive
Default was 0.0 (effectively disabled). Raised to 0.5 to filter shallow config changes and desktop noise before they reach the encoding pipeline.
Test plan
make build+make testpassgolangci-lint run— 0 issues