Phase 0: Workloads #54

Merged
erikinkinen merged 4 commits from 0-workloads into main 2026-02-17 08:49:37 +01:00
Owner

Closes #12, #13


Summary

Adds deterministic delegation workload generators (linear chain and branching k-ary) plus growth and determinism tests. This expands workload coverage for authority depth/shape experiments without changing core semantics.


Scope

Included

  • Linear delegation chain workload with accumulate/transfer modes and rights policies.
  • Branching delegation workload with depth/fanout parameters and optional transfer deletes.
  • Growth tests for linear chains.
  • Determinism tests for branching workload.
  • Workload library build updated to compile new sources.

Explicitly excluded

  • Changes to core authority semantics or event preconditions.
  • New CLI/runner integration for workloads.
  • Documentation updates in docs/.

Design intent

Maintain Phase 0 invariants by generating events solely through the Engine, keep deterministic sequences by ignoring RNG, and provide minimal, composable workload shapes for depth and branching studies. Delegation uses existing DelegateCap semantics and respects rights attenuation rules.


Phase discipline

Phase 0: introduces deterministic workload generators and tests without altering semantic authority rules. No reserved-but-absent fields added.


Verification

  • Tests pass
  • Model is internally consistent
  • Documentation updated
  • No regressions in existing functionality

Notes

  • Branching generator uses a breadth-first k-ary delegation order.
  • Determinism tests compare full event histories between runs with the same seed.
Closes #12, #13 --- ## Summary Adds deterministic delegation workload generators (linear chain and branching k-ary) plus growth and determinism tests. This expands workload coverage for authority depth/shape experiments without changing core semantics. --- ## Scope ### **Included** - Linear delegation chain workload with accumulate/transfer modes and rights policies. - Branching delegation workload with depth/fanout parameters and optional transfer deletes. - Growth tests for linear chains. - Determinism tests for branching workload. - Workload library build updated to compile new sources. ### **Explicitly excluded** - Changes to core authority semantics or event preconditions. - New CLI/runner integration for workloads. - Documentation updates in docs/. --- ## Design intent Maintain Phase 0 invariants by generating events solely through the Engine, keep deterministic sequences by ignoring RNG, and provide minimal, composable workload shapes for depth and branching studies. Delegation uses existing DelegateCap semantics and respects rights attenuation rules. --- ## Phase discipline Phase 0: introduces deterministic workload generators and tests without altering semantic authority rules. No reserved-but-absent fields added. --- ## Verification - [ ] Tests pass - [ ] Model is internally consistent - [ ] Documentation updated - [ ] No regressions in existing functionality --- ## Notes - Branching generator uses a breadth-first k-ary delegation order. - Determinism tests compare full event histories between runs with the same seed.
Add determinism tests (#13)
All checks were successful
ci / smoke (push) Successful in 11s
clang-format / check-format (push) Successful in 8s
markdownlint / markdown-lint (push) Successful in 9s
ci / smoke (pull_request) Successful in 11s
clang-format / check-format (pull_request) Successful in 8s
markdownlint / markdown-lint (pull_request) Successful in 10s
712790f624
erikinkinen added this to the Phase 0 milestone 2026-02-17 08:48:49 +01:00
erikinkinen referenced this pull request from a commit 2026-02-17 08:49:38 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
erikinkinen/AES!54
No description provided.