CLI: add a canonical semantic closure fingerprint and comparison command #20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add a first-class, versioned closure fingerprint to Elephant so two replicas can
compare semantic convergence without maintaining bespoke
jq | shasumpipelines.Motivation from the grounded two-machine run
Machine A, machine B, and a clean replay reached the same semantic closure, but raw
status --jsonwas not directly comparable:replay member;
The harness ultimately sorted non-member conclusions by literal, rendered each as
{tag} {literal}, joined with LF, and hashed without an additional terminal LF. Allthree then produced
ee41f61d95cdf26070c293c9713d2f1933d6fa675ed693ab9bd0c1fd78e74dbd.Proposed CLI
For example:
The JSON result should include at least:
Acceptance criteria
documented default suitable for semantic convergence.
behavior.
changed proof tag does not.
This is distinct from journal-entry fingerprints and from per-peer health in #14 and
#15: it answers whether two replicas compute the same closure.
Environment / evidence
Observed with Elephant 0.1.2 in the real two-machine Experiment 2 run. Reproducer and
artifacts:
github.com/anuna-cooperative/flf-elephant-experiment@96ca63675e/runs/2026-07-16/grounded-machineBgood idea, conclusion with hash - so closures can compare across theory stores
Addressed in PR #28 (branch
fix/cli-convergence-observability).