Pulse/scripts
rcourtman 1c2431fcf6 refactor: add mock.env to repository with local override support
Make mock mode configuration part of the repository instead of a local-only
file. This ensures consistent mock mode behavior across all environments
(development, CI/CD, demo server) and makes it work out of the box for
new contributors.

Changes:
- Add mock.env to repository with sensible defaults (mock mode OFF by default)
- Support mock.env.local for personal overrides (gitignored)
- Update .gitignore to allow mock.env but exclude .local variants
- Backend loads mock.env then merges mock.env.local overrides
- hot-dev.sh loads both files in correct order

Benefits:
- New developers can clone and use mock mode immediately
- Demo server gets consistent mock configuration
- Personal preferences stay private in .local file
- No surprises - mock mode disabled by default in fresh clones
- CI/CD can use mock mode without custom configuration

Documentation:
- Updated README.md to explain mock.env is in repo
- Enhanced MOCK_MODE.md with local override instructions
- Updated claude.md with new configuration strategy
- Added mock.env.local.example for quick setup

Example workflow:
  git clone <repo>
  npm run mock:on        # Works immediately with repo defaults
  # Or create personal config:
  cp docs/development/mock.env.local.example mock.env.local
  # Edit mock.env.local with your preferences
2025-10-01 13:38:39 +00:00
..
dev feat: add OIDC single sign-on 2025-09-29 10:22:27 +00:00
systemd feat: add automatic stable update system 2025-08-27 15:37:02 +00:00
.go-version feat: unify styling and improve cluster detection 2025-09-28 18:46:52 +00:00
build-release.sh enhance: improve mock data realism and alert system 2025-09-02 21:11:01 +00:00
dev-hot.sh Align dev ports and improve auto-register UX 2025-09-29 15:05:59 +00:00
hot-dev.sh refactor: add mock.env to repository with local override support 2025-10-01 13:38:39 +00:00
install-go-toolchain.sh feat: unify styling and improve cluster detection 2025-09-28 18:46:52 +00:00
make-tests-safe.sh fix: improve node disk stats reliability when GetNodeStatus fails (addresses #402) 2025-08-31 22:43:32 +00:00
protect-mock-nodes.sh fix: improve node disk stats reliability when GetNodeStatus fails (addresses #402) 2025-08-31 22:43:32 +00:00
pulse-auto-update.sh fix: add missing auto-update script 2025-08-29 20:34:22 +00:00
run-tests-mock.sh fix: improve node disk stats reliability when GetNodeStatus fails (addresses #402) 2025-08-31 22:43:32 +00:00
sync-production-config.sh fix: ensure PULSE_DATA_DIR is exported in dev mode and improve sync validation 2025-10-01 07:33:20 +00:00
take-all-screenshots.js fix: regenerate all screenshots in dark mode 2025-08-04 21:33:39 +00:00
take-screenshots.js perf: optimize mock mode state retrieval and JSON encoding 2025-10-01 13:35:49 +00:00
test-vm-disk.sh docs: fix VM disk monitoring documentation and remove false token limitation claims 2025-09-30 15:14:23 +00:00
toggle-mock-pure.sh fix: replace old PVENodeTable with NodeSummaryTable for correct column ordering 2025-08-29 13:55:53 +00:00
toggle-mock.sh feat: add hot-reloadable mock mode with auto-detection 2025-10-01 13:35:17 +00:00