mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-21 05:30:35 +00:00
The mock:on and mock:off scripts used GNU 'sed -i' syntax, which fails on the default macOS BSD sed. The '||' fallback then appended a fresh PULSE_MOCK_MODE line on every invocation, so a local .env accumulated three contradictory entries. They also targeted the repo-root .env, which hot-dev.sh does not consult when choosing the data directory. hot-dev.sh reads the canonical flag from tmp/dev-config/.env, written authoritatively by toggle-mock.sh. The npm wrappers were therefore a no-op that corrupted .env as a side effect, while leaving the operator believing mock mode had switched. Point them at toggle-mock.sh, which handles BSD sed, writes the canonical file, syncs the runtime env and restarts the managed runtime. Add mock:status and mock:edit; the hot-dev startup banner already advertised 'npm run mock:edit', which did not exist. Extend the deployment-installability contract to cover the mock wrappers alongside the existing repo-root dev entry rules, and add a regression test asserting the wrappers delegate rather than rewriting the flag inline, and that every mock command named in the hot-dev banner exists. |
||
|---|---|---|
| .. | ||
| dev | ||
| eval | ||
| installtests | ||
| intelligence_lab | ||
| lib | ||
| lint-fixer | ||
| release_control | ||
| tests | ||
| .go-version | ||
| audit-private-boundary.sh | ||
| backfill-release-assets.sh | ||
| build-release.sh | ||
| bundle.manifest | ||
| bundle.sh | ||
| check-bench-regression.sh | ||
| check-workflow-dispatch-inputs.py | ||
| check_telemetry_schema_parity.py | ||
| clean-mock-alerts.sh | ||
| cleanup.sh | ||
| cloud-backup.sh | ||
| com.pulse.hot-dev.plist.template | ||
| conformance-smoke.sh | ||
| demo_public_browser_smoke.cjs | ||
| dev-check.sh | ||
| dev-deploy-agent.sh | ||
| dev-launchd-setup.sh | ||
| dev-launchd-wrapper.sh | ||
| dev-prepush.sh | ||
| docker-build.sh | ||
| ensure_test_assets.sh | ||
| exclusive-lock.mjs | ||
| generate-pulse-intelligence-docs.go | ||
| generate-release-notes.sh | ||
| generate-self-hosted-feature-catalog.go | ||
| generate-types.go | ||
| hot-dev-bg.sh | ||
| hot-dev.sh | ||
| install-container-agent.sh | ||
| install-docker.sh | ||
| install-go-toolchain.sh | ||
| install-mcp.ps1 | ||
| install-mcp.sh | ||
| install.ps1 | ||
| install.sh | ||
| package-helm-chart.sh | ||
| patrol_e2e_matrix.sh | ||
| pulse-auto-update.sh | ||
| release_asset_common.sh | ||
| release_candidate_manifest.py | ||
| release_ldflags.sh | ||
| release_update_key.go | ||
| remerge-parallel.sh | ||
| render_installers.go | ||
| repo-boundary-paid-surface.allowlist | ||
| repo-boundary-private-implementation.baseline | ||
| run_cloud_public_signup_smoke.sh | ||
| run_demo_public_browser_smoke.sh | ||
| run_hosted_staging_smoke.sh | ||
| session-handoff.sh | ||
| standalone.manifest | ||
| sync-production-config.sh | ||
| sync_chart_release_metadata.py | ||
| telemetry_adoption_report.py | ||
| test-vm-disk.sh | ||
| toggle-mock.sh | ||
| trigger-release-dry-run.sh | ||
| trigger-release.sh | ||
| trigger-stable-patch.sh | ||
| uninstall-sensor-proxy.sh | ||
| validate-published-release.sh | ||
| validate-release.sh | ||