{
  "kind": "swarmtorch.roadmap",
  "catalog_version": 1,
  "repository": "swarmic/SwarmTorch",
  "source_revision": "7a75c553c6356f35473d7dbaf6b8e256a86023a7",
  "repository_checked_at": "2026-11-25T13:49:37.822Z",
  "workstreams": [
    {
      "id": "ws.learning",
      "title": "Learning and backends",
      "foundation": "Core models, robust aggregation, FedAsync, LoRA/FLoRA, Burn and Candle CPU bridges, WGPU adapter.",
      "direction": "Broader qualified models and target combinations, bounded model-zoo tooling, optional CUDA."
    },
    {
      "id": "ws.devices",
      "title": "Devices and connectivity",
      "foundation": "Portable crates, low-MTU framing, TCP/UDP, live Iroh and Zenoh adapters, simulated LoRa and BLE HALs.",
      "direction": "Physical radio boards, hardware operating envelopes, WiFi, qualified constrained deployments."
    },
    {
      "id": "ws.trust",
      "title": "Trust and privacy",
      "foundation": "Authentication, replay recovery, cohort admission, scoped DpFedAvgV1, durable accounting.",
      "direction": "Reviewed output policies, assurance records, compatible profiles, additional privacy mechanisms."
    },
    {
      "id": "ws.recovery",
      "title": "Recovery and DataOps",
      "foundation": "CAS, exact resume, signed manifests, run DAGs, physical data operations, reports.",
      "direction": "More qualified recovery environments, operator preflight, retained evidence and integration maturity."
    },
    {
      "id": "ws.devex",
      "title": "Developer experience",
      "foundation": "Runnable examples, static report generation, read-only MCP.",
      "direction": "Local viewer, bounded Python interfaces, inference interchange and an eventual desktop surface."
    }
  ],
  "milestones": [
    {
      "id": "m.learning.wgpu",
      "title": "WGPU backend bridges",
      "workstream_id": "ws.learning",
      "outcome": "Run the reference model bridges on GPUs through Burn WGPU.",
      "scope": "Optional backend adapter; LinearModel and MLP bridges.",
      "intent": "completed",
      "capability_ids": [
        "backend.burn.wgpu"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.wgpu.landed",
          "text": "Bridges and device selector present in the adapter source.",
          "evidence_ids": [
            "src.backends"
          ]
        },
        {
          "id": "ac.wgpu.ci",
          "text": "Standalone adapter CI lane passes at the recorded revision.",
          "evidence_ids": [
            "ci.wave16"
          ]
        },
        {
          "id": "ac.wgpu.hw",
          "text": "Live GPU integration reported on named hardware.",
          "evidence_ids": [
            "hw.wgpu-rtx5080"
          ]
        }
      ],
      "source_paths": [
        "adapters/swarm-torch-backends/src/lib.rs"
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Wave 16D landed WGPU bridges with serialized device enumeration.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.learning.cuda",
      "title": "Optional CUDA backend",
      "workstream_id": "ws.learning",
      "outcome": "Use CUDA devices where WGPU is not the right fit.",
      "scope": "Optional adapter behind DevicePlacementV1::Cuda.",
      "intent": "planned",
      "capability_ids": [
        "backend.cuda"
      ],
      "depends_on": [
        "m.learning.wgpu"
      ],
      "acceptance_criteria": [
        {
          "id": "ac.cuda.impl",
          "text": "CUDA placement implemented in the backend adapter.",
          "evidence_ids": []
        },
        {
          "id": "ac.cuda.hw",
          "text": "Integration evidence on a named CUDA target.",
          "evidence_ids": []
        }
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Contract defined; listed for v0.3.0+ in the public roadmap.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.learning.targets",
      "title": "Broader qualified model and target combinations",
      "workstream_id": "ws.learning",
      "outcome": "Know exactly which model, backend, precision and target combinations are qualified.",
      "scope": "Named targets with retained evidence.",
      "intent": "planned",
      "capability_ids": [
        "backend.cpu",
        "backend.burn.wgpu"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.targets.records",
          "text": "Each qualified combination has its own profile record and evidence.",
          "evidence_ids": []
        }
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "No public change recorded.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.learning.typed-aggregation",
      "title": "Typed aggregation boundaries and checked composition",
      "workstream_id": "ws.learning",
      "outcome": "Reject unsupported combinations of aggregation, privacy and compression at build time.",
      "scope": "Proposed evolution; no public contract yet.",
      "intent": "proposed",
      "capability_ids": [
        "learning.aggregation.robust"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.typed.contract",
          "text": "A ratified public contract defines the composition rules.",
          "evidence_ids": []
        }
      ],
      "promotion_criteria": "Ratified ADR plus conformance tests for accepted and rejected compositions.",
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Proposed in the website handoff review.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.devices.radio-hals",
      "title": "Hardware-agnostic LoRa and BLE HALs",
      "workstream_id": "ws.devices",
      "outcome": "Model constrained radio links in no_std code before touching hardware.",
      "scope": "Packet transports and duty-cycle limits, simulation only.",
      "intent": "completed",
      "capability_ids": [
        "net.lora",
        "net.ble"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.radio.src",
          "text": "LoRa and BLE packet transports present in swarm-torch-net.",
          "evidence_ids": [
            "src.lora-net",
            "src.ble"
          ]
        },
        {
          "id": "ac.radio.targets",
          "text": "Embedded target builds pass in CI.",
          "evidence_ids": [
            "ci.wave16"
          ]
        }
      ],
      "source_paths": [
        "swarm-torch-net/src/lora.rs",
        "swarm-torch-net/src/ble.rs"
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Wave 16E landed both HALs at Simulation verified.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.devices.radio-boards",
      "title": "Physical radio board bindings",
      "workstream_id": "ws.devices",
      "outcome": "Train over real LoRa and BLE radios on named boards.",
      "scope": "Out-of-tree SX126x and trouble-host drivers with board evidence.",
      "intent": "planned",
      "is_next": true,
      "capability_ids": [
        "net.radio-boards",
        "net.lora",
        "net.ble"
      ],
      "depends_on": [
        "m.devices.radio-hals"
      ],
      "acceptance_criteria": [
        {
          "id": "ac.boards.driver",
          "text": "SPI and HCI bindings implemented for named boards.",
          "evidence_ids": []
        },
        {
          "id": "ac.boards.evidence",
          "text": "Board-level run evidence retained as a public artifact.",
          "evidence_ids": []
        }
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Listed for v0.3.0+ in the public roadmap.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.devices.wifi",
      "title": "WiFi transport",
      "workstream_id": "ws.devices",
      "outcome": "Use WiFi-attached constrained devices as participants.",
      "scope": "Replace the wifi-transport placeholder.",
      "intent": "planned",
      "capability_ids": [
        "net.wifi"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.wifi.impl",
          "text": "Transport implemented with simulation evidence.",
          "evidence_ids": []
        }
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Listed for v0.3.0+ in the public roadmap.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.devices.envelopes",
      "title": "Measured operating envelopes",
      "workstream_id": "ws.devices",
      "outcome": "Plan deployments against measured memory, latency and link budgets.",
      "scope": "Named workloads and environments only.",
      "intent": "planned",
      "capability_ids": [],
      "depends_on": [
        "m.devices.radio-boards"
      ],
      "acceptance_criteria": [
        {
          "id": "ac.env.measured",
          "text": "Reproducible measurements published with workload and environment.",
          "evidence_ids": []
        }
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "No public change recorded.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.devices.logical-release",
      "title": "Logical-release equivalence across fragments and retries",
      "workstream_id": "ws.devices",
      "outcome": "Show that chunking, fragmentation and retries never change what was released.",
      "scope": "Proposed qualification on top of implemented framing.",
      "intent": "proposed",
      "capability_ids": [
        "net.framing"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.lre.contract",
          "text": "Ratified equivalence contract and conformance tests.",
          "evidence_ids": []
        }
      ],
      "promotion_criteria": "Public contract plus tests covering memory chunks, fragments and retries.",
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Proposed in the website handoff review.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.trust.dpfedavg-v1",
      "title": "DpFedAvgV1 client-level DP",
      "workstream_id": "ws.trust",
      "outcome": "Release models with client-level differential privacy under a trusted coordinator.",
      "scope": "The dp.dpfedavg-v1 profile only.",
      "intent": "completed",
      "capability_ids": [
        "trust.dp.dpfedavg-v1"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.dp.mechanism",
          "text": "Clipping, discrete Gaussian noise and sealed construction present in source.",
          "evidence_ids": [
            "src.dp"
          ]
        },
        {
          "id": "ac.dp.tests",
          "text": "Adversarial conformance tests pass in CI.",
          "evidence_ids": [
            "test.dp",
            "ci.wave16"
          ]
        },
        {
          "id": "ac.dp.ledger",
          "text": "Durable pre-release ledger debit with exact recovery.",
          "evidence_ids": [
            "src.dp-ledger"
          ]
        }
      ],
      "source_paths": [
        "swarm-torch-core/src/dp.rs",
        "swarm-torch/src/artifacts/dp_ledger.rs"
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Wave 16B added Poisson cohort selection alongside full-cohort ReplaceOne.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.trust.output-policy",
      "title": "Reviewed public output policy",
      "workstream_id": "ws.trust",
      "outcome": "Know exactly which run outputs are covered by a privacy claim.",
      "scope": "Resolve equivocated-peer telemetry and caller-provided round fitness before any all-outputs claim.",
      "intent": "proposed",
      "is_next": true,
      "capability_ids": [
        "trust.dp.dpfedavg-v1"
      ],
      "depends_on": [
        "m.trust.dpfedavg-v1"
      ],
      "acceptance_criteria": [
        {
          "id": "ac.out.equivocated",
          "text": "Output policy decision recorded for swarmtorch.equivocated_peers.",
          "evidence_ids": []
        },
        {
          "id": "ac.out.fitness",
          "text": "Output policy decision recorded for optional round_fitness.",
          "evidence_ids": []
        }
      ],
      "promotion_criteria": "Implementation review plus tests showing each public output is covered or excluded.",
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Identified during the website handoff review; not an exploit finding.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.trust.release-retransmission",
      "title": "Byte-identical release retransmission",
      "workstream_id": "ws.trust",
      "outcome": "Retransmit an already-charged release without a second privacy debit.",
      "scope": "Tie a durable release record to the sanitized-output digest.",
      "intent": "proposed",
      "capability_ids": [
        "trust.dp.dpfedavg-v1"
      ],
      "depends_on": [
        "m.trust.dpfedavg-v1"
      ],
      "acceptance_criteria": [
        {
          "id": "ac.rt.digest",
          "text": "Persisted ledger entry binds the sanitized-output digest.",
          "evidence_ids": []
        }
      ],
      "promotion_criteria": "End-to-end contract and tests for retransmission after crash.",
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Separated from implemented recovery during review.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.trust.more-dp-profiles",
      "title": "Local and example-level DP profiles",
      "workstream_id": "ws.trust",
      "outcome": "Choose a privacy unit and trust model other than client-level with a trusted coordinator.",
      "scope": "Separate profiles with explicit unit, observer, sampling and mechanism.",
      "intent": "proposed",
      "capability_ids": [],
      "depends_on": [
        "m.trust.output-policy"
      ],
      "acceptance_criteria": [
        {
          "id": "ac.more.contract",
          "text": "Each profile has a ratified public contract.",
          "evidence_ids": []
        }
      ],
      "promotion_criteria": "Ratified profile contract and conformance evidence per profile.",
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "No public change recorded.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.trust.private-analytics",
      "title": "Private evaluation, adaptive clipping and fleet analytics",
      "workstream_id": "ws.trust",
      "outcome": "Measure and tune a fleet without leaking participant data.",
      "scope": "Requires output and accounting contracts first.",
      "intent": "proposed",
      "capability_ids": [],
      "depends_on": [
        "m.trust.output-policy"
      ],
      "acceptance_criteria": [
        {
          "id": "ac.pa.contract",
          "text": "Output and accounting contracts ratified.",
          "evidence_ids": []
        }
      ],
      "promotion_criteria": "Ratified contracts with accounting integration tests.",
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "No public change recorded.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.trust.secure-aggregation",
      "title": "Secure aggregation, distributed noise, DP-FTRL and tree aggregation",
      "workstream_id": "ws.trust",
      "outcome": "Reduce trust in the coordinator.",
      "scope": "Research direction. Secure sum alone does not provide output privacy, and a secure-sum interface does not support Krum or median.",
      "intent": "research",
      "capability_ids": [],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.sa.profile",
          "text": "An approved profile with protocol assumptions and visibility stated.",
          "evidence_ids": []
        }
      ],
      "promotion_criteria": "Approved profile, threat model and promotion review.",
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "No public change recorded.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.trust.crypto-agility",
      "title": "Crypto agility and post-quantum evaluation",
      "workstream_id": "ws.trust",
      "outcome": "Rotate signature algorithms without a protocol break.",
      "scope": "Algorithm negotiation and rotation contracts, per-target evaluation.",
      "intent": "proposed",
      "capability_ids": [
        "trust.auth-replay"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.ca.contract",
          "text": "Negotiation and rotation contract ratified.",
          "evidence_ids": []
        }
      ],
      "promotion_criteria": "Ratified contract plus constrained-target cost evaluation.",
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "No public change recorded.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.trust.tla",
      "title": "TLA+ protocol modelling",
      "workstream_id": "ws.trust",
      "outcome": "Machine-checked coordination and recovery protocols.",
      "scope": "Research until a public specification and verification scope exist.",
      "intent": "research",
      "capability_ids": [],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.tla.spec",
          "text": "Public specification with an exact verification scope.",
          "evidence_ids": []
        }
      ],
      "promotion_criteria": "Published specification and model-checking results.",
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "No public change recorded.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.recovery.wasm-abi",
      "title": "Structured Wasm allocation ABI",
      "workstream_id": "ws.recovery",
      "outcome": "Run extensions that manage their own memory safely inside the sandbox.",
      "scope": "SwarmTorchAllocV1 in the isolated wasmi adapter.",
      "intent": "completed",
      "capability_ids": [
        "ext.wasm-sandbox"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.abi.src",
          "text": "Structured ABI implemented with ownership and aliasing rules.",
          "evidence_ids": [
            "src.wasm"
          ]
        },
        {
          "id": "ac.abi.ci",
          "text": "Adapter CI lane passes.",
          "evidence_ids": [
            "ci.wave16"
          ]
        }
      ],
      "source_paths": [
        "adapters/swarm-torch-wasm/src/lib.rs"
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Wave 16C added SwarmTorchAllocV1 alongside RawMem0V0.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.recovery.environments",
      "title": "Qualified recovery environments and operator preflight",
      "workstream_id": "ws.recovery",
      "outcome": "Trust crash recovery on the platforms you deploy to.",
      "scope": "Named filesystems and platforms, including the documented non-Unix boundary.",
      "intent": "planned",
      "capability_ids": [
        "recovery.cas-resume"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.env.records",
          "text": "Per-environment recovery evidence retained publicly.",
          "evidence_ids": []
        }
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "No public change recorded.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.devex.viewer",
      "title": "Local read-only artifact viewer",
      "workstream_id": "ws.devex",
      "outcome": "Browse a verified run bundle locally.",
      "scope": "P2-16 over VerifiedBundleV1, with its own output policy.",
      "intent": "planned",
      "is_next": true,
      "capability_ids": [
        "devex.viewer",
        "devex.reports"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.viewer.impl",
          "text": "Viewer renders a verified bundle read-only.",
          "evidence_ids": []
        }
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Listed for v0.3.0+ in the public roadmap.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.devex.desktop",
      "title": "Optional desktop wrapper",
      "workstream_id": "ws.devex",
      "outcome": "Use the viewer as a desktop application.",
      "scope": "P2-17.",
      "intent": "planned",
      "capability_ids": [],
      "depends_on": [
        "m.devex.viewer"
      ],
      "acceptance_criteria": [
        {
          "id": "ac.desktop.impl",
          "text": "Desktop wrapper over the viewer.",
          "evidence_ids": []
        }
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Listed in the public roadmap.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.devex.python",
      "title": "PyO3 model-zoo boundary",
      "workstream_id": "ws.devex",
      "outcome": "Bring models from Python tooling without a Python runtime on participants.",
      "scope": "ADR-0009 direction.",
      "intent": "planned",
      "capability_ids": [
        "devex.python"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.py.impl",
          "text": "Bounded PyO3 interface implemented and tested.",
          "evidence_ids": []
        }
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "No public change recorded.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.devex.onnx",
      "title": "ONNX inference interchange",
      "workstream_id": "ws.devex",
      "outcome": "Export trained models for inference elsewhere.",
      "scope": "ADR-0010; inference only.",
      "intent": "planned",
      "capability_ids": [
        "devex.onnx"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.onnx.impl",
          "text": "Inference export implemented with a round-trip test.",
          "evidence_ids": []
        }
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "No public change recorded.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.devex.site",
      "title": "swarmtorch.dev and the public catalog",
      "workstream_id": "ws.devex",
      "outcome": "Answer what works, where, and with what evidence, from one reviewed catalog.",
      "scope": "Website, catalog validator, repository snapshot and quickstart execution checks.",
      "intent": "active",
      "capability_ids": [
        "devex.examples"
      ],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.site.catalog",
          "text": "Catalog validates with no duplicate IDs, broken references or cycles.",
          "evidence_ids": []
        },
        {
          "id": "ac.site.quickstart",
          "text": "Native cargo run --locked of hello_swarm recorded at the pinned revision.",
          "evidence_ids": []
        },
        {
          "id": "ac.site.wasm",
          "text": "Browser module results match native fixtures at declared tolerances.",
          "evidence_ids": []
        }
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Static site and catalog prepared for review.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    },
    {
      "id": "m.devex.publication",
      "title": "Package publication and install path",
      "workstream_id": "ws.devex",
      "outcome": "Install SwarmTorch from a package registry with a named version.",
      "scope": "crates.io publication, docs.rs coverage, GitHub release and reconciled version labels.",
      "intent": "planned",
      "capability_ids": [],
      "depends_on": [],
      "acceptance_criteria": [
        {
          "id": "ac.pub.crate",
          "text": "swarm-torch resolves on crates.io at a named version.",
          "evidence_ids": []
        },
        {
          "id": "ac.pub.docs",
          "text": "docs.rs builds the published version.",
          "evidence_ids": []
        },
        {
          "id": "ac.pub.labels",
          "text": "Cargo, roadmap and changelog version labels reconciled.",
          "evidence_ids": []
        }
      ],
      "lifecycle_stage": null,
      "release": null,
      "recent_change": "Registry checks on 2026-11-25 found no published crate or release.",
      "target_window": null,
      "reviewed_at": "2026-11-25"
    }
  ]
}