Skip to content

Decision Dependency Refresh

Reese Hodge edited this page Sep 28, 2026 · 2 revisions

Decision: Dependency Refresh

Context

Max Height depends on fast-moving TypeScript, AWS, and agent tooling. research.md R15 records a dependency refresh to latest stable versions within current majors, while deliberately deferring majors that would destabilize the repo.

This decision implements Concept-Supply-Chain-Discipline: refresh dependencies intentionally, pin exact outcomes, and avoid adopting brand-new tooling only because it exists.

Decision

Refresh dependencies to current stable versions within their existing major lines, while deferring TypeScript 7, pnpm 12, and Node.js 26.

Adopted source values from R15:

Package From To
pnpm 11.0.8 11.24.0
@strands-agents/sdk 1.4.0 1.15.0
zod 4.4.3 4.5.2
aws-cdk-lib 2.265.0 2.267.0
@aws-cdk/aws-bedrock-agentcore-alpha 2.258.0-alpha.0 2.267.0-alpha.0 — removed entirely 2026-09-28, see Decision-AgentCore-Runtime-V2
aws-cdk 2.1136.0 2.1139.0
all @aws-sdk/* 3.1110.0 3.1121.0
@testing-library/jest-dom 6.10.0 7.0.1
jsdom 29.1.1 30.0.1
@types/node 25.9.x 24.13.3
Vite / Vitest / ESLint / Jest / others current installed line latest in-major

Keep Node on 24 LTS and align @types/node to the Node 24 runtime line so types do not expose APIs absent from runtime.

Consequences

The repo stays current without taking unrelated platform risk. This matters for Guide-Local-Setup and Guide-Validation-Gate, because the onboarding path must be dependable.

The refresh also adds supply-chain traps:

  • pnpm 11.24 enforces minimumReleaseAge before resolution.
  • If a lockfile was produced by older pnpm, restore the committed lockfile and re-resolve under pnpm 11.24 instead of patching it by hand.
  • pnpm reads dependency overrides only from pnpm-workspace.yaml.
  • AgentCore package names can go stale: docs/infra-plan.md records @aws/agentcore-cli as renamed/unpublished and current tooling as @aws/agentcore v0.30.0.

Alternatives considered

Alternative Rejected because
TypeScript 7.0.2 The Go-native port lacks the public compiler API needed by typescript-eslint; would break lint until TS 7.1 support.
pnpm 12.1.0 Rust rewrite, opt-in through next-12, not on npm latest; too new for dependable onboarding.
Node.js 26 Current, not LTS at the time of R15; Node 24 remains Active LTS.

Status/verification

Verified against research.md R15, plan.md, and docs/infra-plan.md on 2026-09-26. Before installing or bumping deployment tooling, cross-check Decision-AgentCore-Runtime-V2 because the source set contains intentionally recorded stale package names.

Clone this wiki locally