Pulse/scripts/release_control
rcourtman 6340cd36f2 Dedupe internal/api handler families behind shared flows and generics
Clears the sixteen dupl pair groups in internal/api plus the pkg/pulsecli
pair:

- router.go: privileged settings endpoints share the
  serveSetupTokenOrSettingsWrite gate; patrol findings convert via one
  unifiedFindingFromAI; the five infrastructure-summary chart loops share
  collectGuestChartData / fillChartSeriesFromBatch; the VM/LXC workloads
  summary loops share appendGuestWorkloadSummaries.
- deploy_handlers.go: preflight and job status/SSE handlers share
  handleDeployJobStatus / handleDeployJobEvents.
- recovery_handlers.go: points series/facets share
  parseRecoveryListPointsOptions.
- truenas_handlers.go / vmware_handlers.go / router_routes_registration.go:
  the connection update flow (locate, decode-with-fallback, normalize,
  preserve masked secrets, validate, save, redact) moves to the new
  platform_connection_shared.go (updatePlatformConnection +
  decodeOptionalInstanceRequest + the admin-gated item-route builder);
  per-platform wrappers carry nolint'd declarative wiring only.
- docker_metadata.go / guest_metadata.go: GET/PUT payload semantics move
  to metadata_handlers_shared.go; the zero-record-instead-of-404 contract
  is pinned by TestContract_MetadataGetPayloadsUseZeroRecordsInsteadOf404.
- kubernetes_agents.go / docker_agents.go: lifecycle PUTs share
  per-handler action helpers.
- config_node_handlers.go: PBS/PMG probes share
  testProxmoxPlatformConnection.
- cloud_handoff_handlers.go / purchase_return_redemptions.go: secrets
  sqlite stores open through openHardenedSecretsDB so permission
  hardening stays single-sourced.
- ai_handlers.go / chat_service_adapter.go: the GetMessages adapters are
  deliberate contract mirrors — suppressed with nolint and enforced by
  TestOrchestratorAndChatAdaptersMapTheSameMessageFields.
- pkg/pulsecli/actions.go: action subcommands seed env defaults via
  actionAPIDefaults (tested); the audit/events cobra registration pair is
  nolint'd parallel wiring.
- .golangci.yml: exclude gitignored tmp/ from ./... typechecking.
- subsystem_lookup_test.py: refresh the pinned api-contracts.md line
  numbers shifted by the contract additions.

golangci-lint run ./... is now fully green. Full internal/api and
pkg/pulsecli test suites pass.
2026-06-10 10:52:05 +01:00
..
internal Add v5 agent self-update runtime proof 2026-06-03 09:39:25 +01:00
agent_preflight.py Add canonical agent preflight gate 2026-03-20 10:23:29 +00:00
agent_preflight_test.py Fix expired agent_preflight test fixture by using now-relative claim window 2026-05-11 22:57:57 +01:00
ai_runtime_docs_policy_test.py Add resource-context Assistant eval 2026-06-04 18:44:47 +01:00
canonical_completion_guard.py Add release_cycle_artifact_globs so RC ceremony skips contract-update requirement 2026-05-11 22:55:29 +01:00
canonical_completion_guard_test.py Fix PBS backup identity matching 2026-06-03 11:43:20 +01:00
commercial_cancellation_reactivation_proof.py Restore public release proof entrypoints 2026-03-28 17:35:17 +00:00
commercial_cancellation_reactivation_rehearsal.py Restore public release proof entrypoints 2026-03-28 17:35:17 +00:00
contract_audit.py Fix contract audit sibling roots in worktrees 2026-05-13 15:22:33 +01:00
contract_audit_test.py Fix contract audit sibling roots in worktrees 2026-05-13 15:22:33 +01:00
control_plane.py Map legacy stable releases in control plane 2026-04-11 13:23:07 +01:00
control_plane_audit.py feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
control_plane_audit_test.py Map legacy stable releases in control plane 2026-04-11 13:23:07 +01:00
dev_runtime_governance_test.py Harden dev agent deploy SSH host verification 2026-04-22 11:41:50 +01:00
documentation_currentness_test.py Require current release gate runbooks 2026-05-08 01:26:06 +01:00
format_staged_go.py feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
format_staged_go_test.py feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
generate_platform_support_backend_module.py Fix Unraid agent host profile detection 2026-05-08 11:05:14 +01:00
generate_platform_support_frontend_module.py Correct VMware platform readiness classification 2026-05-22 09:13:29 +01:00
governance_stage_guard.py Make billing recovery route-owned and unblock governed commits 2026-04-08 22:11:10 +01:00
governance_stage_guard_test.py Make billing recovery route-owned and unblock governed commits 2026-04-08 22:11:10 +01:00
mobile_relay_auth_approvals_proof.py Restore public release proof entrypoints 2026-03-28 17:35:17 +00:00
paid_feature_claims_proof.py Add paid feature claim proof bundle 2026-04-29 14:18:43 +01:00
proof_entrypoints_test.py Add paid feature claim proof bundle 2026-04-29 14:18:43 +01:00
readiness_assertion_guard.py feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
readiness_assertion_guard_test.py feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
record_rc_to_ga_blocked.py Prepare v6.0.0-rc.4 release packet 2026-05-05 15:32:32 +01:00
record_rc_to_ga_rehearsal.py Govern RC-to-GA rehearsal record capture 2026-04-11 14:08:57 +01:00
registry_audit.py Scrub hook Git env for registry sibling reads 2026-05-13 15:07:17 +01:00
registry_audit_test.py Scrub unproven hook Git environment 2026-05-13 18:20:46 +01:00
relay_registration_reconnect_drain_proof.py Restore public release proof entrypoints 2026-03-28 17:35:17 +00:00
release_promotion_policy_support.py Govern RC-to-GA rehearsal record capture 2026-04-11 14:08:57 +01:00
release_promotion_policy_support_test.py Pin workflow actions and CI image versions 2026-04-22 10:12:15 +01:00
release_promotion_policy_test.py Stabilize v6 release dry-run backend gate 2026-06-03 18:12:42 +01:00
render_release_body.py Support private Pro archive installs 2026-05-07 09:28:38 +01:00
render_release_body_test.py Derive RC packet paths from VERSION + glob to eliminate per-RC test churn 2026-05-11 22:36:03 +01:00
repo_file_io.py Scrub unproven hook Git environment 2026-05-13 18:20:46 +01:00
repo_file_io_test.py Scrub unproven hook Git environment 2026-05-13 18:20:46 +01:00
resolve_release_promotion.py Restore v6 development version semantics 2026-04-04 23:02:58 +01:00
resolve_release_promotion_test.py Prepare v6.0.0 release candidate 2026-06-04 14:07:14 +01:00
ssh_host_key_policy_test.py Harden dev agent deploy SSH host verification 2026-04-22 11:41:50 +01:00
staged_commit_shape_guard.py Add contract-neutral bypass to staged shape guard 2026-04-17 12:24:01 +01:00
staged_commit_shape_guard_test.py Add contract-neutral bypass to staged shape guard 2026-04-17 12:24:01 +01:00
status_audit.py Fix status audit sibling roots in worktrees 2026-05-13 15:40:08 +01:00
status_audit_test.py Fix status audit sibling roots in worktrees 2026-05-13 15:40:08 +01:00
status_lookup.py Promote lane expansion as active v6 target 2026-03-19 09:45:43 +00:00
status_lookup_test.py Add governed action audit preflight 2026-04-25 22:35:19 +01:00
subsystem_contracts.py fix: remediate dependency alerts 2026-04-09 09:35:28 +01:00
subsystem_contracts_test.py fix: remediate dependency alerts 2026-04-09 09:35:28 +01:00
subsystem_lookup.py Govern public v6 preview ops ownership 2026-04-15 09:24:41 +01:00
subsystem_lookup_test.py Dedupe internal/api handler families behind shared flows and generics 2026-06-10 10:52:05 +01:00
work_claim.py Add governed work-claim tooling 2026-03-19 10:06:39 +00:00
work_claim_test.py Add governed work-claim tooling 2026-03-19 10:06:39 +00:00