Commit Graph
100 Commits
Author SHA1 Message Date
kevin_janssenandClaude Opus 5.5 555bb41a41 Point the handover to the fleet rule, the local MCP client and the deploy baseline
Rust development slice / linux (push) Failing after 6s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:09:42 +01:00
kevin_janssenandClaude Opus 5.5 c6d38ff01b Record the fleet rule rollout and the MCP root plan for bk-relay01
Rust development slice / linux (push) Failing after 7s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:57:33 +01:00
kevin_janssenandClaude Opus 5.5 632aa23447 Omit the raw plan byte array from every MCP plan result
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:53:54 +01:00
kevin_janssenandClaude Opus 5.5 2f05d0a019 Open administrator scripts fleet-wide for helpers verified against a signed release
policy.json gains an optional fleet rule per platform. It covers every device
whose helper the server has matched to a signed installed release, so new
devices no longer need a hand-written device entry. Callers already require
root:execute or system:execute plus scripts:execute in the target customer;
the rule can admit scoped tokens, limit customers and exclude devices.
OPNsense and locally pinned helpers keep their device rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:38:18 +01:00
kevin_janssenandClaude Opus 5.5 a1ef33ff21 Document the local MCP client setup and record the public-endpoint check with a customer token
Rust development slice / linux (push) Failing after 13s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:49:23 +01:00
kevin_janssenandClaude Opus 5.5 9cd1bf1a6c Drop the claude.ai CORS grant from /mcp and the raw plan bytes from operations.get_plan
The connector check does not run in the browser: claude.ai connects from
Anthropic's servers on port 443 only, so CORS did not help. Clients connect
locally with a bearer header. The JSON 401 with a Bearer challenge and the
2025-06-18 negotiation stay. MCP plan previews keep plan_payload and
plan_hash and omit the byte array the WebUI uses for its exact comparison.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:45:05 +01:00
kevin_janssenandClaude Opus 5.5 06c4b5a9aa Let browser-based MCP clients such as the claude.ai connector dialog reach /mcp
The connector check runs in the browser with Origin https://claude.ai. Its CORS
preflight got a bare 401, so the browser reported the server as unreachable.
/mcp now answers the preflight, grants CORS to claude.ai without credentials
(MCP uses bearer tokens only), allows that origin in rmcp, sends a Bearer
challenge with JSON 401 responses and also negotiates protocol 2025-06-18.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:45:05 +01:00
kevin_janssenandClaude Opus 5.5 d2cdf98363 Record the live check of the MCP read tools on the development server
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:45:05 +01:00
kevin_janssenandClaude Opus 5.5 efee00e288 Expose the WebUI's read views through MCP: order list, plan preview, hypervisors and catalog
New tools operations.list, operations.get_plan, inventory.list_hypervisors,
catalog.list_package_recipes, catalog.list_windows_msi_recipes and
catalog.get_artifact reuse the WebUI handlers and their tenant and scope
checks. Interactive-only actions (approvals, device management, customer
transfer, enrollment, emergency stop, imports, tokens) stay out of MCP and
are listed as such in the access guide and product contract.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:45:05 +01:00
kevin_janssenandClaude Opus 5.5 58c35743b1 Document the automatic Proxmox link for OPNsense guests and its acceptance
Rust development slice / linux (push) Failing after 9s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 13:18:12 +01:00
kevin_janssenandClaude Opus 5.5 f3a471c1c5 Link virtual OPNsense firewalls to their Proxmox host automatically
The MAC matching only read linux.base and windows.base snapshots and ran only after
those. OPNsense sends a flat opnsense.base snapshot (hardware.device_type,
interfaces.entries); it is now normalised into the same scopes, triggers the
reconciliation and appears in the host's guest list. Manual decisions still win.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 13:05:36 +01:00
kevin_janssenandClaude Opus 5.5 b6d7bf4a93 Record the update of the OPNsense 24.7 firewall: heartbeat, inventory and script worker
Rust development slice / linux (push) Failing after 6s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 12:36:44 +01:00
kevin_janssenandClaude Opus 5.5 22b2907df5 Record the OPNsense 24.7 enrollment failure, its cause and the verified fix
Rust development slice / linux (push) Failing after 7s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 12:32:10 +01:00
kevin_janssenandClaude Opus 5.5 93429e4394 Keep OPNsense telemetry when the script worker cannot start and build it for FreeBSD 14.1
A worker linked on the FreeBSD 15 test guest needs FBSD_1.9 and does not load on
OPNsense 24.7; the agent then retried the job session every 30 s and never sent a
heartbeat or inventory. The agent now pauses script capabilities for an hour and
reconnects without them. tools/dev_opnsense_worker.py links the worker against the
official FreeBSD 14.1 pkgbase libraries. The installer checks that the worker loads
before binding it and reports success only after a heartbeat.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 12:17:34 +01:00
kevin_janssenandClaude Opus 5.5 19163a2efe Document the OPNsense HTTPS installer, allow its paths in the public ingress and fix its diagnostic hint
Rust development slice / linux (push) Failing after 7s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 09:31:53 +01:00
kevin_janssenandClaude Opus 5.5 7201b18300 Add an HTTPS installer for the OPNsense agent and show its command in the WebUI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 09:25:51 +01:00
kevin_janssenandClaude Opus 5.5 20bf40adce Show a root install command without sudo for Proxmox VE hosts
Rust development slice / linux (push) Failing after 7s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 09:01:33 +01:00
kevin_janssenandClaude Fable 5.2 e29257b808 Group the device overview by hypervisor, Hetzner, physical and unassigned devices
Rust development slice / linux (push) Failing after 7s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 22:57:02 +01:00
kevin_janssenandClaude Opus 5.5 dbfa76184d Record the Proxmox host acceptance: guests, backups, automatic VM mapping and failure cases
Rust development slice / linux (push) Failing after 7s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:05:05 +01:00
kevin_janssenandClaude Opus 5.5 a1b22070de Count a vzdump run that fails before its first guest as a failed backup
Rust development slice / linux (push) Failing after 7s
Found on the Proxmox test host: with the target storage disabled the scheduled
run ends with an error and its log names no guest, which was reported as
'missed'. Such a job-level or same-guest run now marks the covered guests failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:01:29 +01:00
kevin_janssenandClaude Opus 5.5 29acaa5b08 Pin backup evaluation to the report of the Proxmox VE 9.2 test host
Rust development slice / linux (push) Failing after 10s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:48:37 +01:00
kevin_janssenandClaude Opus 5.5 9fa6c05af7 Document the Proxmox host, its read-only access and the local Proxmox test VM
Rust development slice / linux (push) Failing after 15s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:17:23 +01:00
kevin_janssenandClaude Opus 5.5 63447f1b87 Provision a read-only Proxmox VE token during HTTPS installation
Rust development slice / linux (push) Failing after 15s
On hosts with pveversion and pveum the installer creates rmm-discovery@pve with
a privilege-separated PVEAuditor token, copies the cluster CA and passes both to
the agent through a systemd credential drop-in. Existing tokens are kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:14:05 +01:00
kevin_janssenandClaude Opus 5.5 ce356f0de7 Show Proxmox guests and scheduled backup status in device details
Rust development slice / linux (push) Failing after 14s
The host detail lists VMs and containers with linked inventory devices and
last successful backup, each vzdump job with its due time and result, an
overall 'all scheduled backups ran' answer and guests without a job. VM hosts
detected from a Proxmox guest list are labelled and the assignment form can
hand the decision back to automatic detection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:12:54 +01:00
kevin_janssenandClaude Opus 5.5 70977df577 Validate Proxmox observations, evaluate scheduled backups and link VMs to their Proxmox host
Rust development slice / linux (push) Failing after 15s
linux.proxmox gets a strict validator and a 128 KiB scope budget. Device
details expose guests, backup jobs with ok/failed/missed/running status and
linked devices. Base snapshots reconcile unique guest MACs into
assets.hypervisor_asset_id with hypervisor_source='proxmox'; manual choices
are kept and can be handed back to automatic detection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:10:35 +01:00
kevin_janssenandClaude Opus 5.5 1d2d52847c Collect Proxmox VE guests, backup jobs and vzdump runs as a read-only linux.proxmox scope
Rust development slice / linux (push) Failing after 12s
The Linux agent queries the local PVE API with a PVEAuditor token from the
systemd credential rmm-proxmox-token and the pinned cluster CA. Guests carry
MAC addresses and SMBIOS UUIDs for hypervisor mapping; jobs carry covered
guests and the scheduler's last expected run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:04:13 +01:00
kevin_janssenandClaude Opus 5.5 4459fbf79f Merge live Windows agent 0.1.27 source into the deployed server state
Rust development slice / linux (push) Failing after 14s
main now matches what runs on discovery.ease-technologies.de on 2026-11-20:
- Server, gateway, public API and WebUI: image rmm-dev-server:79f236b
  (schema 47), plus the follow-up docs commit fb35dbd.
- Windows agent and helper 0.1.27: signed release build 28 from 52c352c;
  hashes verified on the Windows test guest.
- Linux agent 0.1.0-mvp.14 (62cb52b) and OPNsense agent 0.1.0-opnsense.6
  are already ancestors of 79f236b.

Conflict in crates/agent-windows/src/native.rs resolved to the released
Windows side (os_inventory with missing DisplayVersion handling).
cargo check passes for the Linux workspace and for rmm-agent-windows on
x86_64-pc-windows-gnu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:50:18 +01:00
kevin_janssen fb35dbd16f Document disk measurements and preserve published helper pins in inventory releases
Rust development slice / linux (push) Failing after 14s
2026-11-20 09:44:28 +01:00
kevin_janssen 79f236b3ea Show disk, pool and unassigned Linux capacity in device fleet views 2026-11-20 09:35:05 +01:00
kevin_janssen eaaa6ff228 Inventory Linux whole disks and account mounted filesystems by block topology 2026-11-20 09:34:17 +01:00
kevin_janssen 131cc53de2 Document Windows drive-letter inventory and native multi-drive checks
Rust development slice / linux (push) Failing after 14s
2026-11-20 08:58:56 +01:00
kevin_janssen 04037c7acf Display Windows fixed volumes individually in both fleet views 2026-11-20 08:53:20 +01:00
kevin_janssen 52c352c0d9 Collect capacity for every Windows fixed drive letter
Rust development slice / linux (push) Failing after 11s
2026-11-20 08:51:54 +01:00
kevin_janssen 9c61f8f2eb Collect capacity for every Windows fixed drive letter 2026-11-20 08:50:49 +01:00
kevin_janssen b5e96853c3 Show occupied disk and RAM capacity with matching used and free segments
Rust development slice / linux (push) Failing after 9s
2026-11-20 08:40:48 +01:00
kevin_janssen 957bf3cd58 Swap free and used colors on RAM and disk capacity bars
Rust development slice / linux (push) Failing after 10s
2026-11-20 08:37:18 +01:00
kevin_janssen 021fdfc1bc Use muted terracotta for occupied RAM and disk capacity
Rust development slice / linux (push) Failing after 10s
2026-11-20 08:35:50 +01:00
kevin_janssen 9057808d16 Show free disk capacity with the same bar and caption as RAM
Rust development slice / linux (push) Failing after 10s
2026-11-20 08:31:15 +01:00
kevin_janssen 0b0790de71 Run approved FreeBSD root jobs through independently pinned and synchronized local helper
Rust development slice / linux (push) Failing after 11s
2026-11-20 08:27:13 +01:00
kevin_janssen 2e3916b84b Seed versioned OPNsense scripts and label the shared POSIX interpreter 2026-11-20 08:22:59 +01:00
kevin_janssen 1f3cd5ea0c Route OPNsense library and custom jobs through the standard order composer 2026-11-20 08:15:07 +01:00
kevin_janssen 8a1ea58d86 Plan OPNsense POSIX root scripts with explicit device policy, profile and approval 2026-11-20 08:12:52 +01:00
kevin_janssen 47249644b9 Record approved OPNsense kernel probe and matching native start evidence
Rust development slice / linux (push) Failing after 6s
2026-11-20 08:06:32 +01:00
kevin_janssen 6792b0dd11 Verify signed OPNsense kernel probes on the service account and retain exactly-once evidence
Rust development slice / linux (push) Failing after 13s
2026-11-19 20:55:29 +01:00
kevin_janssen 2e060e9507 Plan an exact service-account OPNsense kernel probe through normal approval 2026-11-19 20:48:41 +01:00
kevin_janssen 71adc2adf6 Record live OPNsense enrollment, WireGuard handshakes and remaining job parity
Rust development slice / linux (push) Failing after 14s
2026-11-19 20:14:34 +01:00
kevin_janssen 8acbee6a60 Qualify FreeBSD kernel time and supervise bounded POSIX process groups natively 2026-11-19 20:14:34 +01:00
kevin_janssen 6bf6e2539c Exercise appliance secret projection, truncation and device-only UI states
Rust development slice / linux (push) Failing after 12s
2026-11-19 20:10:36 +01:00
kevin_janssen 50b1fa4033 Run bounded OPNsense inventory and durable mTLS heartbeats as separate FreeBSD services
Rust development slice / linux (push) Failing after 11s
2026-11-19 20:07:49 +01:00
kevin_janssen b7d9046996 Project native FreeBSD packages, interfaces, hardware and login observations 2026-11-19 20:06:56 +01:00
kevin_janssen d05caf6fd3 Allow OPNsense snapshots in the tenant-bound observations table 2026-11-19 19:54:55 +01:00
kevin_janssen 89a58c609c Accept separate OPNsense inventory and show VPN and PF observations in device details
Rust development slice / linux (push) Failing after 13s
2026-11-19 19:53:51 +01:00
kevin_janssen ac6f940e2e Record public RAM bar verification
Rust development slice / linux (push) Failing after 12s
2026-11-19 19:38:18 +01:00
kevin_janssen 577a6eea75 Clarify the free and used RAM bar in device inventory
Rust development slice / linux (push) Failing after 12s
2026-11-19 19:37:41 +01:00
kevin_janssen 51ce8cde77 Record Windows inventory hotfix publication and native verification 2026-11-19 16:36:10 +01:00
kevin_janssen 037b5e39fa Handle missing DisplayVersion in Windows inventory 2026-11-19 16:30:39 +01:00
kevin_janssen 58236bc8f0 Record public rollout of device purpose
Rust development slice / linux (push) Failing after 13s
2026-11-19 15:11:58 +01:00
kevin_janssen 2070ae95e7 Add editable purpose to device inventory
Rust development slice / linux (push) Failing after 13s
2026-11-19 15:07:26 +01:00
kevin_janssen 5cfa0cfdcf Record Windows local clock rollout and idle CPU verification
Rust development slice / linux (push) Failing after 10s
2026-11-19 11:58:48 +01:00
kevin_janssen b002202d62 Qualify enrolled Windows job clocks from the local time service
Rust development slice / linux (push) Failing after 15s
2026-11-19 11:47:49 +01:00
kevin_janssen 6aeb618170 Record local Windows time policy and native diagnostic limits
Rust development slice / linux (push) Failing after 14s
2026-11-19 11:32:25 +01:00
kevin_janssen 5a9eafbff1 Record Windows idle CPU and SYSTEM follow-up
Rust development slice / linux (push) Failing after 13s
2026-11-19 10:21:07 +01:00
kevin_janssen f01e81418e Verify damaged history still blocks durable no-start
Rust development slice / linux (push) Failing after 13s
2026-11-19 10:10:02 +01:00
kevin_janssen d4cbc40979 Avoid replaying the helper journal history during idle sync 2026-11-19 10:09:38 +01:00
kevin_janssen 478ee1fc1a Avoid repeated full journal scans and fast ticks in Windows idle 2026-11-19 10:04:26 +01:00
kevin_janssen 01960477f8 Record verified production customer transfer cutover
Rust development slice / linux (push) Failing after 8s
2026-11-18 23:01:25 +01:00
kevin_janssen 480e3749a6 Complete customer transfers on first authenticated inventory
Rust development slice / linux (push) Failing after 8s
2026-11-18 22:57:05 +01:00
kevin_janssen 65d84a19c0 Record the production VM host display verification
Rust development slice / linux (push) Failing after 7s
2026-11-18 22:44:20 +01:00
kevin_janssen cad188aeb7 Use complete certificate evidence in the hypervisor database fixture
Rust development slice / linux (push) Failing after 7s
2026-11-18 22:42:14 +01:00
kevin_janssen bcd3bd86ad Show known hypervisors and the Hetzner placeholder for virtual machines 2026-11-18 22:39:29 +01:00
kevin_janssen 08177d8843 Merge Windows helper idle CPU fix and native verification
Rust development slice / linux (push) Failing after 8s
2026-11-18 22:20:14 +01:00
kevin_janssen 2378a54bd4 Record production customer transfer availability
Rust development slice / linux (push) Failing after 7s
2026-11-18 21:47:27 +01:00
kevin_janssen 9e957e6d8d Slow successful Windows helper time refreshes
Rust development slice / linux (push) Failing after 8s
(cherry picked from commit a4bcebf440)
2026-11-18 21:40:10 +01:00
kevin_janssen 5253a9f596 Support interactive customer transfers for enrolled devices
Rust development slice / linux (push) Failing after 8s
2026-11-18 21:35:28 +01:00
kevin_janssen dd59052e7c Record native Windows idle performance and SYSTEM acceptance
Rust development slice / linux (push) Failing after 8s
2026-11-18 21:31:48 +01:00
kevin_janssen a4bcebf440 Slow successful Windows helper time refreshes 2026-11-18 21:19:14 +01:00
kevin_janssen db6325131a Record production device inventory verification
Rust development slice / linux (push) Failing after 8s
2026-11-18 20:30:24 +01:00
kevin_janssen 1f60183b7e Fit larger Linux package inventories within bounded snapshots
Rust development slice / linux (push) Failing after 8s
2026-11-18 20:20:10 +01:00
kevin_janssen 55d159cab1 Retry Linux inventory when durable traffic delays collection
Rust development slice / linux (push) Failing after 8s
2026-11-18 20:12:05 +01:00
kevin_janssen aea2d5b379 Expand the passive inventory shown in device details
Rust development slice / linux (push) Failing after 9s
2026-11-18 20:02:41 +01:00
kevin_janssen 38f43f887a Record the native OTRS closure and dashboard verification
Rust development slice / linux (push) Failing after 8s
2026-11-18 19:08:27 +01:00
kevin_janssen 915e126f24 Reconcile a human closure when the helper has no result
Rust development slice / linux (push) Failing after 9s
2026-11-18 19:03:02 +01:00
kevin_janssen abad2022e2 Record the live RAM and CPU dashboard checks
Rust development slice / linux (push) Failing after 8s
2026-11-18 18:54:40 +01:00
kevin_janssen 6ed57c4d0b Show the same capacity bar for RAM and disk space
Rust development slice / linux (push) Failing after 7s
2026-11-18 18:47:46 +01:00
kevin_janssen 7006ce7420 Keep the last valid CPU reading during RAM-only heartbeats
Rust development slice / linux (push) Failing after 8s
2026-11-18 18:46:04 +01:00
kevin_janssen b3fe35b86b Show available RAM and measured CPU usage for devices
Rust development slice / linux (push) Failing after 8s
2026-11-18 18:37:18 +01:00
kevin_janssen fb2376443c Document OTRS ARM64 root-script helper activation
Rust development slice / linux (push) Failing after 7s
2026-11-18 18:21:51 +01:00
kevin_janssen f2a2d44d84 Require pushing completed changes to Gitea
Rust development slice / linux (push) Failing after 7s
2026-11-18 18:14:50 +01:00
kevin_janssen 7215ea9733 Merge remote-tracking branch 'origin/main' into codex/linux-arm64-installer 2026-11-18 18:14:35 +01:00
kevin_janssen b5907d681d Record successful OTRS enrollment and corrected HTTPS installer 2026-11-18 18:13:16 +01:00
kevin_janssen 4b3d0136e9 Wait for the device certificate before probing Linux enrollment 2026-11-18 18:09:52 +01:00
kevin_janssen bfdc3da8af Record native ARM64 HTTPS release and installer verification 2026-11-18 18:07:31 +01:00
kevin_janssen 6d15f1b3f5 Use the shared target triple for the release catalog 2026-11-18 17:59:34 +01:00
kevin_janssen 8b5365f4bc Verify Linux installer architecture selection and display available targets 2026-11-18 17:59:19 +01:00
kevin_janssen 247646a2ba Build and serve signed Linux ARM64 agent releases 2026-11-18 17:58:12 +01:00
kevin_janssen 11a67ca9a4 Record the production machine type rollout on both guests
Rust development slice / linux (push) Failing after 12s
2026-11-18 17:52:09 +01:00
kevin_janssen f1538143cf Check the machine type after the labelled hostname column
Rust development slice / linux (push) Failing after 13s
2026-11-18 17:41:22 +01:00
kevin_janssen c599baa494 Show the detected machine type in device inventory 2026-11-18 17:39:43 +01:00
kevin_janssen 6963ad332c Document the accepted MVP and retire superseded development plans
Rust development slice / linux (push) Failing after 14s
2026-11-18 17:21:12 +01:00
kevin_janssen f37b6dc4f7 Record native Linux and Windows MCP script and reboot results
Rust development slice / linux (push) Failing after 15s
2026-11-18 17:01:00 +01:00