Commit Graph
6 Commits
Author SHA1 Message Date
SirKentut 9fee353fda [pierre] swarm: de-lazy WorkflowExportable now that the workflow store is on this branch
The module was written when the workflow store lived only on eric/workflow, so
every store touch went through p_store()/p_model() try/except-returning-None.
Both resolve on this branch (the round-trip test already asserts as much), so
those guards had become dead code that would swallow a genuine ImportError in
storage.py and surface it to the user as "this build doesn't support workflows
yet; please update OpenSwarm".

Imports storage/Workflow at module level, drops the None branches, and rewrites
the stale docstring. The safety contract is unchanged and still covered by
test_workflow_sanitize_disables_schedule_and_strips_pii: an imported workflow
never auto-runs, and the sharer's phone number never rides along.
2026-07-13 14:21:12 -07:00
ciregenz 7701bcdeff [eric] backend: convert all relative imports to absolute backend.* paths (convention sweep) 2026-06-24 01:41:22 -07:00
ciregenz d608eb68e3 [eric] backend: leading-_ -> p_/public for class-private self-attributes (coordinated .attr + string-ref rename); promote cross-file attrs (per_session/idle_lru/payload) 2026-06-23 21:47:49 -07:00
ciregenz 10aef1ff18 [eric] swarm+nine_router: leading-_ -> p_/public across swarm entities/closure/redact/ziputil + nine_router process/sync/oauth; promote cross-file public, fix monkeypatch refs 2026-06-23 20:35:06 -07:00
ciregenz 7eeb864a29 [eric] swarm: archive checksum (reject tampered) + transactional rollback on import 2026-06-14 08:07:17 -07:00
ciregenz 9b80d0417a [eric] swarm: workflow export/import entity (lazy store, schedule-off + PII-strip on import) 2026-06-14 06:27:52 -07:00