Categorical reading (what you are looking at)
Proc is the category where:
- Objects are project states/resources (blue).
- Morphisms are processes that transform those states (teal).
- Composition is “do this process, then that process”, when outputs match the next inputs.
- Monoidal product (not fully diagrammed) is parallel composition of independent processes.
Dep is a derived, thin category (poset-like) where:
- Objects are the processes viewed as tasks (yellow).
- Morphisms are precedence relations (edges) induced by composability in Proc.
- Composition is transitive closure (if A ≺ B and B ≺ C then A ≺ C).
This prototype builds Dep from Proc by checking “does output of process p feed an input of q?”. Going back (from dependencies to full processes/states) is intentionally underdetermined. The forward view retains each process as a named task and adds precedence when one process supplies another’s input. A dependency edge alone does not recover those input and output states, the resource quantities, or the rules for consuming and returning them; those facts must be supplied to reconstruct a process model.
Selection
Generated structure
The typed morphisms in Proc and the precedence edges in Dep (computed from Proc).