- OCaml 97%
- Nix 2%
- Raku <1%
- Shell <1%
Camlet #
Camlet is a correctness-, automation-, and interoperability-oriented command-line client for Tangled. It is designed for humans, scripts, and coding agents working across Tangled, Radicle, Git, Jujutsu, and optional downstream forge mirrors.
Camlet is experimental. It prioritizes protocol-correct repository context, explicit authority and consistency semantics, stable machine output, and safe multi-forge coordination.
Available commands #
The available command surface is:
camlet version
camlet version --json
camlet context
camlet context --json
camlet context --repo PATH
camlet repo view
camlet repo view --json
camlet repo view did:plc:...
camlet repo view --repo PATH
camlet context works offline. It inspects Git and, when present, Jujutsu; recognizes Tangled and Radicle
repository identities from configured remotes; and compares Git HEAD with existing local tracking refs. It
does not fetch, contact a forge, or claim that its observations reflect current remote state.
Colocated Jujutsu workspaces with a detached Git HEAD are supported: Camlet reports the Jujutsu change and
bookmarks, retains recognized forge identities, and marks branch-specific tracking observations incomplete.
camlet repo view resolves a did:plc repository through the fixed PLC directory, asks the declared knot for
the current owner and record key, and reads the matching public repository record from the owner's PDS. With no
explicit DID it discovers a unique Tangled repository DID from local Git remotes. The command does not depend on
Bobbin index coverage and rejects inconsistent identities or service authorities instead of returning partial
metadata.
See ROADMAP.md for delivery phases and docs/design/high-level-design.md for the intended system.
Development #
Enter the pinned Nix environment:
nix develop
The default shell contains the pinned compiler, build system, formatter, and project dependencies.
nix develop .#full adds the language server and API documentation generator. See
docs/development.md for toolchain and package-metadata details.
Then build and verify the project:
dune build
scripts/check
dune exec camlet -- version
dune exec camlet -- context
dune exec camlet -- repo view
Camlet uses Tangled for repository hosting and pull-based collaboration, with Radicle providing sovereign replication and patch continuity. GitHub may be configured as a downstream mirror.
License #
Camlet is licensed under the Apache License 2.0.
Project surfaces #
- Tangled: dc-tec.tngl.sh/camlet
- Radicle:
rad:z2Xvmqh4146DHcGgmTCZ645qhvqnA - GitHub: not configured