Skip to content

Lark tracer: delegated pairing review from group and private-DM cards #1414

Closed

Description

@DoodleBears

Human-confirmed group-only requirement — 2026-10-11

The Human explicitly requires the simple only a group, no private DM scenario to work in the first Lark slice. This supersedes the earlier DM-first/group-later description for #1414.

  • An intentional group @ creates the restricted applicant's existing metadata-only pairing request. Deliver a pairing card to that authorized source group; all members can see it, but only a trusted actor with current review-pairing authority may select a Role/approve/reject. Eligible reviewer DMs remain additional delivery when available; a DM route is never a prerequisite for group pairing review.
  • A group card's Role choices are current candidates, not an authority grant. Each operator's actual current delegation ceiling and the exact selected Role/request revision are checked at selection and at approval. No group membership, ordinary pairing, copied card or visible button grants review permission.
  • The selected Role and its onward delegation must fit the reviewer's delegation ceiling. Bind decisions to the same Bot/current App Binding and original card receipt/conversation. The first canonical Web/IM decision wins; all delivered copies show the final state. Group selection and confirmation must preserve which operator selected which Role rather than approving another person's intervening selection.
  • Approval is announced in the source group and asks the applicant to send a new valid question. Pending request/card callbacks do not create model work, Admission, wake or Task, and no earlier instruction is replayed. No private conversation bootstrap is required.
  • The group card displays only pairing identity/reference/Role/expiry/result metadata. It must not echo the applicant's blocked instruction or private native tool arguments. Group visibility is accepted by the Human.
  • Real group-only acceptance includes one authorized and one unauthorized participant, actual successful pairing/fresh reply and refused unauthorized controls, delayed authority loss and restart.

After Lark is operable and accepted, extend the same pairing/permission semantics through each platform's independently qualified Provider. QQ/Discord group-only support must not assume private DM or native card parity.

Pairing is distinct from formal question/permission requests. Native questions and execution approval can use a qualified private destination; explicitly selected group management destinations are handled under #1019/#1034 and existing platform children. Chat pairing does not implicitly grant Answer/Approve/Reject or publish private requests to the source group.

Parent: #1404; delivery Hub #1372, Project #10. Follow the Human-confirmed contract in #1404. This is an implementation slice, not a takeover of #1019/#1031/#1033/#1034 or other Provider work.

Observable behavior

A person with explicit pairing-review authority receives a new restricted-chat applicant's review card in the authorized source group or their trusted Lark DM, chooses an existing Role within their current delegable authority, and clicks Approve pairing. The applicant is paired, receives a notice to ask again, and only their new valid question starts model execution.

Scope

  • Add explicit review-pairing and separate delegation Allow/Deny through current Role/group/person resolution and real settings. Existing records default to no new authority; direct authenticated Web Human input stays unchanged.
  • Deliver bounded durable request cards automatically to all current eligible reviewers with qualified private routes within the same Bot/current App Binding, plus one shared source-group card for group-origin applications. The group-only path needs no DM. No generic native management-route replacement.
  • Card shows applicant/conversation/expiry, explicit eligible Role selection, Approve pairing and Reject. A Role's management and onward-delegation grants must fit the reviewer's current delegation ceiling. Use the existing qualified Provider/exclusive Consumer with distinct pairing callbacks.
  • Canonical transaction rechecks actor/route/scope/revisions/current authority. First Web/IM winner commits; synchronize every delivered card to final state and remove controls, including across restart.
  • Applicant approval notice requires re-asking. Pending intake, controls and rejected requests create no model work/request Admission/wake/Task or stored old executable instructions.

Acceptance

  • Host → canonical persistence → authenticated settings → qualified Lark Provider → reviewer card → actual pairing → ask-again → fresh model reply → revoke is one runnable production-shaped slice.
  • Public tests exercise ordinary/management Role limits, independent use/delegation, explicit Deny, multiple reviewers/Web races, stale/copied/wrong-actor callbacks, lost review/delegation, Role edits, rebind, duplicate/restart and missing/unknown DM delivery.
  • Independent Reject and delayed unauthorized card are verified with real rendering and canonical decision evidence; no native execution approval behavior is repurposed.
  • First real isolated Lark workflow receives explicit Human feedback before adding the alternative code redemption or other Provider variants. Coordinate a new exclusive receiver window before start and stop the receiver afterward.
  • ADR/living architecture and bilingual ledgers describe actual new authority; complete-flow before/after light/dark/narrow UI evidence and exact-head explainer accompany the PR.

One-time codes remain in parent #1404 for the next feedback-gated slice. This ticket deliberately delivers the Human's primary click-to-authorize flow first; tests passing alone do not complete it.

Activity

  1. added
    ready-for-agentFully specified, ready for an AFK agent
    area:fullstackEnd-to-end Host and Client implementation
    feature:messagingMessaging module and external providers
    scope:tracerHuman-testable implementation slice
    on Oct 11, 2026
  2. added this to the v1.3 milestone on Oct 11, 2026
  3. DoodleBears commented on Oct 11, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

    • Agent: Codex
    • Task: codex/local/01a12734-8226-7ae3-8d1b-db08bde64d76 (not a DSH Session)
    • Issue scope: Lark tracer: delegated pairing review from group and private-DM cards #1414 first Lark pairing-review DM card and explicit delegation controls; preserve group applicant support, then require first-flow feedback before group review/code/provider variants.
    • Branch: codex/1414-lark-pairing-review
    • Started: 2026-10-11 UTC
    • State: active

    Claim: codex/local/01a12734-8226-7ae3-8d1b-db08bde64d76 — starting the Lark private-DM pairing-review tracer. Fresh issue comments/labels and open PRs show no other implementation claim. QA1 is stopped; this claim does not start a receiver or take another IM owner.

  4. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    in-progressHeld by an agent session; see Claim comment for who
    on Oct 11, 2026
  5. moved this from Todo to In Progress in IM Identities & Messagingon Oct 11, 2026
  6. changed the title [-]Lark tracer: delegated pairing review from private DM cards[/-] [+]Lark tracer: delegated pairing review from group and private-DM cards[/+] on Oct 11, 2026
  7. DoodleBears commented on Oct 11, 2026

    @DoodleBears
    ContributorAuthor

    Group-only first-slice direction and active claim scope

    The Human confirmed that a simple group-only scenario must work without private DM. #1414's first slice now includes an authorized source-group pairing card: everyone sees it, but only actors with current pairing-review permission can choose a Role and approve/reject, within their current delegable permissions. This supersedes the earlier first-DM-then-group qualification plan; no new duplicate ticket is created.

    Task codex/local/01a12734-8226-7ae3-8d1b-db08bde64d76 remains active on codex/1414-lark-pairing-review, with companion qualified Provider branch codex/1414-lark-pairing-cards. QA1 remains stopped; no receiver window is inferred.

    Questions, saved rules and native execution approvals remain independent capabilities. Their selected private/group destinations are owned by #1019/#1034 and existing platform slices, whose claims and native blockers remain intact.

  8. 31 remaining items

  9. DoodleBears commented on Oct 11, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim — authorized integration resumed

  10. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 11, 2026
  11. DoodleBears commented on Oct 11, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome — completed and merged

    • Task: codex/local/01a12734-8226-7ae3-8d1b-db08bde64d76; integration claim.
    • State: completed after the Human accepted real interaction and explicitly authorized merge.
    • Product #1418 merged at 7c42c5808bd82e1805728eae24d96522fd70fed2; companion Provider #21 merged at 99df05b7c2a14ebb6c122e4f22d655b6b9cbacc7.
    • Product exact head 4cfd90f0df05d67020bb506ec0db2cc9bafe272c: full Linux CI and package preparation passed. Current-main conflicts retained both bilingual release entries; the pairing decision is ADR-0171, leaving merged MCP ADR-0170 unchanged.
    • Accepted real double-user group-only flow, independent Reject, delayed group/person Deny, restart, fresh reply and revoke remain in the prior qualification outcome. Current exact-head explanation and PR-body screenshots are published. Provider Windows baseline-suite limits remain disclosed.
    • Generation 80 recovery still requires a compatible writer or the pre-upgrade backup. QA1 remains stopped/released; no production restart or deployment was performed.
    • Next authorized task is Design: reusable group behavior permissions with explicit overlap and conflict visibility #1423 Group behavior permissions and conflict visibility. One-time codes remain open in Design: reviewer DM pairing cards and one-time Lark/IM codes #1404, and native questions/saved rules/execution destinations keep their owners and gates.
  12. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    in-progressHeld by an agent session; see Claim comment for who
    on Oct 11, 2026
  13. moved this from Todo to Done in Roadmapon Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fullstackEnd-to-end Host and Client implementationfeature:messagingMessaging module and external providersready-for-humanRequires human implementationscope:tracerHuman-testable implementation slice

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions