Repository navigation
fix(ci): keep the harness request type internal - #207239
roboclaw-bot wants to merge 4 commits into
Conversation
Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]>
Worked on by: - @obviyus - @RomneyDa - @vincentkoc - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: d058127d-2874-847b-9ba4-b1dfe7bdef19
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: passed. What this changesMakes the harness side-question request type module-private while preserving its fields and callback signatures. Example: Knip checks AgentHarnessSideQuestionRequest in src/agents/harness/types.ts.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR completes the earlier SDK cleanup with a minimal internal export removal; no actionable findings were identified. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe harness contract connects host-prepared side questions to native runtime plugins, carrying request-policy callbacks and returning answer text and usage. flowchart LR
A[Host side question preparation] --> B[Harness callback contract]
C[Private request type] --> B
B --> D[Copilot adapter]
D --> E[Native completion]
E --> F[Answer and usage]
Technical reviewBest possible solution: Keep the alias private in its existing module and preserve the callback’s structural contract. Do we have a high-confidence way to reproduce the issue? Source inspection confirms the named export has no external repository consumer after the SDK cutover; the reported Knip reproduction was not rerun. Is this the best way to solve the issue? Removing the export modifier is the smallest complete repair and introduces no suppression, replacement abstraction, or runtime change. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 39d0523a2370. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0. Total 0 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed November 28, 2026, 4:09 AM ET / 09:09 UTC (Revision 3). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Superseded by #207586, which landed the identical � change. Closing this duplicate without merging. |
What Problem This Solves
Scheduled main’s production and full-tree Knip reports flag
AgentHarnessSideQuestionRequestas an unused named export. The request type still belongs in the same module because it describes the side-question callback.User Impact
No runtime or public SDK change. This removes only the unused named export; the callback’s request and response shapes and policy are unchanged.
Why This Change Was Made
The exact diagnostic recurs on unchanged source. The package export map, harness SDK entrypoints and exact-symbol search did not identify a consumer of the named export. Keeping the alias private preserves its local references without weakening Knip.
Evidence
The original side-question contract was introduced in #205963; its implementation is unchanged.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by
🦞 Made with OpenClaw