Repository navigation
refactor(config): split schema help metadata - #110218
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 17, 2026, 6:56 PM ET / 22:56 UTC. Summary PR surface: Source +27, Other -1. Total +26 across 7 files. Reproducibility: not applicable. This PR addresses module size and reviewability rather than a reported runtime failure. The relevant verification is source-level equivalence of the recomposed help metadata. Review metrics: none identified. Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Land only after a maintainer confirms that the aggregate export preserves the former metadata map exactly and that the final current-base diff remains behavior-neutral. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR addresses module size and reviewability rather than a reported runtime failure. The relevant verification is source-level equivalence of the recomposed help metadata. Is this the best way to solve the issue? Unclear pending full equivalence inspection; splitting cohesive metadata maps is a maintainable direction if it retains the exact aggregate contract and order. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against ccaaa42f5265. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +27, Other -1. Total +26 across 7 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Land-ready proof for exact head
No remaining proof gaps for this behavior-neutral refactor. |
|
Merged via squash.
|
What Problem This Solves
The grandfathered max-lines suppression on config field-help metadata hides an oversized, frequently edited module and makes unrelated config-help changes harder to review and merge.
Why This Change Was Made
This maintainer-requested cleanup splits the existing field-help entries into five cohesive metadata maps, then recomposes them in their original order through the existing
FIELD_HELPexport. It removes the file suppression and ratchet baseline entry without changing config keys, help text, or runtime behavior.User Impact
No user-visible behavior changes. Maintainers get smaller ownership units for config help text and one fewer grandfathered max-lines exception.
Evidence
node scripts/run-vitest.mjs src/config/schema.help.quality.test.ts src/config/plugins-runtime-boundary.test.ts src/config/talk-defaults.test.ts test/scripts/check-max-lines-ratchet.test.ts— 4 files, 40 tests passed across 2 shards.node scripts/check-changed.mjs -- config/max-lines-baseline.txt src/config/schema.help.ts src/config/schema.help.core.ts src/config/schema.help.runtime.ts src/config/schema.help.models.ts src/config/schema.help.agents.ts src/config/schema.help.automation.ts— max-lines ratchet, conflict checks, dependency guards, and formatting passed. The wrapper later stopped at unrelated Plugin SDK API baseline drift; this PR does not touch that surface.git diff --check— passed..agents/skills/autoreview/scripts/autoreview --mode uncommitted— clean; no accepted/actionable findings.AI-assisted; maintainer reviewed the complete moved metadata and surrounding consumers/tests.