🧱
Petri → SMC → WBS explorer
Brick wall toy project • one net, many executions
Back to composing work packages

1) Petri net (declared-process legality)

Places are conditions/resources; transitions are tasks. Tokens are a marking (a world-state). We keep the net fixed.

Legend
Place Transition
Enabled transitions
Firing log

2) Marking controls (execution choices)

Change the initial marking to represent pre-staging or prior progress. This changes which plans exist and which tasks are redundant.

Goal: Done token = 1
Reachable markings (bounded)
click a marking to treat it as a new “world”

3) SMC view (what is actually “generated”)

The net presents a free commutative monoidal category F(P): objects are markings; morphisms are firing sequences. Changing the marking doesn’t change F(P); it changes the chosen objects and thus the relevant reachable subcategory (your “scenario SMC”).

Current planning problem
Source object
Goal object
Reachable?
Here “reachable” means: there exists a morphism m0 → mGoal in F(P).
One exhibited morphism (a firing sequence)
A linearized witness; concurrency lives in the tensor structure.
    Scenario category
    We display the reachable subcategory from the chosen marking as a tiny Hasse-ish view over tasks.
    Tasks available (ever enabled along some run)
    Tasks redundant under this marking

    4) Derived WBS options

    A WBS is not in the net; it is a presentation choice. Here we generate candidate WBS trees from (i) a chosen witness morphism and (ii) the marking (tasks already “done” become external or disappear).

    WBS tree
    Task network extracted
    Edges (A → B means “A must finish before B starts”)
    This is a precedence network. No durations or calendar dates are calculated; these could be added separately.