Skip to content

0013: Keep tool versions and deploy settings in the repository ​

Status: accepted

Date: 2026-12-05

PR: #22

Context ​

Different places held the versions of Vale and Node.js and the Vercel build settings. CI installed Vale, but no step installed it on a developer machine. CI used Node.js 24, but Vercel selected Node.js 26 because the repository did not name a version. The Vercel build settings were only in the Vercel project settings. The two docs sites failed to deploy because of these differences. The human asked how to make sure that Vale, Vercel and the other tools that the repository needs are always available.

Options considered ​

  • Only the Vercel project settings hold the build settings, and a table in knowledge/deployment.md records them. This state let both sites fail to deploy.
  • A Vercel CLI token in a GitHub secret, for runs without a human: deferred until a run needs it.

Decision ​

The repository holds the version of each tool and the build settings of each site.

  • The root package.json holds the Node.js version in engines.node and volta.node, and the Vale version in config.vale.
  • Each workflow reads the Node.js version from package.json.
  • The Commits workflow reads the Vale version from package.json.
  • Each docs site holds its Vercel build settings in vercel.json and its Node.js version in engines.node.
  • The doctor check finds a missing tool or setting. It runs from npm run doctor, at the start of each Claude Code session and in CI.

Consequences ​

A developer machine, CI and Vercel use the same versions and settings. A change to a version or a setting is a change to a file, so each change needs a pull request. The Vercel Root Directory stays in the Vercel project settings, because vercel.json cannot hold it. The doctor check cannot see the Vercel connector, so the deployment-manager agent checks that the connector is available.

Code ​