Repository navigation
feat(datasets): add lossless preview-first dataset migration - #435
Conversation
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
SkillEvaluator CI resultsRequired gate: Skipped Only Tier 1 blocks CI; Tier 2 and Tier 3 are advisory.
Commit: |
rng1995
left a comment
There was a problem hiding this comment.
Independent assistant task review and final whole-change review accepted the lossless migration implementation. Reviewed preservation of typed IDs, explicitnull/false routing, fixtures, scripts, aliases and extension metadata; preview/exclusive destination and legacy compatibility remain intact. All five bundled examples migrate. External catalog ownership/date/deprecation rollout remains an explicit acceptance gap.
This records independent assistant technical review, not human approval or authorization to merge. Full-suite and final hostedCI evidence is still being reconciled and will be added to the PR.
rng1995
left a comment
There was a problem hiding this comment.
Fresh independent migration review found one reproducible output-validation gap. Existing41 migration tests passed; the additional API reproduction loads the legacy source but produces a converted dataset rejected by the loader. Tracking the correction below.
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Conflict resolution published at 798cbeb. Main 6e11779 is a merge parent; the newer CI-only target fff5332 also merges cleanly. Both upstream and owned feature changes were independently verified preserved, with no conflict markers, overwritten blobs or duplicate documentation/changelog sections. Migration/loader/CLI selection: 1,508 passed; additional changed-main evidence selection: 2,323 passed; 32 external authored/runtime migration parity cases passed. Lint/build/source+archive boundary/provenance/Fern/diff gates passed. New-head CI is running; previous-head green results remain separate. This updates our PR branch only and is not PR/main merge authorization.
Signed-off-by: Narendran Raghavan <[email protected]>
Summary
Add preview-first dataset migration and convert the five bundled legacy arrays without changing their 15 cases or retiring legacy reading. Tracks SKILLEVAL-93; this PR is the focused implementation, not a claim that every ticket acceptance item is complete.
Conflict-resolution update
Final publication and merge
Final published PR head:
10064a6b8210e144a53dccb8e468485cfd24f86b. This signed-off merge combines previous published head798cbeb19f87f493e04f81977427829b22e46dd2with mainf74c52f24c7976f874321521f588af90937484a8and was published by normal push. GitHub squash-merged this PR into main on 2026-11-10 at 05:11:28 UTC ased1f0020d7ca784c964dcb39bf599d959bcfb047.Mechanical resolution and preservation
The only manual conflict was
CHANGELOG.md. The complete migration entry follows the qualitative-review entry; each addition is retained exactly once. Distinct entry placement reduces repeat conflicts between concurrent PRs. Independent parent-blob and bidirectional-delta review confirmed preservation of this PR's source changes and incoming main. Upstream per-case expectation diagnostics, baseline applicability and optional-reference placeholder behavior are retained. The earlier feature/spec and quality reviews remain applicable within their stated scopes.Final-head and scoped integration validation
The final-head CI workflow completed successfully; final-head DCO, Security and Tier 1 image workflows also completed successfully in the fresh 2026-11-10 16:25 UTC read. For this mechanical merge, 95 focused tests covering the incoming CI changes passed, and pinned Fern completed with zero errors and one warning.
A separate premerge integration preview applied repaired #435, #436 and #438 to main
6a5e7c755f6e7a2bd848d9c3a632286ab792a142. All six synthetic squash orders merged cleanly and converged to tree6627ea03692e395b5502ac10285858e1da196102. On synthetic commit13a14d925aa30ac17052ed01f654ef2779616758, 726 focused integration tests, Ruff, package builds, pinned Fern and diff checks passed. This is scoped evidence for that premerge preview; it does not establish acceptance for every subsequent main revision.Historical verification
The following results belong to previous published head
798cbeb19f87f493e04f81977427829b22e46dd2, which merged main6e1177927a976668313daf4a74d3e33119a9ea22and was checked for a clean merge with CI targetfff53328887a87f47cdf7cc4ea2c084648d73175:Migration/loader/CLI selection: 1,508 passed; additional changed-main evidence selection: 2,323 passed; 32 external authored/runtime migration parity cases passed. Selections are reported separately as test executions, without claiming unique totals. Lint, wheel/sdist builds, configured source/archive OSS boundaries, public benchmark provenance, diff checks and pinned Fern passed. Fern retained only its optional unauthenticated redirects warning.
Earlier verification sections below remain evidence for their explicitly named historical heads. Existing acceptance limits and risk notes remain unchanged.
BEFORE / AFTER
skillevaluator tier3 migrate-dataset SOURCEImplementation
Deep-copy full entries/wrapper metadata, rename only known aliases, preserve typed IDs and null/false/empty values, fixtures, extensions, generation and checks. Accept JSON/JSONL/YAML input; refuse JSONL object output, conflicting aliases/duplicate keys, ambiguous identities and existing/aliased destinations. Exclusive creation prevents overwrite races. Reject unlabeled routing that cannot be represented losslessly; authors must label it before migration. The lazy command keeps base imports light.
Earlier review correction
Previously verified head:
934e0e46ed1a63ab817c8e3c9760e3621c379289.Reject whitespace-only inferred target names before preview/output creation. Authored source bytes and valid padded skill names remain unchanged. The new regression covers space, tab, newline and Unicode em-space in both preview and output modes, plus loadability/preservation of a valid padded name.
After this fix: 91 focused tests passed; an independent re-review additionally ran the nine new regressions successfully and approved spec/quality with no residual findings. Whole-repo Ruff, wheel/sdist build, source and archive OSS boundaries, benchmark source provenance and diff checks passed. No documentation source changed; Fern/full/live suites were not repeated for this two-line validation fix.
Current-head CI has been refreshed after the push. The full-suite and hosted results below describe the previous reviewed implementation and are not new-head green claims.
Earlier verification (before review correction)
Prior PR head:
9c60e74d650caef13977aa31acb50a93d05272b8. macOS arm64 local checks used locked Python 3.12 environments and unique temporary roots outside Git.Local full default suite at
78442302: 26,268 passed, 35 skipped (exit 0).The publication merge adds current main and resolves only append-only changelog conflicts; every original non-changelog task blob is byte-identical. Publication-head focused checks cover the merge.
Publication-head migration/loader selection: 313 passed (five FIFO-named cases deselected only from that focused selection); new-main shell chunker regressions: 123 passed. The full default suite includes its normal selection.
Prior-head hosted checks: 25 successful, 2 intentionally skipped, zero failures or pending checks. The Python 3.12 coverage job, Python 3.13/3.14 suites and applicable macOS/Windows/package/security/DCO checks completed.
Ruff, lint/build, OSS boundary, public benchmark provenance and diff checks passed in their recorded scopes. Applicable pinned Fern checks passed with the optional unauthenticated redirect-check warning. Independent task and final reviews are posted on this PR; the historical dataset-citation finding on #432 was answered, verified and resolved.
Actual converted public explicit/implicit/negative/edge tasks completed 8/8 local executions. Their observed task/activation failures are retained. A distinct canonical bundled calculator case with a meaningful custom grader and skipped baseline completed 1/1, invoked the skill and returned 14. No original source was overwritten; no external catalog rollout is claimed.
Risks and recovery
No-output mode writes nothing; retain source and inspect preview before choosing a new destination. Unlabeled legacy cases and missing required outcomes need author input. Legacy loading remains supported. External catalogs have no agreed inventory, owner, preview evidence, rollout date or deprecation milestone; repository conversion does not complete that rollout.
Release Impact
CHANGELOG.md