Appearance
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.mdrecords 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.jsonholds the Node.js version inengines.nodeandvolta.node, and the Vale version inconfig.vale. - Each workflow reads the Node.js version from
package.json. - The
Commitsworkflow reads the Vale version frompackage.json. - Each docs site holds its Vercel build settings in
vercel.jsonand its Node.js version inengines.node. - The
doctorcheck finds a missing tool or setting. It runs fromnpm 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
package.jsonknowledge/package.jsonknowledge/vercel.jsonproducts/docs/package.jsonproducts/docs/vercel.json.github/workflows/commits.yml.github/workflows/docs.yml.github/workflows/pr-summary.yml.github/workflows/prisk.ymltools/doctor/doctor.tstools/doctor/cli.ts.claude/settings.json.agents/skills/deployment-manager/SKILL.md