mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #874] [MERGED] chore: staging-first policy note + pnpm supply-chain guardrails #4811
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4811
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/874
Author: @Romuromylus
Created: 5/15/2026
Status: ✅ Merged
Merged: 5/15/2026
Merged by: @Romuromylus
Base:
main← Head:staging📝 Commits (2)
d429576chore: add pnpm supply-chain guardrails3c91ebddocs: note staging-first branch policy📊 Changes
2 files changed (+8 additions, -0 deletions)
View changed files
📝
AGENTS.md(+1 -0)📝
pnpm-workspace.yaml(+7 -0)📄 Description
Linked issue
No tracking issue — bundling two small repo-hygiene changes that surfaced together.
Why this change
stagingas the integration branch ahead ofmain, butAGENTS.mddoesn't say so, and agents (Codex and others) have been opening PRs directly againstmain. One bullet under the existing Repo-Specific Cautions stops that without needing a wider CONTRIBUTING rewrite.minimumReleaseAgeetc.) for exactly the npm-compromise wave class of incident. Adopting them inpnpm-workspace.yamlcosts nothing for normal upgrades and gives the registry / advisory ecosystem a ~24h window to catch malicious publishes before our installs pick them up.What changed
AGENTS.md— one bullet under "Repo-Specific Cautions" stating that Marinara Engine changes go againststagingfirst, and thatmainshould only be targeted when the user or maintainer explicitly asks.pnpm-workspace.yaml— added pnpm supply-chain guardrails:minimumReleaseAge: 1440— 24h hold on newly published package versions.minimumReleaseAgeIgnoreMissingTime: false— when pnpm can't determine a publish time, treat that as a reason to block rather than let the version through.trustPolicy: no-downgrade— refuse resolutions that would downgrade relative to the lockfile.blockExoticSubdeps: true— refuse non-registry (git URL / tarball) transitive deps appearing deep in the tree.Existing installs are unaffected because the lockfile already pins versions older than 24h.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs + workspace-config only — no runtime behavior change, so UI / container / edge-case checks aren't meaningful here. The pnpm settings are inert until someone adds or upgrades a dep; the lockfile-pinned graph keeps resolving as-is.
AGENTS.mdbullet lives in the existing Repo-Specific Cautions list, so it inherits whatever path agents already follow for that section.pnpm-workspace.yamlkeys take effect on the next install / upgrade; no migration step is required for current workspaces.Leaving the
pnpm check/ container boxes unchecked so a maintainer can re-verify on their own setup.Docs and release impact
AGENTS.mdis itself the contributor-facing doc being updated — no README / CONTRIBUTING / CHANGELOG sync is needed to match.UI evidence (if applicable)
N/A — no UI changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.