Repository navigation
Conversation
Contributor
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. |
2 of 3 tasks
Contributor
This was referenced Nov 7, 2026
Owner
Author
Code review (code-reviewer pass) at 5be541bVerdict: APPROVE No blocker or major finding. The detector has positive and negative fixtures (including comment, sibling-rule and
|
This was referenced Nov 7, 2026
Closed
Closed
This was referenced Nov 7, 2026
Closed
This was referenced Nov 7, 2026
Closed
chore(agents): record chat-graph-canonical decision, move ask-human defaults to SSOT (#21024)
#21058
Closed
This was referenced Nov 7, 2026
Merged
mrveiss
added a commit
that referenced
this pull request
Nov 7, 2026
Owner
Author
timothybrush
pushed a commit
to timothybrush/AutoBot-AI
that referenced
this pull request
Nov 7, 2026
Owner
Author
|
Branch audit (zero-change deletion). This PR shows 0 changed files against |
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.
Thinking Path
With the overseer toggle on,
ChatInput.vuesent the message through the overseer transport and its fallback without the attached file ids, so the file was silently dropped. Only the canonicalPOST /chats/{id}/messageroute carries the strict ownership verdict and the attachment resolver, so a turn with server file ids must always take it, and the overseer must never receive ids. The decision lives in one pure function so it is unit-testable. The backend already feeds file text to the model (#20401); what was missing was proof that the text reaches the provider's HTTP body.What Changed
autobot-frontend/src/utils/conversationFileUpload.ts: newusesCanonicalRoute(overseerEnabled, attachmentIds).autobot-frontend/src/components/chat/ChatInput.vuesendMessage: ids computed once; overseer only when there are no ids; both controller calls share one options object that includesattachments.autobot-frontend/src/utils/__tests__/conversationFileUpload.spec.ts: 3 routing cases plus a control.autobot-backend/chat_workflow/attachment_provider_call_20195_test.py: drivesgraph.prepare_llmthengraph._run_llm_iterationwith the real file manager and a recording HTTP client; positive test plus 3 controls (other session's file, no strict verdict, no attachments).autobot-backend/testkit/fake_http_client.py: the fake provider connection promoted out ofllm_failover_19753_test.py(now two users); that test imports it.changelog/unreleased/20195-attachment-canonical-route.md.Behaviour change: with the overseer on and files attached, that turn gets a normal chat answer (not an overseer decomposition). This follows the maintainer decision of 2026-10-31 that attachments feed the answer. Turns without files are unchanged.
Verification
pytest -qon the new test,attachment_context_20195_test.py,attachment_access_20195_test.py,llm_failover_19753_test.py,testkit/: 153 passed.repo_testsguards (one_fake_async_session, fixed_sleep_then_call, frontend size/fragmentation, UI-literal, duplicate names): 177 passed. black, isort, flake8 clean.chat_workflow.graph.attachment_promptmakes the positive test fail (fact absent from the posted body). Stubbingchat_workflow.manager.apply_attachmentsalone does not, because the graph re-resolves the block per call inrestore_block;apply_attachmentsis covered byattachment_context_20195_test.py.conversationFileUpload.spec.ts22 passed; eslint 0 errors (1 existing warning, not in the changed lines); vue-tsc exit 0.Risks
Users with the overseer on lose overseer handling for turns that carry files. Rollback: revert this commit.
Model Used
Claude Sonnet 5.5 (claude-sonnet-5-5)
Issue Link
Refs #20195
Single-issue rationale: the change is one route decision for one issue; the host AC keeps #20195 open, so nothing is closed here.
Changelog fragment
changelog/unreleased/20195-attachment-canonical-route.mdChecklist
CLAUDE.mdmain🤖 Generated with Claude Code