mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-07-10 00:14:38 +00:00
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. |
||
|---|---|---|
| .. | ||
| internal | ||
| agent_preflight.py | ||
| agent_preflight_test.py | ||
| ai_runtime_docs_policy_test.py | ||
| canonical_completion_guard.py | ||
| canonical_completion_guard_test.py | ||
| commercial_cancellation_reactivation_proof.py | ||
| commercial_cancellation_reactivation_rehearsal.py | ||
| contract_audit.py | ||
| contract_audit_test.py | ||
| control_plane.py | ||
| control_plane_audit.py | ||
| control_plane_audit_test.py | ||
| dev_runtime_governance_test.py | ||
| documentation_currentness_test.py | ||
| format_staged_go.py | ||
| format_staged_go_test.py | ||
| generate_platform_support_backend_module.py | ||
| generate_platform_support_frontend_module.py | ||
| governance_stage_guard.py | ||
| governance_stage_guard_test.py | ||
| mobile_relay_auth_approvals_proof.py | ||
| paid_feature_claims_proof.py | ||
| proof_entrypoints_test.py | ||
| readiness_assertion_guard.py | ||
| readiness_assertion_guard_test.py | ||
| record_rc_to_ga_blocked.py | ||
| record_rc_to_ga_rehearsal.py | ||
| registry_audit.py | ||
| registry_audit_test.py | ||
| relay_registration_reconnect_drain_proof.py | ||
| release_promotion_policy_support.py | ||
| release_promotion_policy_support_test.py | ||
| release_promotion_policy_test.py | ||
| render_release_body.py | ||
| render_release_body_test.py | ||
| repo_file_io.py | ||
| repo_file_io_test.py | ||
| resolve_release_promotion.py | ||
| resolve_release_promotion_test.py | ||
| ssh_host_key_policy_test.py | ||
| staged_commit_shape_guard.py | ||
| staged_commit_shape_guard_test.py | ||
| status_audit.py | ||
| status_audit_test.py | ||
| status_lookup.py | ||
| status_lookup_test.py | ||
| subsystem_contracts.py | ||
| subsystem_contracts_test.py | ||
| subsystem_lookup.py | ||
| subsystem_lookup_test.py | ||
| work_claim.py | ||
| work_claim_test.py | ||