{
  "uid": "cogitave.learn.install-the-massar-agent.summary",
  "kind": "moduleUnit",
  "href": "/modules/install-the-massar-agent/summary/",
  "title": "Summary",
  "summary": "",
  "type": null,
  "products": [],
  "roles": [],
  "levels": [],
  "subjects": [],
  "headings": [
    "Next steps"
  ],
  "source": "You can now install, verify, and cleanly remove the Cogitave Massar agent on\nLinux or Windows, and reproduce an entire session locally without a Diyar\ndeployment.\n\nIn this module, you:\n\n- Gathered what an install needs - a broker URL and a per-device token - and\n  confirmed Massar's supported platforms today: Linux and Windows only; macOS\n  is deferred, with no installer or service definition, even though CI\n  cross-compiles a macOS binary on every release.\n- Learned how the installer verifies a release before it ever touches disk:\n  an unconditional SHA-256 checksum, then a signature check (keyless cosign on\n  Linux, Authenticode on Windows), with a CycloneDX SBOM and SLSA provenance\n  attached for audit rather than as an install-time gate.\n- Installed the agent as a systemd service on Linux (`install.sh`) or a\n  Windows service on Windows (`install.ps1`) - each locked down to exactly the\n  authority it needs - and confirmed each was actually running.\n- Traced a session's wire protocol from `open` through `resize` to `close`,\n  and reproduced the full agent-broker-operator relay locally with\n  `massar-broker-dev` and `massar-op-test`, watching the `MASSAR_PROOF_OK`\n  sentinel round-trip through a real PTY.\n- Removed the agent cleanly on either OS with `uninstall.sh` or\n  `uninstall.ps1`, and learned exactly what removal erases locally (the\n  binary, the config, the token) versus what it can never touch: Diyar's own\n  record of every session that ran while the agent was active.\n\nThat completes the two modules of the \"Get started with Cogitave Massar\"\npath: understanding the guardian agent's security model, and now installing,\nproving, and removing it yourself.\n\n## Next steps\n\n- @cogitave.learn.paths.get-started-with-massar - return to the path to claim\n  your trophy.\n",
  "partOf": "cogitave.learn.install-the-massar-agent",
  "durationInMinutes": 3,
  "quiz": null
}