This document summarizes the machine-facing contract that external scripts, CI
jobs, dashboards, ELN/LIMS exports, and template registries can rely on. The
contract is intentionally conservative: JSON is the source for automation,
Markdown and HTML are review surfaces, and claim_ready only means configured
evidence gates passed.
Falsiflow reads two primary project inputs:
project.json: claim, gates, samples, evidence policy, derived fields, and acceptance rules.- Evidence CSV: long-form evidence rows keyed by
gate_id,candidate_id,sample_id, andfield.
Common evidence CSV columns are:
gate_idcandidate_idsample_idfieldvaluesource_filemeasured_atoperator_or_agentinstrument_idnotes
The unique configured evidence key is gate_id/candidate_id/sample_id/field.
Replicates should use distinct sample_id values. Duplicate configured keys,
missing required columns, blank required metadata, placeholder values, missing
source files, and failed acceptance rules block readiness.
Automation should key off status fields and explicit boolean fields instead of
parsing Markdown text.
Common ready statuses include:
claim_readyclaim_check_readydoctor_readyquickstart_readytemplate_readytemplate_pack_verifiedtemplate_installedtemplate_release_verifiedadoption_readyrelease_readyexternal_ready
Common blocked or skipped statuses include:
claim_blockedclaim_check_blockeddoctor_blockedquickstart_blockedtemplate_blockedtemplate_install_blockedadoption_blockedrelease_blockedexternal_blockeddist_skippedrelease_validation_skipped
Blocked reports should include repair context such as next_actions,
next_commands, repair_checklist, failures, blockers, or diagnostic
records. Consumers should treat unknown non-ready statuses as blocked.
Important machine-readable artifacts include:
claim_summary.jsonclaim_check.jsondoctor_summary.jsonproject_validation.jsonevidence_diagnostics.jsonsource_manifest.jsonbundle_manifest.jsonbundle_verification.jsontemplate_check.jsontemplate_pack_manifest.jsontemplate_pack_verification.jsontemplate_release_verification.jsonexternal_readiness.jsonadoption_check.jsonrelease_check.json
Matching Markdown reports are for humans. They can change wording more freely than JSON keys and schema names.
Rows that refer to source files should use relative source_file paths that can
be resolved from the project or configured source root. Source manifests and
bundle verification records include byte sizes, SHA-256 hashes, copied source
records, missing files, outside-root files, unsafe paths, duplicate paths, and
unmanifested files.
For portable review, generate and verify a bundle:
falsiflow sources --config project.json --evidence evidence.csv --out source_manifest.json --strict
falsiflow bundle --config project.json --evidence evidence.csv --out-dir evidence_bundle --zip-out evidence_bundle.zip --strict
falsiflow verify-bundle --zip evidence_bundle.zip --strictSchemas are generated from runtime constants:
falsiflow schema --kind all --out falsiflow_schemas.jsonUse individual schemas for focused integrations:
falsiflow schema --kind project
falsiflow schema --kind evidence-row
falsiflow schema --kind claim-check
falsiflow schema --kind doctor-summary
falsiflow schema --kind source-manifest
falsiflow schema --kind bundle-verification
falsiflow schema --kind template-check
falsiflow schema --kind external-readiness
falsiflow schema --kind adoption-check
falsiflow schema --kind release-checkCI and downstream tooling should validate the schema that matches the artifact
they consume, then check status, failure counts, and repair fields.
- Use
falsiflow evidence importoringest-wide-csvto convert wide lab, vendor, instrument, AI eval, local LLM eval, or RAG eval exports into long-form evidence rows. - Use
--profile generic-wide,--profile vendor-measurement,--profile instrument-export,--profile plate-reader,--profile ai-eval,--profile local-llm-eval, or--profile rag-evalfor common evidence shapes. Adapter-profile details live in falsiflow_adapter_profiles.md. - Keep model execution, RAG retrieval, LLM judging, experiment tracking, and dashboards outside Falsiflow. Falsiflow consumes their artifacts and decides whether the claim has reviewable evidence for CI.
- Keep ELN/LIMS or vendor systems as the source of record; point Falsiflow rows
at exported raw files through
source_file. - In CI, run commands with
--jsonwhere available and--strictwhen a blocked state should fail the job. - Store generated JSON artifacts as build artifacts so humans can review the exact gate outcome.
- Do not infer readiness from file existence. Read the JSON status.
Falsiflow is still pre-1.0, so schema details can evolve. Release-facing changes
must update docs, schemas, tests, and release-check. Integrations should pin a
Falsiflow version or commit, keep generated schemas with CI artifacts, and treat
new unknown statuses as blocked until reviewed.
claim_ready is a local evidence-contract status, not proof of scientific
truth, regulatory approval, safety, clinical efficacy, or commercial readiness.