Skip to content

docs: make development and review skills release-aware - #32926

Merged
XuPeng-SH merged 7 commits into
matrixorigin:mainfrom
XuPeng-SH:codex/release-aware-mo-skills
Nov 19, 2026
Merged

XuPeng-SH merged 7 commits into
matrixorigin:mainfrom
XuPeng-SH:codex/release-aware-mo-skills

Conversation

@XuPeng-SH

@XuPeng-SH XuPeng-SH commented Nov 19, 2026 •

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 #32924

What this PR does / why we need it:

The BIT_COUNT upgrade bug showed that a change to the interpretation of a stored expression ID can break released data even when the encoding is unchanged. Route this class of changes from both mo-dev and mo-self-review to their shared upgrade contract.

Resolve and pin the applicable published source release only for affected boundaries. A user-specified baseline or project upgrade policy takes precedence. Otherwise, use the latest supported stable release for the target line. This keeps routine changes on the existing workflow and lets the default advance as releases ship.

Preserve existing definitions by default and bind new definitions to the intended semantics using the existing owners. A deliberate change to old behavior uses an explicit migration or rebuild and verifies affected materialized values, dependent indexes, and recovery from partial progress. Remove superseded unreleased compatibility paths in the changed scope, and avoid per-row compatibility work. Use the smallest evidence that proves the affected behavior, including post-upgrade writes or recomputation when they can expose the change. Document affected rollback steps and data-loss limits separately.

Validated both skill entry points and their links to the shared reference. Checked the upstream release lookup and resolved v4.2.8 to its release commit. Walked through persisted expression semantics, same-binary RPC, and a docs-only change against the guidance. This PR changes skill instructions only.

Design and review workflow

Use one risk and evidence map from development through final review. Group mechanical work, reuse valid results, and revisit only affected closures on follow-up. A revisioned issue or PR design section can hold the approved design where it already provides the required technical detail.

Compare a proposed mechanism with a direct change at the current owner. For material complexity, identify the responsibility added or duplicated, the cost or failure mode, and the simpler viable option. Check overfitting with an equivalent real path and a neighboring control. For CI-only selection changes, check the actual selected cases and execution mode with focused workflow evidence. Use product counterexamples for suspected overfit in product behavior. For performance claims, compare equivalent results and completed work across the measured boundary.

The Codex and Claude development and review entry points use the same upgrade contract. A shared risk rule also determines normal owning-package test scope. Focused evidence covers local changes whose affected behavior is bounded. Changes to shared fixtures, test selection, or behavior outside that scope require owning-package evidence. Contract and systemic changes retain their applicable consumer and risk-specific checks. The Codex and Claude review guides and their pipeline and concurrency references use the shared test scope, race protocol, and evidence validity rules. Local test synchronisation can use focused race stress. Production changes to shared state or lifecycle retain owning-package race coverage. After a rebase, reuse evidence when the relevant inputs and execution mode still support the result.

Validated all four skill entry points, shared reference links and CI change classification. The change-scope suite passed all 21 tests, and the complete diff classifies as documentation.

@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 Nov 19, 2026
@mergify mergify Bot added the kind/documentation Improvements or additions to documentation label Nov 19, 2026
@mergify

mergify Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

@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.

Commit: 8a85707abd3ba295ccc199c2454e26e61a26ddb7

P2: Resolve the conflicting normal-test scope in the Claude review entry point

The updated G-RACE-STRESS gate delegates normal test scope to the shared risk rule. For an R1 local sequential change whose affected callers are fully covered by focused tests, that rule permits omitting the owning-package run. But the same Claude self-review skill's §6 still unconditionally requires focused tests and the entire owning package for every ordinary sequential change:

Consequently that same eligible R1 change still requires a full package run through Claude self-review while the shared Codex path permits focused-only evidence, contrary to the PR's stated common scope. Please make the entry points point to one consistent, explicitly agreed rule. Preserve the existing test obligation unless the narrower scope is intentionally authorized; this finding does not imply that any test or assertion was deleted or that a product failure has occurred.

Review scope: read-only commit/design review, including the four entry points, their shared upgrade and validation rules, and the changed Claude references. The reviewed Claude skill tree's relative Markdown targets exist. The same-head Required and documentation whitespace checks passed; product UT/BVT/upgrade CI was skipped for this docs-only change. I did not run the skills, Go tests, database, or upgrade/restore tests.

@XuPeng-SH
XuPeng-SH merged commit 4cec607 into matrixorigin:main Nov 19, 2026
XuPeng-SH added a commit that referenced this pull request Nov 19, 2026
… rules (#32929)

## What type of PR is this?

- [ ] API-change
- [ ] BUG
- [ ] Improvement
- [x] Documentation
- [ ] Feature
- [ ] Test and CI
- [ ] Code Refactoring

## Which issue(s) this PR fixes:

Related to #32924

## What this PR does / why we need it:

Backport the development and review skills from #32926 to 4.2-dev. Codex
and Claude share the release compatibility, validation scope, race, and
evidence reuse rules. The fallback comparison base is upstream 4.2-dev.

4.2-dev maintenance favors fixes that preserve the released persistence
and protocol contracts. A change to either contract, including an opt-in
format, needs a reviewable design. Explain the maintenance need, why the
simplest contract-preserving fix falls short, the old and new behavior,
and the affected readers, writers or peers. Support the decision with
evidence for the applicable compatibility, partial failure and recovery
paths. Resolve the upgrade source from the supported 4.2 release line
when that boundary is affected.

Adapted references to the 4.2-dev tree and retained its build tooling.
Validated the four skill entries, 72 local references and the PR
template. The diff contains only skill documentation.
XuPeng-SH added a commit that referenced this pull request Nov 19, 2026
## What type of PR is this?

- [ ] API-change
- [ ] BUG
- [ ] Improvement
- [x] Documentation
- [ ] Feature
- [ ] Test and CI
- [ ] Code Refactoring

## Which issue(s) this PR fixes:

Related to #25392. Follow-up to #32926.

## What this PR does / why we need it:

The Claude review entry instructed reviewers to scan the entire diff
independently for each lens, even though the shared review guide already
defines one change map. Read each changed hunk once, then apply each
relevant lens to the affected contract. Use the same map for functional
closure, unhappy paths, and any index-plugin checks.

Validated all four skill entry points, relative links, and all 21
change-scope tests.

Signed-off-by: XuPeng-SH <[email protected]>

This branch was previously deployed

1 inactive deployment
ci — c2d0f81d Deployed Nov 19, 2026 by XuPeng-SH
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 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