AC-3: Replace plaintext password prompt with masked reader (promptMasked) that suppresses echo and requires password confirmation. Min-8-char validation is preserved.
AC-4: Add hooksPreviewStage in the wizard (between runtime detection and skills selection) showing each hook event/matcher/command and prompting for user consent. Add mosaic config hooks list|enable|disable for post-install hook management.
AC-5: Add headless install path to runConfigWizard and bootstrapFirstUser, activated by MOSAIC_ASSUME_YES=1 or non-TTY stdin. All required env vars are documented in packages/mosaic/README.md.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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