Skip to content

Default ON the recall quality flags (dedupe, query gate) #425

Closed

Description

@abogartz

Problem\nThe plugin accumulates quality fixes behind opt-in flags: OPENCODE_MEMORY_DEDUP and OPENCODE_MEMORY_QUERY_GATE both default OFF. A fix nobody flips on is not a fix — the measured wins (#409: composition 0.006 -> 0.791; the tool path disagreeing with the injection path on admission) stay dark for every user who does not read the README env table.\n\n## Change (principle: default ON, explicit off-switch kept)\n- OPENCODE_MEMORY_DEDUP: unset now means 0.8 — the live-replay point that touches 17% of calls, never changes top-1, never drops a term's last carrier. =0 keeps the plain top-limit slice byte-identical; an explicit misconfigured value (<0.5, unparsable) still turns the pass off.\n- OPENCODE_MEMORY_QUERY_GATE: unset now means ON — the two-concept admission rule the injection scorer already applies by default, so both paths finally agree. Off only for an explicit negative: off/no/n/false or any zero (0, 00, 0.0). A typo cannot silently disable it.\n- README rows rewritten to match.\n\n## Non-goals\n- No behavior change to ranking, scoring, or window size — admission and suppression only.\n- Escape hatches stay documented and tested; this is a default flip, not flag removal.

Activity

  1. abogartz-opencode-self-improvement commented on Nov 18, 2026

    @abogartz-opencode-self-improvement

    🎉 This issue has been resolved in version 0.30.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions