deltamesh-federated-privacy.../delta_mesh/dsl_seed.h

25 lines
840 B
C

// Minimal DSL seed primitives for DeltaMesh MVP (toy).
// This header provides lightweight, forward-looking data structures that
// can be used by adapters and the coordination layer to agree on contract
// representations without leaking raw data.
#ifndef DSL_SEED_H
#define DSL_SEED_H
typedef struct LocalArbProblem {
double objective; // toy objective value for the arb problem
unsigned long timestamp; // monotonic timestamp for replay
} LocalArbProblem;
typedef struct AuditLog {
const char* entry; // human-readable log entry or hash
unsigned long timestamp; // log timestamp for replay and audit
} AuditLog;
typedef struct GovernanceBlock {
const char* policy; // description of governance constraint
unsigned long timestamp; // policy versioning / timestamp
} GovernanceBlock;
#endif