Skip to content

fix: Potential fixes for 2 code quality findings#13

Merged
scottschreckengaust merged 2 commits into
mainfrom
ai-findings-autofix/plugins-deploy-on-aws-skills-deploy-SKILL.md
Feb 9, 2026
Merged

fix: Potential fixes for 2 code quality findings#13
scottschreckengaust merged 2 commits into
mainfrom
ai-findings-autofix/plugins-deploy-on-aws-skills-deploy-SKILL.md

Conversation

@scottschreckengaust
Copy link
Copy Markdown
Member

@scottschreckengaust scottschreckengaust commented Feb 6, 2026

This PR applies 2/2 suggestions from code quality AI findings.

  1. [nitpick] The description contains a run-on sentence that could be improved for clarity. Consider breaking it into multiple sentences or using semicolons to separate the different trigger phrases.
  2. The term 'dev-sized' is ambiguous and could benefit from more specific definition. Consider explaining what 'dev-sized' means in concrete terms (e.g., 'small instance sizes, minimal redundancy').

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

scottschreckengaust and others added 2 commits February 6, 2026 15:16
…rom Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com>
…rom Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com>
@scottschreckengaust scottschreckengaust changed the title Potential fixes for 2 code quality findings fix: Potential fixes for 2 code quality findings Feb 6, 2026
@scottschreckengaust scottschreckengaust marked this pull request as ready for review February 7, 2026 00:27
@scottschreckengaust scottschreckengaust requested a review from a team February 7, 2026 00:27
@scottschreckengaust scottschreckengaust added this pull request to the merge queue Feb 9, 2026
Merged via the queue into main with commit 0a16207 Feb 9, 2026
44 of 47 checks passed
@scottschreckengaust scottschreckengaust deleted the ai-findings-autofix/plugins-deploy-on-aws-skills-deploy-SKILL.md branch February 9, 2026 16:43
Morlej added a commit to Morlej/agent-plugins that referenced this pull request May 15, 2026
…vals

Correctness fixes (review items 1-5):
- awslabs#1: push-computation-to-constant — use NUMERIC column 'amount' to
  avoid integer division non-equivalence
- awslabs#2: not-in-to-not-exists — add NULL semantics warning (NOT EXISTS
  does not preserve NOT IN's NULL-propagation; MUST confirm with user)
- awslabs#3/awslabs#4: subquery-unnesting — prefer EXISTS form (true semi-join);
  document uniqueness precondition for JOIN+DISTINCT alternative
- awslabs#5: subquery-unnesting-scalar — add COALESCE(s_count, 0) for
  COUNT/SUM (LEFT JOIN returns NULL, scalar returns 0)

Dangling reference fixes (review items 6-8):
- awslabs#6: workflow.md trigger table — "Phase 5" → reassessment re-entry
- awslabs#7: Replace all "implicit cast compatibility matrix" references
  with "pg_amop query in catalog-queries.md"
- awslabs#8: plan-interpretation.md L202 — fix cast-vs-operator contradiction

Structural fixes (review items 9-14, 24):
- awslabs#9: Hedge "integer family" claim with "at time of writing" + verify
- awslabs#10: amopmethod=10003 — add provenance comment and verification SQL
- awslabs#11: catalog-queries.md TOC — add 3 missing sections
- awslabs#12: plan-interpretation.md TOC — add Type Coercion section
- awslabs#13: SKILL.md — explicitly delegate routing to workflow.md
- awslabs#24: workflow.md — remove em dashes from headings for clean anchors

Other fixes (review items 21-23):
- awslabs#21: reltuples-estimate — add staleness warning (MUST warn user)
- awslabs#22: catalog-queries — add safe_query.build() note for placeholders
- awslabs#23: "Skip when" → "SHOULD skip when" in all rewrite files

Eval improvements (review items 14, 16):
- awslabs#14: README — add query_plan_rewrite_evals to directory tree and
  eval section
- awslabs#16: Add evals 206-210 covering LEFT JOIN, computation push, NOT IN
  with NULL warning, nested UNION ALL, and negative case (OR across
  different columns)
- awslabs#7 (eval): Update eval 201 expectation — pg_amop instead of matrix

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

2 participants