Changelog · Graph · 2026-12-02
Graph 0.1.0: the first release
0.1.0
Poisson Graph keeps one change record from git, GitHub and deploy jobs, a map of the agent and its services, and says what is downstream of a change. It reports that something changed and what that can reach. It never says what a change caused. It runs on Python 3.11 to 3.13, on macOS and Linux, uses the standard library only, and is open source, under the MIT license. The parts that read git need git 2.24 or newer.
Start. pip install poisson-graph, then poisson-graph --version, which prints
poisson-graph 0.1.0. The README’s first run makes a small repository with an agent and one
service, declares them in poisson.toml and asks poisson-graph downstream pricing: the change
reaches one tool, quote_refund, and both scenarios read unknown, for the reason no_runs,
because no run has been recorded yet.
The change record. Change, Sighting, Scope, Evidence and Pin are the one record every
change source emits. load_source finds a source by its import path, and run_poll,
run_receive, run_pin and run_evidence are the only way a source is called. Each returns an
Intake: the changes taken, what was refused and why, and an InstrumentError when the call itself
failed. join makes one change from several sources’ reports of it. to_json, from_json and
public write and read one change per line of JSON; public is the form that may leave your side.
Built-in sources. poisson_graph.git has BranchSource (movements of a watched branch, from
the clone’s own ref log, in the files format or a reftable), PipelineSource (report lines a deploy
job wrote or pushed, signed) and GitHubSource (successful GitHub deployments).
poisson_graph.setup has SetupSource (declared prompt, tool-schema, config, index and memory files
that changed). poisson_graph.otel has TraceSource and detect, which find service-version and
model changes in observations taken from spans; in this release every poll of TraceSource is an
instrument error, because Trace keeps no service versions or models for the spans it imports, and
detect can be called on a list of observations. poisson-graph deploy is the command a deploy
job runs to report one code deploy as one line, which it appends to a file or POSTs, signed.
Change sets. poisson_graph.sets gives the changes since an agent was last measured as one
fixed list of candidates, with what was rolled back, what could not be placed, and what each
expected source did not vouch for.
The map and what is downstream. poisson_graph.map reads what an agent depends on from the
[depends] tables of a setup file and from recorded evidence, and walks from a change to the nodes
and scenarios it can reach. poisson-graph downstream and poisson_graph.downstream answer what
one change can reach, asked by a node’s name, by files, by the working tree’s uncommitted changes or
by a pull request read from the local clone. The answer is one JSON document,
poisson.downstream/1, worked out from poisson.toml and your recorded runs; it runs nothing and
opens no network connection. The working-tree and pull-request questions need a full clone. A
partial clone needs git 2.44 or newer and is refused on older git.
For adapter authors. poisson_graph.testing has check_source, which runs ten checks against
a source pointed at a fake of the service it reads, and ScriptedSource, a source that returns what
it is scripted with. is_identifier, map.check_setup, map.core_paths and setup.hash_files
let a tool check a name, a setup file, the paths whose change reaches every scenario, and the
version the setup source gives a declared node, the way Graph does.
What it does not do. Graph runs no agent, no scenario and no model. It sends nothing anywhere on
its own: the GitHub source, a registered repo’s fetch remote and deploy --to open a connection,
each only when you set it.