Skip to content

feat(recall): enable code-checked contradiction surface by default (#343e) - #363

Merged
abogartz merged 11 commits into
abogartz:mainfrom
WhollyMindless:feat/343-contradiction-surface
Nov 8, 2026
Merged

abogartz merged 11 commits into
abogartz:mainfrom
WhollyMindless:feat/343-contradiction-surface

Conversation

@WhollyMindless

@WhollyMindless WhollyMindless commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

A guided constant claim can remain hidden among plain memories even when it contradicts source. This fifth #343 split ports the maintainer's experimental contradiction surface to main: a decidable mismatch renders one CONFLICT object with the stored claim, observed literal, authority class and fixed action.

contradictionSurface defaults to ON, following the maintainer's requested rollout decision. Explicit contradictionSurface: false keeps plain guidance and skips source checks/parser loading. Full model benchmarking follows merge; enabling the default does not establish those results.

All four #343 dependencies (#359–#362) are merged into main. This branch includes main 082ad82 (v0.19.0); the remaining diff is the contradiction surface and its tests/docs.

Validation on 036053b: 1,095 pass, 32 skip, 0 fail; 12,913 assertions across 107 files. Typecheck and lint/format pass. Focused default/opt-out/epoch/provenance/emission tests: 68 pass / 357 assertions. The omitted-option public-plugin and direct-epoch cases failed against the old default, then passed after the change. A separate, explicitly isolated process verifies that false keeps guidance plain and never loads the parser; explicit true remains covered. New-head hosted CI is pending.

The benchmark-tests/ocsi source/profiles referenced by #349 are unavailable on our side; the maintainer has been asked to share them or run the windows. #350's fresh seat-model emission window, #351's real Arm G runs and #352's merged-main confidence measurements remain outstanding. The maintainer has changed the rollout order to default ON for that post-merge benchmark and may revisit the decision. No benchmark pass or full epic completion is claimed.

Refs #349, #343, #350, #351, #352, #342. Implementation submitted by the author; no independent approval claimed.

@abogartz abogartz left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's default to ON. We got burned by feature flags that hid half-baked implementation. Default to on for a full benchmark once everything lands. We can review this decision later.

@WhollyMindless WhollyMindless changed the title feat(recall): add opt-in code-checked contradiction surface (#343e) feat(recall): enable code-checked contradiction surface by default (#343e) Nov 8, 2026
@WhollyMindless

Copy link
Copy Markdown
Contributor Author

Implemented the requested default ON in 036053b; explicit contradictionSurface: false still opts out and skips the parser. Docs and real-path tests cover both modes. Full local suite: 1,095 pass / 32 skip / 0 fail; typecheck and lint pass. Hosted CI is running.

Recorded the revised rollout decision in #352. The full benchmark remains outstanding after merge; these are implementation checks, not fresh model benchmark results.

@abogartz
abogartz merged commit a22bf32 into abogartz:main Nov 8, 2026
4 checks passed
@abogartz-opencode-self-improvement

Copy link
Copy Markdown

🎉 This PR is included in version 0.20.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@WhollyMindless

Copy link
Copy Markdown
Contributor Author

Author follow-up (I wrote #355 and this PR): one clarification to the current #349 status note. The #342 ticket is still open, but its write-boundary reservation code is on main: #355 merged before the default-ON change, and is an ancestor of current d0929a6cc44a56ad9c788ae26236958983b51d43 (v0.20.0).

I checked a fresh checkout of that main SHA and ran bun test test/guidance-provenance.test.ts: 5 pass, 23 assertions. Remember/import strip user-guided (including comma-delimited aliases) and exclude ref/claim/klass; updating captured prose drops its priority tag. The positive control captures the triple and delivers its CONFLICT row with the default enabled. Current tests, reservation helper.

This verifies the specified public write boundaries; it does not authenticate hand-edited stores or establish capture-classification accuracy. I have left #342's state unchanged. The fresh model benchmark windows in #350/#351 remain outstanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants