← Back to Pull requests

feat(assistant): add web and IM access and enable by default #6156

Closed
unknown closed this pull request without merging on Oct 19, 2026 12:36 UTC
View on GitHub
unknown unknown commented on Oct 18, 2026 14:09 UTC
Author

Summary

Make the personal assistant available by default and let connected IM channels choose Personal Assistant alongside ordinary sessions and WorkHub. Preserve an explicit disabled setting and keep the default IM routing mode as ordinary sessions.

  • Add an opt-in web chat surface with shared assistant history, message summaries, avatars, and live updates. The server is off unless configured, binds to loopback by default, and does not provide built-in authentication; remote exposure requires access protection.

  • Generalize assistant routing across all eight bot providers, with per-channel overrides, private-user checks, durable delivery receipts, and real private-chat IDs. Preserve existing WeChat/Feishu receipts, reply context, and typing/read feedback.

  • Add a compact task-status float while retaining the existing assistant chat presentation and WorkHub.

  • Review only waiting/completion settlements; allow continued work through the existing revision and idempotency guards. Preserve meaningful execution evidence and reject material gaps without requiring repeated evidence formatting.

  • Merge current main so previously merged Bot, typing, and shared-chat fixes are retained.
  • Validation

  • Workspace dependency builds and full desktop build passed (including the web bundle).

  • Desktop type checks passed for main, preload, renderer, Storybook, and assistant web.

  • 65 core settings, IM adapter, assistant service, and Bot tests passed.

  • 85 desktop web/IM, onboarding, task-float, routing, and WorkHub bridge tests passed.

  • 184 assistant component tests passed, including settlement-review regression coverage.

  • Diff whitespace checks passed.
  • These are controlled tests; this submission did not run new paid model tests, send messages through real IM accounts, or deploy/restart the daily application. Build output retains the existing large-bundle warnings.

    AI use

  • Generative tooling made a substantive contribution
  • Tool: OpenAI Codex. Codex assisted with implementation, review-fix analysis, code edits, tests, and PR documentation. These contributions include material AI-generated code. Preserve Generated-by: OpenAI Codex in the final squash commit; the latest integration commit includes this trailer.

    Latest integration verification

    Merged main at 21f1cc1c2 and regenerated both Astryx inventory artifacts. On the merged tree: the Astryx surface check passed (344 files), renderer architecture checks passed (168 tests), 15 assistant task/chat/navigation tests passed, and the UI dependency build, renderer typecheck, and production renderer build passed. The renderer retains existing large-bundle warnings. Full-repository tests, live IM-provider tests, and paid-model tests were not rerun for this integration; remote CI is separate from these local results.

    Diff: 352 lines (+264 / -88) across 4 files Reviewer: me2seeks Review duration: 1346m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 352 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.351
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #6156"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.5% (MEDIUM) · Higher = larger blast radius
    42.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.8% · Safe to merge
    16.8%
    Repository