feat: wizard remediation — password mask, hooks preview, headless (IUH-M02) #431
Reference in New Issue
Block a user
Delete Branch "feat/wizard-remediation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
promptMasked) that suppresses echo and requires password confirmation. Min-8-char validation is preserved.hooksPreviewStagein the wizard (between runtime detection and skills selection) showing each hook event/matcher/command and prompting for user consent. Addmosaic config hooks list|enable|disablefor post-install hook management.runConfigWizardandbootstrapFirstUser, activated byMOSAIC_ASSUME_YES=1or non-TTY stdin. All required env vars are documented inpackages/mosaic/README.md.Test plan
pnpm --filter @mosaicstack/mosaic lint— passes (0 errors)pnpm --filter @mosaicstack/mosaic typecheck— no new errors (pre-existing@mosaicstack/brainetc. module errors unchanged)pnpm format:check— passespnpm --filter @mosaicstack/mosaic test— 20 spec files pass (185 tests), 1 pre-existing failure (cli-smoke.spec.ts) unchangedmasked-prompt.spec.ts(3 tests),hooks-preview.spec.ts(6 tests),config.spec.tsextended (+8 tests for hooks subcommands)mosaic gateway installwithMOSAIC_ASSUME_YES=1and required env vars set — completes without promptsmosaic wizardwith Claude detected — shows hooks preview stagemosaic config hooks list— shows installed hooks tableCloses #426
🤖 Generated with Claude Code
d5d7a9ab43toeca863b282