Pulse/scripts
courtmanr@gmail.com ac43506e6e Fix Proxmox registration for host-token installs
The Settings > Infrastructure installer mints generic host install
tokens, but install.sh auto-detects Proxmox and the agent presents type
pve/pbs at /api/auto-register. The bootstrap grant required an exact
install_type match, so every generic install on a Proxmox node was
denied source creation and the denial was a single buried journal warn.

Four-part fix (#1644):
- server: extend the one-shot bootstrap grant to host-issued install
  tokens presenting a canonical Proxmox type. Typed tokens stay pinned,
  the grant keeps its settings-write mint requirement, first-hostname
  binding, serialized completion, and single consumption across types.
- agent: a canRegister=false denial now logs at error level, returns a
  setup error, and records the operator-facing reason in a
  proxmox-<type>-registration-blocked state marker.
- installer: report the Proxmox registration outcome in install output
  by reading the registered/blocked markers, and poll the server lookup
  for a bounded retry window before warning that registration was not
  confirmed (readyz flips before the first report cycle).
- setup script: the auto-register transport now captures the HTTP
  status alongside the body (no -f), making the invalid-setup-token
  branch reachable via 401/403 instead of a dead server-string grep,
  and operator guidance names Settings -> Infrastructure instead of the
  retired Nodes page (also updated in docs/PBS.md and the pinned
  assertions in contract, setup-script, and repoctl docs tests).

Regression proof: internal/api/issue1644_host_install_token_proxmox_test.go
plus new install.sh proofs for the retry window and blocked-marker
surfacing, and the updated hostagent blocked-registration test.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-28 11:21:14 +01:00
..
dev
eval
installtests Fix Proxmox registration for host-token installs 2026-07-28 11:21:14 +01:00
intelligence_lab Document RG-06 autonomy proof runner 2026-07-13 18:32:56 +01:00
lib
lint-fixer
release_control Sync guard test snapshots with newly registered proof files 2026-07-28 11:19:29 +01:00
tests Measure verified telemetry outcomes 2026-07-27 10:15:48 +01:00
.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 Add privacy-safe telemetry lifecycle and outcome signals 2026-07-23 01:10:38 +01:00
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
docker-build.sh
ensure_test_assets.sh
exclusive-lock.mjs
generate-pulse-intelligence-docs.go
generate-release-notes.sh Add in-app release highlights 2026-07-13 18:30:29 +01:00
generate-self-hosted-feature-catalog.go Format generated self-hosted feature catalog with prettier in the generator 2026-07-27 11:58:05 +01:00
generate-types.go
hot-dev-bg.sh
hot-dev.sh Build canonical Patrol attention workbench 2026-07-19 15:11:01 +01:00
install-container-agent.sh Restore Docker agents to Hosts inventory 2026-07-23 22:06:56 +01:00
install-docker.sh Prepare v6.2.0-rc.1 release 2026-07-27 14:08:29 +01:00
install-go-toolchain.sh
install-mcp.ps1
install-mcp.sh
install.ps1 Align Windows agent state with the installer 2026-07-19 19:41:57 +01:00
install.sh Fix Proxmox registration for host-token installs 2026-07-28 11:21:14 +01:00
package-helm-chart.sh
patrol_e2e_matrix.sh
pulse-auto-update.sh Fix auto-update leaving service down after installer failure 2026-07-27 09:38:37 +01:00
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
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 Measure verified telemetry outcomes 2026-07-27 10:15:48 +01:00
test-vm-disk.sh
toggle-mock.sh
trigger-release-dry-run.sh Record v6.1.0 unsigned Windows exception 2026-07-22 15:37:48 +01:00
trigger-release.sh Record v6.1.0 unsigned Windows exception 2026-07-22 15:37:48 +01:00
trigger-stable-patch.sh Fix stable patch workflow dispatch input types 2026-07-23 13:31:31 +01:00
uninstall-sensor-proxy.sh
validate-published-release.sh
validate-release.sh