Skip to content

Remove database-side factor admission decisions - #312

Merged
NeverENG merged 1 commit into
mainfrom
codex/remove-factor-gate
Nov 16, 2026
Merged

NeverENG merged 1 commit into
mainfrom
codex/remove-factor-gate

Conversation

@NeverENG

Copy link
Copy Markdown
Owner

Summary

  • Remove database-side Pearson threshold and evidence admission gate. Callers provide similarity edges and explicitly link factor evidence.
  • Preserve existing factor similarity and evidence keys/payloads for historical reads; retain schema validation.
  • Remove the factor gate redline and stale proposal contract language.

Compatibility

Removing factor_similarity_gate changes RiskRedlinesDigest and newly generated ContextFingerprint; existing snapshots are not rewritten. Old suspect_duplicate fields remain readable. Public Go APIs RecordSimilarity/AdmitFactorEvidence are replaced by StoreSimilarity/LinkFactorToExperiment.

Verification

  • go test ./... -count=1
  • go test -tags experimental ./... -count=1
  • go vet ./...
  • go build ./... && go build -tags experimental ./...
  • JSON syntax and scope gate checked.

@NeverENG
NeverENG merged commit 7f9e5bd into main Nov 16, 2026
1 check passed
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