Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Prepare v6.0.0-rc.5 release packet

rcourtman366bf8d12775
diff --git a/VERSION b/VERSION
index 4c8e522aaf..436f70dc3b 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-6.0.0-rc.4
+6.0.0-rc.5
diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md
index af9f606b62..69ff5cabf5 100644
--- a/docs/RELEASE_NOTES.md
+++ b/docs/RELEASE_NOTES.md
@@ -16,7 +16,12 @@ For the historical shipped v6 `rc.1` packet, see:
- `docs/releases/V6_CHANGELOG_RC1.md`
- `docs/releases/V6_RC_OPERATOR_SUPPORT_PACK.md`
-For the current in-repo v6 `rc.4` draft packet, see:
+For the current in-repo v6 `rc.5` draft packet, see:
+- `docs/releases/RELEASE_NOTES_v6_RC5_DRAFT.md`
+- `docs/releases/V6_CHANGELOG_RC5_DRAFT.md`
+- `docs/releases/V6_RC5_OPERATOR_SUPPORT_PACK_DRAFT.md`
+
+For the historical in-repo v6 `rc.4` draft packet, see:
- `docs/releases/RELEASE_NOTES_v6_RC4_DRAFT.md`
- `docs/releases/V6_CHANGELOG_RC4_DRAFT.md`
- `docs/releases/V6_RC4_OPERATOR_SUPPORT_PACK_DRAFT.md`
diff --git a/docs/UPGRADE_v6.md b/docs/UPGRADE_v6.md
index da2e675a9d..c7a6b79afc 100644
--- a/docs/UPGRADE_v6.md
+++ b/docs/UPGRADE_v6.md
@@ -9,9 +9,9 @@ For current stable release notes and rollout references, see:
For the current v6 prerelease packet, see:
-- `docs/releases/RELEASE_NOTES_v6_RC4_DRAFT.md`
-- `docs/releases/V6_CHANGELOG_RC4_DRAFT.md`
-- `docs/releases/V6_RC4_OPERATOR_SUPPORT_PACK_DRAFT.md`
+- `docs/releases/RELEASE_NOTES_v6_RC5_DRAFT.md`
+- `docs/releases/V6_CHANGELOG_RC5_DRAFT.md`
+- `docs/releases/V6_RC5_OPERATOR_SUPPORT_PACK_DRAFT.md`
## Before You Upgrade
diff --git a/docs/release-control/v6/internal/records/rc-to-ga-promotion-readiness-blocked-2026-04-04.md b/docs/release-control/v6/internal/records/rc-to-ga-promotion-readiness-blocked-2026-04-04.md
index 499e3f3c7a..aa5fbc1f56 100644
--- a/docs/release-control/v6/internal/records/rc-to-ga-promotion-readiness-blocked-2026-04-04.md
+++ b/docs/release-control/v6/internal/records/rc-to-ga-promotion-readiness-blocked-2026-04-04.md
@@ -8,25 +8,22 @@
1. The latest shipped Pulse v6 prerelease tag is `v6.0.0-rc.4`.
2. That shipped prerelease tag resolves to commit `4aa91f6af37be08c93ff19e44f307735d1b9cb70`.
-3. The selected remote ref `origin/pulse/v6-release` is still behind the current
- local governed branch state, so `Release Dry Run` would exercise stale remote
- control-plane metadata instead of the intended candidate.
-4. The governed release profile in `docs/release-control/control_plane.json`
+3. The governed release profile in `docs/release-control/control_plane.json`
currently declares both `prerelease_branch` and `stable_branch` as
`pulse/v6-release`.
-5. The active control-plane target is still `v6-product-lane-expansion`, not
+4. The active control-plane target is still `v6-product-lane-expansion`, not
`v6-ga-promotion`.
-6. The active local `pulse/v6-release` branch currently reports `VERSION=6.0.0-rc.4`, so the
+5. The active local `pulse/v6-release` branch currently reports `VERSION=6.0.0-rc.5`, so the
working line is still prerelease and there is not yet a governed local stable
`6.0.0` candidate.
-7. There is still no governed `Prerelease-to-GA Rehearsal Record` proving a successful
+6. There is still no governed `Prerelease-to-GA Rehearsal Record` proving a successful
non-publish `Release Dry Run` for the eventual stable `6.0.0` candidate.
-8. `docs/releases/RELEASE_NOTES_v6.md` and
+7. `docs/releases/RELEASE_NOTES_v6.md` and
`docs/release-control/v6/internal/V5_MAINTENANCE_SUPPORT_POLICY.md` now carry the
currently proposed exact dates for the eventual GA notice:
- `v6` GA date: `2026-04-20`
- `v5` end-of-support date: `2026-07-19`
-9. There is still no governed `Release Dry Run` artifact or rehearsal record
+8. There is still no governed `Release Dry Run` artifact or rehearsal record
exercising stable inputs for:
- `version=6.0.0`
- `promoted_from_tag=v6.0.0-rc.4`
@@ -43,7 +40,7 @@
The blocker is no longer missing governance text. The remaining problem is that
the control plane still holds v6 on the pre-GA prerelease line, the working
-version is still prerelease (`6.0.0-rc.4`), and there is still no exercised
+version is still prerelease (`6.0.0-rc.5`), and there is still no exercised
`Release Dry Run` record proving the eventual stable `6.0.0`
candidate is ready for GA-style promotion. Until that rehearsal exists, stable
users would still be the first real cohort for the final promotion path.
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index 6503ad2d58..3f69812952 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -174,7 +174,7 @@ server-side update execution surfaces.
operator support packet must describe that same candidate instead of leaving
the branch on a newer version string while the in-repo packet still speaks
for an older RC.
- Later corrective RCs such as `rc.3` and `rc.4` must also carry the live stable
+ Later corrective RCs such as `rc.3`, `rc.4`, and `rc.5` must also carry the live stable
rollback target and any prerelease trust-root continuity caveat in the
current release notes, changelog, operator support pack, upgrade guide, and
release-control evidence record before the release workflow is dispatched.
diff --git a/docs/releases/RELEASE_NOTES_v6_RC5_DRAFT.md b/docs/releases/RELEASE_NOTES_v6_RC5_DRAFT.md
new file mode 100644
index 0000000000..eb088370a5
--- /dev/null
+++ b/docs/releases/RELEASE_NOTES_v6_RC5_DRAFT.md
@@ -0,0 +1,245 @@
+# Pulse v6.0.0-rc.5 Draft Release Notes
+
+_Draft only. Do not treat this as published until the governed
+`v6.0.0-rc.5` tag and GitHub prerelease exist._
+
+`v6.0.0-rc.5` is a feature-bearing RC after the published `rc.4`
+prerelease. Pulse v5.1.29 remains the current stable line.
+
+The purpose of this RC is to carry the latest post-`rc.4` release-branch
+work into a retestable v6 candidate:
+
+- the new agent-substrate HTTP contract gives external agents the same
+ situated context Patrol and Assistant have, with worked examples in
+ `cmd/pulse-mcp` (MCP adapter) and `cmd/agent-probe` (plain HTTP)
+- Patrol findings evolve into a proactive Pulse Intelligence surface with
+ in-place verbs (Investigate, Why, Verify fix, Create rule, Mark
+ resolved), structured investigation records that carry operator-facing
+ Impact and rollback, and a first-class resolved-finding lifecycle
+- a new resource operator-state foundation lets operators record
+ per-resource intent (intentionally offline, do-not-remediate,
+ maintenance window, criticality), and Patrol plus action dispatch honor
+ it
+- action governance fails closed on plan-hash drift, runs class-derived
+ post-dispatch verification, redacts known secret shapes from the audit
+ log, and authors per-command-class preflight context for approval
+ review
+- the AI reporting engine gets a real narrative layer (per-tenant, fleet
+ level, cost-tracked) and is exposed to Assistant through
+ `pulse_summarize`
+- agentless availability probes let Pulse monitor network-reachable
+ services without an installed Pulse Agent
+- an accessibility sweep across roughly fifteen surfaces (keyboard
+ reachability, screen-reader announcements, WCAG AA muted text, focus
+ indicators)
+- DeepSeek V4 Patrol support including tool-turn coercion and direct
+ DeepSeek model selection
+- platform identity, cluster, and infrastructure-presentation work for
+ Proxmox VE, PBS, PMG, and Unraid agent hosts
+- a sizable alerts-manager refactor (decomposition only, no API change)
+
+This packet was audited against `426` commits in the exact code-backed
+`rc.4` to `rc.5` pre-publication validation range, from the published
+`v6.0.0-rc.4` tag commit `4aa91f6af37be08c93ff19e44f307735d1b9cb70` through
+validation-risk commit `52416cec6fdb42c0bf753d52ad870f4dfede5e1e`. That
+range covers 687 files changed, 84642 insertions, 16632 deletions, and
+includes the agent-substrate, Patrol intelligence, operator-state,
+action-governance, AI reporting, availability-probe, accessibility,
+DeepSeek V4, platform-identity, and alerts-decomposition work, plus the
+RC5 packet and release-validation commits.
+
+## Support Stance
+
+- Pulse v5.1.29 remains the current stable line.
+- Pulse v6 `rc.5` is still an opt-in evaluation build, not the default
+ production recommendation.
+- Existing v5 users should still prefer staging, lab, or otherwise
+ controlled evaluation first.
+- Hosts already pinned to the historical `rc.2` update trust root should
+ not assume unattended auto-update continuity into later prerelease or
+ GA builds. Use a manual reinstall or an explicit trust migration path
+ for `rc.5`.
+- The stable rollback target for this candidate is `v5.1.29`:
+ `./scripts/install.sh --version v5.1.29`
+
+## What Changed Since `rc.4`
+
+### Agent Substrate (External Agents Get The Same Context Patrol Has)
+
+Pulse v6 now exposes a stable HTTP contract for external agents:
+`/api/agent/capabilities` for discovery, `/api/agent/resource-context/{id}`
+for one-resource depth, `/api/agent/fleet-context` for org-wide breadth,
+and `/api/agent/events` for SSE-to-MCP realtime notifications. The
+operator-state and action-governance write surfaces round out the
+contract. Two worked examples ship: `cmd/agent-probe` (plain HTTP) and
+`cmd/pulse-mcp` (MCP adapter wrapping the same substrate). Stable token
+prefixes like `plan_drift:` and `resource_remediation_locked:` reach the
+wire verbatim so agents branch on codes, not human text. See
+`docs/AGENT_SUBSTRATE.md` for the arc summary.
+
+### Patrol As A Pulse Intelligence Surface
+
+Patrol findings now carry the verbs operators need in-place: Investigate,
+Why, Verify fix, Create rule from this, Explain, Mark resolved, Copy
+summary. Per-finding action areas are grouped into semantic clusters, and
+the row carries regression-count, investigation confidence, post-dispatch
+verification outcome, and trust metrics at a glance. The page header
+surfaces overall trust state, verified-resource coverage, and the
+recommended next step. Resolved findings now have a first-class
+lifecycle: server-side loading on the Resolved and All tabs,
+include-resolved persisting across polling, manual Mark resolved
+attributed to the operator, and `patrol_resolve_finding` failing closed
+when the deterministic verifier is inconclusive on event findings.
+Legacy "Active alert detected" mirror findings are retired.
+
+Patrol investigation records are structured: each carries an
+operator-facing Impact statement, aggregated rollback steps lifted from
+the remediation plan, and previous resolved-fix context that survives
+regressions.
+
+### Resource Operator State And Maintenance Windows
+
+A new resource operator-state foundation:
+
+- `/api/resources/{id}/operator-state` GET / PUT / DELETE
+- intentionally-offline, do-not-auto-remediate, maintenance-window, and
+ criticality intent
+- maintenance-window scheduler in the resource detail drawer
+- new findings on intentionally-offline resources auto-acknowledge
+- new findings during an operator-set maintenance window auto-acknowledge
+- operator-state-suppressed findings skip autonomous investigation, then
+ wake when the suppression lifts
+- action dispatch refuses when a resource is operator-locked against
+ remediation, with the refusal recorded in the action audit
+
+### Action Governance Hardening
+
+- approved plan-hash drift refuses dispatch and persists a refused audit
+ record
+- a class-derived verification check runs after successful dispatch and
+ the outcome is rendered on action history rows
+- per-command-class preflight context is authored for approval review,
+ including a new Proxmox VM/CT lifecycle preflight
+- known secret shapes are redacted from action-audit log persistence
+- the `action.completed` SSE payload now surfaces action verification
+
+### AI Reporting Gets A Real Narrative Layer
+
+The reporting engine now has a real narrative layer: an optional
+AI-generated report path, fleet-level AI narrative for multi-resource
+reports, per-tenant narrators threaded into `pulse_summarize` via the
+chat session, cost recording on chat and report narration, and structured
+telemetry on reporting and summarize invocations. The detection-boundary
+invariant is documented: report narrators are not parallel detectors.
+
+### Agentless Availability Probes
+
+Pulse can now monitor network-reachable services without an installed
+Pulse Agent through agentless availability targets. The poller,
+configuration, API handlers, and mock fixtures (including an ESPHome
+example) ship in this RC, with probe evidence surfaced on infrastructure
+rows.
+
+### Accessibility
+
+A focused accessibility pass across roughly fifteen surfaces: skip-to-
+content, keyboard-reachable tabs/cells/rows, screen-reader announcements
+across login, AI settings, K8s namespaces, PMG, ProLicense activation,
+toasts, DataHandlingPanel, and Alerts; labeled icon-only buttons; form
+controls labeled rather than placeholder-only; decorative dashes hidden
+from screen readers; light-mode muted text raised to WCAG AA; focus
+indicator restored on FilterBar search inputs; `document.title` reflects
+the active tab and PageHeader.
+
+### DeepSeek V4
+
+Direct DeepSeek Patrol models stay selectable, V4 defaults are aligned,
+V4 multi-turn tool calls are supported, `tool_choice` is coerced to
+`auto` so Patrol stops failing on providers that reject other values, the
+over-greedy "tools not supported" classifier is split into three
+distinct causes, and double-pipe DeepSeek DSML tool-call markers are
+sanitised in chat.
+
+### Platform Identity, Cluster, And Infrastructure
+
+Hybrid-source platform version precedence is pinned with dual-source
+identity guardrails. Agent host profile detection covers Proxmox VE,
+PBS, PMG, and Unraid. The cluster source badge aggregates across attached
+agents, cluster member rows are clarified, the cluster deploy banner
+hides on offline PVE nodes and now reads "ready for Pulse Agent" rather
+than "unmonitored", and PVE version detection on agent hosts is fixed.
+Silent fingerprint loss for LXC and VMs is fixed. PBS poll failures are
+attributed and locked down with regression tests.
+
+### Self-Hosted Licensing Continuity Carries Through
+
+The `rc.4` self-hosted licensing posture stands unchanged in `rc.5`:
+monitored-system and child-resource volume are not metered in the current
+public self-hosted plans, continuity paths do not write raw monitored-
+system caps back into runtime state, Relay remains secure remote access
+to the Pulse web UI, Pulse Mobile pairing for handoff, push
+notifications, and 14-day history, and Pro remains Relay plus AI
+operations, automation, advanced admin features, and 90-day history.
+
+### Refactor And Runtime Stability
+
+A multi-commit alerts-manager decomposition splits the manager into
+per-checker and per-runtime modules with no public-API change.
+Self-hosted startup web-listener fails fast on configuration errors,
+OpenAI incomplete SSE streams fail closed, audit-list 500s log the
+underlying error, SSHSIG is verified on in-app update artifacts, the v6
+demo release signing key deployment is fixed, and the patrol-main
+session is bounded at 200 messages to stop unbounded disk growth.
+
+## What Existing v5 Users Should Re-Test In `rc.5`
+
+1. Server upgrade from the current v5 stable line to v6, including the
+ manual or explicit trust-migration path needed for builds after
+ `rc.2`.
+2. Fresh Proxmox LXC install and rollback to v5.1.29.
+3. The new `/api/agent/*` substrate from an external HTTP or MCP client.
+4. Patrol findings with the new in-place verbs and the Resolved tab,
+ including the auto-acknowledge behavior on intentionally-offline and
+ maintenance-window resources.
+5. Resource operator-state writes through the resource detail drawer and
+ action dispatch refusal against an operator-locked resource.
+6. AI reporting with the new narrative layer in scheduled reports and
+ through `pulse_summarize` from Assistant.
+7. Agentless availability targets and the infrastructure-row evidence.
+8. Keyboard navigation and screen-reader announcements across the
+ refreshed surfaces.
+9. DeepSeek V4 in Patrol, including direct DeepSeek model selection and
+ multi-turn tool calls.
+10. Platform identity on agent-hosted Proxmox VE, PBS, PMG, and Unraid
+ hosts, plus the aggregated cluster source badge.
+11. Release asset download, checksum/signature, installer, and draft-
+ release validation paths before broader retesting.
+
+## Feedback
+
+Use the `Pulse v6 pre-release feedback` issue template for regressions,
+upgrade failures, licensing continuity problems, platform-specific
+breakage, or actionable UX friction:
+
+- `https://github.com/rcourtman/Pulse/issues/new?template=v6_rc_feedback.yml`
+
+When reporting an `rc.5` problem, include:
+
+- Pulse version
+- upgrade path or fresh-install path
+- installation type
+- whether the host was previously on `rc.1`, `rc.2`, `rc.3`, `rc.4`, or
+ v5
+- whether a manual reinstall or trust migration was used after `rc.2`
+- what you expected
+- what happened instead
+- sanitized logs, screenshots, or diagnostics when helpful
+
+## Operator References
+
+- `docs/releases/V6_RC5_OPERATOR_SUPPORT_PACK_DRAFT.md`
+- `docs/releases/V6_CHANGELOG_RC5_DRAFT.md`
+- `docs/AGENT_SUBSTRATE.md`
+- `docs/UPGRADE_v6.md`
+- `docs/AGENT_SECURITY.md`
+- `docs/MIGRATION_UNIFIED_NAV.md`
diff --git a/docs/releases/V6_CHANGELOG_RC5_DRAFT.md b/docs/releases/V6_CHANGELOG_RC5_DRAFT.md
new file mode 100644
index 0000000000..01a1b517de
--- /dev/null
+++ b/docs/releases/V6_CHANGELOG_RC5_DRAFT.md
@@ -0,0 +1,310 @@
+# Pulse v6.0.0-rc.5 Draft Changelog
+
+_Draft only. This changelog describes the current `pulse/v6-release` delta
+since the published `v6.0.0-rc.4` tag. Do not treat it as published until the
+governed `v6.0.0-rc.5` prerelease exists._
+
+## What `rc.5` changes compared with `rc.4`
+
+`v6.0.0-rc.5` is a feature-bearing RC, not a targeted hardening pass. It does
+not reopen the `rc.2` commercial model or replace v5.1.29 as the stable line.
+It carries the post-`rc.4` Pulse Intelligence, agent-substrate, action-
+governance, operator-state, AI reporting, availability-probe, accessibility,
+DeepSeek V4, and platform-identity work into a single retestable candidate.
+
+The main user-visible surfaces in this RC are the new agent-substrate HTTP
+contract that gives external agents the same context Patrol and Assistant
+have, the Patrol findings UX evolution into a proactive Pulse Intelligence
+surface, and the resource operator-state foundation that lets operators
+record per-resource intent (offline, do-not-remediate, maintenance window,
+criticality) and have Patrol and action dispatch honor it.
+
+## Commit Coverage Audit
+
+The changelog was audited against every feature/runtime commit in the exact
+code-backed release-validation range for the current candidate:
+
+- `v6.0.0-rc.4`: `4aa91f6af37be08c93ff19e44f307735d1b9cb70`
+- validation-risk commit: `52416cec6fdb42c0bf753d52ad870f4dfede5e1e`
+- range: `v6.0.0-rc.4..52416cec6fdb42c0bf753d52ad870f4dfede5e1e`
+- commit count: `426`
+- changed scope: `687` files, `84642` insertions, `16632` deletions
+
+Those commits are grouped in this changelog rather than listed one by one.
+The range carries: the agent-substrate HTTP contract and `cmd/pulse-mcp` /
+`cmd/agent-probe` worked examples, the Patrol findings UX expansion and
+resolved-finding lifecycle, the resource operator-state foundation and
+maintenance-window scheduler, action-governance hardening on plan-hash
+drift and post-dispatch verification, the AI reporting narrative layer,
+agentless availability probes, an accessibility sweep across roughly fifteen
+surfaces, DeepSeek V4 tool-turn and tool-choice support, platform-identity
+guardrails for Proxmox VE / PBS / PMG agent hosts, an alerts-manager
+decomposition refactor, and a set of correctness fixes around fingerprint
+loss, PVE version detection, PBS poll failure attribution, OpenAI streaming,
+and self-hosted web-listener fail-fast.
+
+## Major Changes
+
+### 1. Agent substrate: external agents get the same context Patrol and Assistant have
+
+Pulse v6 now exposes a stable HTTP contract for external agents so Claude
+Desktop, Claude Code, custom MCP clients, and plain HTTP consumers can
+drive Pulse with the situated context an in-process Patrol or Assistant
+run has. The contract has four axes:
+
+- discovery: `/api/agent/capabilities` returns a hand-authored unauthenticated
+ manifest of every agent-consumable capability with name, description, HTTP
+ method/path, required auth scope, response shape, and stable error codes
+- depth: `/api/agent/resource-context/{id}` returns the situated picture of
+ one resource in a single read: identity, operator-set state, active
+ findings, pending approvals, recent actions including refused dispatches
+ and verification probe outcomes, with stable token prefixes like
+ `plan_drift:` and `resource_remediation_locked:` reaching the wire verbatim
+- breadth: `/api/agent/fleet-context` returns a thin per-resource rollup
+ across the whole org for "where do I focus?" reads, with per-resource
+ bundles for follow-up depth
+- realtime: `/api/agent/events` is an SSE stream that translates the existing
+ Pulse SSE event firehose into MCP-shaped notifications for agents that
+ opt in
+- write surfaces: the operator-state intent loop
+ (`/api/resources/{id}/operator-state` GET / PUT / DELETE) and the
+ pre-existing action governance loop (`/api/actions/plan`,
+ `/api/actions/{id}/decision`, `/api/actions/{id}/execute`) round out the
+ substrate
+
+Two worked examples ship in the tree: `cmd/agent-probe` consumes the
+substrate end to end as a plain HTTP client, and `cmd/pulse-mcp` wraps the
+substrate as an MCP adapter for clients that prefer that transport. The
+substrate is the canonical surface; MCP is an adapter over it. The arc is
+summarized in `docs/AGENT_SUBSTRATE.md`.
+
+### 2. Patrol evolves into a Pulse Intelligence surface
+
+Patrol findings now carry the verbs an operator needs in-place rather than
+funneling everything through Assistant. Each active finding can expose
+contextual actions (Investigate, Why, Verify fix, Create rule from this,
+Explain, Mark resolved, Copy summary), the per-finding action area is
+grouped into semantic clusters, and the row carries regression-count,
+investigation confidence, post-dispatch verification outcome, and trust
+metrics at a glance. The Patrol page header surfaces overall trust state,
+verified-resource coverage, and the recommended next step.
+
+Resolved findings now have a first-class lifecycle: the Resolved tab loads
+them server-side, the All tab includes them, include-resolved persists
+across polling, manual Mark resolved is wired through the existing
+patrol_resolve path and attributes the closure to the operator, and
+LLM-driven `patrol_resolve_finding` calls fail closed when the deterministic
+verifier is inconclusive on event findings. Legacy "Active alert detected"
+mirror findings have been retired and are purged on load.
+
+Patrol investigation records are now structured: each record carries an
+operator-facing Impact statement (consequence-if-ignored), aggregated
+rollback steps lifted from the remediation plan, and previous resolved-fix
+context that survives regressions.
+
+### 3. Resource operator state and maintenance windows
+
+A new resource operator-state foundation lets operators record per-resource
+intent and have Pulse honor it:
+
+- `/api/resources/{id}/operator-state` GET / PUT / DELETE handlers
+- intentionally-offline, do-not-auto-remediate, maintenance-window, and
+ criticality intent
+- maintenance-window scheduler in the operator-overrides section of the
+ resource detail drawer
+- new findings on intentionally-offline resources auto-acknowledge
+- new findings during an operator-set maintenance window auto-acknowledge
+- operator-state-suppressed findings skip autonomous investigation, then
+ wake when the suppression lifts
+- action dispatch refuses when a resource is operator-locked against
+ remediation, with the refusal recorded in the action audit
+- operator-driven Mark resolved closures attribute to "Resolved by you"
+
+### 4. Action governance: plan-hash drift, post-dispatch verification, and audit hardening
+
+Action governance now fails closed on more boundaries:
+
+- approved plan hash is verified at execution time; payload drift refuses
+ dispatch and persists a refused audit record
+- a class-derived verification check runs after successful dispatch and the
+ outcome is rendered on action history rows alongside the action
+- per-command-class preflight context is authored for approval review,
+ including the new Proxmox VM/CT lifecycle preflight
+- known secret shapes are redacted from action audit log persistence
+- bundle-level approvals pin cross-org and cross-resource isolation on the
+ pending approvals it carries
+- the `action.completed` SSE payload now surfaces action verification so
+ agents and UI can branch on it
+
+### 5. AI reporting gets a real narrative layer
+
+The non-rendering reporting engine now has documented entry points so
+non-rendering callers can compose summaries:
+
+- a heuristic report-narrative path is now an optional AI-generated layer
+- fleet-level AI narrative for multi-resource reports
+- per-tenant AI narrators are threaded into `pulse_summarize` via the chat
+ session, so the same narration is available from Assistant
+- chat-package Chat/ChatStream callers record token usage to the cost
+ ledger, and report-narration records cost events the same way
+- structured telemetry is emitted on reporting and summarize invocations
+- the report narrators are explicitly forbidden from acting as parallel
+ detectors; the detection-boundary invariant is now documented in the
+ ai-runtime contract
+
+### 6. Agentless availability probes
+
+A new agentless availability path lets Pulse probe network-reachable
+services without an installed Pulse Agent:
+
+- `internal/config/availability.go` configures targets
+- `internal/monitoring/availability_poller.go` runs probes
+- `internal/api/availability_handlers.go` exposes the API surface
+- mock availability fixtures (including an ESPHome example) ship in
+ `internal/mock/availability_fixtures.go`
+- availability probe evidence is surfaced on infrastructure rows
+- availability target actions stay visible and the row presentation is
+ refined for the smaller resource model
+
+### 7. Patrol-to-Assistant handoffs are context-first and approval-bound
+
+The Patrol-to-Assistant handoff path now carries structured context rather
+than free text:
+
+- Patrol findings, runs, assessments, and approval handoffs all route
+ through model context (resource scope, action references, finding
+ lifecycle, approval status, resource relationships, resource timeline,
+ resource policy)
+- the briefings carry safe action metadata, evidence cues, attention
+ reasons, and the live approval lifecycle
+- handoff payloads are one-shot and refresh before the picker opens so
+ stale context cannot leak between turns
+- chat-side handoffs and Patrol finding handoffs are clamped to the
+ requested approval mode and require approval mode for governed
+ investigation commands
+- the chat-package narrator now uses session-bound per-tenant tools
+- `patrol_summarize` is exposed to Assistant via the chat session
+- Patrol runs are stateless and drop prior session history; `patrol-main`
+ is bounded at 200 messages to stop unbounded disk growth
+
+### 8. Accessibility sweep
+
+A focused accessibility pass covering roughly fifteen surfaces:
+
+- skip-to-content link for keyboard users
+- AppLayout desktop tabs, alert metric edit cells, Patrol finding rows,
+ mobile nav alert tab are now keyboard-accessible
+- success and error feedback is announced to screen readers across
+ login/change-password, AISettings/K8s namespaces, PMG/AI cost/merge
+ modals, DataHandlingPanel, ProLicense activation, toasts, and Alerts
+- icon-only buttons are labeled across the tree
+- form controls that previously only had placeholders now have labels
+- decorative dashes are hidden from screen readers and across more tables
+- light-mode muted text now meets WCAG AA on alt surfaces and the rest of
+ body-text muted callers move to the semantic token
+- focus indicator is restored on FilterBar search inputs
+- `document.title` reflects the active tab and PageHeader title
+
+### 9. DeepSeek V4 support
+
+- direct DeepSeek Patrol models stay selectable
+- DeepSeek V4 Patrol defaults are aligned
+- DeepSeek V4 tool turns are supported in Patrol
+- DeepSeek `tool_choice` is coerced to `auto` so Patrol stops failing on
+ providers that reject other values, with the rationale recorded in the
+ ai-runtime contract
+- the over-greedy "tools not supported" classifier is split into three
+ distinct causes
+- double-pipe DeepSeek DSML tool-call markers are sanitised in chat
+
+### 10. Platform identity, cluster surfaces, and infrastructure presentation
+
+- hybrid-source platform version precedence is pinned and dual-source
+ identity guardrails are in place
+- agent host profile detection covers Proxmox VE, PBS, PMG, and Unraid
+- agent host profiles are propagated to resources
+- the cluster source badge aggregates across attached agents and cluster
+ member rows are clarified
+- the cluster deploy banner hides on offline PVE nodes and uses
+ "ready for Pulse Agent" wording instead of "unmonitored"
+- platform versions show in system badges, with Proxmox `pve-manager`
+ wrapper stripped
+- PVE version detection on agent hosts is fixed
+- PBS poll failures are attributed and locked down with regression tests
+- silent fingerprint loss for LXC and VMs is fixed
+- versioned infrastructure system badges are deduplicated
+- the infrastructure source picker leads with the two primary paths,
+ copy/order is tightened, and discovered sources stay in the base group
+
+### 11. Self-hosted licensing continuity carries through unchanged
+
+`rc.5` preserves the `rc.4` self-hosted licensing posture:
+
+- monitored-system and child-resource volume are not metered in the
+ current public self-hosted plans
+- continuity paths do not write raw monitored-system caps back into
+ runtime state
+- Relay remains secure remote access to the Pulse web UI, Pulse Mobile pairing for handoff,
+ push notifications, and 14-day history
+- Pro remains Relay plus AI operations, automation, advanced admin
+ features, and 90-day history
+
+### 12. Alerts-manager decomposition
+
+A multi-commit refactor splits the alerts manager into per-checker and
+per-runtime modules: Proxmox guest alerts, Proxmox disk health, backup
+snapshot, host, node, PBS/storage, Docker, PMG, alert-config runtime,
+alert-metric runtime, alert-health-assessment runtime, alert-notification
+policy, alert-read model, active-alert lifecycle/persistence/cleanup. The
+public alerts API is unchanged.
+
+### 13. Correctness and runtime stability
+
+- self-hosted startup web listener fails fast on configuration errors
+- OpenAI incomplete SSE streams fail closed
+- audit list 500s now log the underlying error
+- the v6 demo release signing key deployment is fixed
+- SSHSIG is verified on in-app update artifacts
+- patrol-main session bounded at 200 messages to stop unbounded disk growth
+- AGENT-side update signer trust migration guidance carries through
+
+## What existing v5 users should re-test in `rc.5`
+
+1. v5.1.29 to v6 server upgrade and rollback to v5.1.29.
+2. The explicit post-`rc.2` trust migration or manual reinstall path.
+3. The new `/api/agent/*` substrate from an external HTTP or MCP client.
+4. Patrol findings with the new in-place verbs: Investigate, Why, Verify
+ fix, Create rule from this, Mark resolved, Copy summary.
+5. The Patrol Resolved tab, include-resolved across polling, and the All
+ tab containing resolved findings.
+6. Resource operator-state writes through the resource detail drawer
+ (intentionally offline, do-not-remediate, maintenance window,
+ criticality), and confirmation that new findings during a maintenance
+ window auto-acknowledge.
+7. Action dispatch against an operator-locked resource (should refuse with
+ `resource_remediation_locked:`) and against drifted plan hash (should
+ refuse with `plan_drift:`).
+8. AI reporting with the new narrative layer, both in scheduled reports
+ and through `pulse_summarize` from Assistant.
+9. Agentless availability targets and the infrastructure-row evidence
+ that surfaces them.
+10. Keyboard navigation and screen-reader announcements across the
+ refreshed surfaces.
+11. DeepSeek V4 in Patrol, including direct DeepSeek model selection and
+ multi-turn tool calls.
+12. Platform identity on agent-hosted Proxmox VE, PBS, PMG, and Unraid
+ hosts; cluster source badge aggregation.
+13. Release artifact download, checksum/signature, installer, and draft
+ validation paths before broad retesting.
+
+## Evidence Appendix
+
+For the code-backed evidence packet that maps these claims to the current
+release line, see:
+
+- `docs/AGENT_SUBSTRATE.md`
+- `docs/release-control/v6/internal/subsystems/ai-runtime.json`
+- `docs/release-control/v6/internal/subsystems/api-contracts.json`
+- `docs/release-control/v6/internal/subsystems/patrol-intelligence.json`
+- `docs/release-control/v6/internal/subsystems/unified-resources.json`
+- `docs/release-control/v6/internal/subsystems/monitoring.json`
diff --git a/docs/releases/V6_PRERELEASE_RUNBOOK.md b/docs/releases/V6_PRERELEASE_RUNBOOK.md
index 2b26454f31..47496a8fb0 100644
--- a/docs/releases/V6_PRERELEASE_RUNBOOK.md
+++ b/docs/releases/V6_PRERELEASE_RUNBOOK.md
@@ -63,7 +63,7 @@ artifacts, or to an explicitly verified paid container image, rather than the pu
## Versioning Rules
- v5 stable examples: `5.1.14`
-- v6 prerelease examples: `6.0.0-rc.1`, `6.0.0-rc.2`, `6.0.0-rc.3`, `6.0.0-rc.4`
+- v6 prerelease examples: `6.0.0-rc.1`, `6.0.0-rc.2`, `6.0.0-rc.3`, `6.0.0-rc.4`, `6.0.0-rc.5`
- v6 GA example: `6.0.0`
The workflow auto-marks `-rc.N`/`-alpha.N`/`-beta.N` as prerelease.
@@ -93,7 +93,7 @@ The workflow auto-marks `-rc.N`/`-alpha.N`/`-beta.N` as prerelease.
1. Update version on `pulse/v6-release`:
```bash
-export RC_VERSION="6.0.0-rc.4"
+export RC_VERSION="6.0.0-rc.5"
git checkout pulse/v6-release
git pull --ff-only
diff --git a/docs/releases/V6_RC5_OPERATOR_SUPPORT_PACK_DRAFT.md b/docs/releases/V6_RC5_OPERATOR_SUPPORT_PACK_DRAFT.md
new file mode 100644
index 0000000000..943d6262c8
--- /dev/null
+++ b/docs/releases/V6_RC5_OPERATOR_SUPPORT_PACK_DRAFT.md
@@ -0,0 +1,264 @@
+# Pulse v6 RC5 Draft Operator Support Pack
+
+_Draft only. Use this as the working support brief for the planned
+`v6.0.0-rc.5` candidate until the final prerelease notes are published._
+
+## Support Stance
+
+- Pulse v5.1.29 remains the current stable line.
+- Pulse v6 `rc.5` is an opt-in evaluation build, not the default
+ production recommendation.
+- `rc.5` should be described as a feature-bearing RC covering the
+ agent-substrate HTTP contract, Patrol findings as a Pulse Intelligence
+ surface, resource operator-state and maintenance windows, action-
+ governance plan-hash drift and post-dispatch verification, an AI
+ reporting narrative layer, agentless availability probes, an
+ accessibility sweep, DeepSeek V4 Patrol support, platform-identity work
+ for Proxmox VE / PBS / PMG / Unraid agent hosts, and a sizable
+ alerts-manager decomposition refactor.
+- Self-hosted SSO is included with Community and higher tiers. Do not
+ describe SAML or multi-provider SSO as a Pro-only upgrade path for this
+ RC.
+- Stable-channel installer resolution must stay on the latest stable
+ semver tag even if GitHub's floating latest-release redirect currently
+ points at an RC.
+- Systems pinned to the historical `rc.2` update trust root should use a
+ manual reinstall or explicit trust migration for later prerelease or GA
+ builds.
+
+## Short Answers
+
+### Is `rc.5` the stable release?
+
+No. The current stable release is v5.1.29. `rc.5` is still a v6
+prerelease for controlled evaluation.
+
+### Should production v5 users upgrade immediately?
+
+No. The recommended RC posture is still staging, lab, or controlled
+evaluation first.
+
+### What is the rollback target?
+
+Use v5.1.29:
+
+`./scripts/install.sh --version v5.1.29`
+
+### Can `rc.2` systems auto-update directly to `rc.5`?
+
+Do not promise unattended continuity from `rc.2` to `rc.5`. Hosts pinned
+to the historical `rc.2` update trust root need a manual reinstall or
+explicit trust-migration path for later prerelease or GA builds.
+
+### Does self-hosted v6 still cap monitored systems?
+
+No for the current public self-hosted plans. Community, Relay, and Pro
+include core self-hosted monitoring by default.
+
+Current plan shorthand:
+
+- Community:
+ core monitoring included, OIDC/SAML SSO with multi-provider support,
+ 7-day history
+- Relay:
+ core monitoring included, secure remote access to the Pulse web UI,
+ Pulse Mobile pairing for handoff, push notifications, and 14-day
+ history
+- Pro:
+ Relay plus AI operations, automation, advanced admin features, and
+ 90-day history
+
+### What happens to existing paid Pulse Pro customers in v6?
+
+Use this cohort breakdown:
+
+- Legacy recurring monthly or annual subscribers from v5 or earlier who
+ were already active before the public v6 pricing cutover:
+ keep the current recurring price, with self-hosted monitoring and
+ child-resource volume not metered while the subscription remains
+ continuously active under the current v6 policy.
+- Existing lifetime customers:
+ remain permanently valid, with self-hosted monitoring and child-
+ resource volume not metered under the current v6 policy.
+- Legacy paid v5 licenses migrated into v6 outside the recurring
+ grandfathered path:
+ can still exchange into the v6 activation model without repurchasing.
+- Former recurring subscribers who already canceled or later lapse:
+ any later return uses current public v6 pricing rather than resuming
+ the old grandfathered terms.
+
+### What changed from `rc.4` that users should notice immediately?
+
+- a new `/api/agent/*` substrate exposes Patrol-level context to external
+ agents through capabilities, resource-context, fleet-context, and SSE
+ event streams; `cmd/pulse-mcp` and `cmd/agent-probe` ship as worked
+ examples
+- Patrol findings carry in-place verbs (Investigate, Why, Verify fix,
+ Create rule from this, Mark resolved, Copy summary), structured
+ investigation records with operator-facing Impact and rollback, and a
+ first-class Resolved-finding lifecycle; legacy "Active alert detected"
+ mirror findings are retired
+- a resource operator-state foundation lets operators set intentionally-
+ offline, do-not-remediate, maintenance-window, and criticality intent;
+ Patrol auto-acknowledges new findings during a maintenance window and
+ on intentionally-offline resources; action dispatch refuses against
+ operator-locked resources
+- action governance refuses dispatch when the approved plan hash drifts,
+ records a refused audit entry, runs a class-derived verification check
+ after successful dispatch, redacts known secret shapes from the audit
+ log, and surfaces verification on the `action.completed` SSE payload
+- AI reporting now has an optional narrative layer (per-tenant, fleet
+ level, cost-tracked) and is exposed to Assistant through
+ `pulse_summarize`
+- agentless availability targets let Pulse probe network-reachable
+ services without an installed Pulse Agent
+- an accessibility sweep raises keyboard reachability, screen-reader
+ announcements, and WCAG AA muted-text contrast across roughly fifteen
+ surfaces
+- DeepSeek V4 is supported in Patrol, including direct model selection
+ and `tool_choice` coercion to `auto`
+- platform identity, cluster source aggregation, and infrastructure
+ presentation are improved for Proxmox VE, PBS, PMG, and Unraid agent
+ hosts
+
+### What if an external agent cannot read `/api/agent/capabilities`?
+
+The capabilities manifest is unauthenticated by design so an agent
+without a token can introspect Pulse before asking for one. If the
+endpoint returns an auth error or 404, collect the Pulse version, exact
+URL, transport, and reverse-proxy configuration and escalate.
+
+### What if `/api/actions/{id}/execute` returns `plan_drift:` or `resource_remediation_locked:`?
+
+That is the expected fail-closed behavior:
+
+- `plan_drift:` means the executed payload no longer matches the approved
+ plan hash; an audit entry is persisted and the operator should review
+ the plan before re-approving
+- `resource_remediation_locked:` means the target resource is operator-
+ locked against remediation, and the operator must either remove the
+ lock or reroute the action
+
+Both prefixes reach the wire verbatim so agents and UI can branch on
+codes.
+
+### What if a Patrol finding does not auto-acknowledge during a maintenance window?
+
+Confirm that the resource has an active maintenance-window operator-state
+entry (`/api/resources/{id}/operator-state`), and that the finding's
+created-at timestamp falls inside the window. If both are true and the
+finding still surfaces, collect the resource ID, the operator-state
+payload, the finding ID, and Patrol session logs and escalate.
+
+### What if a hosted, checkout, magic-link, or SSO flow still keys access by email?
+
+Escalate it as an identity regression. `rc.5` continues the `rc.4`
+expectation that stable user and organization principals are used at
+those trust boundaries.
+
+### What if a fresh Proxmox LXC stable install lands on a v6 RC?
+
+Treat that as a release-blocking install regression. The stable path
+should resolve to v5.1.29 unless the user intentionally chose a v6
+prerelease.
+
+### What if a Docker agent duplicates or loses identity after recreation?
+
+Collect logs and escalate. `rc.5` keeps the prior reconnect-token and
+host-identity binding work and adds stricter root-agent and Proxmox token
+ACL hardening from `rc.4`.
+
+### Are public issue comments or closures required for the RC?
+
+No public GitHub state changes are required just to prepare this packet.
+Draft comments, closures, or retitles still need explicit maintainer
+approval before posting.
+
+## Recommended Evaluation Path
+
+1. Back up the current system and keep direct console access available.
+2. Confirm the current stable rollback command:
+ `./scripts/install.sh --version v5.1.29`
+3. If the host was on `rc.2`, use a manual reinstall or explicit trust-
+ migration path rather than assuming unattended auto-update continuity.
+4. Upgrade the Pulse server in a staging or otherwise controlled
+ environment.
+5. Verify server health, version, logs, and update UI before upgrading
+ agents.
+6. Exercise the new `/api/agent/*` substrate from `cmd/agent-probe`,
+ `cmd/pulse-mcp`, or an external client. Confirm `plan_drift:` and
+ `resource_remediation_locked:` token prefixes reach the wire verbatim.
+7. Exercise Patrol findings with the new in-place verbs (Investigate,
+ Why, Verify fix, Create rule, Mark resolved, Copy summary) and the
+ Resolved tab.
+8. Write operator-state through the resource detail drawer for at least
+ one resource (intentionally offline, do-not-remediate, maintenance
+ window) and confirm new findings auto-acknowledge as expected.
+9. Approve an action plan, drift the payload, and confirm dispatch
+ refuses with `plan_drift:`. Approve another plan, run it cleanly, and
+ confirm the verification outcome renders on the action history row
+ and on `action.completed` SSE.
+10. Run a Pulse Pro report with the AI narrative layer enabled and
+ confirm cost is recorded in the cost ledger. Call `pulse_summarize`
+ from Assistant and confirm the same narrator is reachable.
+11. Configure an agentless availability target and confirm the
+ infrastructure row surfaces probe evidence.
+12. Re-test DeepSeek V4 Patrol runs with direct DeepSeek model selection
+ and multi-turn tool calls.
+13. Re-test platform identity on agent-hosted Proxmox VE, PBS, PMG, and
+ Unraid hosts, and confirm the cluster source badge aggregates across
+ attached agents.
+14. Walk the keyboard and screen-reader paths through the refreshed
+ surfaces.
+15. Re-test release artifact download, checksum/signature, installer,
+ and draft validation paths before broader retesting.
+16. Upgrade agents separately only when the user is explicitly testing
+ the v5-to-v6 agent path.
+
+## Ask For These Details
+
+When a user reports an `rc.5` problem, ask for:
+
+- current version and prior version
+- install type
+- whether the host was previously on v5, `rc.1`, `rc.2`, `rc.3`, or
+ `rc.4`
+- whether a manual reinstall or trust migration was used after `rc.2`
+- whether the issue happened during server upgrade, agent upgrade,
+ identity handoff, checkout, SSO, action planning, action execution,
+ agent-substrate use, Patrol, alerting, AI reporting, availability
+ probes, backup/recovery, platform inventory, or first use
+- whether Unified Agents were upgraded yet
+- expected result
+- actual result
+- sanitized logs, screenshots, and diagnostics
+
+## Escalate Immediately
+
+Escalate without asking the user to keep experimenting when the report
+involves:
+
+- failed install or failed upgrade with no recovery path
+- stable install path unexpectedly landing on a v6 prerelease
+- duplicate or missing agent identity after a v5-to-v6 upgrade
+- hosted, checkout, magic-link, SSO, webhook, or token access granted to
+ the wrong principal
+- action execution that proceeds when dry-run or plan-hash validation
+ failed
+- agent-substrate endpoints returning data scoped to a tenant other than
+ the requester
+- Patrol auto-acknowledge or operator-state suppression behaving
+ inconsistently with the recorded operator intent
+- monitoring or reporting that stops entirely after upgrade
+- rollback failure or inability to return to v5.1.29
+- SSO setup or login blocked by an unexpected paid-license requirement
+- data-loss, destructive behavior, or security-sensitive regressions
+
+## Canonical References
+
+- `docs/releases/RELEASE_NOTES_v6_RC5_DRAFT.md`
+- `docs/releases/V6_CHANGELOG_RC5_DRAFT.md`
+- `docs/AGENT_SUBSTRATE.md`
+- `docs/UPGRADE_v6.md`
+- `docs/AGENT_SECURITY.md`
+- `docs/MIGRATION_UNIFIED_NAV.md`
diff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.py
index 20d59ab9df..6f919ffbad 100644
--- a/scripts/release_control/release_promotion_policy_test.py
+++ b/scripts/release_control/release_promotion_policy_test.py
@@ -143,6 +143,9 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertIn("docs/releases/RELEASE_NOTES_v6_RC4_DRAFT.md", release_index)
self.assertIn("docs/releases/V6_CHANGELOG_RC4_DRAFT.md", release_index)
self.assertIn("docs/releases/V6_RC4_OPERATOR_SUPPORT_PACK_DRAFT.md", release_index)
+ self.assertIn("docs/releases/RELEASE_NOTES_v6_RC5_DRAFT.md", release_index)
+ self.assertIn("docs/releases/V6_CHANGELOG_RC5_DRAFT.md", release_index)
+ self.assertIn("docs/releases/V6_RC5_OPERATOR_SUPPORT_PACK_DRAFT.md", release_index)
def test_operator_support_packs_keep_free_first_paid_continuity_wording(self) -> None:
for rel in (
@@ -150,6 +153,7 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
"docs/releases/V6_RC2_OPERATOR_SUPPORT_PACK_DRAFT.md",
"docs/releases/V6_RC3_OPERATOR_SUPPORT_PACK_DRAFT.md",
"docs/releases/V6_RC4_OPERATOR_SUPPORT_PACK_DRAFT.md",
+ "docs/releases/V6_RC5_OPERATOR_SUPPORT_PACK_DRAFT.md",
):
with self.subTest(rel=rel):
support_pack = read(rel)
@@ -230,6 +234,11 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
"docs/releases/V6_CHANGELOG_RC4_DRAFT.md",
"docs/releases/V6_RC4_OPERATOR_SUPPORT_PACK_DRAFT.md",
),
+ "6.0.0-rc.5": (
+ "docs/releases/RELEASE_NOTES_v6_RC5_DRAFT.md",
+ "docs/releases/V6_CHANGELOG_RC5_DRAFT.md",
+ "docs/releases/V6_RC5_OPERATOR_SUPPORT_PACK_DRAFT.md",
+ ),
}
self.assertIn(current_version, packets)
@@ -267,8 +276,9 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertIn("docs/releases/V6_CHANGELOG.md", upgrade_guide)
self.assertNotIn("docs/releases/V6_RC2_OPERATOR_SUPPORT_PACK_DRAFT.md", upgrade_guide)
else:
- self.assertEqual(current_version, "6.0.0-rc.4")
- self.assertIn("docs/releases/V6_RC4_OPERATOR_SUPPORT_PACK_DRAFT.md", upgrade_guide)
+ self.assertEqual(current_version, "6.0.0-rc.5")
+ self.assertIn("docs/releases/V6_RC5_OPERATOR_SUPPORT_PACK_DRAFT.md", upgrade_guide)
+ self.assertNotIn("docs/releases/V6_RC4_OPERATOR_SUPPORT_PACK_DRAFT.md", upgrade_guide)
self.assertNotIn("docs/releases/V6_RC3_OPERATOR_SUPPORT_PACK_DRAFT.md", upgrade_guide)
self.assertNotIn("docs/releases/V6_RC2_OPERATOR_SUPPORT_PACK_DRAFT.md", upgrade_guide)
self.assertNotIn("docs/releases/V6_RC_OPERATOR_SUPPORT_PACK.md", upgrade_guide)
@@ -531,7 +541,7 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertIn("operators know the update signer changed", normalize_ws(runbook))
self.assertIn("manual reinstall or other explicit trust-migration path", normalize_ws(runbook))
self.assertIn("points at the current in-repo draft packet", runbook)
- self.assertIn('export RC_VERSION="6.0.0-rc.4"', runbook)
+ self.assertIn('export RC_VERSION="6.0.0-rc.5"', runbook)
self.assertIn("printf '%s\\n' \"$RC_VERSION\" > VERSION", runbook)
self.assertIn("markdown text from the current release-notes packet", runbook)
self.assertIn("Keep the current release-notes, changelog, and operator-support packet in", runbook)
diff --git a/scripts/release_control/render_release_body_test.py b/scripts/release_control/render_release_body_test.py
index a63a327025..5ab724504d 100644
--- a/scripts/release_control/render_release_body_test.py
+++ b/scripts/release_control/render_release_body_test.py
@@ -107,6 +107,9 @@ Old metadata section.
"docs/releases/RELEASE_NOTES_v6_RC4_DRAFT.md",
"docs/releases/V6_CHANGELOG_RC4_DRAFT.md",
"docs/releases/V6_RC4_OPERATOR_SUPPORT_PACK_DRAFT.md",
+ "docs/releases/RELEASE_NOTES_v6_RC5_DRAFT.md",
+ "docs/releases/V6_CHANGELOG_RC5_DRAFT.md",
+ "docs/releases/V6_RC5_OPERATOR_SUPPORT_PACK_DRAFT.md",
)
for relative_path in packet_paths:
@@ -165,6 +168,26 @@ Old metadata section.
self.assertIn("live auth-env watcher teardown", release_notes)
self.assertIn("join live config watcher goroutines", changelog)
+ def test_rc5_packet_records_commit_coverage_and_agent_substrate(self) -> None:
+ repo_root = Path(__file__).resolve().parents[2]
+ release_notes = (repo_root / "docs/releases/RELEASE_NOTES_v6_RC5_DRAFT.md").read_text(
+ encoding="utf-8"
+ )
+ changelog = (repo_root / "docs/releases/V6_CHANGELOG_RC5_DRAFT.md").read_text(
+ encoding="utf-8"
+ )
+ support_pack = (
+ repo_root / "docs/releases/V6_RC5_OPERATOR_SUPPORT_PACK_DRAFT.md"
+ ).read_text(encoding="utf-8")
+
+ self.assertIn("52416cec6fdb42c0bf753d52ad870f4dfede5e1e", release_notes)
+ self.assertIn("commit count: `426`", changelog)
+ self.assertIn("agent-substrate HTTP contract", release_notes)
+ self.assertIn("/api/agent/capabilities", changelog)
+ self.assertIn("Pulse Intelligence", support_pack)
+ self.assertIn("operator-state", changelog)
+ self.assertIn("Pulse Mobile pairing for handoff", support_pack)
+
def test_agent_paradigm_release_notes_blurb_documents_distribution_path(self) -> None:
"""The agent-paradigm source draft must keep its honest scope:
an integrator reading the blurb sees a published distribution