Repository navigation
fix(ci): remove stale subagent delivery exports - #206429
Conversation
|
🦞👀 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 changesThis PR removes unused internal completion-delivery exports and moves Discord-thread assertions to the existing completion-policy result. Example: A requester in Discord thread 1111111111111111111 sends its result to that thread.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR makes a focused CI repair, preserves delivery behavior, and introduces no actionable correctness or security findings. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherSubagent completion policy receives requester-run outcomes and delivery receipts, classifies completion, and supplies results to transport and lifecycle consumers. flowchart TD
A[Child completion] --> B[Requester continuation]
B --> C[Delivery receipts]
C --> D[Completion policy]
D --> E[Announcement result]
E --> F[Lifecycle cleanup]
Technical reviewBest possible solution: Retain the minimal export cleanup and preserved Discord regression coverage, with ordinary exact-head CI gating landing. Do we have a high-confidence way to reproduce the issue? Source inspection confirms the unused export surfaces and the linked main job failed; no target code was executed, and the original scan diagnostics could not be retrieved. Is this the best way to solve the issue? The patch uses the existing policy owner, removes unused visibility, and preserves consumed imports and both Discord-thread outcomes without adding machinery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 69e88076b993. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -3, Tests +8. Total +5 across 3 files. 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:
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 Reviewed November 27, 2026, 1:10 AM ET / 06:10 UTC. |
|
Merged via squash auto-merge.
|
What Problem This Solves
Main's dependency check fails on unused subagent completion exports left after the completion-policy refactor.
User Impact
Restores the zero-unused-export check without changing runtime delivery behavior.
Why This Change Was Made
Remove the transport's unused forwarding exports and keep policy-only helpers private. Preserve the Discord thread source-matching cases by asserting the policy's public completion result instead of exporting a helper for tests.
Evidence
1.4.4-canary.1+191755ec1: 21 tests passed across the Discord-thread and completion-delivery suites on Linux.git diff --check, and signed commit hooks passed.aacfd1c39f77d6da82affb60c37fc4943e11c86c..9f6f9690ae4eac091767015359a5c416d847d946and found no actionable correctness or security issues.Related: #206407 covers part of the export cleanup. This patch also removes the test-only
hasMessagingToolDeliveryToSourceexport reported by production scanning; the separateAnnounceCleanupActiontype cleanup remains outside this repair.