Repository navigation
Closed
Labels
area:fullstackEnd-to-end Host and Client implementationEnd-to-end Host and Client implementationfeature:messagingMessaging module and external providersMessaging module and external providersscope:tracerHuman-testable implementation sliceHuman-testable implementation slice
Milestone
Description
Parent
QQ group chat specification #1149
What to build
Complete a task requested in QQ after its native reply window expires. Return the completed result as a distinct proactive post only when the actual app can reach the group and the current shared posting policy permits it; otherwise retain the result locally with a clear reason. A send that already started with an unknown result must stay unknown.
Reuse the shared proactive-conversation capability and fences from #1115 rather than creating a QQ-specific posting policy. Add and qualify QQ checked native operations and Client state within this path; retain the existing saved-target fallback only when the Provider truly lacks the optional conversation capabilities.
Acceptance criteria
- A normal in-window reply continues using its trusted source association and checked native receipt; streaming model deltas do not become repeated QQ group messages.
- Known reply expiry before any send creates no false success. Only a distinct authorized proactive Outbox action may post the retained result through the Bot's own QQ app to the original group.
- Actual QQ-side proactive eligibility, reachability, group control and current Host policy are rechecked immediately before sending. The shared destination capability is used when qualified; fallback saved-target authority does not silently widen scope.
- Current blocks, unbind/archive, stale account/address proof, lost reachability and product/native quotas prevent an unstarted external effect and explain the refusal. Mute/held behavior follows Proactive posts to any conversation the platform lets the app speak in #1115, rather than being redefined for QQ.
- The Client and existing result/receipt surfaces distinguish a source reply, a separate proactive result, a locally retained result and unknown completion. Result retention does not create an implicit Human DM transcript.
- Controlled-time integration tests cover expiry/count limits, separate proactive authorization, absent proactive eligibility, immediate revocation, loop/native frequency limits and exact destination attribution.
- A timed-out started native reply or proactive post survives restart as unknown; it is neither blindly retried nor converted to a second action. A missing connection before a send is distinguishable from ambiguous completion.
- Perform a real delayed-task test in a qualified QQ group, independently inspect the own-app proactive result and native receipt, and demonstrate an unavailable/refused case retaining its result locally.
- If the actual official app cannot perform proactive group sends, show the verified text subset and actual reason; this slice and ordinary autonomous participation remain unfinished, without adding NapCat or reporting a fixture as real proof.
- Include focused public-seam regressions, usable Client evidence and guide/ledger updates, immutable artifact verification, lifecycle diagnostics and fork/upstream contribution for reusable Provider changes.
Blocked by
- QQ tracer: bind an official app, receive a mention and reply in the original group #1152 — a qualified QQ original-group text path and first-slice feedback.
- Shared proactive posting #1115 — owning shared conversation reachability, posting policy and fences. Preserve that issue's existing Create the app inside Bind app: Lark credentials and WeChat QR (Provider setup capability) #1111 Provider-release dependency; do not recreate its generic work in QQ.
Metadata
Metadata
Assignees
Labels
area:fullstackEnd-to-end Host and Client implementationEnd-to-end Host and Client implementationfeature:messagingMessaging module and external providersMessaging module and external providersscope:tracerHuman-testable implementation sliceHuman-testable implementation slice
Type
Projects
- StatusShow more project fieldsDone
- StatusShow more project fieldsDone
Activity
DoodleBears commentedon Oct 8, 2026
Agent work claim
codex/local/01a117bf-865d-72d1-a9c6-88658c59f844(not a DSH Session)codex/1154-qq-proactive; Provider branchcodex/1154-qq-checked-proactive.Continuation after the Human-authorized #1201 merge. Use the previously approved public checked Provider → Source/Inbox/Orchestrator/Outbox test boundary. The currently scoped first step is the Provider candidate and a bounded real eligibility experiment in the existing QA group; this does not complete the shared #1115 prerequisite or ordinary participation #1155. #1111 inline app creation is not part of this step. Keep one product PR for #1154 and contribute reusable Provider changes upstream.
DoodleBears commentedon Oct 8, 2026
Agent work progress
codex/local/01a117bf-865d-72d1-a9c6-88658c59f844The maintained Provider candidate adds source-free checked group text posting with authenticated account/consumer checks, a final caller fence, native receipts and definite quota/permission refusals. The product reuses explicit saved targets and its existing Outbox. Review found and fixed a same-app/same-group saved-target bypass of an existing conversation block; both block-before-post and block-during-preparation public regressions now refuse before native dispatch.
Validation: 222 Provider tests, 9 QQ public Core/Profile tests and 44 related existing IM regressions; typecheck, lint, formatting, bilingual ledger checks and build pass. Standards and Spec review findings are resolved. The full product test attempt is not counted as passed: an existing Assignment regression independently fails Windows temporary-directory cleanup with
EPERM.The existing authorized QA Profile was upgraded to the immutable reviewed candidate. One authenticated Profile/Outbox proactive probe was retained as
failed / send-permission-denied, with no native receipt or automatic resend. The current safe diagnostics do not establish whether the refusal originated in QQ or the final local fence; application proactive eligibility remains unqualified. Next: resolve that diagnostic boundary, then continue qualification and the shared #1115 policy/delayed-task integration. Real Client before/after/video evidence and a PR Lens view remain required before readiness.#1111 is inline Lark configuration/WeChat connection during app binding. It improves setup experience and is not a technical prerequisite for testing an already bound QQ application's native proactive capability; it is not being implemented in this slice.
fix(qq): distinguish native proactive refusals in bounded diagnostics
fix(qq): bind native refusal diagnostics to each post attempt
26 remaining items
fix(qq): qualify proactive posts against exported account capabilities
fix(qq): expose checked report destinations to the Orchestrator
docs(qq): record delayed task and receiver restoration qualification
DoodleBears commentedon Oct 14, 2026
Agent work progress
Task:
codex/local/01a13902-0d72-7872-ac0f-440e152155d5· Draft PR #1647 · head9f4cae0b.The genuine delayed C request completed after 400.542 seconds: the original source reply retained
reply-window-expired, then a separate stable request posted through the own-App/original-group authorized target with a matching native receipt. The Human confirmed one correct result with no early confirmation or duplicate. The first failed run exposed the destination projection gap; the B request reached the old instance and is excluded from candidate qualification. Both failures remain recorded.The original dual-App receiver was restored, and the Human's actual QQ screenshot plus distinct canonical Sources and native receipts confirmed fresh normal replies from both Apps. Qualification record and cropped restoration capture. Exact-head CI passed; final QQ integration regressions passed 13/13. The overloaded local Windows full suite did not pass.
The real run used the worktree Host and unchanged
.20Provider. Final archives are packed but not published or natively executed. Packed-product execution and matched full visual evidence remain gates; the draft does not close #1154. The local HTML explainer has been refreshed to the exact current head and C result, but has no reviewer-accessible hosting. #1155 is tracked separately in its stacked draft.merge main while retaining QQ targets in shared Orchestrator services
DoodleBears commentedon Oct 15, 2026
Agent work outcome — accepted delayed slice merged and deployed
codex/local/01a13902-0d72-7872-ac0f-440e152155d5(not a DSH Session).79ee6aec5c7d7f563a61e1bb8b852460d9b431cc. The shared Orchestrator tool/service extraction from current main is preserved. Exact-head CI passed.The genuine C task retained the expired source-reply result, then completed through one separately authorized own-App/original-group proactive action after 400.542 seconds. Its native receipt matched the canonical Outbox; the Human confirmed one correct result, no early confirmation and no duplicate. The real shared-quota refusal retained its result locally. Final QQ regressions passed 13/13. The failed A run and excluded B request remain documented.
Packed-product execution is now qualified: six actual tarballs were installed with an independent official DSH
0.2.0-rc.2CLI, verified against immutable package/runtime metadata, and a genuine official-model Client DM returned 17. The original dual-App Host was then backed up and upgraded to local1.3.0-test.1155.3, built from merged mainf069c211edf9c8f4af6814da804907cfe4e3ad9b, with Provider4.32.0-botharness.21. Both QQ Apps connected; saved identities, collection policies and official DeepSeek Flash model routes match the preserved configuration. The original receiver registration is unchanged. The temporary candidate and empty package-smoke Hosts are stopped.The merged #1155 integration fixes the Provider source at
beaed4a6dabb583654d28fb09298716267039b4a; packed runtime verification covers 422 files with SHA-256302dfdcca0d36f93fe02098d13764ba4eccd11ce324ffb0c415c3f971a7d0275. No global npm tag or release was published, and no other session's VPS stack was restarted.Remaining handoff: fresh real @mentions to both Apps after this final upgrade, correlated Source/Admission/Outbox/model facts and Human rendering confirmation. Earlier real QQ acceptance is retained, rather than relabeled as post-upgrade evidence. The matched QQ before/after screenshot gap is explicit in the merged PR; the actual installed-Client screenshot is public. Local exact-head HTML is a local review aid, without reviewer-accessible hosting. Ordinary media/own-echo scope remains separate.
DoodleBears commentedon Oct 15, 2026
Final deployed QQ acceptance — completed
Task:
codex/local/01a13902-0d72-7872-ac0f-440e152155d5· State: completed.The final local package
1.3.0-test.1155.3/ Provider4.32.0-botharness.21now has fresh post-upgrade native and Human QQ confirmation:provider-acceptedsource reply with a native receipt and the exact text部署正常. The Human confirmed both appeared in the original group.deepseek-official/deepseek-flash, withbridge_reply. This verifies the actual invocation, beyond saved model configuration.GROUP_MESSAGE_CREATE, type 0, with zero mentions, quoted elements or attachments. Both original-group grants now show current-lease ordinary delivery verified while their saved collection stays mentions-only.This completes the final deployment handoff described in the preceding outcome. The pre-upgrade delayed C and ordinary-context acceptance remain separately documented; they are not relabeled as post-upgrade runs. The bounded delayed-result and ordinary-text scopes are complete and deployed locally. Global publication, ordinary media/own-echo work and the dependency-draft upstream PR remain separate; no broader completion is claimed.