dev-typescript · git:20260915.3d7652b · 2026-09-15 · sha256 26117ed8e7d2b929

dev-typescript git:20260915.3d7652bA

Immutable. This exact content is served forever at /api/v1/blob/26117ed8e7d2b929.

---
name: dev-typescript
description: "Use when an authorized non-browser TypeScript or JavaScript change is needed for Node.js, Bun, or Deno; not for frontend UI, audit/review-only work, or Git delivery."
---

# TypeScript Implementation

## Entry Gate

Implement the smallest authorized non-browser source slice in the repository's actual runtime and package-manager contract. Read effective guidance, identify the owning root and current basis, and stop if a decisive contract cannot be resolved.

## Route Map

| Request condition | Read | Result |
| --- | --- | --- |
| Any source change | [checklist](references/checklist.md) | Scoped implementation and credible validation |
| Node, Bun, Deno, ESM/CJS, package or runtime choice applies | [runtime profiles](references/runtime-profiles.md) | Runtime-compatible change |
| Public seam/testable behavior applies | [behavior first](references/behavior-first.md) | Bounded behavior evidence |
| Module/API design or quality risk applies | [codebase design](references/codebase-design.md) and/or [code quality](references/code-quality.md) | Reuse and maintainability decision |
| Cross-boundary signals apply | [project grounding](references/project-grounding.md) | Qualified boundary evidence |

## Invariants

- Preserve existing runtime, package manager, module, source, and test owners; do not add a parallel stack.
- Keep source, static, build, runtime, artifact, and deployment claims separate.
- Do not implement browser UI, review, stage/commit/push, or infer unresolved behavior.

## Output Map

Report scope, authoritative inputs, runtime/profile, reuse decision, changed files, focused validation, Worktree drift, exclusions, and `Not verified` gaps.

## Reference Map

- Read [checklist](references/checklist.md) for the baseline workflow and stop conditions.
- Read [runtime profiles](references/runtime-profiles.md) only for runtime/package concerns.
- Read [behavior first](references/behavior-first.md), [codebase design](references/codebase-design.md), [code quality](references/code-quality.md), and [project grounding](references/project-grounding.md) only when their condition applies.
- Read [usage](references/usage.md) for triggers and nearest boundaries.
- Maintainers only: read [eval cases](references/eval-cases.md); do not load it during ordinary runtime.