Skip to content

Mycelium v0.3: spec (P3-013) + JS reference implementation#1

Open
NetworkTheoryAppliedResearchInstitute wants to merge 1 commit into
mainfrom
init-spec-and-impl
Open

Mycelium v0.3: spec (P3-013) + JS reference implementation#1
NetworkTheoryAppliedResearchInstitute wants to merge 1 commit into
mainfrom
init-spec-and-impl

Conversation

@NetworkTheoryAppliedResearchInstitute

Copy link
Copy Markdown
Contributor

Establishes the canonical home of the Mycelium record layer for Janus-Facing Architecture networks.

What's here

  • SPEC.md — normative spec P3-013 v0.3: per-operator witnessed log, dialog open→seal lifecycle (complete + quiescent), annotate-never-erase, PII-free hashing, and witnessing (Certificate Transparency / RFC 6962) as intended-not-built.
  • mycelium.js — storage-agnostic JS reference implementation. One instance == one operator's log (no global chain, no consensus); intra-dialog running hash + per-operator anchor chain; append/seal/annotate/record/verify/forDialog; operator_id-scoped; witness checkpoint() stub.
  • example.js — runnable demo + smoke test. 6 checks (append order, seal, verify, tamper detection, post-seal annotation, checkpoint stub) — all pass via npm test / node example.js.
  • README.md, package.json.

Honest status

Built: dialog-file model, both hash chains, seal/annotate/verify, tamper detection, PII-free hashing, post-seal annotation.
Not built (intended): witnessing (signed checkpoints + independent witnesses + inclusion proofs) — the highest-leverage federation step; per-transmission operator signatures (ride with operator onboarding).

Held to Janus-Facing Architecture (builder's guide v2.0) and Building JFA Software (v1.0).

🤖 Generated with Claude Code

Establishes the canonical home of the Mycelium record layer.

- SPEC.md — normative spec P3-013 v0.3: per-operator witnessed log, dialog
  open->seal lifecycle, annotate-never-erase, PII-free hashing, witnessing
  (Certificate Transparency) as intended-not-built.
- mycelium.js — storage-agnostic JS reference implementation. One instance ==
  one operator's log; intra-dialog running hash + per-operator anchor chain;
  append/seal/annotate/record/verify/forDialog; operator_id-scoped; witness
  checkpoint() stub.
- example.js — runnable demo + smoke test (6 checks: order, seal, verify,
  tamper detection, post-seal annotation, checkpoint stub). All pass.
- README.md, package.json — overview, API, honest status.

Held to Janus-Facing Architecture (builder's guide v2.0) and Building JFA
Software (v1.0).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant