agentsclimarketplace

Calcite bug root cause

Skill nirmal-e6/e6-skills/skills/calcite-bug-root-cause

Use when current Calcite behavior looks wrong or regressed and the first job is to prove the owning layer, find the real fix point, reject symptom patches, and map affected surfaces before coding.From its SKILL.md

Install
npx -y skills add nirmal-e6/e6-skills --skill calcite-bug-root-cause

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.1 KB, as published. Nobody here has run it

Calcite Bug Root Cause

Prove the owner and the source-level fix before writing the patch.

Core Rules

  • No fix without root cause.
  • Name the invariant that current behavior violates.
  • Reject symptom-patch alternatives explicitly.
  • Inventory affected surfaces sharing the same mechanism before implementing.

Bring

  • Exact or near-exact repro
  • Expected versus actual behavior
  • Relevant context: dialect, conformance, Babel, parser settings, planner/runtime path, stack trace, or failing test
  • Relevant upstream base, local fork delta, and current upstream behavior when fork provenance can isolate ownership

Workflow

  1. Inspect current code, tests, and docs nearest to the repro.
  2. Reduce to the smallest trustworthy repro.
  3. Identify the primary owner: parser, validator, sql2rel or decorrelator, planner or rule, runtime, or still unknown.
  4. When fork provenance can isolate ownership, compare only the relevant upstream base, local fork delta, and current upstream behavior. Classify the mechanism as fork-introduced, inherited, already fixed upstream, or outside Calcite. Do not require this baseline comparison for unrelated Calcite work.
  5. State the violated invariant and the likely source-level fix point.
  6. Enumerate rejected alternatives that would only patch the symptom.
  7. Build or update the issue brief, including:
    • owner hypothesis
    • chosen fix point
    • explicit non-goals
    • adjacent surfaces sharing the same mechanism
  8. Before calling diagnosis complete, pair with calcite-change-impact-map for the changed mechanism and validation surface.

Required Outputs

  • Minimized repro
  • Owning-layer classification
  • Fork-provenance classification when relevant
  • Root cause
  • Rejected symptom-patch alternatives
  • Chosen fix point
  • Affected-surface inventory
  • Targeted validation scope

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.