fix(release-kit): repair confirmed quality findings in the payload #20
All Vouch review confidence checks passed
Residual risk 0.63 = Change Risk (0.96) × (1 − Review Confidence (0.35)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.96 · 34250 lines diff across 213 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 35% · Reviewer familiarity: 10%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.400
Shallow Review Depth
shallow_review_depth
0.289
No Reviewer Assigned
no_reviewer_assigned
0.120
Sensitive Paths
sensitive_paths
0.096
Mass File Touch
mass_file_touch
0.080
Real PR Conversation Timeline
1 comments
"Review active on #20"
general
weight: 0.35
jdalton
Follow-up to the merged #19. Repairs the CONFIRMED quality findings that reproduce in the sauce release-kit payload (the byte-authority). Verified against the adversarial findings set; findings that were jdm-aot-only or already-correct in sauce are documented rather than changed.
Correctness (payload behavior)
--accessno longer hard-coded public.runStaged/runDirect/runWorkspacePublishresolve access (kit config →publishConfig.access→ scoped/unscoped default) via a newresolveReleaseAccess, so a restricted package is no longer shipped public. Proven by a realbootstrap --dry-run:publish @acme/widget@0.0.0 --access restricted.npm.distTagis now consumed — staged--tagfalls back to the config value, not a hard-codedlatest.@socketsecurity/libparseArgs does not throw on unknown flags even understrict; npm-publish / cargo-publish / create-release now diff parsed keys (camelCase-alias aware) and exit 2. github-release / brew-publish parse errors exit 2 (were 1). Bootstrap already exits 2 (node:util strict).--helpnamesnode scripts/socket-release/npm-publish.mts, not the deadpnpm publish.Stale references / duplication
publish-pipelinementions (the healer isgithub-release.mts).packumentUrl()+NPM_AUTH_TOKEN_KEYintoconstants/npm-registry.mts(8 inline copies + 3 hard-coded token keys); removed the unusedNPM_REGISTRYexport.trusted-publisher-planderivesCANONICAL_*from the singletrustedPublisherLaw()— one law source.check//docs/citations and wheelhouse provenance from headers; fixed create-release's missing-config pointer.Tests (was: zero release-time coverage)
publish-helpers:resolveNpmAccess(access-public regression guard),stageAction,readStagedShasum,packumentUrl,unknownFlags,extractChangelogSection.trust-sweep:conformsToLawpinned per law field — kills the surviving environment-comparison mutation.registry-liveness-gate:runGatedriven live/404/unreachable with an injected fetch, plus the pure decision functions.Not changed (documented, with evidence)
playwright-law.mtsand the trusted-publisher browser quartet are live/intentional in sauce (imported by therelease-kit-launches-are-sanctionedcheck and allowlisted inrelease-kit-is-coherent), not dead as in jdm-aot.Gates
232 release-kit tests pass;
release-kit-is-coherent+release-kit-launches-are-sanctionedgreen; actionlint clean on all 4 workflow templates; payload + tests typecheck clean;bootstrap --help/--dry-runverified.