docs(swarm): SWARM_SPEC.md v1 — wire-format contract (closes #74)#78
Merged
Merged
Conversation
Spec-only first phase of the Mycelium Swarm Foundation Plan v1. Defines spec versioning, JCS (RFC 8785) over Ed25519 for signatures, the four wire types (Lesson, HubAnchor, NodeAdvertisement, TrustEdge), four HTTP/JSON endpoints, and uniform rejection rules. No code, no migrations. Restates the three unverletzlichen Designprinzipien (Souveränität, Generalisierung-vor-Sharing, Diversität) at the top so all later phases implement against the same contract and the same constraints. Closes the Phase-0 deliverable of issue #74.
Owner
Author
|
The conductor auto-merger will not merge this PR for the following reason(s):
Resolve the blockers (or remove the |
1 similar comment
Owner
Author
|
The conductor auto-merger will not merge this PR for the following reason(s):
Resolve the blockers (or remove the |
12 tasks
Dewinator
added a commit
that referenced
this pull request
Apr 29, 2026
The cryptographic foundation of the swarm (SWARM_SPEC v1, Ed25519 signing, JCS canonicalization, wire-validator, .well-known discovery, peer/signed-record storage — PRs #78,#79,#81,#82,#85,#89,#91,#92) was landing on main while the README/MANIFESTO still claimed "pairing/swarm/federation deferred". This commit fixes that mismatch. README (EN+DE): - new "Swarm — federation in flight" section with merged-PR table and a "what is next" subsection pointing to the swarm label - Roadmap rewritten: phase 4-5 from "deferred" to "Phase 1 shipped" - existing /.well-known/mycelium-node block folded into the new section - promo video as a clickable poster near the top, served from a v0.4-swarm-phase-1 GitHub release asset (14 MB H.264 1080p) MANIFESTO (EN+DE): - "What is built today" split into brain core + Swarm Phase 1 - aspirational Tailscale+mTLS / mutual-pairing claims removed; those pieces remain on archive/swarm-deferred as historical reference - "What is not built yet" sharpened to the social layer (verification, reputation, banishment-by-consensus, Sybil resistance) plus micro-transactions Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/SWARM_SPEC.mdv1.0 — the wire-format contract for the decentralized mycelium swarm.Research summary
docs/style mirrorsaffect-observables.mdandmiddleware.md— design-doc voice, mermaid where it earns its keep, explicit rejection rules.SWARM*material in the repo; closest precedent is the olderengram-mcp Stand 2026-04-23commit925b6f9 docs swarm roadmapreferenced in vector-memory.3acb8bb1-…): "Diversität ist nicht reproduzierbar — kein GPU-Count schlägt sie." Encoded directly into Designprinzip 3 and the rejection-rule design (no convergence pressure).float[768]embeddings is the obvious footgun.node_id = multihash(pubkey)self-certifying.What this does NOT do
README.mdcross-link or other repo-wide doc reshuffle. Easy follow-up if desired.CONSTITUTION.md.Constitution affirmation
This spec touches:
.well-known+ gossip; no central registry; every endpoint optional; offline is the default-correct state.LessonandHubAnchorare the units that let many specialized nodes pool knowledge without flattening difference; the Generalization rule (§3.1) keeps episodic diversity local.node_idis self-certifying via multihash, transport is TLS-only, rejection rules are uniform across implementations.No pillar is weakened. Pillars 2, 4, 5 are not touched and continue to be governed by their respective subsystems.
Test plan
docs/SWARM_SPEC.mdend-to-end.Schwarm-Thesememory and the Constitution.Lesson) and try to derive a Postgres column list from §3.1 alone — should be unambiguous (uuid, text, vector(768), int, text, timestamptz, bytea, timestamptz, text[], text). If two reviewers get different types, the spec failed acceptance criterion N2: Middleware-Skelett (Reverse-Proxy vor dem Gateway) #2.mermaidblock in §7 renders on GitHub.