Pulse/scripts/release_control
rcourtman a3f8b18bfb feat(ai): make pulse_summarize self-target and forbid identifier elicitation
A fresh install's natural first question ("how is my machine doing?",
observed live with Ollama qwen3:8b) made the model call pulse_summarize
action=fleet without resource_ids; the tool errored and the agentic loop
surfaced a structured question asking a first-run user for "the
comma-separated list of resource IDs" — pure jargon, funnel-killing
(GitHub discussion #1042). Two root fixes:

pulse_summarize self-targets. action=fleet with resource_ids omitted now
enumerates the known fleet from the executor's unified resource provider
(infrastructure parents first, then guests, then storage; deduped;
bounded at the existing 50-resource cap with a truncation note). Both
modes resolve what models actually pass — canonical unified IDs and
unambiguous names — onto the reporting request shape the way the API
path's resolveReportSubject does: the canonical ID stays ResourceID
(findings/recovery keying) and the resolved metrics target rides
MetricsResourceID, so store queries find data instead of silently
returning zero points. Reporting types are classified from the unified
resource (agent-backed hosts "agent", pure Proxmox nodes "node" — the
documented target-type exception — Docker hosts "docker-host");
resource_type becomes an optional filter/default. Remaining error paths
instruct the model to enumerate or retry and forbid asking the operator
for resource IDs.

Ask-user policy covers tool-argument recovery. The system prompt's
resolve-before-asking section (945e2198's target policy) now extends to
failed tool calls: missing/invalid arguments are self-recovered
(enumerate, retry), and internal identifiers are never valid questions.
The pulse_question description carries the same prohibition so the
structured clarification surface cannot become an identifier elicitation
channel on small local models.

ai-runtime and api-contracts contracts updated in-commit (the
subsystem_lookup line pin follows the api-contracts insertion); full
./internal/ai/... and ./internal/agentcapabilities/... suites green.
2026-07-17 23:55:38 +01:00
..
internal fix(release-control): scrub hook git env in remaining scratch-repo git users 2026-07-17 16:39:17 +01:00
agent_preflight.py
agent_preflight_test.py Update release control to use main 2026-07-05 15:20:37 +01:00
ai_runtime_docs_policy_test.py Bound automatic Patrol inference allowances 2026-07-16 19:55:44 +01:00
canonical_completion_guard.py Fix CI false positives in the canonical completion guard 2026-07-08 14:35:07 +01:00
canonical_completion_guard_test.py Enforce installation-scoped license invalidation 2026-07-14 16:18:21 +01:00
commercial_cancellation_reactivation_proof.py
commercial_cancellation_reactivation_rehearsal.py
contract_audit.py Fix contract audit sibling roots in worktrees 2026-05-13 15:22:33 +01:00
contract_audit_test.py fix(release-control): scrub hook git env in remaining scratch-repo git users 2026-07-17 16:39:17 +01:00
control_plane.py
control_plane_audit.py
control_plane_audit_test.py Update release control to use main 2026-07-05 15:20:37 +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 backend and governance: MCP contract, agent capabilities, API, and release-control 2026-06-23 17:26:15 +01:00
format_staged_go.py fix(release-control): scrub inherited git env in hook scratch-repo helpers 2026-07-17 15:52:11 +01:00
format_staged_go_test.py fix(release-control): scrub hook git env in remaining scratch-repo git users 2026-07-17 16:39:17 +01: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 fix(release-control): scrub inherited git env in hook scratch-repo helpers 2026-07-17 15:52:11 +01:00
governance_stage_guard_test.py fix(release-control): scrub hook git env in remaining scratch-repo git users 2026-07-17 16:39:17 +01:00
mobile_relay_auth_approvals_proof.py
mobile_release_gate.py Add mobile impact gate to release dispatch 2026-07-07 18:21:20 +01:00
mobile_release_gate_test.py Add mobile impact gate to release dispatch 2026-07-07 18:21:20 +01: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
pulse_intelligence_gate.py chore: seal Pulse Intelligence release gate 2026-07-13 01:14:19 +01:00
pulse_intelligence_gate_test.py chore: seal Pulse Intelligence release gate 2026-07-13 01:14:19 +01:00
readiness_assertion_guard.py Converge UI primitives and readiness guards 2026-06-13 16:31:52 +01:00
readiness_assertion_guard_test.py fix(release-control): scrub hook git env in remaining scratch-repo git users 2026-07-17 16:39:17 +01: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
registry_audit.py Scrub hook Git env for registry sibling reads 2026-05-13 15:07:17 +01:00
registry_audit_test.py Enforce server-owned Patrol Autopilot acknowledgement 2026-07-11 23:12:00 +01:00
relay_registration_reconnect_drain_proof.py
release_candidate_manifest_test.py Build releases once and promote verified candidates 2026-07-09 22:21:34 +01:00
release_promotion_policy_support.py
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 fix(release): fail closed on malformed release notes 2026-07-17 11:12:22 +01:00
render_release_body.py fix(release): fail closed on malformed release notes 2026-07-17 11:12:22 +01:00
render_release_body_test.py fix(release): fail closed on malformed release notes 2026-07-17 11:12:22 +01:00
repo_file_io.py backend and governance: MCP contract, agent capabilities, API, and release-control 2026-06-23 17:26:15 +01:00
repo_file_io_test.py fix(release-control): scrub hook git env in remaining scratch-repo git users 2026-07-17 16:39:17 +01:00
resolve_release_promotion.py Make stable patch releases unattended 2026-07-09 20:16:13 +01:00
resolve_release_promotion_test.py Make stable patch releases unattended 2026-07-09 20:16:13 +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(release-control): scrub hook git env in remaining scratch-repo git users 2026-07-17 16:39:17 +01:00
status_lookup.py
status_lookup_test.py Add governed action audit preflight 2026-04-25 22:35:19 +01:00
subsystem_contracts.py fix(release-control): scrub inherited git env in hook scratch-repo helpers 2026-07-17 15:52:11 +01:00
subsystem_contracts_test.py fix(release-control): scrub hook git env in remaining scratch-repo git users 2026-07-17 16:39:17 +01:00
subsystem_lookup.py
subsystem_lookup_test.py feat(ai): make pulse_summarize self-target and forbid identifier elicitation 2026-07-17 23:55:38 +01:00
validate_artifact_release_line.py Allow stable patch artifact publishing 2026-07-04 20:49:47 +01:00
validate_artifact_release_line_test.py Prepare v6.0.4-rc.2 support build 2026-07-06 09:22:44 +01:00
work_claim.py
work_claim_test.py