Repository navigation
Conversation
|
@coderabbitai review |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ➖ Normal Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
19d8d2bd-3984-4726-b76f-00dfca98f304
📒 Files selected for processing: 39
docs/site/content/docs/agents/native-chat.mdxmobile/src/session/MobileNativeChatQuestion.tsxmobile/src/session/MobileNativeChatResolutionReceipt.tsxmobile/src/session/mobile-native-chat-question.tsmobile/src/session/mobile-structured-agent-prompts.tsmobile/src/session/mobile-structured-grouped-question.tsmobile/src/session/mobile-structured-question-consumer.test.tsxmobile/src/session/use-mobile-structured-prompt-responses.tssrc/main/acp/acp-dialects/acp-dialect.tssrc/main/acp/acp-dialects/antigravity-dialect.tssrc/main/acp/acp-dialects/grok-requests.tssrc/main/acp/acp-form-elicitation.test.tssrc/main/acp/acp-form-elicitation.tssrc/main/acp/acp-launch-specs.tssrc/main/acp/acp-session-runtime.tssrc/main/acp/acp-structured-acquire.tssrc/main/acp/acp-structured-adapter.test-support.tssrc/main/acp/acp-structured-prompts.tssrc/main/acp/acp-timeline-requests.tssrc/main/native-chat/agent-session-journal/journal-prompt-body-bounds.tssrc/main/native-chat/agent-session-wire/structured-agent-session-grouped-prompt.test.tssrc/main/native-chat/agent-session-wire/structured-agent-session-turns-prompt.tssrc/renderer/src/components/native-chat/NativeChatQuestionCard.test.tsxsrc/renderer/src/components/native-chat/NativeChatQuestionCard.tsxsrc/renderer/src/components/native-chat/NativeChatQuestionOptionRow.tsxsrc/renderer/src/components/native-chat/NativeChatResolutionReceipt.tsxsrc/renderer/src/components/native-chat/NativeChatStructuredQuestionCard.test.tsxsrc/renderer/src/components/native-chat/NativeChatStructuredQuestionCard.tsxsrc/renderer/src/components/native-chat/NativeChatStructuredSession.tsxsrc/renderer/src/i18n/en-runtime-required.jsonsrc/renderer/src/i18n/locales/en.jsonsrc/shared/agent-session-journal-schemas.tssrc/shared/agent-session-journal-types.tssrc/shared/agent-session-question-answer.tssrc/shared/native-chat-ask-types.tssrc/shared/native-chat-resolution-receipt.tssrc/shared/rpc-contract/structured-agent-session-agent-params.test.tssrc/shared/rpc-contract/structured-agent-session-params.tssrc/shared/rpc-contract/structured-agent-session-question-answers.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
|
|
@coderabbitai review Current head 3e3b3ed corrects the one actionable documentation thread. Please reassess the two summary warnings too:
|
|
@coderabbitai full review |
✅ Action performedFull review finished. |
|
@coderabbitai Please respond to the remaining summary warnings, not just rerun review. The current summary marks exact head3e3b3ed2ad7675f1254f17da7aeff91d8e83d5cd reviewed/minimal risk with no remaining issue blocking the docs correction, but still asks for an unspecified provider timeout/withdrawal signal. Which concrete ACP notification method and payload does OMP actually send on its local dialog timeout, and which handler currently drops it? The documented limitation is specifically a timeout with no withdrawal sent, not an ignored observed signal. We must not invent a host deadline, infer remote process state from silence, change provider defaults, or fabricate a cancellation notification. If no actual wire signal exists, please classify this as the documented upstream transport limitation rather than an actionable Orca handler defect. Orca-owned Stop/context-abort withdrawal and late-answer refusal remain implemented. Also please waive the percentage-only docstring warning in favor of this repository AGENTS.md rule: concise non-obvious comments only, WHY not HOW. We will not pad obvious function comments solely to satisfy an arbitrary percentage. No runtime source/default/test changes are proposed for either warning. |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
196eb52a-3942-4660-9eb2-8554e08dd85f
📒 Files selected for processing: 39
docs/site/content/docs/agents/native-chat.mdxmobile/src/session/MobileNativeChatQuestion.tsxmobile/src/session/MobileNativeChatResolutionReceipt.tsxmobile/src/session/mobile-native-chat-question.tsmobile/src/session/mobile-structured-agent-prompts.tsmobile/src/session/mobile-structured-grouped-question.tsmobile/src/session/mobile-structured-question-consumer.test.tsxmobile/src/session/use-mobile-structured-prompt-responses.tssrc/main/acp/acp-dialects/acp-dialect.tssrc/main/acp/acp-dialects/antigravity-dialect.tssrc/main/acp/acp-dialects/grok-requests.tssrc/main/acp/acp-form-elicitation.test.tssrc/main/acp/acp-form-elicitation.tssrc/main/acp/acp-launch-specs.tssrc/main/acp/acp-session-runtime.tssrc/main/acp/acp-structured-acquire.tssrc/main/acp/acp-structured-adapter.test-support.tssrc/main/acp/acp-structured-prompts.tssrc/main/acp/acp-timeline-requests.tssrc/main/native-chat/agent-session-journal/journal-prompt-body-bounds.tssrc/main/native-chat/agent-session-wire/structured-agent-session-grouped-prompt.test.tssrc/main/native-chat/agent-session-wire/structured-agent-session-turns-prompt.tssrc/renderer/src/components/native-chat/NativeChatQuestionCard.test.tsxsrc/renderer/src/components/native-chat/NativeChatQuestionCard.tsxsrc/renderer/src/components/native-chat/NativeChatQuestionOptionRow.tsxsrc/renderer/src/components/native-chat/NativeChatResolutionReceipt.tsxsrc/renderer/src/components/native-chat/NativeChatStructuredQuestionCard.test.tsxsrc/renderer/src/components/native-chat/NativeChatStructuredQuestionCard.tsxsrc/renderer/src/components/native-chat/NativeChatStructuredSession.tsxsrc/renderer/src/i18n/en-runtime-required.jsonsrc/renderer/src/i18n/locales/en.jsonsrc/shared/agent-session-journal-schemas.tssrc/shared/agent-session-journal-types.tssrc/shared/agent-session-question-answer.tssrc/shared/native-chat-ask-types.tssrc/shared/native-chat-resolution-receipt.tssrc/shared/rpc-contract/structured-agent-session-agent-params.test.tssrc/shared/rpc-contract/structured-agent-session-params.tssrc/shared/rpc-contract/structured-agent-session-question-answers.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
git rev-parse HEAD
fd -i '^AGENTS\.md$|^acp-structured-prompts\.ts$|^acp-form-elicitation\.test\.ts$|^native-chat\.mdx$'
rg -n -C 4 'WHY|HOW|non-obvious|comments|docstring' AGENTS.md
ast-grep outline src/main/acp/acp-structured-prompts.ts --items all
sed -n '1,210p' src/main/acp/acp-structured-prompts.ts
ast-grep outline src/main/acp/acp-form-elicitation.test.ts --items all
sed -n '315,390p' src/main/acp/acp-form-elicitation.test.ts
rg -n -C 3 'timeout|withdraw|cancell|OMP' docs/site/content/docs/agents/native-chat.mdxLength of output: 13037
Provider timeout/withdrawal: I cannot identify a concrete ACP notification method, payload, or Orca handler that drops an OMP-local dialog-timeout signal. My warning implied an observable signal without evidence. That was incorrect. The reported behavior is a documented upstream transport limitation, not an actionable Orca handler defect. Without a withdrawal notification, Orca cannot detect that remote timeout from silence. No host deadline, provider-default change, or fabricated cancellation notification is warranted. I verified that Docstring percentage: I waive the percentage-only warning for this PR. Neither warning requires runtime source, default, or test changes. Neither is a blocker for the documentation correction. Thanks for the guidance. ✏️ Learnings added
You are interacting with an AI system. |
|
|
@coderabbitai review |
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
+1, this is blocking for us. We run OMP from Orca's chat UI on Windows. Right now the model has no |
|
Thanks for tracking this down. You found the real cause: Orca never advertised form elicitation, so OMP left out |
|
Closing now that #38684 is merged. It's built on what you found here, and you're credited as co-author. Thanks! |
ELI5
OMP can ask you a question while it works, but native chat could not display its forms. Supported forms now appear in Orca's existing question cards. You can answer, decline or cancel; Full access never answers these human decisions for you.
What Changed
Opt OMP into form-only ACP elicitation when a handler is available. Translate supported choices, text, numbers and confirmations into existing desktop/mobile cards, then validate answers on the execution host. Keep the question and field instructions visible, including text-only asks. Preserve Other text, exclusive choices, empty values and omitted optional choices; blank empty-string choices have a readable label without changing the answer. Accept, decline and cancel stay distinct. Unsupported schemas fail explicitly; URL elicitation is not included.
Why
Reusing ACP and the existing question cards avoids another prompt framework. Bounded host validation prevents malformed or conflicting answers from becoming approval. Existing private request/authentication handling remains unchanged.
Linked Issue
Fixes #26924.
Visual Proof
Windows: before at
51530bb, after atcbee6dff.Before: same native command, no form cards.
After: OMP multi-select waits for the person under Full access.
Resolved answers, decline and cancel
Testing
cbee6dff: ten real native form scenarios; light/dark pending cards and 150 ms added ACP input latency (not real SSH).ad2a53d4source: full Linux lint, typecheck, changed-code quality and all four canonicalpnpm testshards passed in run 39241886811.508f560: clicked the visible Empty value option; native OMP received exactly an empty string, not omission. Finalad2a53d4production smoke separately checked explicit-title/constant precedence and exact answer roundtrips; the app was not rerun at that later head.cbee6dffWindows full build/typecheck and context regressions passed.EBUSYfailures; no fixture workaround, default change or skip is included.508f560proof completed, but its controller exited 1 while waiting for the debugger; Electron exit code was unobserved. A fresh read-only census found no recorded private app/native owners, then private resources were removed without process signals. Auxiliary conversation naming tried a dummy key and received 401; no successful or paid inference.PR Checksatad2a53d4isaction_requiredwith no jobs: run. Fork verification does not replace maintainer approval or the upstream aggregate.AI Disclosure
OpenAI Codex GPT-6.1 Sol assisted implementation, integration and review. Earlier independent Standards review used Claude Fable 5.1. Checks were agent-run, not human testing.
Review
Cross-platform: existing Node/TypeScript paths; no new OS-specific behavior. Local/folder/SSH: execution host owns validation and settlement. Agents: OMP opt-in only; other integrations unchanged. Compatibility: optional journal fields and existing answer transport; no new stream opcode or Git-provider assumption. Security/performance: bounded schemas and answers, no automatic approval or credential changes. UI/mobile: existing cards/tokens, visible question context and explicit decline/cancel; no new prompt framework.
Agent skill upstream boundary
Notes
Native timeouts without a withdrawal can leave a pending card; Stop clears it. Rendered checks were Windows-only; real SSH/WSL, mixed-peer, macOS and mobile devices were not tested. No dependency or release-version changes.
Author
GitHub @NarryG · X @NarryOnTheNet.
Checklist