Guides

Inspect with the CLI

The amalgament-harness CLI reads a business without a model and prints JSON for scripts. Read commands open the database read-only.

Find your principal

Read commands take the database path, the business ID and a principal ID.

amalgament-harness principal-id ./demo.sqlite demo-buyer

Read the business

amalgament-harness status   ./demo.sqlite demo PRINCIPAL_ID
amalgament-harness objects  ./demo.sqlite demo PRINCIPAL_ID Order --filters '{"status":"attention"}' --limit 10
amalgament-harness object   ./demo.sqlite demo PRINCIPAL_ID Order order-1042
amalgament-harness links    ./demo.sqlite demo PRINCIPAL_ID Order order-1042 placed_with
amalgament-harness evaluate ./demo.sqlite demo PRINCIPAL_ID submit_order '{"Order":"obj_...","Supplier":"obj_..."}'

evaluate creates no proposal and no effect.

Paging and time

objects and links return bounded pages with next_cursor and as_of; pass both to continue. Cursors are authenticated and expire after 24 hours. Pass --as-of for reproducible reads; without it, each command reads at its current time and freshness can change the result.