More MAGI fat trimming [chromium/src : main]

0 views
Skip to first unread message

Joe Downing (Gerrit)

unread,
May 19, 2026, 2:12:17 PM (2 days ago) May 19
to android-bu...@system.gserviceaccount.com, chromotin...@chromium.org

Joe Downing added 4 comments

File remoting/tools/magi-mode/PRESUBMIT.py
Line 564, Patchset 1 (Latest): proj_content = project_content_cache.get(project_file_path, {})
Joe Downing . unresolved

Please fix this WARNING reported by autoreview issue finding: Since `paranoia_mode` and `auditability_level` were removed from the JSON schemas and checking logic below, `proj_content` is no longer used. The entire block from lines 534 to 564 for cross-file validation of `state_transport` is now dead code and should be removed.

Line 590, Patchset 1 (Latest): if 'repo_type' not in environment:
Joe Downing . unresolved

Please fix this WARNING reported by autoreview issue finding: `output_directory` was added to the `required` list of `EnvironmentDef` in `magi_schema.json`. However, `_ValidateSchema` does not recursively validate nested objects or resolve `$ref`. You should add an explicit check here to ensure `output_directory` is present, just like you do for `repo_type`.

File remoting/tools/magi-mode/PRESUBMIT_test.py
Line 552, Patchset 1 (Latest): '"goal", "target_files", "anti_goals", "edge_cases", "next_stage"], '
Joe Downing . unresolved

Please fix this WARNING reported by autoreview issue finding: The mock schema here still lists `"anti_goals"` and `"edge_cases"` as required for `ProjectSpec`, but they were removed from the actual `magi_schema.json` in this change. Consider removing them here as well for consistency.

File remoting/tools/magi-mode/SKILL.md
Line 422, Patchset 1 (Latest): arguments of `invoke_subagent` tool calls. *Joining Rule:*\* If a mandate or
Joe Downing . unresolved

Please fix this WARNING reported by autoreview issue finding: There is a typo here: `*\*`. It should probably just be `*` for the markdown italics.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Iae3803437c0283652d3c629104c9fe883efec451
Gerrit-Change-Number: 7858185
Gerrit-PatchSet: 1
Gerrit-Owner: Joe Downing <joe...@chromium.org>
Gerrit-Comment-Date: Tue, 19 May 2026 18:12:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Joe Downing (Gerrit)

unread,
May 19, 2026, 2:16:36 PM (2 days ago) May 19
to android-bu...@system.gserviceaccount.com, chromotin...@chromium.org

Joe Downing abandoned this change.

View Change

Abandoned

Joe Downing abandoned this change

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: abandon
satisfied_requirement
unsatisfied_requirement
open
diffy

Joe Downing (Gerrit)

unread,
May 19, 2026, 2:17:07 PM (2 days ago) May 19
to android-bu...@system.gserviceaccount.com, chromotin...@chromium.org

Joe Downing abandoned this change.

View Change

Abandoned

Joe Downing abandoned this change

Related details

Attention set is empty
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: abandon
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8e747336fa90838555213818b356280ca3b6402b
    Gerrit-Change-Number: 7860408
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joe Downing (Gerrit)

    unread,
    May 19, 2026, 2:18:43 PM (2 days ago) May 19
    to android-bu...@system.gserviceaccount.com, chromotin...@chromium.org

    Joe Downing abandoned this change.

    View Change

    Abandoned

    Joe Downing abandoned this change

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: abandon
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: If06a23943f59ba44f71cc45c7d8cd7383118cf79
    Gerrit-Change-Number: 7860426
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joe Downing (Gerrit)

    unread,
    May 19, 2026, 2:18:44 PM (2 days ago) May 19
    to android-bu...@system.gserviceaccount.com, chromotin...@chromium.org

    Joe Downing abandoned this change.

    View Change

    Abandoned

    Joe Downing abandoned this change

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: abandon
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I6bcb95843e1a2254cbcf84338608b7ee39b41eaf
    Gerrit-Change-Number: 7858208
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joe Downing (Gerrit)

    unread,
    May 19, 2026, 2:18:47 PM (2 days ago) May 19
    to Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromotin...@chromium.org

    Joe Downing abandoned this change.

    View Change

    Abandoned

    Joe Downing abandoned this change

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: abandon
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I018f347d3d3ce8504aacdf285a69c9b703241b0c
    Gerrit-Change-Number: 7860900
    Gerrit-PatchSet: 1
    Gerrit-Owner: Joe Downing <joe...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joe Downing (Gerrit)

    unread,
    May 19, 2026, 2:18:51 PM (2 days ago) May 19
    to android-bu...@system.gserviceaccount.com, chromotin...@chromium.org

    Joe Downing abandoned this change.

    View Change

    Abandoned

    Joe Downing abandoned this change

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: abandon
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ie99de51f10cd37e5789180386fcb6f970a464ef4
    Gerrit-Change-Number: 7859974
    Gerrit-PatchSet: 1
    Gerrit-Owner: Joe Downing <joe...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joe Downing (Gerrit)

    unread,
    May 19, 2026, 3:20:37 PM (2 days ago) May 19
    to Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromotin...@chromium.org

    Joe Downing abandoned this change.

    View Change

    Abandoned

    Joe Downing abandoned this change

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: abandon
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I06d199478c908f0d2934af4e1d36490693e9c76b
    Gerrit-Change-Number: 7860924
    Gerrit-PatchSet: 1
    Gerrit-Owner: Joe Downing <joe...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joe Downing (Gerrit)

    unread,
    May 19, 2026, 7:11:20 PM (2 days ago) May 19
    to Yuwei Huang, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromotin...@chromium.org
    Attention needed from Yuwei Huang

    Joe Downing voted and added 1 comment

    Votes added by Joe Downing

    Auto-Submit+1
    Commit-Queue+1

    1 comment

    Patchset-level comments
    File-level comment, Patchset 6 (Latest):
    Joe Downing . resolved

    PTAL!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Yuwei Huang
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I2279471fd048c9004a5921160b9070480f1e2132
    Gerrit-Change-Number: 7861182
    Gerrit-PatchSet: 6
    Gerrit-Owner: Joe Downing <joe...@chromium.org>
    Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
    Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
    Gerrit-Attention: Yuwei Huang <yuw...@chromium.org>
    Gerrit-Comment-Date: Tue, 19 May 2026 23:11:11 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Yuwei Huang (Gerrit)

    unread,
    May 19, 2026, 7:20:55 PM (2 days ago) May 19
    to Joe Downing, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromotin...@chromium.org
    Attention needed from Joe Downing

    Yuwei Huang voted

    Code-Review+1
    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Joe Downing
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I2279471fd048c9004a5921160b9070480f1e2132
      Gerrit-Change-Number: 7861182
      Gerrit-PatchSet: 6
      Gerrit-Owner: Joe Downing <joe...@chromium.org>
      Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
      Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
      Gerrit-Attention: Joe Downing <joe...@chromium.org>
      Gerrit-Comment-Date: Tue, 19 May 2026 23:20:44 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      May 19, 2026, 8:06:29 PM (2 days ago) May 19
      to Joe Downing, Yuwei Huang, android-bu...@system.gserviceaccount.com, chromotin...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      More MAGI fat trimming

      Removing some vestigial and low-value features to further
      streamline the process and reduce the likelihood of
      hallucinations.
      Change-Id: I2279471fd048c9004a5921160b9070480f1e2132
      Auto-Submit: Joe Downing <joe...@chromium.org>
      Commit-Queue: Yuwei Huang <yuw...@chromium.org>
      Commit-Queue: Joe Downing <joe...@chromium.org>
      Reviewed-by: Yuwei Huang <yuw...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1633207}
      Files:
      • M remoting/tools/magi-mode/EXAMPLES.md
      • M remoting/tools/magi-mode/PRESUBMIT.py
      • M remoting/tools/magi-mode/PRESUBMIT_test.py
      • M remoting/tools/magi-mode/ROUTING.md
      • M remoting/tools/magi-mode/SKILL.md
      • M remoting/tools/magi-mode/magi_schema.json
      • A remoting/tools/magi-mode/personas/core/auditor.json
      • R remoting/tools/magi-mode/personas/core/implementation.json
      • M remoting/tools/magi-mode/tests/testdata/project.magi.json
      • M remoting/tools/magi-mode/tests/testdata/state_block.magi.json
      Change size: L
      Delta: 10 files changed, 149 insertions(+), 307 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Yuwei Huang
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I2279471fd048c9004a5921160b9070480f1e2132
      Gerrit-Change-Number: 7861182
      Gerrit-PatchSet: 7
      Gerrit-Owner: Joe Downing <joe...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
      Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages