← Back to Pull requests

First run: everything ticked to begin with, and samples only for a team starting fresh #1548

Open
unknown opened this pull request with 323 lines diff across 4 files
View on GitHub
unknown unknown commented on Dec 01, 2026 16:00 UTC
Author

Why

The first run's "What will you use?" started with nothing ticked, so a new team had to tick each tile before Continue would do anything. Most teams use more than one part, and Home's "Get set up" already treats no picks as all of them. Each tile's line was also too long to take in at a glance. And sample content was offered to every team, including one whose own posts, articles and users were already coming across from an import, where samples only get in the way.

What changed

  • Tiles: all four start ticked while nothing is saved. Saved picks show as they were saved. Each tile has its sidebar icon and a tick, in the same style as the import screen's tiles. Two columns on wide panes, one on phones.

  • Shorter lines (lib/project-uses.ts; nothing else reads them): Feedback "Posts, votes and a roadmap", Docs "A help center with AI answers", Changelog "What's new", Support "A shared inbox".

  • Sample content: "Add sample content to try things with" is one line now, with no explanation under it. It shows only when no import has been started for the project (imports.get has none), as well as when the project has no samples yet. Skip and "Starting fresh" both still get the offer.

  • Buttons: Skip, then Continue, as before.

  • docs/plan.md: O8 ticked.
  • How tested

  • setup/page.db.test.ts: with nothing saved, all four boxes are ticked. Sample content is offered on a fresh project, not once samples have been added, and not on a project with a running import.

  • first-run.spec.ts: the use step's tiles start ticked. Continuing with them sends all four to project.update. Back shows them saved. Unticking two and continuing gives Home's Get set up as before.

  • import-featurebase.spec.ts: after the import, the use step has no sample offer.

  • home.spec.ts and sample-content.spec.ts now assert the boxes start ticked instead of ticking them.

  • Typecheck, lint, the unit suite, that database test and those journeys all pass locally. The local Claude review and the security review were run. The review's two points were already settled: the Docs line is the decided copy, and the plan tick is in this PR.
  • Screenshots

    A fresh project (laptop, phone), and one with an import running (no sample offer):

    <img src="https://ci.tuti.so/manual/first-run-uses-1548/fresh-1280.png" width="640"> <img src="https://ci.tuti.so/manual/first-run-uses-1548/fresh-390.png" width="200">

    <img src="https://ci.tuti.so/manual/first-run-uses-1548/importing-1280.png" width="640">

    🤖 Generated with Claude Code

    Diff: 323 lines (+242 / -81) across 4 files Reviewer: github-actions[bot] Review duration: 4m
    All Vouch review confidence checks passed
    Residual risk 0.29 = Change Risk (0.42) × (1 − Review Confidence (0.30)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 323 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 52% · Reviewer familiarity: 35%
    30%
    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.346
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #1548"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 30.2% 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.0% (MEDIUM) · Higher = larger blast radius
    42.0%
    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: 30.2% · Lower = rushed or shallow review
    30.2%
    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: 29.3% · Safe to merge
    29.3%