Part of #253. Blocked by step 1.
Goal
Codify the canonical deno.json shape derived from oikos Phase 5 + 5 follow-ups (MERGED) so that all downstream physical migrations (STEPs 3-7) follow a single, documented template. Also: re-run the manifest inventory using the umbrella's documented exclude set, since a fresh find on 2026-05-30 disagrees with the umbrella's snapshot.
Prior art — Deno-native invocation pattern
From oikos Phase 5 follow-ups (memory: session_2026_05_28_oikos_phase5_follow_ups.md), the canonical Deno-native pattern for invoking a previously-npm-shipped tool is:
deno run -A --allow-scripts=npm:rescript npm:rescript@^12.0.0
This pattern generalises: invoke npm-published tools through npm:<pkg>@<semver> specifiers with explicit --allow-scripts= when the tool's install lifecycle requires it. Document this pattern as the default for any npm tool that hasn't been ported to a native Deno equivalent.
Inventory reconciliation (acceptance-blocking)
The umbrella body cites 172 package.json manifests post-excludes. A fresh find on 2026-05-30 with looser excludes returned 437. The umbrella's documented exclude set is:
hyperpolymath-archive/**
**/deps/**, **/node_modules/**
- upstream forks (
rescript/, servers/, repos-monorepo/, linguist/)
Acceptance criterion: re-run the inventory with the documented exclude set, record the actual count, and update the umbrella body (or file a correction issue) so STEPs 3-7 batch sizing is grounded in the true number. If the count is materially different (>10% drift), revisit the STEP 3/4/5 batch ordering.
Audit deliverables
standards/docs/migrations/npm-to-deno-template/deno.json — canonical shape (imports map, tasks, lint, fmt, exclude)
standards/docs/migrations/npm-to-deno-template/MIGRATION.md — per-file migration recipe (package.json → deno.json, npm scripts → deno tasks, .gitignore changes, CI workflow swaps)
- Documented exception cases derived from oikos PRs (5 follow-ups worth of lessons)
- Refreshed inventory TSV at
~/Documents/npm-to-deno-inventory-2026-05-30.tsv with <count>\t<repo>\t<manifest-path> columns
Acceptance
- Template files merged into
standards/docs/migrations/npm-to-deno-template/
- Inventory re-run produces accurate count; umbrella body updated if drift
- Deno-native invocation pattern documented as default
- All 5 oikos follow-up PRs cross-referenced in MIGRATION.md
Sequencing
Blocked by: STEP 1 (policy gate live before authoring conversion template).
Blocks: STEP 3, 4, 5, 6, 7 (all physical migrations need template + accurate inventory).
Part of #253. Blocked by step 1.
Goal
Codify the canonical deno.json shape derived from
oikosPhase 5 + 5 follow-ups (MERGED) so that all downstream physical migrations (STEPs 3-7) follow a single, documented template. Also: re-run the manifest inventory using the umbrella's documented exclude set, since a freshfindon 2026-05-30 disagrees with the umbrella's snapshot.Prior art — Deno-native invocation pattern
From
oikosPhase 5 follow-ups (memory:session_2026_05_28_oikos_phase5_follow_ups.md), the canonical Deno-native pattern for invoking a previously-npm-shipped tool is:This pattern generalises: invoke npm-published tools through
npm:<pkg>@<semver>specifiers with explicit--allow-scripts=when the tool's install lifecycle requires it. Document this pattern as the default for any npm tool that hasn't been ported to a native Deno equivalent.Inventory reconciliation (acceptance-blocking)
The umbrella body cites 172
package.jsonmanifests post-excludes. A freshfindon 2026-05-30 with looser excludes returned 437. The umbrella's documented exclude set is:hyperpolymath-archive/****/deps/**,**/node_modules/**rescript/,servers/,repos-monorepo/,linguist/)Acceptance criterion: re-run the inventory with the documented exclude set, record the actual count, and update the umbrella body (or file a correction issue) so STEPs 3-7 batch sizing is grounded in the true number. If the count is materially different (>10% drift), revisit the STEP 3/4/5 batch ordering.
Audit deliverables
standards/docs/migrations/npm-to-deno-template/deno.json— canonical shape (imports map, tasks, lint, fmt, exclude)standards/docs/migrations/npm-to-deno-template/MIGRATION.md— per-file migration recipe (package.json → deno.json, npm scripts → deno tasks, .gitignore changes, CI workflow swaps)~/Documents/npm-to-deno-inventory-2026-05-30.tsvwith<count>\t<repo>\t<manifest-path>columnsAcceptance
standards/docs/migrations/npm-to-deno-template/Sequencing
Blocked by: STEP 1 (policy gate live before authoring conversion template).
Blocks: STEP 3, 4, 5, 6, 7 (all physical migrations need template + accurate inventory).