Phase 0: Event log format v0 #55
No reviewers
Labels
No labels
bug
cli
core
docs
event
experiment
figure
invariant
metrics
oracle
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
provenance
revocation
tests
workload
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erikinkinen/AES!55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "0-event-log-format-v0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements Event log format v0 for authoritative history and replay validation (
#14).This PR adds a strict JSONL event log pipeline with:
v,t,event,delta)Closes #14.
What Changed
iomodule andaes_iotarget.EventLogRecordand public APIs inio/include/aes/io/event_log.hpp.io/src/event_log_jsonl.cpp.io/src/event_log.cpp:Errc::IoErroron open/write/flush failureio/src/event_log.cpp:v == 0t(starting at 1)apply_eventParseError)CMakeLists.txt.docs/phase0.mdwith event log record v0 constraints and invariants.Format Decisions (v0)
v,t,event,deltaevent.type: human-readable strings (create_subject,create_cap, etc.)Read,Write,Exec,Grant,Delete)deltaalways includes all canonical fields, includingedges_modifiedTests Added
aes_event_log_schema_testsaes_event_log_format_testsaes_event_log_writer_testsaes_event_log_reader_testsThese cover:
tValidation
cmake -S . -B _buildcmake --build _buildctest --test-dir _build --output-on-failureResult: 23/23 tests passed.