Commit Graph

7 Commits

Author SHA1 Message Date
Colin 305a0ece5e
Add Trivy security scanning to git hooks
ci/woodpecker/push/woodpecker Pipeline was successful Details
- Add mandatory Trivy image scanning to both pre-commit and pre-push hooks
- Remove interactive prompts from install script, add --force flag instead
- Add automatic cleanup of temporary Docker images after scanning
- Check for Docker and Trivy dependencies before running hooks
2026-01-24 09:58:50 -05:00
Colin 4f58b92a31
Fix lockfile-check: use temp dir to avoid node_modules race
ci/woodpecker/push/woodpecker Pipeline failed Details
- Check mode now works in isolated temp directory
- Removed dependency on test step (not needed)
- No longer touches workspace node_modules
2026-01-23 20:09:08 -05:00
Colin b70949e904
Fix lockfile script for Alpine Linux compatibility
ci/woodpecker/push/woodpecker Pipeline failed Details
- Change shebang from bash to sh (POSIX-compliant)
- Auto-detect hash command (sha256sum/shasum)
- Use sh explicitly in CI step
2026-01-23 20:03:54 -05:00
Colin a4b6db6a22
Fix security vulnerabilities and add lockfile refresh automation
ci/woodpecker/push/woodpecker Pipeline failed Details
- Regenerate package-lock.json to apply npm overrides (glob, mime, tar)
- Add refresh-lockfile.sh script for automated lock file management
- Add lockfile-check CI step to catch stale lock files
- Add npm run refresh:lockfile convenience script
2026-01-23 19:58:43 -05:00
Colin ebcb90ca18
Add sitemap.xml generation with MCP discovery endpoint
ci/woodpecker/push/woodpecker Pipeline failed Details
- New build script generates sitemap.xml at build time
- Includes homepage, about page, and /.well-known/mcp.json
- Updated robots.txt to allow crawling of about page and MCP endpoints
- Sitemap encourages search engines to index the MCP discovery path
2026-01-23 09:27:09 -05:00
Colin edc1680f1c
Add unused code/dependency scanning with knip and depcheck
ci/woodpecker/push/woodpecker Pipeline failed Details
Adds automated scanning for unused files, exports, and dependencies:
- New CI step (scan-unused) in Woodpecker pipeline
- Pre-push git hook blocks pushes if unused code detected
- npm scripts: scan:unused, scan:deps
- Config files for knip and depcheck to handle dynamic imports
2026-01-23 09:04:57 -05:00
Colin 618a2c1ff7
Security improvements and local testing scripts
ci/woodpecker/push/woodpecker Pipeline failed Details
- Fix Dockerfile to run as non-root user (node) for security
- Fix phonetic key generator to always start with consonant (test fix)
- Add local security scanning scripts (SBOM, Trivy)
- Update test script to exclude security tests from mocha
- Add npm scripts for security scans
- Update .gitignore for generated files
- Update Woodpecker CI to use modern Trivy syntax and push images
2026-01-21 10:21:55 -05:00