Minor Changes
-
#4914
e7c8f19Thanks @ascorbic! - Adds finding categories and an optional severity for assessments of a release's package code, so labelers can report code findings in the same shape as listing findings.@emdash-cms/registry-moderationexportsCODE_FINDING_CATEGORIES(malicious-code,vulnerability,reviewer-manipulation,package-integrity, andreview-declinedfor a reviewer model that refused to review the code),FINDING_SEVERITIES, andAssessmentFindingSchema, which accepts both listing and code findings.ModerationCoveragegains an optionalcodefield.NormalizedModerationFindingSchemastill accepts listing categories only, so existing model-output validation is unchanged.@emdash-cms/registry-verification/bundlenow exports the bundle size and entry limits (MAX_BUNDLE_COMPRESSED_BYTES,MAX_BUNDLE_DECOMPRESSED_BYTES,MAX_BUNDLE_FILE_BYTES,MAX_BUNDLE_FILE_COUNT,MAX_BUNDLE_SIZE,MAX_BUNDLE_TAR_ENTRY_COUNT), so Workers code can apply the same limits without importing the Node entry point.