test(config): harden gate.slop.minScore round-trip coverage#3452
test(config): harden gate.slop.minScore round-trip coverage#3452bohdansolovie wants to merge 1 commit into
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - reject/close recommendedReview updated: 2026-07-05 07:57:15 UTC
🛑 Suggested Action - Reject/Close
Review summary Nits — 4 non-blocking
Why this is blocked
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3452 +/- ##
=======================================
Coverage 93.01% 93.01%
=======================================
Files 297 297
Lines 31038 31038
Branches 11319 11319
=======================================
+ Hits 28870 28871 +1
Misses 1513 1513
+ Partials 655 654 -1 🚀 New features to boost your workflow:
|
Cover slop-only present flag, boundary round-trips, invalid-value warnings, and omitted serialization — parity with JSONbored#2053 readiness tests. Co-authored-by: Cursor <cursoragent@cursor.com>
2a010eb to
6e9b1a2
Compare
|
Gittensory is closing this pull request on the maintainer's behalf (No linked issue detected; Maintainer requires a linked issue). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Related to #2053
Summary
Applies the same round-trip/boundary test hardening from #3436 (
gate.readiness.minScore) togate.slop.minScore— both fields sharenormalizeOptionalScoreinfocus-manifest.ts:gate.presentflips true when onlyslop.minScoreis set0,1,42,99,100) throughgateConfigToJson→parseFocusManifeststring,NaN,±Infinity) warn and null out the scoreminScorestays absent from serializedslopblockTest-only hardening; no production behavior change.
Test plan
validate-code(vitest suite includesfocus-manifest.test.ts)Made with Cursor