Skip to content

docs(skills): add flexible defect-hunt workflow - #30946

Merged
XuPeng-SH merged 4 commits into
matrixorigin:mainfrom
XuPeng-SH:skill/defect-hunt
Oct 23, 2026
Merged

XuPeng-SH merged 4 commits into
matrixorigin:mainfrom
XuPeng-SH:skill/defect-hunt

Conversation

@XuPeng-SH

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

Related to #25267 as a follow-up to the agent-skills workflow.

What this PR does / why we need it:

Add a flexible defect-hunt skill for behavioral defect exploration. A focused source trace or SQL probe is sufficient; confirmation, reference comparisons, ledgers, and issue filing are selected only when the task requires them.

The MatrixOne adapter provides source entry points and an optional SQL helper that preserves complete stdout/stderr, exit status, and partial timeout evidence. Explicit TCP and isolated client configuration prevent connection defaults from redirecting probes, and empty passwords do not trigger interactive prompts. Findings distinguish impact from localization confidence and require a verified good/bad version boundary for regression claims. Lifecycle analysis remains available through the existing unhappy-path-audit skill.

Validation: both skill validators passed; eight helper behavior checks passed, covering raw-output fidelity, row boundaries, nonzero exits, timeout cleanup, database selection, launch failure, and repeated case names. A real MySQL 9.5.0 client verified empty-password handling and TCP port selection. Local references and git diff --check passed. The change comprises four skill Markdown files, including the embedded helper example.

- portable core: filing gates, defect typology, five-question trace,
  black-box batteries with control branches, falsification gate,
  dedup/triage, round economics
- MatrixOne specifics isolated in references/matrixone-adapter.md
- append-only probe ledger scaffold
- unhappy-path-audit gains a reciprocal scope line
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@matrix-meow matrix-meow added the size/XS Denotes a PR that changes [1, 9] lines label Oct 23, 2026
@mergify mergify Bot added kind/enhancement kind/documentation Improvements or additions to documentation labels Oct 23, 2026
@XuPeng-SH

XuPeng-SH commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor Author

mo-bot review · mo-bot-local · done

Commit: 1fb3874a75403a0256ed9f0e2f41791617f79b1b

Review completed. Read the assessment.

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mo-bot review · mo-bot-local · review

Commit: 1fb3874a75403a0256ed9f0e2f41791617f79b1b

Assessment: approve

Reviewed the complete four-file delta. The workflow cleanly separates behavioral exploration from lifecycle auditing and reuses existing build and triage owners. The optional helper preserves failure evidence without changing production SQL paths. No actionable findings remain.

Model: gpt-6-astra / xhigh

Session: 01a13dcf-1517-7f90-b3f9-c5f9f9e7031b · slot 0 · generation 1

Validation:

  • Both skill validators, local-reference checks, source-integrity checks and git diff --check passed.

  • Eight checks of the extracted helper passed using real subprocesses with a simulated mysql client, covering raw output, arguments, errors, timeout cleanup, repeated names and file cleanup.

  • Reconciled commands, exact-head fingerprints, exit receipts and retained logs under attempt-1/checks; details are retained in evidence-audit.json and review-record.json.

Limitations:

  • No live SQL or Oracle MySQL validation was performed. Local MariaDB rejects --no-login-paths; the helper requires a compatible client. The author's MySQL 9.5.0 check lacks retained logs.

  • Related issue and linked maintainer-discussion contents were absent from the frozen evidence.

@XuPeng-SH
XuPeng-SH merged commit 9163950 into matrixorigin:main Oct 23, 2026
22 checks passed
@XuPeng-SH
XuPeng-SH deleted the skill/defect-hunt branch October 23, 2026 07:00

This branch was previously deployed

1 inactive deployment
ci — 6c88aa2b Deployed Oct 23, 2026 by XuPeng-SH via Matrixone Utils CI / pr-size-label #60624
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/documentation Improvements or additions to documentation kind/enhancement size/XS Denotes a PR that changes [1, 9] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants