Skip to content

test(architecture): record the resource-constraint refusal counts on main - #11666

Merged
morluto merged 1 commit into
mainfrom
fix/resource-constraint-baseline
Nov 16, 2026
Merged

morluto merged 1 commit into
mainfrom
fix/resource-constraint-baseline

Conversation

@morluto

@morluto morluto commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Summary

node scripts/verify/architecture-guards.mjs fails on main (53fa953): the resource-constraint-constructor baseline from #11518 merged beside #11641 (two more fixed-allowance refusals in FlutterBuildProvider.ts) and #11659 (one fewer in AdbCommand.ts), and AppleAssetCatalogAnalysis.ts no longer builds one. Red-main repair.

Problem and expected behavior

The guard reports src/flutter/FlutterBuildProvider.ts: 12 (baseline 10) as new copies and two stale entries, so every pre-push hook and the CI guard step fail. Expected: the counted baseline records main's counts.

Change and scope

  • scripts/verify/baselines/resource-constraint-constructor.json: Flutter 10 -> 12 (code already on main), then --shrink-baselines lowers AdbCommand 2 -> 1 and removes AppleAssetCatalogAnalysis.
  • Not included: migrating any refusal to parseLimitConstraint.

Contribution scope: not applicable.

Contract and boundary impact

  • Semantic owner and earliest changed stage: none (guard baseline only).

  • Contribution scope fit and linked maintainer decision: not applicable.

  • CLI and MCP/tool-catalog contract: none.

  • Provider, bridge, target-format, or platform compatibility: none.

  • Evidence, artifact, provenance, or reconstruction contract: none.

  • Target selection, authority, upstream behavior, and cleanup details (if applicable): not applicable.

  • Generated metadata, package, or installation impact: none.

  • Read existing files or captured data.

  • Launch or attach to a process.

  • Inject instrumentation or run scripts/code.

  • Change process memory, registers, files, or configuration.

  • Contact network services.

  • Recover protected code or work around protections.

  • Documentation or usability only; no target interaction.

  • Not sure yet; investigation or maintainer guidance needed.

Evidence and regression coverage

  • Tests added or updated: none.

  • Base reproduction: on origin/main 53fa953 the guard fails with the three entries above.

  • User-visible CLI/MCP output (if applicable): none.

  • Remaining proof gaps: none.

  • Observed, derived, and inferred claims remain distinguishable.

  • Artifact identity, source provenance, and failed attempts remain preserved.

  • Unsupported, incomplete, unavailable, or uncertain outcomes remain visible.

Validation performed

  • node scripts/verify/architecture-guards.mjs on main — failed as above; after the change — passed.
  • Pre-push npm run check:fast — passed.

Compatibility, safety, and release

  • Breaking changes or migration steps: none.
  • Real Hopper/Ghidra, browser, or OS coverage: not applicable.
  • Package or release metadata impact: none.
  • Security, privacy, process, or containment review: none.

Author readiness

Human owner:

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • This PR addresses a concrete problem or an agreed enhancement.
  • Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

…main

#11518 merged its counted baseline beside #11641, which added two
fixed-allowance refusals to FlutterBuildProvider, and #11659, which
removed one from AdbCommand; AppleAssetCatalogAnalysis no longer builds
one. The architecture guards fail on main until the baseline records
those counts.
@morluto morluto added the main-fix Fixes a failure on main; may merge while main CI is red label Nov 16, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-16T02:28:46.118422Z
We couldn’t complete this review. Comment @codex review to try again.
445c47c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@greptile-apps

greptile-apps Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge.

Summary

Updates resource-constraint-constructor.json to match constructors already present on the base branch.

  • The architecture guard records the current refusal counts.

Reviews (1) · Last reviewed commit: "test(architecture): record the resource-..." · Reviewed by Greptile

@morluto
morluto merged commit 42cab26 into main Nov 16, 2026
8 checks passed
@morluto
morluto deleted the fix/resource-constraint-baseline branch November 16, 2026 02:30
@morluto morluto added the area: tests Test suite and verification label Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Test suite and verification main-fix Fixes a failure on main; may merge while main CI is red

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant