labfy-investigation/include/models/evidence_observation.h
fy59 d65f9559e6 chore(checkpoint): preserve local investigation workbench
Preserve the local graph-first investigation stack through macro V1.

Include reviewed source, tests, contracts, documentation and synthetic assets.

Retain the standalone financial V21 test foundation without runtime migration.

Runtime remains V20; operational JobStore remains V3.

Local experimental checkpoint, not a stable release.
2026-09-27 08:34:46 +02:00

35 lines
1.1 KiB
C

#ifndef LABFY_INVESTIGATION_EVIDENCE_OBSERVATION_H
#define LABFY_INVESTIGATION_EVIDENCE_OBSERVATION_H
#include <glib.h>
/**
* @brief Vue typée possédée d'une observation persistée.
*
* CONTRACT: value reste la valeur d'affichage historique
* corrected/normalized/raw. Les trois valeurs sources demeurent séparées afin
* qu'une projection ne reconstruise jamais la provenance depuis ce libellé.
* Toutes les chaînes appartiennent à la structure et peuvent être NULL lorsque
* la colonne SQLite correspondante est absente.
*/
typedef struct {
char *identifier;
char *evidence_identifier;
char *value;
char *value_raw;
char *value_normalized;
char *value_corrected;
char *type_identifier;
char *role;
char *source_header;
guint occurrence;
char *provenance_kind;
char *verification_status;
char *observed_at;
char *integrated_at;
char *extraction_identifier;
char *warning;
char *entity_identifier;
char *promoted_at;
char *promotion_kind;
} EvidenceObservation;
void evidence_observation_free(EvidenceObservation *observation);
#endif