← Back to Pull requests

refactor(runtime): hardcode raise_account_cu_limit #1707

Merged
hamza-syndica merged 2 files (34 lines) on Jul 15, 2026 11:22 UTC
View on GitHub
hamza-syndica hamza-syndica commented on Jul 10, 2026 14:34 UTC
Author

Closes #1653

Diff: 34 lines (+5 / -29) across 2 files Reviewer: yewman Review duration: 7007m
All Vouch review confidence checks passed
Residual risk 0.07 = Change Risk (0.26) × (1 − Review Confidence (0.72)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.26 · 34 lines diff across 2 files
0.26
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.47 · 5 substantive comment(s)
0.47
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
72%
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.213
Real PR Conversation Timeline
9 items
codecov[bot] codecov[bot] commented on Jul 10, 2026 15:21 UTC
Bot

Codecov Report


:white_check_mark: All modified and coverable lines are covered by tests.
see 2 files with indirect coverage changes
<details><summary> :rocket: New features to boost your workflow: </summary>

  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  • </details>

    yewman yewman commented on code on Jul 13, 2026 08:55 UTC
    Code Review
    shared/core/features.zon:1
    @@ -1530,7 +1530,7 @@
             .name = "raise_account_cu_limit",
             .pubkey = "htsptAwi2yRoZH83SKaUXykeZGtZHgxkS2QwW1pssR8",
             .description = "SIMD-0306: Raise account CU limit to 40% max",
    -        .status = .supported,
    +        .status = .hardcoded,

    Add a note here that this is not actually implemented, it is hardcoded because it no longer needs to be switched on but we never actually implemented the active path. It needs to be either 'supported' or 'hardcoded' since it is hardcoded in solfuzz-agave and would otherwise cause a feature compatibility error. I think 'hardcoded' is the better of the two because we do not need the gate, but still need to implement the active path once cost tracker is added.

    yewman yewman requested changes on Jul 13, 2026 08:55 UTC
    Changes Requested Reviewer

    Requested changes.

    hamza-syndica hamza-syndica commented on code on Jul 13, 2026 10:48 UTC
    Code Review
    shared/core/features.zon:1
    @@ -1530,7 +1530,7 @@
             .name = "raise_account_cu_limit",
             .pubkey = "htsptAwi2yRoZH83SKaUXykeZGtZHgxkS2QwW1pssR8",
             .description = "SIMD-0306: Raise account CU limit to 40% max",
    -        .status = .supported,
    +        .status = .hardcoded,
    yewman yewman commented on code on Jul 14, 2026 12:40 UTC
    Code Review
    shared/core/features.zon:1
    @@ -1530,7 +1530,7 @@
             .name = "raise_account_cu_limit",
             .pubkey = "htsptAwi2yRoZH83SKaUXykeZGtZHgxkS2QwW1pssR8",
             .description = "SIMD-0306: Raise account CU limit to 40% max",
    -        .status = .supported,
    +        .status = .hardcoded,

    .supported would be compatible, we can't use .unsupported or we would have incompatible feature sets. hardcoded is better than supported imo because when we do implement the logic, it will not be conditional on a gate.

    hamza-syndica hamza-syndica commented on code on Jul 15, 2026 08:48 UTC
    Code Review
    shared/core/features.zon:1
    @@ -1530,7 +1530,7 @@
             .name = "raise_account_cu_limit",
             .pubkey = "htsptAwi2yRoZH83SKaUXykeZGtZHgxkS2QwW1pssR8",
             .description = "SIMD-0306: Raise account CU limit to 40% max",
    -        .status = .supported,
    +        .status = .hardcoded,
    yewman yewman approved these changes on Jul 15, 2026 09:40 UTC
    Approved Reviewer

    Approved these changes.

    dnut dnut approved these changes on Jul 15, 2026 10:54 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    hamza-syndica hamza-syndica
    Labels
    risk: low confidence: 72.3% 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: 25.7% (LOW) · Higher = larger blast radius
    25.7%
    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: 72.3% · Lower = rushed or shallow review
    72.3%
    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: 7.1% · Safe to merge
    7.1%
    Repository