Context
The control-plane schema spine is now in-repo. The next runtime step is an append-only local event store that can persist validated sourceos.event.v0.1 events without turning raw logs into the operator-facing product.
Scope
Implement a minimal local-first event store for canonical events.
Deliverables
sourceos_eventctl.py subcommands or successor CLI commands for write, list, show, and verify.
- Append-only JSONL storage under an explicit local path.
- Event validation before write using
schemas/sourceos-event.schema.json.
- Stable event ID lookup.
- Basic integrity check over the JSONL file.
- Documentation and examples.
Acceptance criteria
make validate passes.
- A generated policy-decision event can be written to the event store.
- The event can be listed, shown by ID, and revalidated.
- Invalid events are rejected before persistence.
- No network access is used.
Non-goals
- Production daemonization.
- Remote replication.
- Destructive repair actions.
Context
The control-plane schema spine is now in-repo. The next runtime step is an append-only local event store that can persist validated
sourceos.event.v0.1events without turning raw logs into the operator-facing product.Scope
Implement a minimal local-first event store for canonical events.
Deliverables
sourceos_eventctl.pysubcommands or successor CLI commands forwrite,list,show, andverify.schemas/sourceos-event.schema.json.Acceptance criteria
make validatepasses.Non-goals