← Back to Pull requests

docs: state the pub.dev platforms, map the backend feature names, trim the pubspec comments #259

Open
unknown opened this pull request with 268 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 15, 2026 01:52 UTC
Author

What

  • README and llms.txt said the package runs on every platform Flutter and magic run on. pana on this tree lists Android and iOS only (20/20 platform points; its static import-graph check reaches path_provider and share_plus through magic and magic_picker), so both say what pub.dev lists and why.

  • skills/magic-starter/references/backend-contract.md said a toggle needs "the same feature" in the backend's features; the names differ for several (two_factor is two-factor-authentication, newsletter is newsletter-subscription, handoff is sign-in-handoff). The reference now maps them (read from magic-starter-laravel src/Features.php) and marks registration, store_review, app_update and support_chat as having no backend toggle.

  • pubspec.yaml dependency comments described the 0.x history (magic_payments 0.0.2, ^0.3.x floors); they now state why each 1.x floor is what it is.

  • .lycheeignore keeps only the starter's own docs URL (it answers 404 until a tag carries doc/); the other plugins' landing and docs pages answer 200 now, as its dated note asked.
  • Why

    Findings of a fresh independent audit; I verified each against the code, pana output and the live URLs before changing anything.

    Testing

  • python3 tool/check-docs.py: 22 pages, 0 issues; flutter analyze clean; dart pub publish --dry-run reports no warnings.

  • pana (0.23.x) on this tree for the platform result.
  • <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

  • Documentation

  • - Clarified platform support information and why some platforms are not listed on pub.dev.
    - Expanded the backend feature reference with Flutter-to-backend mappings and features without backend counterparts.
    - Updated dependency notes to describe API and version requirements.
  • Chores

  • - Link checking now excludes only the starter documentation URL and its query or fragment variants; other package and documentation URLs are no longer excluded.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 268 lines (+201 / -67) across 3 files Reviewer: coderabbitai[bot] Review duration: 8m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.44) × (1 − Review Confidence (0.43)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.44 · 268 lines diff across 3 files
    0.44
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    42%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.335
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #259"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 43.0% 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: 44.4% (MEDIUM) · Higher = larger blast radius
    44.4%
    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: 43.0% · Lower = rushed or shallow review
    43.0%
    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: 25.3% · Safe to merge
    25.3%