Goal / finish line
Root and package manifests carry only dependencies something imports, each duplicate declaration is collapsed to one owner, and every non-caret pin or resolutions/overrides entry has a one-line reason in a DEPENDENCIES.md next to the lockfile.
Acceptance
- Removed:
@types/node-fetch, serve (unused), module-alias plus the _moduleAliases block, root express/@types/express/@types/express-serve-static-core (declared by backend and sync), duplicate posthog-js and tslib at root.
debug:web script and the matching .claude/launch.json entry either work (http-server installed) or are deleted.
@types/node agrees across root/backend/sync/scripts with engines.node >=24; bun-types agrees with packageManager.
DEPENDENCIES.md explains glob@^13, google-auth-library@^10.5.0, gaxios@^7.1.3, typescript@7.0.2, onetime@^5.1.2, and the exact @stripe/* pins, following the style of the two patches/ entries.
bun install --frozen-lockfile succeeds; bun run verify --strict PASS.
Package scope
scripts, core, backend, sync, web
Verify commands
bun install
bun run verify --strict
Approval boundary
allow
Untrusted input
Goal / finish line
Root and package manifests carry only dependencies something imports, each duplicate declaration is collapsed to one owner, and every non-caret pin or
resolutions/overridesentry has a one-line reason in aDEPENDENCIES.mdnext to the lockfile.Acceptance
@types/node-fetch,serve(unused),module-aliasplus the_moduleAliasesblock, rootexpress/@types/express/@types/express-serve-static-core(declared by backend and sync), duplicateposthog-jsandtslibat root.debug:webscript and the matching.claude/launch.jsonentry either work (http-serverinstalled) or are deleted.@types/nodeagrees across root/backend/sync/scripts withengines.node >=24;bun-typesagrees withpackageManager.DEPENDENCIES.mdexplainsglob@^13,google-auth-library@^10.5.0,gaxios@^7.1.3,typescript@7.0.2,onetime@^5.1.2, and the exact@stripe/*pins, following the style of the twopatches/entries.bun install --frozen-lockfilesucceeds;bun run verify --strictPASS.Package scope
scripts, core, backend, sync, web
Verify commands
Approval boundary
allow
Untrusted input