CI now runs a series of fail-fast checks. When one of them fails, look for the matching error message below.
Workspace protocol validation failed
Symptom
Workspace protocol validation failed: @aligntrue/core version is "^0.2.0".Fix
- Run
pnpm validate:workspacelocally. - Update the dependency to
workspace:*in the referencedpackage.json. - Re-run
pnpm install && pnpm build:packages.
Workspace link verification failed
Symptom
Workspace link verification failed: @aligntrue/cli → /node_modules/.pnpm/...Fix
- Ensure you ran
pnpm installafter switching branches. - If links still resolve to
.pnpm, runpnpm clean && pnpm install. - Re-run
pnpm verify:workspace-links.
Version mismatch during prepublish
Symptom
Versions must match across all workspace packages.Fix
- Run
pnpm prepublish:checklocally; it prints every mismatched package. - Bump all packages to the same version (for example, 0.2.0) before releasing.
Type mismatch after renaming formats
Symptom
TS2322: Type '"agents"' is not assignable to type '"agents-md"'.Fix
- Ensure packages were rebuilt:
pnpm build:packages. - Run
pnpm validate:workspaceandpnpm verify:workspace-links. - If CI still fails, run
pnpm clean && pnpm installto refresh workspace links.
Last updated on