{"id":50316209,"url":"https://github.com/msitarzewski/phase","last_synced_at":"2026-05-29T00:02:53.757Z","repository":{"id":323265425,"uuid":"1092671580","full_name":"msitarzewski/phase","owner":"msitarzewski","description":"Phase is an open protocol for distributed computation: workloads are discovered, executed, and verified across a global network of independent nodes. Plasm is the local runtime engine that turns any computer into a node in the network.","archived":false,"fork":false,"pushed_at":"2026-05-28T05:25:24.000Z","size":9715,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-28T07:14:28.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msitarzewski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-11-09T04:21:51.000Z","updated_at":"2026-05-28T05:25:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/msitarzewski/phase","commit_stats":null,"previous_names":["msitarzewski/phase"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/msitarzewski/phase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msitarzewski%2Fphase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msitarzewski%2Fphase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msitarzewski%2Fphase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msitarzewski%2Fphase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msitarzewski","download_url":"https://codeload.github.com/msitarzewski/phase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msitarzewski%2Fphase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33631002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-29T00:02:53.689Z","updated_at":"2026-05-29T00:02:53.750Z","avatar_url":"https://github.com/msitarzewski.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phase\n\nPhase is the open verifiable compute protocol — a credibly-neutral, vendor-agnostic substrate for advertising, discovering, and verifying compute across machines that do not trust each other, without payments, without KYC, without lock-in. The protocol is workload-neutral: WASM today, GPU inference next (LUCID), anything that benefits from verifiable distributed compute after that. For everyone: smart computing, on the public's hardware, that nobody can turn off.\n\nSee [memory-bank/MISSION.md](memory-bank/MISSION.md) for the long-form rationale.\n\n---\n\n## Status\n\n- **Phase Core** — complete (Nov 2025 → May 2026). The libp2p + Ed25519 substrate has been extracted from the legacy `daemon/` tree into seven publishable Rust library crates plus the repositioned Plasm reference node.\n- **LUCID** — in progress. The inference flagship daemon (`crates/lucidd`) is scaffolded; M2–M8 build out the LlamaCpp/MLX workers, the Ollama API surface, the local-or-DHT router, and the two-node demo.\n\nWorkspace state: 152 tests passing, `cargo build --workspace` clean, zero clippy warnings across phase-core crates, legacy `daemon/` removed (history preserved in git).\n\n---\n\n## Repository Structure\n\n```\nphase/\n├── Cargo.toml                 # Workspace root, resolver = 2\n├── crates/\n│   ├── phase-identity/        # Persistent Ed25519 node identity\n│   ├── phase-net/             # libp2p / Kademlia / mDNS / Noise+QUIC\n│   ├── phase-manifest/        # SignedManifest\u003cT\u003e, generic over payload\n│   ├── phase-receipt/         # SignedReceipt\u003cT\u003e, generic over JobResult\n│   ├── phase-protocol/        # JobSpec enum + Worker trait + JobStream\n│   ├── phase-artifact-server/ # Content-addressed HTTP server\n│   ├── plasm/                 # Reference WASM Phase node (plasmd binary)\n│   └── lucidd/                # LUCID inference Phase node (in progress)\n├── php-sdk/                   # PHP client SDK (legacy + phase-receipt:v1: signing)\n├── wasm-examples/             # Source for hello.wasm\n├── examples/                  # hello.wasm artifact + PHP demos\n├── boot/                      # Phase Boot (USB/netboot initramfs)\n├── memory-bank/               # Project documentation\n│   ├── MISSION.md\n│   ├── releases/\n│   │   ├── phase-core/        # Library extraction release plan\n│   │   └── lucid/             # Inference flagship release plan\n│   └── tasks/                 # Per-month task records\n└── CLAUDE.md / AGENTS.md      # AI-assist development workflow\n```\n\n### Crate dependency graph\n\n```\nphase-identity   ← leaf\n  ├── phase-net\n  ├── phase-manifest\n  └── phase-receipt\n          └── phase-protocol\n                  ├── phase-artifact-server  (also depends on phase-net)\n                  ├── plasm                  (WASM reference node)\n                  └── lucidd                 (inference flagship, in progress)\n```\n\nNo upward references. Build order is top to bottom.\n\n---\n\n## Quick Start\n\nBuild everything:\n\n```bash\ncargo build --workspace\n```\n\nRun the Plasm reference node:\n\n```bash\ncargo run -p plasm --bin plasmd -- start\n```\n\nExecute the hello.wasm sample (reverses `Hello, World` to `dlroW ,olleH`) and emit a signed receipt:\n\n```bash\ncargo run -p plasm --bin plasmd -- run examples/hello.wasm\n```\n\nServe boot artifacts (Phase Boot provider role):\n\n```bash\nmkdir -p /tmp/boot-artifacts/stable/x86_64\ncargo run -p plasm --bin plasmd -- serve --artifacts /tmp/boot-artifacts\n```\n\nRun the test suite:\n\n```bash\ncargo test --workspace\n```\n\n---\n\n## Documentation\n\n- [memory-bank/MISSION.md](memory-bank/MISSION.md) — what we are building and why\n- [memory-bank/releases/phase-core/](memory-bank/releases/phase-core/) — substrate extraction release plan and milestone records\n- [memory-bank/releases/lucid/](memory-bank/releases/lucid/) — inference flagship release plan\n- [memory-bank/decisions.md](memory-bank/decisions.md) — architectural decision record\n- [memory-bank/projectRules.md](memory-bank/projectRules.md) — coding and contribution conventions\n- [CLAUDE.md](CLAUDE.md) — AI-assist development workflow (AGENTS.md-compatible)\n\n---\n\n## License\n\n- `phase-identity`, `phase-net`, `phase-manifest`, `phase-receipt`, `phase-protocol`, `phase-artifact-server`, `plasm` — Apache-2.0. The substrate must be adoptable without legal friction by anyone, including parties hostile to one another.\n- `lucidd` — AGPL-3.0-or-later. The flagship application is copyleft so no party can fork it closed.\n\nSee per-crate `Cargo.toml` for canonical license declarations and the top-level [LICENSE](LICENSE) file for the Apache-2.0 text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsitarzewski%2Fphase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsitarzewski%2Fphase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsitarzewski%2Fphase/lists"}