Commit Graph
43 Commits
Author SHA1 Message Date
HermenixandClaude Sonnet 5.5 0ff3520563 container details: limits, sandbox flags and a live stats sample
Container details now carry the image id and the HostConfig resource limits
(CPU cores and shares, memory and swap bytes, pids, device requests) plus sandbox flags
(privileged, read-only rootfs, network mode, restart policy), with null meaning unlimited. A new
GET /api/v1/docker/containers/{name}/stats returns one live sample: CPU percent
of one core, memory working set, processes, block IO and network bytes. Peers
proxy the new route.

Env, labels, command lines and mounts are deliberately excluded from the payload.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 03:02:33 +00:00
ari 72fccc34f8 docs 2026-10-21 00:12:33 -04:00
ari b3b9103f2f Merge branch 'build-stamped-version' 2026-10-20 23:38:12 -04:00
ari 1a30b20ac0 Stamp the version as YYYY.MM.DD-<branch>-<sha>
build.rs builds the string (git, or SLINUXM_* env for builds without .git)
and the lib exposes it as VERSION. --version, /healthz, /api/v1/ping, MCP
server info and OTel service.version use it; OpenAPI info.version stays on
the semver so docs/openapi.json does not change per commit. The flake passes
the commit date and short rev to the package.
2026-10-20 23:27:46 -04:00
ari b38c66bcc8 added live redoc and slight refactors to tokens 2026-10-20 22:53:09 -04:00
ariandClaude Sonnet 5.5 f5e5f752e3 Fold Phase 5 into docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 16:35:11 -04:00
ariandClaude Sonnet 5.5 a6d451f23f G: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019dpKwZWtahQU4V2NhpVmLt
2026-10-20 15:59:48 -04:00
ariandClaude Sonnet 5.5 5f4a0583f3 F: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 15:54:03 -04:00
ariandClaude Sonnet 5.5 3798e330af D: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 23:14:04 -04:00
ariandClaude Sonnet 5.5 95fac95389 T: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 22:57:56 -04:00
ariandClaude Sonnet 5.5 396c382046 C: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 22:37:03 -04:00
ariandClaude Sonnet 5.5 b1338fdc36 A: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 22:32:35 -04:00
ariandClaude Sonnet 5.5 12c3a40708 E: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 20:59:09 -04:00
ariandClaude Sonnet 5.5 f0b6c29eac B: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 20:55:58 -04:00
ariandClaude Sonnet 5.5 274e3919ba A0: mark contract stubs merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 20:02:42 -04:00
ariandClaude Sonnet 5.5 d04d99a9a6 Accept Phase 5 plan, add phase-loop skill
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019dpKwZWtahQU4V2NhpVmLt
2026-10-19 17:36:54 -04:00
ari 6387f4455b WS-H: is done 2026-10-19 14:16:09 -04:00
ari a511ff532e doc updates 2026-10-19 14:14:29 -04:00
ariandClaude Sonnet 5.5 34da657fdf WS-H: NixOS module, VM test, README section
Module: Origin/Host allowlists from allowedHosts and the FQDN, credentials
refreshed on reload so SIGHUP rotates the TLS cert, string cert/key paths
kept out of the store, docker.enable asserts virtualisation.docker.
VM test covers healthz, 401, token mint/revoke via sudo -u, /mcp, Origin 403,
root refusal and a TLS node. Package skips two unit tests that need host
state the sandbox lacks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WMgwyHQQU9cB4ruRDrKow
2026-10-16 17:15:18 -04:00
ariandClaude Sonnet 5.5 74802efd0e systemd: make unit_status read-only (GetUnit only, never LoadUnit)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
2026-10-16 09:30:52 -04:00
ariandClaude Sonnet 5.5 85af4659f1 TODO: log deferred security findings as future work
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
2026-10-16 09:29:56 -04:00
ariandClaude Sonnet 5.5 c5972b762f WS-I: native TLS (optional, default off) with SIGHUP cert reload
server.tls.{enabled,cert_file,key_file}; rustls (ring, explicit provider) via
tokio-rustls + hyper-util; https:// MCP origins when enabled; non-loopback
plain-HTTP startup warning; tests/tls.rs; README TLS section.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 07:10:14 -04:00
ariandClaude Sonnet 5.5 90e30bd771 plan: rename WS-I task IDs to T1-T8 to avoid clash with P3 I1-I6
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 06:53:35 -04:00
ariandClaude Sonnet 5.5 7b588120e0 plan: DEC-9/10 decided, DEC-12 TLS proposed, add WS-I TLS card, update WS-H
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 06:53:26 -04:00
ari 3a0084ac3a Merge branch 'p3/integration' into integration/phase1 2026-10-15 19:28:12 -04:00
ariandClaude Sonnet 5.5 533659dfc1 P3 review follow-ups: bounded shutdown, unit hardening, host guard, more tests
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
2026-10-15 19:27:49 -04:00
ariandClaude Sonnet 5.5 acedb9522e P3: wire serve end to end, integration tests, unit file, README
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
2026-10-15 19:21:53 -04:00
ariandClaude Sonnet 5.5 af73d118bb plan: add WS-H NixOS module + CLI install card, TODO phase 4, DEC-9..11
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 19:00:48 -04:00
ari 25775eb24c Merge branch 'ws-g/otel' into integration/phase1 2026-10-15 18:43:37 -04:00
ari 1b2ab6fd2c Merge branch 'ws-f/mcp-server' into integration/phase1 2026-10-15 18:43:35 -04:00
ariandClaude Sonnet 5.5 e63fc25907 WS-E: review follow-ups (JSON 405, SSE end frame, lifecycle and validation tests)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
2026-10-15 18:38:31 -04:00
ariandClaude Sonnet 5.5 2aeb9ae154 WS-G: OpenTelemetry export (traces, metrics, logs)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
2026-10-15 18:37:40 -04:00
ariandClaude Sonnet 5.5 e96bd716a6 WS-F: MCP server with 8 tools, prompts, resources
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
2026-10-15 18:33:15 -04:00
ariandClaude Sonnet 5.5 6130e01b92 WS-E: REST API handlers, SSE follow, healthz, tests
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
2026-10-15 18:32:52 -04:00
ari 2d57fb1a78 Merge branch 'ws-d/auth-db' into integration/phase1 2026-10-15 18:01:53 -04:00
ari e6c4521e3a Merge branch 'ws-c/docker-source' into integration/phase1 2026-10-15 18:01:53 -04:00
ari 7c7987e0c1 Merge branch 'ws-b/journal-source' into integration/phase1 2026-10-15 18:01:53 -04:00
ariandClaude Sonnet 5.5 5e7a323020 WS-A: systemd D-Bus source, example and tests
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
2026-10-15 17:59:25 -04:00
ariandClaude Sonnet 5.5 b6c814a18f WS-D: token DB, token CLI and bearer auth middleware
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
2026-10-15 17:58:58 -04:00
ariandClaude Sonnet 5.5 2404d9dd95 WS-C: bollard docker source and docker_ps example
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
2026-10-15 17:47:01 -04:00
ariandClaude Sonnet 5.5 b1bf04d4ec WS-B: journald source (query, follow, example)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
2026-10-15 17:46:44 -04:00
ariandClaude Sonnet 5.5 2687ef5c33 P0: config.example.toml, decisions DEC-2..8, card log, board and TODO
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 17:24:59 -04:00
ari 389c4f998a initial setup 2026-10-15 17:07:03 -04:00