• v0.4.0 affc65aadb

    laurent released this 2026-11-10 13:55:17 +01:00 | 25 commits to main since this release

    v0.4.0 — Docker container management

    Gilfoyle can now manage Docker containers over the daemon's UNIX socket, in-process and
    without ever spawning docker. The operation set is closed — no create, no remove — the
    mutations are default-deny through [docker] manage_containers (exact names or anchored re:
    patterns), and the API version is negotiated via /version.

    New tools: list_containers, container_status, start_container, stop_container,
    restart_container. The client fans the two reads out across nodes.

    Highlights:

    • New gilfoyle-docker crate: HTTP/1.1 over the UNIX socket with hyper, a closed request
      set, and a pure, fully-tested parser.
    • 100% mutation score maintained (427/427 viable mutants caught); two new fuzz targets
      (container_ref, container_allowlist).
    • Docs: ADR 0010, README, glossary and install guide.
    • The bilingual website (https://gilfoyle.evrard.online) is now built and bundled in the
      release tarball under website/.

    Tarball contents

    gilfoyle (node and client), gilfoyle.service, the example polkit rules (units and
    packages), README.md, INSTALL.md, and the compiled static site under website/.

    Downloads
  • v0.3.1 e6dd2fc6a6

    laurent released this 2026-11-09 09:07:44 +01:00 | 29 commits to main since this release

    Correctif ciblé : avec le backend PackageKit APT, la surface paquets renvoyait toujours des résultats vides (list_packages, list_updates, preview_upgrade), alors que pkcon et le bus D-Bus montraient bien des paquets et un succès.

    Cause racine — PackageId::parse exigeait exactement 5 champs séparés par ; (forme DNF name;version;arch;origin;data), alors que le backend APT de Debian en émet 4 (name;version;arch;data). Chaque identifiant était rejeté, puis supprimé silencieusement par le filter_map du collecteur : zéro partout, aucune erreur.

    Correctif — 4 ou 5 champs sont acceptés ; dans les deux formes le 4e champ est le slot origin (auto:debian-stable-main en APT, debian en DNF), et l'identifiant brut reste conservé verbatim pour UpdatePackages. Aucun changement d'API, de configuration, d'unité systemd ni de règle polkit.

    Qualité — make check vert (fmt, clippy -D warnings, tests, et mutation : 494 mutants, 353 caught, 141 unviable, 0 survivant) ; make fuzz (6 cibles × 20 000 runs) sans crash.

    PR : #4

    Artefacts

    • gilfoyle-0.3.1-x86_64-unknown-linux-gnu.tar.gz
    • gilfoyle-0.3.1-x86_64-unknown-linux-gnu.tar.gz.sha256

    Mettre à jour un nœud (binaire dynamique GNU ; le remplacement du binaire suffit — aucun autre fichier ne change) :

    tar -xzf gilfoyle-0.3.1-x86_64-unknown-linux-gnu.tar.gz
    # le .sha256 enregistre le chemin « dist/… » : comparer la valeur manuellement
    sha256sum gilfoyle-0.3.1-x86_64-unknown-linux-gnu.tar.gz   # doit égaler la 1re colonne du .sha256
    sudo install -o root -g root -m 0755 gilfoyle-0.3.1-x86_64-unknown-linux-gnu/gilfoyle /usr/local/bin/gilfoyle
    /usr/local/bin/gilfoyle --version   # → gilfoyle 0.3.1
    sudo systemctl restart gilfoyle
    

    Contrôle post-déploiement : list_packages / list_updates renvoient des résultats non vides.

    Downloads
  • v0.3.0 0b3ea76e30

    v0.3.0 Pre-release

    laurent released this 2026-11-09 07:31:03 +01:00 | 32 commits to main since this release

    gilfoyle 0.3.0

    Adds a package-management surface backed by PackageKit over in-process D-Bus, on top of the SSH transport.

    New tools: list_packages, list_updates, preview_upgrade, refresh_package_cache (apt update), upgrade_packages (apt upgrade).

    • Never installs or removes a package, by construction. The operation vocabulary is a closed enum with no install/remove variant; every update carries ONLY_TRUSTED; an upgrade whose plan would install, remove, obsolete or downgrade a package is refused unless the operator sets allow_transitive_changes = true.
    • New [packagekit] allow allowlist (empty by default). Authority is a generated polkit rule (gilfoyle packagekit polkit-rule) that also explicitly refuses the install/remove/signing-key actions.
    • Untrusted packages (missing signature, signing key required, EULA) are always refused.
    • PackageKit 2.x is detected and refused (its bus name and enum values differ); the deployed 1.x dialect is used.
    • The package reads are fanned out by the client (all).
    • Docs: README requirements split into build vs run (old dependencies systemd/polkitd and new PackageKit + backend, ring); docs/INSTALL.md agent prompt rewritten to ask the operator each choice instead of assuming one; ADR 0007–0009.

    Assets: dynamically linked GNU x86_64 binary with the systemd unit, the example polkit rules and the docs. Verify with the .sha256 file.

    Downloads
  • v0.2.0 8695901767

    v0.2.0 Stable

    laurent released this 2026-11-08 16:41:48 +01:00 | 36 commits to main since this release

    v0.2.0 — SSH transport

    Replaces the HTTP transport with an embedded SSH server (russh) and authenticates by public key.

    • Node: SSH transport, gilfoyle-mcp subsystem, refuses shell/exec/pty/forwarding; per-key tool grants; gilfoyle ssh keygen; bind/host_key/[[keys]] config. HTTP, bearer tokens and axum removed.
    • Client: gilfoyle client aggregates several nodes behind one MCP stdio surface (node argument, list_nodes, read fan-out, host-key pinning, session pool, reconnect + read retry).
    • Docs: docs/INSTALL.md (install, and migrate from the old HTTP build), ADR 0005/0006.

    Asset

    gilfoyle-0.2.0-x86_64-unknown-linux-gnu.tar.gz — dynamically linked GNU binary, the systemd unit, an example polkit rule, and the docs. Verify with the .sha256 file.

    The old v0.1.0 static-musl asset is superseded: the SSH crypto backend (ring) means the build is no longer pure Rust, so releases are dynamically linked.

    Downloads
  • v0.1.0 91b703c787

    v0.1.0 Stable

    laurent released this 2026-10-27 16:08:25 +01:00 | 44 commits to main since this release

    Static musl build of the gilfoyle MCP server.

    Tools: get_uptime, list_units, unit_status, start_unit, stop_unit.
    Security: bearer auth, no process spawning (systemd over in-process D-Bus),
    mutations default-deny and allowlisted via polkit.

    Assets:

    • gilfoyle-0.1.0-x86_64-unknown-linux-musl.tar.gz (binary, systemd unit, example polkit rule, docs)
    • .sha256 checksum

    Install: see the README in the tarball.

    Downloads