@@ -330,6 +330,7 @@ async function initializeFramework(targetDir, options) {
330330 console . log ( '' ) ;
331331
332332 // Ask if they want to run a health check
333+ let userChoseSecurityCheckup = false ;
333334 if ( ! options . yes ) {
334335 console . log ( '' ) ;
335336 console . log ( chalk . cyan ( '┌─────────────────────────────────────────────────────────────────┐' ) ) ;
@@ -341,6 +342,7 @@ async function initializeFramework(targetDir, options) {
341342 console . log ( '' ) ;
342343
343344 const runCheckup = await promptConfirmation ( chalk . yellow ( 'Run security checkup? (y/N): ' ) ) ;
345+ userChoseSecurityCheckup = runCheckup ;
344346
345347 if ( runCheckup ) {
346348 console . log ( '' ) ;
@@ -356,13 +358,21 @@ async function initializeFramework(targetDir, options) {
356358 console . log ( chalk . yellow ( '│' ) + ' ask Claude Code: ' + chalk . yellow ( '│' ) ) ;
357359 console . log ( chalk . yellow ( '│' ) + ' ' + chalk . yellow ( '│' ) ) ;
358360 console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' "Please review this codebase and update the CLAUDE.md' ) + ' ' + chalk . yellow ( '│' ) ) ;
359- console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' and CONDUCTOR.md files with the actual project details.' ) + ' ' + chalk . yellow ( '│' ) ) ;
360- console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' Also perform a security health check and list any' ) + ' ' + chalk . yellow ( '│' ) ) ;
361- console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' potential vulnerabilities or concerns (like exposed' ) + ' ' + chalk . yellow ( '│' ) ) ;
362- console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' .env files, API keys in code, missing .gitignore' ) + ' ' + chalk . yellow ( '│' ) ) ;
363- console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' entries, outdated dependencies with known vulnerabilities,' ) + ' ' + chalk . yellow ( '│' ) ) ;
364- console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' or insecure configurations) - just list them as warnings,' ) + ' ' + chalk . yellow ( '│' ) ) ;
365- console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' don\'t fix anything."' ) + ' ' + chalk . yellow ( '│' ) ) ;
361+
362+ if ( userChoseSecurityCheckup && ! options . yes ) {
363+ // User already ran security checkup, so don't include it in the prompt
364+ console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' and CONDUCTOR.md files with the actual project details."' ) + ' ' + chalk . yellow ( '│' ) ) ;
365+ } else {
366+ // User didn't run security checkup OR used --yes flag, so include it in the prompt
367+ console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' and CONDUCTOR.md files with the actual project details.' ) + ' ' + chalk . yellow ( '│' ) ) ;
368+ console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' Also perform a security health check and list any' ) + ' ' + chalk . yellow ( '│' ) ) ;
369+ console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' potential vulnerabilities or concerns (like exposed' ) + ' ' + chalk . yellow ( '│' ) ) ;
370+ console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' .env files, API keys in code, missing .gitignore' ) + ' ' + chalk . yellow ( '│' ) ) ;
371+ console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' entries, outdated dependencies with known vulnerabilities,' ) + ' ' + chalk . yellow ( '│' ) ) ;
372+ console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' or insecure configurations) - just list them as warnings,' ) + ' ' + chalk . yellow ( '│' ) ) ;
373+ console . log ( chalk . yellow ( '│' ) + chalk . cyan ( ' don\'t fix anything."' ) + ' ' + chalk . yellow ( '│' ) ) ;
374+ }
375+
366376 console . log ( chalk . yellow ( '│' ) + ' ' + chalk . yellow ( '│' ) ) ;
367377 console . log ( chalk . yellow ( '│' ) + ' This one-time setup ensures your docs match your project! 🚀 ' + chalk . yellow ( '│' ) ) ;
368378 console . log ( chalk . yellow ( '└─────────────────────────────────────────────────────────────────┘' ) ) ;
@@ -408,6 +418,9 @@ async function animateThankYou() {
408418 console . log ( '' ) ;
409419 console . log ( chalk . gray ( ' Happy documenting with Claude!' ) ) ;
410420 console . log ( '' ) ;
421+ console . log ( chalk . gray ( ' Improved with contributions from our amazing contributors' ) ) ;
422+ console . log ( chalk . gray ( ' See: ' ) + chalk . blue . underline ( 'https://github.com/superbasicstudio/claude-conductor/blob/main/THANKS.md' ) ) ;
423+ console . log ( '' ) ;
411424}
412425
413426async function copyTemplates ( templatesDir , targetPath , force , full = false , newlyCreatedFiles ) {
0 commit comments