F00 — Scaffold: workspace, Nix flake, licences, CI, GitHub mirror #2

Open
opened 2026-11-02 00:29:35 +01:00 by mnovak · 0 comments
Owner

Layout from CLAUDE.md §1:

  • Cargo workspace: crates/protocol, crates/client, crates/relay (empty crates; relay never depends on client, protocol depends on nothing here)
  • Nix flake from day one — reproducible build of the empty crates; record the SHA-256
  • Licence files: relay AGPL-3.0; client and protocol Apache-2.0 OR MIT
  • Pre-commit hook: reject files over 5 MB and build output
  • CI: cargo test --workspace, cargo clippy -D warnings, flake build
  • Public GitHub mirror; both remotes print the same main hash after every push
  • Hygiene check: no hostnames, tokens or personal paths anywhere in the repository

Depends on: #1 for anything beyond empty crates.

Layout from `CLAUDE.md` §1: - [ ] Cargo workspace: `crates/protocol`, `crates/client`, `crates/relay` (empty crates; `relay` never depends on `client`, `protocol` depends on nothing here) - [ ] **Nix flake from day one** — reproducible build of the empty crates; record the SHA-256 - [ ] Licence files: relay **AGPL-3.0**; client and protocol **Apache-2.0 OR MIT** - [ ] Pre-commit hook: reject files over 5 MB and build output - [ ] CI: `cargo test --workspace`, `cargo clippy -D warnings`, flake build - [ ] Public GitHub mirror; both remotes print the same `main` hash after every push - [ ] Hygiene check: no hostnames, tokens or personal paths anywhere in the repository Depends on: #1 for anything beyond empty crates.
mnovak added this to the Phase 0 — Protocol & scaffold milestone 2026-11-02 00:29:35 +01:00
mnovak added the featurearea/deployarea/verify labels 2026-11-02 00:29:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mnovak/Amicitia-Tabellarius#2