Download the PHP package survos/ai-claims-bundle without Composer
On this page you can find all versions of the php package survos/ai-claims-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download survos/ai-claims-bundle
More information about survos/ai-claims-bundle
Files in survos/ai-claims-bundle
Package ai-claims-bundle
Short Description Store machine, human, and source assertions as append-only claims with confidence, basis, and provenance.
License MIT
Informations about the package ai-claims-bundle
Survos ClaimsBundle
Store machine, human, and source assertions as append-only claims with
confidence, basis, and source.
Generated metadata is an assertion, not a fact. Recording it as a structured claim lets you:
- know how confident the tool was (the
confidencefloat) - know why the tool asserted it (the
basistext) - know which tool produced it, at what version (the
sourcestring) - accumulate multiple claims about the same thing and aggregate into a best-guess view — humans can later promote or reject individual claims
- export to and import from JSONL for cheap round-trip backup
The bundle is vocab-agnostic (no predicate enum), storage-layer-only
(no inference, no LLM calls), and tenant-agnostic (a nullable scope
string that the consumer partitions on).
Install
The bundle is a flex-compatible Symfony bundle and auto-registers in
config/bundles.php, and the bundle prepends its Doctrine ORM mapping
automatically, like the other Survos bundles.
Register list-valued predicates so the aggregator projects them correctly:
Generate the migration (or run doctrine:schema:update --force in dev):
Claims can also be backed up and restored as JSONL:
Redirection is the default CLI workflow. If you prefer explicit file paths
instead, --output and --input use survos/jsonl-bundle's
JsonlWriter and JsonlReader:
Quick start
Recording a tool run
Prior rows with the same (scope, subject, source) are deleted first; the
whole batch shares one runId.
Reading the best-guess view
Documentation
- docs/design.md — the claim model and why it exists
- docs/integration.md — step-by-step consumer wiring
License
MIT
All versions of ai-claims-bundle with dependencies
doctrine/orm Version ^3.6
doctrine/doctrine-bundle Version ^3.2
doctrine/dbal Version ^3.9||^4.2
survos/data-contracts Version ^2.5
survos/field-bundle Version ^2.5
survos/jsonl-bundle Version ^2.5
symfony/framework-bundle Version ^8.0
symfony/uid Version ^8.0
symfony/console Version ^8.0