Skip to content

Conformance: add fixture for hold -> mature -> commit_ok -> execute_ok #14

Description

@safal207

Goal

Add a conformance fixture for a held action that later becomes mature and executes only after commit.

Context

CaPU should support actions that are permitted but not ready yet:

valid -> permit -> hold -> mature -> commit_ok -> execute_ok

This is the positive counterpart to no-execute negative paths.

Suggested work

  • Create an example/fixture where a valid record is held due to unmet context.
  • Add a later condition or parent/context signal that makes it mature.
  • Verify that execution occurs only after commit_ok.
  • Add or update a test and expected output.

Acceptance criteria

  • The fixture shows the held state clearly.
  • The expected output includes no execute event before maturity and commit.
  • The expected output includes execute only after commit_ok.
  • Existing validation still passes.

Contributor level

Intermediate / tests + fixtures.

Why this helps community

This demonstrates that CaPU is not only a blocker. It can defer safely until the action becomes causally mature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions