Repository navigation
fix(rubric): preserve source and complete linked guidance - #254
Conversation
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Personal review: the source-preservation and required-guidance regressions pass. One actionable link-classification issue is reproduced below; I will address it with a failing regression before resolving the thread.
rng1995
left a comment
There was a problem hiding this comment.
Further review identified a case-insensitive filesystem regression in cycle detection. I will fix this together with the earlier link-classification finding and retain secure no-follow validation for every alias.
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
left a comment
There was a problem hiding this comment.
Review complete on this head. Both inline findings were reproduced, fixed, pushed and resolved. Final rubric/Markdown/secure-read tests: 181 passed, 2 platform skips. Workflow contracts: 42 passed. Lint and source/wheel builds pass; the cached-byte mismatch guard was mutation-tested. Full final-head CI is still running; a complete local project-suite pass is not claimed. I attempted the requested formal APPROVE review, but GitHub returned HTTP 422: "Can not approve your own pull request". The configured account is the PR author, so another maintainer must submit approval.
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
* fix(rubric): preserve source and complete linked guidance * fix(rubric): verify file aliases and ignore non-Markdown assets * test(rubric): make source-byte fixtures portable across line endings Signed-off-by: Narendran Raghavan <[email protected]>
Summary
rubric-evaladded YAML separators around the originalSKILL.mdand omitted root-linked guides. It could therefore judge altered source or incomplete required guidance.Preserve the original source text and collect reachable relative local Markdown under root-relative source names, including transitive guides. Use existing Markdown parsing and secure no-follow reads, deduplicate cycles, and collect required documents before optional script/reference previews. Missing, unsafe, invalid UTF-8 or oversized required guidance records failed rubric execution with no score and no provider request.
The existing 3,000-byte per-file and 30,000-byte supplementary-body limits remain, with a 256-document ceiling for linked graphs. Rubric criteria, weights and score thresholds are unchanged.
Closes #233.
Verification
CHANGELOG.mdmake lintmake buildLive model grading was not run.
Review follow-up
Posted two actionable inline findings, reproduced them with failing regressions, and fixed both:
The byte-mismatch guard was mutation-tested: disabling it makes the changed-source regression fail. Existing macOS and Windows CI lanes now include the rubric tests, so the case-insensitive filesystem paths are exercised in CI. The workflow contract suite is included in the passing combined run above.
The initial local four-worker project run was interrupted after 5,328 passed and 12 skipped when review fixes superseded that head. No complete local full-suite success is claimed. Final-head CI runs the complete Python 3.12/3.13 suites.
Both inline review comments are fixed in
7751f2f1260c481caafa5dfd8fd1c184bbc650e6, replied to, and resolved. A formal approval was attempted, but GitHub rejected it with HTTP 422 because the configured account is the PR author. Another maintainer must approve.Merge and Windows CI repair
Merged main
ca4776165e611d3d11facacd0139b7eb68314110, retaining both conflicting changelog entries. The two failing Windows rubric tests relied onPath.write_textnewline translation while expecting literal LF strings. Their fixtures now write exact UTF-8 bytes; both tests cover LF and CRLF, and source immutability is checked as bytes. Windows-write emulation passes all four cases. Production source preservation and secure-read checks are unchanged.Repair head:
213ee9a0c4f69048cf5a4164a2a29f8c70f8f424. GitHub reports no merge conflicts. The repaired Windows CI job passed 2,511 tests with 48 skips, and the full Python 3.13 suite passed. There are 15 successful checks and no failed checks on this head; Python 3.12 coverage is still running and both macOS jobs remain queued. Lint and source/wheel builds pass on the merged branch.Release Impact
CHANGELOG.md