Skip to content

hapticasensorics/1context-private4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1Context Private4

This is a public snapshot of the 1Context state-machine and typed-control-fabric experiments from the private-4 line of work.

The original private repository contains credentials history and local runtime material, so this repo is intentionally published as a clean split: no private repo history, no local account files, no runtime ledgers, and no personal wiki/talk archives.

What Is Here

  • A Python state-machine DSL for durable agent workflows.
  • Typed runtime models for queueing, transitions, retries, supervision, and evidence receipts.
  • Mermaid and Markdown diagrams for the memory-system control loop.
  • Tests covering queue persistence, transition selection, production verification, runtime execution, and restartable scope state.
  • Typed Control Fabric design notes in docs/.

Core Idea

Agent work is not made trustworthy by pretending cognition is deterministic. It becomes trustworthy when the institution around cognition is deterministic:

facts -> signals -> route plans -> guarded jobs -> evidence -> persisted state

The control fabric makes each step inspectable, resumable, and testable.

Useful Entry Points

  • docs/typed-control-fabric-architecture.md
  • src/onectx/state_machines/
  • memory/plugins/base-memory-v1/state_machines/
  • memory/plugins/base-memory-v1/diagrams/state-machine-control-loop.md
  • tests/test_state_machine_runtime.py
  • tests/test_state_machine_queue.py
  • tests/test_state_machine_production.py

Run

uv run pytest tests/test_state_machine_*.py tests/test_memory_replay.py

About

Clean public snapshot of 1Context private-4 typed control fabric and state-machine experiments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors