Phase 0: Workload generator interface #53
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!53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "0-workload-generator-interface"
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?
Closes #11
Summary
This PR adds a Phase 0 workload interface with explicit, versioned parameters and introduces a deterministic scripted workload mode for tests. It also wires new tests that validate workload parameter defaults and scripted execution from JSON scripts, enabling reproducible, declarative test traces.
Scope
Included
Explicitly excluded
Design intent
The workload interface is intentionally small and explicit, with versioned parameters to preserve reproducibility and forward compatibility. Scripted workloads are built for tests: no RNG use, handle-based IDs, and strict validation so failures are loud and deterministic. The JSON script format is minimal and deterministic to avoid introducing heavy dependencies in Phase 0.
Phase discipline
Phase 0-only: deterministic, event-driven updates, no semantic authority behavior. Scripted workloads strictly use engine-allocated IDs and event application. Reserved fields (e.g., revoke, checkpoint_interval) are present but defaulted to inert values.
Verification
Notes
Reviewers: focus on deterministic behavior, handle mapping rules, and error paths in the scripted runner.
next_event) (#11)