Skip to content

Share a dataset

Your graph.db is a working copy. What you share is a dataset: a git repository of signed, append-only bundles that anyone can rebuild into the same graph. Several people and their agents work on one dataset the way people work on code — branches, pull requests, review.

analects dataset init ../uk-data-centres --ci   # once: pins the packs and the settings
analects keys init                              # your signing key
analects bundle export --dataset ../uk-data-centres   # your merged work, as a bundle
analects rebuild ../uk-data-centres --into /tmp/check.db   # anyone can rebuild it

--ci adds a GitHub Actions check that verifies every bundle a pull request adds: intact, signed by a listed contributor, keeping the evidence rules, rebuildable. It installs Analects from the public repository; set the repository variable ANALECTS_SOURCE to pin a version (git+https://github.com/KindTechUK/analects@v0.2.0).

Contributors

contributors.yaml lists who may contribute, their public keys, their roles, and the agents acting for them, each with a scope:

analects contributor add ada --role maintainer --key ~/.analects/signing_key.pub --dataset ../uk-data-centres

Only maintainers decide what the dataset asserts. A researcher's bundle arrives as a pull request; CI verifies it; a maintainer reviews and merges.

Working on a shared dataset

analects pull --dataset ../uk-data-centres     # before you start
analects sweep brief <scope> --due --claim     # claim a channel so nobody else sweeps it
# … research, review, merge …
analects bundle export --dataset ../uk-data-centres   # when a piece of work is done

Then open a pull request on the dataset repository. When the dataset names a hosted peer, sign in once (analects peer login) and claims are held there for everyone.

What never goes in

A row kept with analects keep-local <id> --why, anything from a --local-only channel, and any word in your private_terms. An export that would carry one is refused. Captures (page texts) travel only for the source types and domains the dataset's captures: allows.