Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions npm-config-allow.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@
"value": 1440,
"why": "The publication cooldown in pnpm-workspace.yaml: no dependency version younger than this many minutes may be resolved. Pinned EXACTLY rather than by a floor, because this allow-set answers `what may a release be configured with` and a release configured with a shorter cooldown than the baseline requires is precisely the configuration nobody approved. drift-manifest.json's installHardening group is where the 1440 is derived; a change has to be a reviewed diff in both."
},
{
"key": "minimum-release-age-exclude",
"value": ["@cosyte/*"],
"why": "The one exemption from the publication cooldown, pinned EXACTLY as a list rather than permitted at any value. The operator decided that @cosyte/* is exempt from the 24-hour floor and that every third-party package keeps it, so the list names our own scope and nothing else. pnpm-workspace.yaml carries the same entry with the `# reason:` comment scripts/install-hardening.mjs refuses to do without, and pnpm reads a scope pattern here from 10.17.0, below the 10.34.5 this repository pins. Adding any other entry, a third-party name above all, must be a reviewed diff here as well as in pnpm-workspace.yaml."
},
{
"key": "trust-policy",
"value": "no-downgrade",
Expand Down
4 changes: 4 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ packages:
# package repo. pnpm's own rationale for the number: "Since malware is usually
# detected quickly, delaying updates by 24 hours will most likely prevent you
# from installing a bad version" (https://pnpm.io/supply-chain-security).
# @cosyte is exempt by operator decision; every third-party package keeps the floor.
minimumReleaseAge: 1440
minimumReleaseAgeExclude:
# reason: first-party @cosyte package, exempt from the floor by operator decision
- "@cosyte/*"

# Fail the install when a package's trust evidence is weaker than that of an
# earlier-published version of the same package (a trusted publisher that
Expand Down
Loading