@webpresso/agent-kit@0.7.3
Patch Changes
-
f043257: Stop
ak setup --overwritefrom clobbering consumer-owned.gitignore
andpnpm-workspace.yaml.Both files are now treated as bootstrap-only by the base-kit
scaffolder: written from the catalog template only when absent, never
overwritten once they exist (not even under--overwrite).These are consumer-owned config that grow with project-specific content
the generic template can't reproduce — catalog entries referenced by
pnpm.overrides, monorepo-specific ignore patterns for generated
artifacts, etc. Re-templating them on every postinstall silently
deletes that content.Verified failure mode (webpresso/monorepo, 2026-05-07):
ak setup --overwriterunning as 0.7.x postinstall reduced
pnpm-workspace.yamlfrom 221 lines (full catalog) to 34 lines
(generic template), removing every catalog entry referenced by
pnpm.overridesand making the nextpnpm installfail with
ERR_PNPM_CATALOG_IN_OVERRIDES. The same overwrite stripped
monorepo-specific.gitignorerules and unmasked 23k+ generated
artifacts to git status.The other base-kit templates (
.husky/*,.editorconfig,
.secretlintrc.json,commitlint.config.ts,
.github/workflows/ci.webpresso.yml) keep their existing
writeFileMergedbehavior — they're agent-kit-versioned configs where
overwrite-on-update is the right semantic.