Repository navigation
Fix Quota Resets And Companion Data; Finish Muse Plugins And Alert Routing - #357
Conversation
|
@kody start-review Final reconciled head 6685568 matches all 106 changed blobs from clean native-tested source 2da7e69. Native suite passed 1,597 tests with 10 skipped and zero failures; all 101 Node automation contracts passed. The four prior #353 findings are fixed with evidence in their threads, and #354's automatic ZCode project-token chain is preserved alongside explicit credential selection. Please review the final implementation, including reset corrections, widget projection, scoped Infisical bindings, and the per-kind SMS seam. |
This comment has been minimized.
This comment has been minimized.
|
Gitleaks identified runtime input validation at TwilioSMSClient.swift:76, with no credential literal. Added only the exact rule/path/line/commit fingerprint for 70cd5be to .gitleaksignore; no detector rule or path-wide exclusion was added. App source remains identical to the native-tested 2da7e69 implementation. The failed scan is being rerun by the new head. |
|
@kody start-review Current head is 4600429. The two Sentry findings have been fixed and resolved with evidence, including a MiniMax regression for stale weekly deadlines and flat scheduled rollover behavior. Native macOS validation passed 1,602 Swift tests with 10 skipped and zero failures; the 142 focused reset and keep-running tests also passed. Please review this current head for reset detection and menu-bar window handling. |
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
6aacea1 to
8249bfa
Compare
8249bfa to
c541753
Compare
Main's merge-timestamp build number and version docs supersede the PR's node version planner; the PR's release-readiness doc rewrites stay.
The service-token guard answers before the reader seam runs unless the probe sets a token, so the error named the absent token instead of the reference.
The merge had kept this PR's service-token rewrite of the boot script while the test pins the universal-auth login main still ships. The rewrite is out of this PR's scope, so the file returns to main's revision and the pin passes.
The merge had kept the branch�s older keypair fixture, whose crypto import the merge dropped, and its probe never set the service token the new guard requires. Main�s synthetic-marker fixture now supersedes it, with the service-token probe re-applied on top.
The merged load_sentry_auth set its no-token reason even when a CodeCaps token in the slot had already won, and the token-wins test asserts an empty reason. The reason is now set only when the case ends without a token. Also hermetic test envs: the sentry-auth probe pins FLEET_SECRETS_BIN to its stub and extracts the reader helpers beside load_sentry_auth, and the stale installer-pin test for the deleted 0.1.0 train goes.
The merge kept this PR�s service-token variant of the ASC staging reader against main�s newer one that the Sparkle contract tests pin; main�s version supersedes.
The merge kept this PR's older service-token wording and version-planner variants against main's newer contracts. Take main's versions of mac-release.yml, ios-ship.yml, build_and_run.sh and the two test files so the mac-release and ios-ship aggregates pass again. Main-side changes adopted here: the ASC check steps say 'the CI identity has read access' (not 'the scoped /asc read service token'), the builder reads VERSION_FILE from the repo root and resolves ROOT_DIR with plain pwd, and the version planning tests cover the shared planner instead of the retired mac-release-version.mjs helper. The PR-side variants these replace had no behavior main lacks beyond wording, so nothing was carried forward.
|
Conflict resolution, ZC:� the merge had kept this branch's older service-token wording and version-planner variants against main's newer contracts, and the mac-release aggregate failed subtests 26, 42 and 43 because of that.� Commit f8427d7 takes main's versions of mac-release.yml, ios-ship.yml, script/build_and_run.sh, scripts/mac-release-workflow.test.mjs and scripts/stage-asc-key.node-test.mjs (main is authoritative for the release contract). The PR-side variants that were dropped had nothing main lacks beyond wording, with two details worth recording:� (1) the branch said "verify the scoped /asc read service token has access" in the ASC check steps — main now says "verify the CI identity has read access"; if the scoped-token framing is still wanted, it is a copy change in both workflows plus the matching test.� (2) the branch resolved ROOT_DIR with Both aggregates now pass locally with zero failures (mac-release 71/71, ios-ship 81/81). |
|
[GB-DESIGNER 📁CC] UI pass on Muse plugins / alerts / Infisical (CC-205), tip
None of these block merge. |
Main took the pre-squash release sources in #357, so ten files conflicted. Took main's version of each, then re-applied this branch's unique work on top: the reset-alarm whole-multiple rule, the Kody review fixes (SMS cancellation, exact window labels, model-detail windows, caption rows) and the Antigravity dedupe. The supplementary-video widget pairing already exists in main's dualWindows, so it was not re-applied. Co-Authored-By: Claude <noreply@anthropic.com>
…a rollover (restores the #357 contract)
* Fix #382 duplicate test declarations: drop one identical copy, rename three distinct stamped-reading variants * Rename the three distinct #382 copies accurately: they are the two-window courtesyWindow variants * Fix #382 regression: an unmoved explicit period start cannot confirm a rollover (restores the #357 contract) * Surface smaller-window rollovers that span two or more whole missed cadences (accepted slept-through-reset intent) * Reconcile stale atCapWindow source literal with the merged video+model-detail filter; pin the capPool fallback * Remove duplicate isModelDetail and plan-window accessors that broke the iOS companion compile The stored isModelDetail (captured at construction) and the fuller primaryWindows, detailWindows and hasModelDetails already exist; the leftover computed duplicates were invalid redeclarations. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: swu-wise[bot] <344778455+swu-wise[bot]@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
…formItem, repairing the iOS companion compile
…slide test scenario (#386) * Silence the rolling-window slide: an end that advanced no more than the poll gap is the window aging, not an early or mid-window reset; the whole-cadence slept-through rollover leg stays exempt * Correct the rolling-slide test to a genuine long-sleep gap; pin the short-gap courtesy-reissue shape as a still-alerting regression * Require both real stamps for the poll gap and match the slide to the gap within drift tolerance, so a decisive reset late in a long sleep still alerts * Pin that an early reset late in a long sleep (3h move in a 4h gap, quota restored) still alerts * Restore the cadence-grouping declarations #357 dropped from buildPlatformItem, repairing the iOS companion compile * Bind the resolved card rows and drop the vacuous duplicate cardDetailWindows, repairing the companion compile * Repair the misplaced insertions from the previous byte patch; intended content verified against the locally built tree --------- Co-authored-by: swu-wise[bot] <344778455+swu-wise[bot]@users.noreply.github.com>
… pool headline + WidgetParseTests CI coverage (#387) * Widget: restore #369 wire-parse contract, single Argon detail, honest 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 * Widget: restore #369 intake filter, single Argon detail, honest pool headline * Keep the shared intake gate for scoped pools and detail-less model limits; admit video; match metadata ids inside JSON-shaped ids * Pin that spent scoped pools and JSON-shaped metadata ids stay out of widget intake --------- Co-authored-by: swu-wise[bot] <344778455+swu-wise[bot]@users.noreply.github.com>
Resolve conflict in scripts/ios-ship-workflow.test.mjs by keeping main's runSentryAuth helper extraction (has_infisical_service_token + fs_get), FLEET_SECRETS_BIN hermetic pin, and INFISICAL_TOKEN probe env from PR #357. PR Infisical scoped service-token Mac Release changes preserved via auto-merge of workflows and action.
Refs CC-205
Summary
This branch corrects false quota-reset alerts and completes the companion-data, plugin, and alert-routing work.
Changes
Verification
swift test: 1,606 tests, 10 skipped, zero failures.node --test scripts/mac-release-workflow.test.mjs: 18 passed.errSecInternalComponentin the SSH session, so the installed app remains build 310. The signed release workflow is the remaining delivery path.