Skip to content

Widget: restore #369 wire-parse contract, single Argon detail, honest pool headline + WidgetParseTests CI coverage - #387

Merged
swu-wise[bot] merged 4 commits into
mainfrom
wise/widget-parse-repair
Nov 9, 2026
Merged

swu-wise[bot] merged 4 commits into
mainfrom
wise/widget-parse-repair

Conversation

@jaywedgeworth22

@jaywedgeworth22 jaywedgeworth22 commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Restores the #369 wire-parse contract for the iOS widget snapshot path. Filters plan-metadata and reading-less status-note rows from widget intake while keeping supplementary video allowances as flagged rows beside the plan. Fixes the Antigravity pool to publish a single Argon detail and derives the pool headline from pool meters only, so a spent 0% model detail no longer drags the headline to zero. Updates the gallery probe to expect canonical pool-row precedence and meter-pair exclusion for count-only extras.

Adds CI coverage for the previously untested widget parse path. Introduces WidgetParseMirrorTool and the WidgetParseMirrorGen build plugin to mirror iOS widget and QuotaCore sources into WidgetParseTests at build time with no committed copy to drift, plus WidgetParseContractTests covering Antigravity headline/detail, QA3 MiniMax/video rows, QA6 cap exclusion, QA4 XAI pool merge, and companion card details/captions. Gallery rendering now exercises the real parse for the Antigravity pool.

Tests were added but no test run, approval, deployment, or runtime verification is reported in this change, so behavior remains unverified. Automated review reports 3 open findings in WidgetPresentation.swift: non-quota rows bypassing the shared quota intake gate, unknown exhausted quota windows dropped before publishing zero, and plan metadata IDs evading intake filtering. Context references PR #357, PR #360, and PR #369.

swu-wise Bot added 2 commits November 8, 2026 23:40
… pool headline + WidgetParseTests CI coverage

* Drop the #357 detailReports double-append so the antigravity pool shows one "Argon limit" detail instead of two
* Exclude sub-model limits from the pool headline aggregation, mirroring the phone cardRemainingPercent semantics, so the Gemini pool reads its own 1% instead of being dragged to 0% by a spent Argon row
* Restore #369's explicit widget intake filter (admits flagged video rows, drops reading-less unknown rows and plan metadata) in place of #357's isQuota guard, which silently dropped the qa6 video contract; shared WidgetPlatformDisplay.isQuota stays untouched so phone/Mac/selectedIndices behavior is unchanged
* Repair the stale WidgetUIProbe harness (cardDetailWindows API, canonical 63/1 Gemini expectation, #360 count-only pair rule) and extend it to render the antigravity gallery through the real wire parse
* Add WidgetParseTests: the actual widget parse path compiled into CI for the first time (build-time source mirroring, no committed copies to drift), pinning the antigravity single-detail/headline, qa3 rows + video flags, qa6 cap-state, qa4 merge and companion card details
@kody-ai

kody-ai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Code Review Completed! 🔥

The code review was successfully completed based on your current configurations.

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ✅

Access your configuration settings here.

​

@swu-wise

swu-wise Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

@kody start-review

@swu-wise
swu-wise Bot merged commit e0ed59e into main Nov 9, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant