Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

2.0 KB
Raw Blame
# Block install scripts by default to reduce supply-chain attack surface.
#
# This file is NOT redundant with the repo-root .npmrc: npm resolves the project
# config from the *local prefix* and never walks up the directory tree. So the
# root .npmrc does not apply to `cd client && npm install`, nor to
# `npm ci --prefix client` (which is what CI runs) — the local prefix is
# `client/` in both cases. Without this file the guard silently does not hold
# here, which is how a preinstall-hook worm (e.g. the Aug 2026 keyv/cacheable
# compromise) would have gotten a free execution slot.
#
# No client dependency currently needs an install script, so there is nothing to
# rebuild for this workspace (vite 8 dropped the esbuild binary dependency).
ignore-scripts=true

# Deliberately NOT engine-strict (issue #3863). The Node floor lives in
# scripts/checkNodeVersion.js (MIN_NODE) and is mirrored into this workspace's
# `engines` field, but `engine-strict=true` makes npm treat EBADENGINE as fatal
# for *dependencies* too, not just for this project — so one transitive package
# shipping a narrow range breaks `npm install` on a Node the project fully
# supports. That is not hypothetical: jsdom@30 requires
# `^22.22.2 || ^24.15.0 || >=26`, which a supported Node 24.14 fails. PortOS is
# distributed software installed on many machines and Node patch levels, so the
# floor is enforced by `node scripts/checkNodeVersion.js` at the head of the
# root `setup` / `start` / `dev` scripts instead — a check that gates on this
# project's floor and nothing else. `engines` stays for the npm warning and as
# the machine-readable declaration.

# Skip the post-install advisory lookup. npm BLOCKS on it (`fetch-timeout` 300s
# times `fetch-retries` 2), so an endpoint that stalls hangs this workspace's
# install for minutes to print a summary. Same local-prefix rule as above — the
# repo-root file does not cover this workspace's install path.
# Rationale: docs/DEPS.md "Inline Audit Policy".
audit=false