Skip to content

chore(grounding): merge main, the claim model merge already landed on main (#18086) - #21822

Closed
mrveiss wants to merge 3 commits into
mainfrom
issue-18086-claim-models
Closed

mrveiss wants to merge 3 commits into
mainfrom
issue-18086-claim-models

Conversation

@mrveiss

@mrveiss mrveiss commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Thinking Path

This PR was opened for an existing branch that never had one (triage status PARTIAL). The branch carries 2ahead commit(s) of work not on main, linked to #18086 (refactor(grounding): three Claim models for one concept — merge, do not rename apart). It still needs a conflict sync with main and a review before it can merge. Acceptance criteria have not been verified against this branch.

What Changed

Commits on the branch (not on main):

Diff summary: 21 files changed, 515 insertions(+), 284 deletions(-)

Verification

Not yet verified. No CI evidence: this is a draft; no CI has run on it yet, and it needs a conflict sync with main and a review first.

Model Used

Branch authored by earlier Claude sessions; PR opened by Claude Sonnet 5.5.

Refs #18086

🤖 Generated with Claude Code

…im (#18086)

Merge the same-name grounding forks into one canonical model each, as was done
for Claim: VerifiedClaim in services/knowledge_grounding_models.py (with
ClaimStatus and VerificationStatus), Conflict and ConflictResolution in
api/knowledge_grounding_models.py. Every caller migrated, wire shapes kept
(Redis verifier cache payload keys unchanged, new keys additive; GroundedResponse
and ticket payloads unchanged). The guard now covers all four names.

Baseline ratchet-down: remove Conflict and VerifiedClaim, and the stale
RBACMiddleware and require_all_permissions clusters already retired by #18159.
Lower the claim_verifier.py size ceilings 830 -> 792.
@coderabbitai

coderabbitai Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

Copy link
Copy Markdown
Contributor

Auto-sync: merging main into issue-18086-claim-models conflicts

The sync aborted the merge and pushed nothing. Conflicts are information, so it never resolves one itself. Below, for each conflicted file, are the commits that touched it on each side since the merge base 38c62a97b8. Merge main in yourself and push; the label clears on the first run that finds this branch 0 behind.

autobot-backend/api/knowledge_grounding_models.py

side commit subject issue refs
main 35f947508e fix(grounding): one bad claim item no longer drops the batch; Priority keeps str equality; Conflict requires an identity (#14678) #14678
main 25247694d2 refactor(grounding): ReviewTicketPriority is the canonical Priority, wire pinned and the fork-guard pending entry removed (#18098, #18086) #18098, #18086
main c8ca9bd69a refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086
main 7d59711c40 refactor(grounding): merge the three Claim models into one (#18086) #18086
this branch 3d26808886 refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086
this branch dfba528a52 refactor(grounding): merge the three Claim models into one (#18086) #18086

autobot-backend/services/claim_verifier.py

side commit subject issue refs
main 1731579ef8 fix(security): admin explicit reads audited, diary owner stamp, triggering user on no-user paths (#16665) #16665
main 6af004be6b fix(security): scope every unscoped KB read path to the calling user, fail closed (#16665) #16665
main c8ca9bd69a refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086
this branch 3d26808886 refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086

autobot-backend/services/knowledge_grounding_models_test.py

side commit subject issue refs
main 7702c6c81c test(train): agents conftest stubs through StubSet; grounding test uses Severity; re-pin three reach floors (#13596, #14988) #13596, #14988
main 35f947508e fix(grounding): one bad claim item no longer drops the batch; Priority keeps str equality; Conflict requires an identity (#14678) #14678
main c8ca9bd69a refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086
main 7d59711c40 refactor(grounding): merge the three Claim models into one (#18086) #18086
this branch 3d26808886 refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086
this branch dfba528a52 refactor(grounding): merge the three Claim models into one (#18086) #18086

autobot-backend/tests/services/test_claim_verifier.py

side commit subject issue refs
main 6af004be6b fix(security): scope every unscoped KB read path to the calling user, fail closed (#16665) #16665
main c8ca9bd69a refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086
this branch 3d26808886 refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086

repo_tests/_reach_policy.py

side commit subject issue refs
main a471e4d87e test(i18n): a shrink-only ratchet on hard-coded English UI text, per file (#12732) #12732
main 091af388da fix(api): register literal routes ahead of the {param} routes that captured them (#18720) #18720
main b10b96593b fix(config): floor the env-family guard's reach and declare its filter widening (#18555) #18555
main 246b86f9ee test(train): record why #18641's backoff-formula-scan allowance is absolute (#15402) #18641, #15402
main 8ba19f55b0 Merge #18626 @ 514e49b into train-2026-10-17-22b #18626
main a44a310265 refactor(llm): one Anthropic-family message formatter shared by the anthropic and vertexai providers (#16815) #16815
main 547f376ebb refactor(resilience): the circuit breaker moves to autobot_shared behind a backend shim; a guard stops new hand-rolled breakers (#18554) #18554
main a388889be4 Merge #18612 @ af1ff7e into train-2026-10-16-20 #18612
main 8864e0c436 fix(slm): node enrollment deploys the real agent through the slm_agent role; the inline stand-in agent and string-embedded playbook are gone (#18606) #18606
main 383ea8c375 refactor(redis): a guard freezes today's direct Redis constructors; the terminal and timeout callers use the canonical client (#18553) #18553
main 8251c2087f Merge #18595 @ a600d2a into train-2026-10-16-17b #18595
main 0be6ce0c6a Merge #18591 @ 5f94ace into train-2026-10-16-17b (hub union: reach policy) #18591
main a600d2afc0 refactor(backend): retire 8 compatibility facades; importers use the canonical modules (#18552) #18552
main aaeb648337 refactor(data): one copy of each static data file (#18556) #18556
main 960fa5086c refactor(browser): one playwright-server.js; drop the unreferenced backup compose (#18549) #18549
main 96 more commit(s) not listed
this branch dfba528a52 refactor(grounding): merge the three Claim models into one (#18086) #18086

repo_tests/one_claim_model_18086_test.py

side commit subject issue refs
main 82e2fad6f9 perf(ci): the last guards parse through the shared parse cache (#20814) #20814
main caa13f48bb Merge #20731's fix into issue-19676-pins-2: stale window comments gone, four small guards keep floor= (#19676) #20731, #19676
main 3daec19c5a ci(guards): retire 75 floor= pins in 73 guard files, computed from the base instead (#19676) #19676
main bcb4aea347 chore(guards): re-pin the reach floors the pre-push gate reported stale (#19190) #19190
main d9401d601d test(train): train-73 tree — reach floors re-pinned on the merged tree: 8 backend-population scans 2979 → 3100, audio-extension-allowlist 6589 (#17844, #16724) #17844, #16724
main e257041935 test(train): re-pin 26 reach floors mid-window on the train-11 tree; excluded-tree size debt 46 -> 45 (#17914) #17914
main c8ca9bd69a refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086
main 7d59711c40 refactor(grounding): merge the three Claim models into one (#18086) #18086
this branch 3d26808886 refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086
this branch dfba528a52 refactor(grounding): merge the three Claim models into one (#18086) #18086

repo_tests/python_file_size_ratchet_baseline.py

side commit subject issue refs
main ad4e03163c dedup(ratchet): one ceiling table per size gate, checked against the base commit; a guard bars a second one (#19544) #19544
main c79ad98806 Merge main @ 6f1dcd3 into the merge train (PR #19638) #19638
main 51f15381cd Merge #19396 @ 1148b33 into train-2026-10-26-85l #19396
main 3730956301 Merge #19415 @ 8b7452d into train-2026-10-26-85l #19415
main c66adca250 Merge #19392 @ 84e1d04 into train-2026-10-26-85l #19392
main 2224f6e036 Merge #19627 @ e503344 into train-2026-10-26-85l #19627
main c498219dc0 Merge main @ 8c511bf (train 85j) into train-2026-10-26-85k none
main 0a9108b96e Merge #19399 @ 1ff25fb into train-2026-10-26-85k #19399
main 104afb6f07 Merge remote-tracking branch 'origin/main' into issue-19144-kb-principal none
main 8b7452dce9 Merge remote-tracking branch 'origin/main' into issue-19320-postgres-one-source none
main f5e0464edc Merge remote-tracking branch 'origin/main' into issue-19319-routers-strict none
main 84e1d04069 Merge remote-tracking branch 'origin/main' into issue-19315-env-mode-one-source none
main 988b0e2a1e Merge remote-tracking branch 'origin/main' into issue-19280-rag-leftovers none
main 09bc2d80ae Merge remote-tracking branch 'origin/main' into HEAD none
main 785a832f02 Merge #19509 @ 8cf459a into train-2026-10-26-85j #19509
main 421 more commit(s) not listed
this branch 3d26808886 refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086

repo_tests/reach_scope_claim_17844_test.py

side commit subject issue refs
main be5b2b0be2 test(guards): one compare-and-delete script, the shape matched with recorded exceptions and a planted-copy control (#19631) #19631
main fe97219e8c Merge origin/main into issue-21078-test-filenames (#21078) #21078
main 5d6c08c7eb refactor: move the reach scope record to its own module and register the test-name guard (#21078) #21078
main eb0ccc38fc Merge main into issue-20761-api-key-compare (auto-sync) [skip ci] none
main 464269b063 fix(train): reach floor follows the merged tree; scope-claim test stays under the 600-line cap (#17844) #17844
main 8019cce84d Merge branch 'main' into train-2026-11-07-t91 none
main 1fd6964fd3 fix(auth): the constant-time compare guard declares its reach floor, scope and roots (#20761) #20761
main 25b8798246 Merge #20969 @ b9c58d0 into the merge train #20969
main c16ff8bae0 Merge #20893 @ 1658109 into the merge train #20893
main 74816fa315 fix(deploy): record the venv-builder guard's declared scope in both reach records (#20932) #20932
main 982e6998ff merge: origin/main into issue-20889-snapshot-cleanup; route #20478 sites through accessors (#20889) #20478, #20889
main a35719e02d Merge main into issue-20046-ssh-password-proposal (auto-sync) [skip ci] none
main c09459f5d8 fix(snapshots): record the inline-lazy_singleton guard's scope and floor (#20889) #20889
main ab55d41295 Merge main into issue-20046-ssh-password-proposal none
main 2b2f7e52f4 Merge main into issue-20512-unconnected-code-gate (auto-sync) [skip ci] none
main 311 more commit(s) not listed
this branch 3d26808886 refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086
this branch dfba528a52 refactor(grounding): merge the three Claim models into one (#18086) #18086

repo_tests/symbol_fork_baseline.json

side commit subject issue refs
main 8daf59d5bf fix(kb): AddResult and UploadResult are no longer fork clusters -- drop them from the symbol-fork baseline (#19339, #17312) #19339, #17312
main c9bdfd2922 Merge #19223 @ 94d806d into train-2026-10-22-79 #19223
main 94d806da9b refactor(monitoring): #18964 -- query_range has one definition (#18964) #18964
main 5e868a47e9 Merge #19214 @ 7ea419a into train-2026-10-22-78 #19214
main 7ea419ac1c dedup(tooling): the four tracked_python_files scopes get names that say their scope, report_audit tests (#18954) #18954
main 9f38fd4a30 dedup(tooling): one report_audit for the 7 lint --audit hooks, check_paths renamed per scan, symbol-fork baseline 97 to 95 (#18954) #18954
main d99fa16782 dedup(infra): the deployment scripts' registry accessor is get_deployment_registry -- no longer a fork of the backend's get_service_registry (#18964) #18964
main 7bf407cdb9 refactor(discovery): retire the two unwired discovery modules; service_registry and the SSOT get_service_url are the only path (#18639) #18639
main c6a2ba207c Merge remote-tracking branch 'origin/main' into issue-19040-slm-agent-leftovers none
main fceb688de4 refactor(slm-agent): retire the dead agent copies and ship the canonical slm/init.py (#19040) #19040
main dd9bc99e80 refactor(infra): 8 same-name forks in the infrastructure scripts get one home each, 5 more are recorded as homonyms or tracked under #12771 (#18964) #12771, #18964
main 6bc5454fc4 test(train): train-48 tree — 16 de-forked clusters leave the symbol-fork baseline and triage, the Chroma collection double joins the #18883 baseline, 2 reach floors re-pinned (#18954, #18883, #17844) #18883, #18954, #17844
main 8ccafa1462 chore(forks): widen FORK_ROOTS to workers, infrastructure, scripts, tools, pipeline-scripts; refreeze baseline 8 -> 124 (#18559) #18559
main faf2bb1e00 Merge remote-tracking branch 'origin/main' into train-2026-10-19-36 none
main 6231e0cd14 Merge #18868 @ d79195c into train-2026-10-19-36 #18868
main 83 more commit(s) not listed
this branch 3d26808886 refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086
this branch dfba528a52 refactor(grounding): merge the three Claim models into one (#18086) #18086

scripts/python_file_size_known_large.py

side commit subject issue refs
main 46aafb5308 fix(config): rollback locks every config writer and applies a leaf-level delta (#18478) #18478
main 898db989ca fix(chat): keep the grandfathered files at or under their base size with one schema-upgrade entry (#21404) #21404
main 47541213aa fix(secrets): one shared fixed-refusal table for secrets and Company OS; envelope routes echo no ids (#21559) #21559
main 399377ca75 fix(chat): store the declared upload content type as fallback mime_type (#21403) #21403
main 7c88f18ba4 fix(agents): keep agent_config.py under its ratchet by extracting helpers (#21718) #21718
main e6cc56ba0d fix(agents): declare tier in the agent listing schema (#21718) #21718
main 025ef8daa7 fix(agents): product code no longer reads dev agents; real tier-map validation (#21718) #21718
main 3c62e17d7e fix(chat): import and a failed create index the owner or unmark the user; an unreadable file blocks the marker (#21664) #21664
main 533fb4a87b fix(chat): every session list route uses the owner index rebuilt from disk, and a Redis error is a 503 (#21664) #21664
main d62cd31133 fix(chat): the session listing fails closed for a caller with no ownership records or no username (#21664) #21664
main 559573b9ff fix(chat): /chat-init lists only the caller's own sessions (#21653) #21653
main deedeccc58 Merge main into issue-21650-batch-job-ownership (auto-sync) [skip ci] none
main 0d7482c3fc fix(batch): one owner write, tested on the path that runs (#21650) #21650
main e9d230ea23 fix(batch-jobs): scope batch jobs, templates and schedules to their owner (#21650) #21650
main f63c38b32d fix(rag): hash-only gate split, validated margin, conflict-detector option, strict-JSON report (#20949) #20949
main 1267 more commit(s) not listed
this branch 3d26808886 refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) #18086

@github-actions github-actions Bot added the sync-conflict Set by the branch sync (#19548) label Nov 18, 2026
@mrveiss mrveiss changed the title refactor(grounding): one Conflict, ConflictResolution and VerifiedClaim (#18086) chore(grounding): merge main, the claim model merge already landed on main (#18086) Nov 18, 2026
@mrveiss

mrveiss commented Nov 18, 2026

Copy link
Copy Markdown
Owner Author

Branch audit (zero-change deletion). This PR shows 0 changed files against main (head bc016e0b51): every change it carried is already in main. Closing and deleting the branch through this PR; it can be restored with the Restore branch button below.

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

Labels

sync-conflict Set by the branch sync (#19548)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant