justflow 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. justflow-0.1.1/.env.example +170 -0
  2. justflow-0.1.1/.gitignore +36 -0
  3. justflow-0.1.1/CHANGELOG.md +104 -0
  4. justflow-0.1.1/CONTRIBUTING.md +87 -0
  5. justflow-0.1.1/LICENSE +202 -0
  6. justflow-0.1.1/NOTICE +7 -0
  7. justflow-0.1.1/PKG-INFO +160 -0
  8. justflow-0.1.1/README.md +92 -0
  9. justflow-0.1.1/SECURITY.md +21 -0
  10. justflow-0.1.1/SUPPORT.md +13 -0
  11. justflow-0.1.1/docs/authoring/index.md +65 -0
  12. justflow-0.1.1/docs/authoring/triggers.md +86 -0
  13. justflow-0.1.1/docs/authoring/workflows.md +202 -0
  14. justflow-0.1.1/docs/aws/data-services.md +376 -0
  15. justflow-0.1.1/docs/aws/deployment.md +206 -0
  16. justflow-0.1.1/docs/aws/reference/application-resources.yaml +24 -0
  17. justflow-0.1.1/docs/aws/reference/data-services.json +97 -0
  18. justflow-0.1.1/docs/aws/reference/ecs-task-definitions.json +381 -0
  19. justflow-0.1.1/docs/aws/reference/first-deployment-evidence.json +33 -0
  20. justflow-0.1.1/docs/aws/reference/iam-policies.json +363 -0
  21. justflow-0.1.1/docs/aws/reference/production-topology.svg +158 -0
  22. justflow-0.1.1/docs/aws/reference/runtime-settings.json +52 -0
  23. justflow-0.1.1/docs/aws/reference/security-group-flows.json +184 -0
  24. justflow-0.1.1/docs/aws/reference/service-configuration.json +142 -0
  25. justflow-0.1.1/docs/aws/self-hosted-temporal.md +212 -0
  26. justflow-0.1.1/docs/concepts.md +70 -0
  27. justflow-0.1.1/docs/custom-providers.md +57 -0
  28. justflow-0.1.1/docs/examples/downstream-security.yml +50 -0
  29. justflow-0.1.1/docs/getting-started.md +87 -0
  30. justflow-0.1.1/docs/index.md +38 -0
  31. justflow-0.1.1/docs/integrations.md +114 -0
  32. justflow-0.1.1/docs/limitations.md +47 -0
  33. justflow-0.1.1/docs/operations/authentication.md +127 -0
  34. justflow-0.1.1/docs/operations/configuration.md +70 -0
  35. justflow-0.1.1/docs/operations/customer-workflows.md +123 -0
  36. justflow-0.1.1/docs/operations/deployment.md +72 -0
  37. justflow-0.1.1/docs/operations/downstream-ci.md +37 -0
  38. justflow-0.1.1/docs/operations/local-deployment.md +142 -0
  39. justflow-0.1.1/docs/operations/scheduled-starts.md +62 -0
  40. justflow-0.1.1/docs/operations/security.md +74 -0
  41. justflow-0.1.1/docs/operations/troubleshooting.md +64 -0
  42. justflow-0.1.1/docs/reference/generated/authorization-actions.md +34 -0
  43. justflow-0.1.1/docs/reference/generated/cli.md +495 -0
  44. justflow-0.1.1/docs/reference/generated/errors.md +96 -0
  45. justflow-0.1.1/docs/reference/generated/python-api.md +483 -0
  46. justflow-0.1.1/docs/reference/generated/schemas.md +34 -0
  47. justflow-0.1.1/docs/reference/generated/settings.md +229 -0
  48. justflow-0.1.1/docs/reference/http-api.md +40 -0
  49. justflow-0.1.1/docs/requirements.txt +1 -0
  50. justflow-0.1.1/docs/support.md +36 -0
  51. justflow-0.1.1/docs/upgrading.md +86 -0
  52. justflow-0.1.1/mkdocs.yml +52 -0
  53. justflow-0.1.1/pyproject.toml +165 -0
  54. justflow-0.1.1/src/justflow/__init__.py +1 -0
  55. justflow-0.1.1/src/justflow/__main__.py +1088 -0
  56. justflow-0.1.1/src/justflow/bounded_io.py +49 -0
  57. justflow-0.1.1/src/justflow/brokers/__init__.py +53 -0
  58. justflow-0.1.1/src/justflow/brokers/base.py +102 -0
  59. justflow-0.1.1/src/justflow/brokers/registry.py +126 -0
  60. justflow-0.1.1/src/justflow/brokers/sqs.py +348 -0
  61. justflow-0.1.1/src/justflow/catalog_validation.py +39 -0
  62. justflow-0.1.1/src/justflow/config/__init__.py +0 -0
  63. justflow-0.1.1/src/justflow/config/_workflow_validation.py +949 -0
  64. justflow-0.1.1/src/justflow/config/authored_yaml.py +89 -0
  65. justflow-0.1.1/src/justflow/config/diagnostics.py +69 -0
  66. justflow-0.1.1/src/justflow/config/grammar.py +205 -0
  67. justflow-0.1.1/src/justflow/config/loader.py +438 -0
  68. justflow-0.1.1/src/justflow/config/models.py +459 -0
  69. justflow-0.1.1/src/justflow/config/provider_names.py +27 -0
  70. justflow-0.1.1/src/justflow/config/runtime_limits.py +60 -0
  71. justflow-0.1.1/src/justflow/config/schedules.py +218 -0
  72. justflow-0.1.1/src/justflow/config/settings.py +900 -0
  73. justflow-0.1.1/src/justflow/config/triggers.py +146 -0
  74. justflow-0.1.1/src/justflow/config/validator.py +332 -0
  75. justflow-0.1.1/src/justflow/configuration/__init__.py +246 -0
  76. justflow-0.1.1/src/justflow/configuration/activation.py +709 -0
  77. justflow-0.1.1/src/justflow/configuration/activation_aws.py +509 -0
  78. justflow-0.1.1/src/justflow/configuration/activation_configuration.py +36 -0
  79. justflow-0.1.1/src/justflow/configuration/activation_errors.py +33 -0
  80. justflow-0.1.1/src/justflow/configuration/activation_sqlite.py +553 -0
  81. justflow-0.1.1/src/justflow/configuration/activation_store.py +316 -0
  82. justflow-0.1.1/src/justflow/configuration/aws.py +925 -0
  83. justflow-0.1.1/src/justflow/configuration/component_catalog.py +61 -0
  84. justflow-0.1.1/src/justflow/configuration/configuration.py +64 -0
  85. justflow-0.1.1/src/justflow/configuration/errors.py +37 -0
  86. justflow-0.1.1/src/justflow/configuration/lifecycle.py +247 -0
  87. justflow-0.1.1/src/justflow/configuration/local_authoring.py +708 -0
  88. justflow-0.1.1/src/justflow/configuration/models.py +602 -0
  89. justflow-0.1.1/src/justflow/configuration/policy.py +578 -0
  90. justflow-0.1.1/src/justflow/configuration/ports.py +85 -0
  91. justflow-0.1.1/src/justflow/configuration/publication.py +914 -0
  92. justflow-0.1.1/src/justflow/configuration/source.py +118 -0
  93. justflow-0.1.1/src/justflow/configuration/sqlite.py +524 -0
  94. justflow-0.1.1/src/justflow/configuration/yaml.py +90 -0
  95. justflow-0.1.1/src/justflow/definitions/__init__.py +87 -0
  96. justflow-0.1.1/src/justflow/definitions/catalog.py +603 -0
  97. justflow-0.1.1/src/justflow/definitions/configuration.py +51 -0
  98. justflow-0.1.1/src/justflow/definitions/environment.py +109 -0
  99. justflow-0.1.1/src/justflow/definitions/manifest.py +338 -0
  100. justflow-0.1.1/src/justflow/definitions/migration.py +301 -0
  101. justflow-0.1.1/src/justflow/definitions/replay.py +94 -0
  102. justflow-0.1.1/src/justflow/definitions/routing.py +559 -0
  103. justflow-0.1.1/src/justflow/definitions/runtime.py +92 -0
  104. justflow-0.1.1/src/justflow/definitions/s3.py +285 -0
  105. justflow-0.1.1/src/justflow/engine/__init__.py +0 -0
  106. justflow-0.1.1/src/justflow/engine/activities.py +567 -0
  107. justflow-0.1.1/src/justflow/engine/analysis.py +420 -0
  108. justflow-0.1.1/src/justflow/engine/archival.py +144 -0
  109. justflow-0.1.1/src/justflow/engine/audit.py +202 -0
  110. justflow-0.1.1/src/justflow/engine/audit_capture.py +186 -0
  111. justflow-0.1.1/src/justflow/engine/compiler.py +1188 -0
  112. justflow-0.1.1/src/justflow/engine/consumer_backoff.py +45 -0
  113. justflow-0.1.1/src/justflow/engine/continuation.py +107 -0
  114. justflow-0.1.1/src/justflow/engine/contracts.py +390 -0
  115. justflow-0.1.1/src/justflow/engine/data.py +166 -0
  116. justflow-0.1.1/src/justflow/engine/deduplication.py +86 -0
  117. justflow-0.1.1/src/justflow/engine/errors.py +327 -0
  118. justflow-0.1.1/src/justflow/engine/evaluator.py +358 -0
  119. justflow-0.1.1/src/justflow/engine/limits.py +101 -0
  120. justflow-0.1.1/src/justflow/engine/local_temporal.py +14 -0
  121. justflow-0.1.1/src/justflow/engine/payload_protection.py +299 -0
  122. justflow-0.1.1/src/justflow/engine/references.py +151 -0
  123. justflow-0.1.1/src/justflow/engine/response_relay.py +290 -0
  124. justflow-0.1.1/src/justflow/engine/runner.py +1539 -0
  125. justflow-0.1.1/src/justflow/engine/sandbox.py +45 -0
  126. justflow-0.1.1/src/justflow/engine/serialization.py +94 -0
  127. justflow-0.1.1/src/justflow/engine/trigger_ingress.py +315 -0
  128. justflow-0.1.1/src/justflow/engine/worker.py +789 -0
  129. justflow-0.1.1/src/justflow/openapi/__init__.py +23 -0
  130. justflow-0.1.1/src/justflow/openapi/_generation.py +1427 -0
  131. justflow-0.1.1/src/justflow/openapi/bundled/__init__.py +1 -0
  132. justflow-0.1.1/src/justflow/openapi/bundled/justflow-openapi-0.1.0.json +15285 -0
  133. justflow-0.1.1/src/justflow/optional_dependencies.py +33 -0
  134. justflow-0.1.1/src/justflow/provenance.py +281 -0
  135. justflow-0.1.1/src/justflow/py.typed +0 -0
  136. justflow-0.1.1/src/justflow/resources/__init__.py +59 -0
  137. justflow-0.1.1/src/justflow/resources/aws.py +517 -0
  138. justflow-0.1.1/src/justflow/resources/base.py +286 -0
  139. justflow-0.1.1/src/justflow/resources/builtins.py +106 -0
  140. justflow-0.1.1/src/justflow/resources/credentials.py +90 -0
  141. justflow-0.1.1/src/justflow/resources/memory.py +108 -0
  142. justflow-0.1.1/src/justflow/resources/postgres.py +274 -0
  143. justflow-0.1.1/src/justflow/resources/redis.py +270 -0
  144. justflow-0.1.1/src/justflow/resources/registry.py +498 -0
  145. justflow-0.1.1/src/justflow/resources/s3.py +391 -0
  146. justflow-0.1.1/src/justflow/runtime/__init__.py +427 -0
  147. justflow-0.1.1/src/justflow/runtime/admin_panel.py +28 -0
  148. justflow-0.1.1/src/justflow/runtime/api_compatibility.py +30 -0
  149. justflow-0.1.1/src/justflow/runtime/api_models.py +157 -0
  150. justflow-0.1.1/src/justflow/runtime/application.py +1103 -0
  151. justflow-0.1.1/src/justflow/runtime/auth.py +172 -0
  152. justflow-0.1.1/src/justflow/runtime/blocking_io.py +51 -0
  153. justflow-0.1.1/src/justflow/runtime/cloud_events.py +688 -0
  154. justflow-0.1.1/src/justflow/runtime/configuration_activation.py +1435 -0
  155. justflow-0.1.1/src/justflow/runtime/configuration_api.py +831 -0
  156. justflow-0.1.1/src/justflow/runtime/configuration_materializer.py +271 -0
  157. justflow-0.1.1/src/justflow/runtime/control_api.py +1603 -0
  158. justflow-0.1.1/src/justflow/runtime/health.py +108 -0
  159. justflow-0.1.1/src/justflow/runtime/local_authoring_api.py +662 -0
  160. justflow-0.1.1/src/justflow/runtime/metrics.py +325 -0
  161. justflow-0.1.1/src/justflow/runtime/operations.py +867 -0
  162. justflow-0.1.1/src/justflow/runtime/operations_api.py +414 -0
  163. justflow-0.1.1/src/justflow/runtime/operations_query.py +1248 -0
  164. justflow-0.1.1/src/justflow/runtime/schedule_application.py +135 -0
  165. justflow-0.1.1/src/justflow/runtime/schedule_configuration.py +110 -0
  166. justflow-0.1.1/src/justflow/runtime/schedule_dispatch.py +171 -0
  167. justflow-0.1.1/src/justflow/runtime/schedule_operations.py +691 -0
  168. justflow-0.1.1/src/justflow/runtime/schedule_reconciler.py +590 -0
  169. justflow-0.1.1/src/justflow/runtime/scheduled_start_cleanup.py +365 -0
  170. justflow-0.1.1/src/justflow/runtime/scheduled_start_dispatch.py +311 -0
  171. justflow-0.1.1/src/justflow/runtime/scheduled_start_service.py +1752 -0
  172. justflow-0.1.1/src/justflow/runtime/scheduled_starts.py +927 -0
  173. justflow-0.1.1/src/justflow/runtime/schedules.py +628 -0
  174. justflow-0.1.1/src/justflow/runtime/starter.py +1150 -0
  175. justflow-0.1.1/src/justflow/runtime/temporal.py +252 -0
  176. justflow-0.1.1/src/justflow/runtime/visibility.py +45 -0
  177. justflow-0.1.1/src/justflow/runtime/webhooks.py +215 -0
  178. justflow-0.1.1/src/justflow/schemas/__init__.py +19 -0
  179. justflow-0.1.1/src/justflow/schemas/_generation.py +365 -0
  180. justflow-0.1.1/src/justflow/schemas/bundled/__init__.py +1 -0
  181. justflow-0.1.1/src/justflow/schemas/bundled/configuration-envelope.schema.json +2105 -0
  182. justflow-0.1.1/src/justflow/schemas/bundled/configuration.schema.json +3048 -0
  183. justflow-0.1.1/src/justflow/schemas/bundled/platform-component-catalog.schema.json +325 -0
  184. justflow-0.1.1/src/justflow/schemas/bundled/resources.schema.json +1067 -0
  185. justflow-0.1.1/src/justflow/schemas/bundled/runtime-scope.schema.json +50 -0
  186. justflow-0.1.1/src/justflow/schemas/bundled/services.schema.json +526 -0
  187. justflow-0.1.1/src/justflow/schemas/bundled/tenant-authoring-policy.schema.json +252 -0
  188. justflow-0.1.1/src/justflow/schemas/bundled/tenant-configuration.schema.json +996 -0
  189. justflow-0.1.1/src/justflow/schemas/bundled/triggers.schema.json +565 -0
  190. justflow-0.1.1/src/justflow/schemas/bundled/workflow.schema.json +911 -0
  191. justflow-0.1.1/src/justflow/scope.py +267 -0
  192. justflow-0.1.1/src/justflow/sdk/__init__.py +43 -0
  193. justflow-0.1.1/src/justflow/sdk/base_action.py +44 -0
  194. justflow-0.1.1/src/justflow/sdk/logging_context.py +65 -0
  195. justflow-0.1.1/src/justflow/sdk/message_contract.py +320 -0
  196. justflow-0.1.1/src/justflow/sdk/resource_loader.py +166 -0
  197. justflow-0.1.1/src/justflow/sdk/router.py +80 -0
  198. justflow-0.1.1/src/justflow/sdk/service_context.py +28 -0
  199. justflow-0.1.1/src/justflow/transports/__init__.py +67 -0
  200. justflow-0.1.1/src/justflow/transports/base.py +154 -0
  201. justflow-0.1.1/src/justflow/transports/builtins.py +199 -0
  202. justflow-0.1.1/src/justflow/transports/direct.py +157 -0
  203. justflow-0.1.1/src/justflow/transports/grpc.py +286 -0
  204. justflow-0.1.1/src/justflow/transports/http.py +213 -0
  205. justflow-0.1.1/src/justflow/transports/lambda_.py +145 -0
  206. justflow-0.1.1/src/justflow/transports/queue.py +109 -0
  207. justflow-0.1.1/src/justflow/transports/registry.py +335 -0
  208. justflow-0.1.1/src/justflow/transports/security.py +138 -0
  209. justflow-0.1.1/src/justflow/visualization/__init__.py +6 -0
  210. justflow-0.1.1/src/justflow/visualization/__main__.py +75 -0
  211. justflow-0.1.1/src/justflow/visualization/graph.py +515 -0
  212. justflow-0.1.1/src/justflow/visualization/renderer.py +699 -0
  213. justflow-0.1.1/src/justflow/visualization/static/MERMAID_ASSET.md +8 -0
  214. justflow-0.1.1/src/justflow/visualization/static/MERMAID_LICENSE +21 -0
  215. justflow-0.1.1/src/justflow/visualization/static/graph-tooltips.css +76 -0
  216. justflow-0.1.1/src/justflow/visualization/static/graph-tooltips.js +285 -0
  217. justflow-0.1.1/src/justflow/visualization/static/mermaid.min.js +3587 -0
@@ -0,0 +1,170 @@
1
+ # Temporal
2
+ JUSTFLOW_TEMPORAL__ADDRESS=
3
+ JUSTFLOW_TEMPORAL__TASK_QUEUE=
4
+ JUSTFLOW_TEMPORAL__NAMESPACE=
5
+ # Discriminated JSON object. Use {"mode":"local_plaintext"} only with the
6
+ # local runtime profile. TLS supports server_name, bounded CA/client paths, and
7
+ # an optional SecretStr API key supplied at runtime.
8
+ JUSTFLOW_TEMPORAL__CONNECTION=
9
+ # JSON object containing mode and key identifiers only. Encryption keys are
10
+ # supplied by the host application's payload-protection binding.
11
+ JUSTFLOW_TEMPORAL__PAYLOAD_PROTECTION=
12
+ JUSTFLOW_TEMPORAL__DEPLOYMENT_REGISTRATION__ATTEMPTS=
13
+ JUSTFLOW_TEMPORAL__DEPLOYMENT_REGISTRATION__INTERVAL_SECONDS=
14
+
15
+ # Worker deployment (BUILD_ID is required by the production worker)
16
+ JUSTFLOW_DEPLOYMENT__NAME=
17
+ JUSTFLOW_DEPLOYMENT__BUILD_ID=
18
+ JUSTFLOW_DEPLOYMENT__ARTIFACT_DIGEST=
19
+ JUSTFLOW_DEPLOYMENT__PACKAGE_VERSION=
20
+ JUSTFLOW_DEPLOYMENT__SOURCE_REVISION=
21
+ JUSTFLOW_DEPLOYMENT__COMPATIBLE_ENGINE_WORKFLOW_ABIS=
22
+
23
+ # Runtime profile (production requires an immutable sha256 artifact digest)
24
+ JUSTFLOW_RUNTIME__PROFILE=
25
+ # JSON scope for local/single-scope operation or a shared-host fallback. Shared
26
+ # production hosts resolve the effective scope from trusted ingress bindings.
27
+ JUSTFLOW_RUNTIME__SCOPE=
28
+ JUSTFLOW_RUNTIME__PINNED_START_RETRY__ATTEMPTS=
29
+ JUSTFLOW_RUNTIME__PINNED_START_RETRY__INTERVAL_SECONDS=
30
+ JUSTFLOW_RUNTIME__WORKER_READY_TIMEOUT_SECONDS=
31
+
32
+ # Definition catalog. S3 credentials come only from the normal AWS credential chain.
33
+ JUSTFLOW_CATALOG__BACKEND=
34
+ JUSTFLOW_CATALOG__BUCKET=
35
+ JUSTFLOW_CATALOG__PREFIX=
36
+ JUSTFLOW_CATALOG__REGION=
37
+ JUSTFLOW_CATALOG__ENDPOINT_URL=
38
+ JUSTFLOW_CATALOG__EXPECTED_BUCKET_OWNER=
39
+ JUSTFLOW_CATALOG__SERVER_SIDE_ENCRYPTION=
40
+ JUSTFLOW_CATALOG__KMS_KEY_ID=
41
+
42
+ # Configuration source/store. Use files for Git-managed YAML, sqlite for a
43
+ # single-host writable store, or aws for S3 revision bodies plus DynamoDB metadata.
44
+ # AWS credentials come only from the normal AWS credential chain.
45
+ JUSTFLOW_CONFIGURATION__BACKEND=
46
+ JUSTFLOW_CONFIGURATION__PATH=
47
+ JUSTFLOW_CONFIGURATION__BUCKET=
48
+ JUSTFLOW_CONFIGURATION__TABLE_NAME=
49
+ JUSTFLOW_CONFIGURATION__REVISION_INDEX_NAME=
50
+ JUSTFLOW_CONFIGURATION__ACTIVATION_INDEX_NAME=
51
+ JUSTFLOW_CONFIGURATION__PREFIX=
52
+ JUSTFLOW_CONFIGURATION__REGION=
53
+ JUSTFLOW_CONFIGURATION__ENDPOINT_URL=
54
+ JUSTFLOW_CONFIGURATION__EXPECTED_BUCKET_OWNER=
55
+ JUSTFLOW_CONFIGURATION__SERVER_SIDE_ENCRYPTION=
56
+ JUSTFLOW_CONFIGURATION__KMS_KEY_ID=
57
+
58
+ # Broker and messaging declarations are JSON objects.
59
+ JUSTFLOW_BROKERS=
60
+ JUSTFLOW_MESSAGING__TRIGGER=
61
+ JUSTFLOW_MESSAGING__RESPONSE=
62
+ JUSTFLOW_MESSAGING__MESSAGE_CONCURRENCY=
63
+ JUSTFLOW_MESSAGING__DEDUPLICATION_CAPACITY=
64
+ JUSTFLOW_MESSAGING__DEDUPLICATION_RETENTION_SECONDS=
65
+ JUSTFLOW_MESSAGING__CONSUMER_READY_TIMEOUT_SECONDS=
66
+ JUSTFLOW_MESSAGING__RECONNECT__INITIAL_DELAY_SECONDS=
67
+ JUSTFLOW_MESSAGING__RECONNECT__MAX_DELAY_SECONDS=
68
+ JUSTFLOW_MESSAGING__RECONNECT__MULTIPLIER=
69
+ JUSTFLOW_MESSAGING__RECONNECT__JITTER_FRACTION=
70
+
71
+ # Runtime-only transport security policy (JSON values; keep certificate and key
72
+ # paths out of service YAML)
73
+ JUSTFLOW_TRANSPORT_SECURITY__HTTP__ALLOWED_ORIGINS=
74
+ JUSTFLOW_TRANSPORT_SECURITY__GRPC_TLS_PROFILES=
75
+
76
+ # Runtime-only database/cache connection bindings (JSON objects). Resource YAML
77
+ # contains binding names only; keep connection URLs and DSNs in the host environment.
78
+ JUSTFLOW_RESOURCE_CONNECTIONS__POSTGRES_DSNS=
79
+ JUSTFLOW_RESOURCE_CONNECTIONS__REDIS_URLS=
80
+
81
+ # Paths
82
+ JUSTFLOW_PATHS__CONFIG_DIR=
83
+ # Optional writable local catalog root. When omitted, the catalog remains beside
84
+ # the configuration files for backward compatibility.
85
+ JUSTFLOW_PATHS__CATALOG_DIR=
86
+
87
+ # Logging
88
+ JUSTFLOW_LOGGING__LEVEL=
89
+
90
+ # Optional control API listener and bounded request settings
91
+ JUSTFLOW_CONTROL__HOST=
92
+ JUSTFLOW_CONTROL__PORT=
93
+ JUSTFLOW_CONTROL__MAX_REQUEST_BODY_BYTES=
94
+ JUSTFLOW_CONTROL__MAX_RESPONSE_BODY_BYTES=
95
+ JUSTFLOW_CONTROL__DEFAULT_LIST_LIMIT=
96
+ JUSTFLOW_CONTROL__TEMPORAL_RPC_TIMEOUT_SECONDS=
97
+ JUSTFLOW_CONTROL__SHUTDOWN_GRACE_SECONDS=
98
+ JUSTFLOW_CONTROL__MAX_HEADER_BYTES=
99
+ JUSTFLOW_CONTROL__MAX_HEADER_COUNT=
100
+ JUSTFLOW_CONTROL__MAX_QUERY_BYTES=
101
+
102
+ # Optional operations UI and safe Temporal Visibility indexes. Enable indexed
103
+ # search only after registering the documented Justflow keyword attributes in
104
+ # the Temporal namespace. Metrics links are bounded JSON objects with public
105
+ # labels and credential-free HTTP(S) URLs. Local source authoring is an explicit
106
+ # local-profile opt-in; its draft path must be outside the configuration folder,
107
+ # and saved workflow/schedule declarations apply only after restart.
108
+ JUSTFLOW_OPERATIONS__ADMIN_PANEL_ENABLED=
109
+ JUSTFLOW_OPERATIONS__INDEXED_SEARCH_ATTRIBUTES_ENABLED=
110
+ JUSTFLOW_OPERATIONS__LOCAL_SOURCE_AUTHORING_ENABLED=
111
+ JUSTFLOW_OPERATIONS__METRICS_LINKS=
112
+
113
+ # Temporal schedule reconciliation, observation, and dispatch bounds
114
+ JUSTFLOW_SCHEDULES__TASK_QUEUE=
115
+ JUSTFLOW_SCHEDULES__MAX_SCHEDULES=
116
+ JUSTFLOW_SCHEDULES__PAGE_SIZE=
117
+ JUSTFLOW_SCHEDULES__DESCRIBE_CONCURRENCY=
118
+ JUSTFLOW_SCHEDULES__TEMPORAL_RPC_TIMEOUT_SECONDS=
119
+ JUSTFLOW_SCHEDULES__RECENT_ACTION_LIMIT=
120
+ JUSTFLOW_SCHEDULES__DISPATCH_TIMEOUT_SECONDS=
121
+ JUSTFLOW_SCHEDULES__DISPATCH_ATTEMPTS=
122
+
123
+ # One-off scheduled-start admission, dispatch, retention, and workload policy
124
+ JUSTFLOW_SCHEDULED_STARTS__MAX_HORIZON_SECONDS=
125
+ JUSTFLOW_SCHEDULED_STARTS__MAX_INPUT_BYTES=
126
+ JUSTFLOW_SCHEDULED_STARTS__MAX_PENDING_PER_SCOPE=
127
+ JUSTFLOW_SCHEDULED_STARTS__DEFAULT_LIST_LIMIT=
128
+ JUSTFLOW_SCHEDULED_STARTS__MAX_LIST_LIMIT=
129
+ JUSTFLOW_SCHEDULED_STARTS__MAX_SCHEDULES=
130
+ JUSTFLOW_SCHEDULED_STARTS__DESCRIBE_CONCURRENCY=
131
+ JUSTFLOW_SCHEDULED_STARTS__TERMINAL_RETENTION_SECONDS=
132
+ JUSTFLOW_SCHEDULED_STARTS__CLEANUP_PAGE_SIZE=
133
+ JUSTFLOW_SCHEDULED_STARTS__CLEANUP_INTERVAL_SECONDS=
134
+ JUSTFLOW_SCHEDULED_STARTS__CLOCK_SKEW_SECONDS=
135
+ JUSTFLOW_SCHEDULED_STARTS__DISPATCH_TIMEOUT_SECONDS=
136
+ JUSTFLOW_SCHEDULED_STARTS__DISPATCH_ATTEMPTS=
137
+ JUSTFLOW_SCHEDULED_STARTS__MUTATION_WAIT_SECONDS=
138
+ JUSTFLOW_SCHEDULED_STARTS__RECOVERY_MAX_INTERVAL_SECONDS=
139
+ JUSTFLOW_SCHEDULED_STARTS__WORKLOAD_POLICY__ALLOWED_CLASSES=
140
+ JUSTFLOW_SCHEDULED_STARTS__WORKLOAD_POLICY__INTERACTIVE_PRIORITY_KEY=
141
+ JUSTFLOW_SCHEDULED_STARTS__WORKLOAD_POLICY__STANDARD_PRIORITY_KEY=
142
+ JUSTFLOW_SCHEDULED_STARTS__WORKLOAD_POLICY__BATCH_PRIORITY_KEY=
143
+ JUSTFLOW_SCHEDULED_STARTS__WORKLOAD_POLICY__FAIRNESS_WEIGHT=
144
+
145
+ # Managed activation lease and prepared-runtime index bounds
146
+ JUSTFLOW_ACTIVATION__LEASE_SECONDS=
147
+ JUSTFLOW_ACTIVATION__MAX_SCOPES=
148
+ JUSTFLOW_ACTIVATION__MAX_TARGETS_PER_SCOPE=
149
+
150
+ # Runtime bounds
151
+ JUSTFLOW_LIMITS__TRIGGER_PAYLOAD_BYTES=
152
+ JUSTFLOW_LIMITS__WORKFLOW_OUTPUT_BYTES=
153
+ JUSTFLOW_LIMITS__ACTIVITY_INPUT_BYTES=
154
+ JUSTFLOW_LIMITS__ACTIVITY_OUTPUT_BYTES=
155
+ JUSTFLOW_LIMITS__FAILURE_RECORD_BYTES=
156
+ JUSTFLOW_LIMITS__AUDIT_RECORD_BYTES=
157
+ JUSTFLOW_LIMITS__CACHE_ENTRY_BYTES=
158
+ JUSTFLOW_LIMITS__FANOUT_ITEMS=
159
+ JUSTFLOW_LIMITS__FANOUT_CHUNK_ITEMS=
160
+ JUSTFLOW_LIMITS__PARALLELISM=
161
+ JUSTFLOW_LIMITS__LOOP_ATTEMPTS=
162
+ JUSTFLOW_LIMITS__TOTAL_INVOCATIONS=
163
+ JUSTFLOW_LIMITS__QUEUED_MESSAGES=
164
+ JUSTFLOW_LIMITS__SIGNAL_PAYLOAD_BYTES=
165
+ JUSTFLOW_LIMITS__QUEUED_MESSAGE_BYTES=
166
+ JUSTFLOW_LIMITS__COLLECTION_ITEMS=
167
+ JUSTFLOW_LIMITS__WORKFLOW_STATE_BYTES=
168
+ JUSTFLOW_LIMITS__CONTINUATION_INPUT_BYTES=
169
+ JUSTFLOW_LIMITS__HISTORY_EVENTS=
170
+ JUSTFLOW_LIMITS__HISTORY_BYTES=
@@ -0,0 +1,36 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ .venv/
4
+ .pytest_cache/
5
+ .mypy_cache/
6
+ .ruff_cache/
7
+ .coverage
8
+ htmlcov/
9
+ *.egg-info/
10
+ dist/
11
+ example-dist/
12
+ build/
13
+ .env
14
+ .DS_Store
15
+
16
+ # Generated visualization artifacts
17
+ workflow.html
18
+
19
+ examples/**/*.html
20
+ /examples_internal/
21
+
22
+ .codegraph
23
+ graphify-out/
24
+ .claude/settings.local.json
25
+ specs/
26
+ temp/
27
+ site/
28
+ /docs/scheduling-workflows-spec.md
29
+
30
+ # Administration panel tool output
31
+ ui/admin/node_modules/
32
+ ui/admin/coverage/
33
+ .justflow/
34
+ # The built panel bundle under packages/justflow-admin is covered by the dist/
35
+ # rule above. It ships in the optional wheel via Hatch build artifacts.
36
+ /CHANGELOG_private.md
@@ -0,0 +1,104 @@
1
+ # Changelog
2
+
3
+ Notable changes in public releases of Justflow.
4
+
5
+ ## [Unreleased]
6
+
7
+ ## [0.1.1] — 2026-09-10
8
+
9
+ Initial public beta release of `justflow` and the optional `justflow-admin`
10
+ package. Supports CPython 3.11–3.14.
11
+
12
+ ### Workflow execution
13
+
14
+ - Define durable workflows in YAML and execute them on Temporal, with typed
15
+ Python actions implementing application behavior.
16
+ - Compose sequential steps, result-based and conditional branches, bounded
17
+ parallel iteration, child workflows, durable sleeps and event waits,
18
+ polling loops, and failure paths.
19
+ - Validate definitions, expressions, references, and input/output contracts;
20
+ configure per-step caching and explicit execution limits.
21
+ - Publish immutable workflow definitions, retain execution provenance, and
22
+ check compatibility against representative recorded Temporal histories.
23
+ - Record workflow outcomes through configurable audit capture and archival,
24
+ with redaction and host-provided payload encryption support.
25
+
26
+ ### Triggers and scheduling
27
+
28
+ - Declare authorized API, schedule, webhook, CloudEvent, broker, and
29
+ application-host triggers.
30
+ - Run recurring cron, calendar, or interval schedules with timezone,
31
+ overlap, catch-up, pause/resume, and reconciliation controls.
32
+ - Create, inspect, reschedule, and cancel one-off scheduled starts through
33
+ versioned APIs with idempotent operations.
34
+ - Build bounded customer batches and independent per-customer workflows.
35
+ A global batch operates within its trusted tenant/application/environment
36
+ scope; it does not bypass tenant authorization.
37
+ - Use the customer-workflow example to schedule reminders relative to an
38
+ appointment. Application code computes the due time, such as two elapsed
39
+ hours before the appointment, and submits a one-off scheduled start.
40
+
41
+ ### APIs and administration
42
+
43
+ - Expose authenticated, tenant-scoped control and operations APIs for
44
+ application automation and external dashboards.
45
+ - Provide versioned OpenAPI 3.1 contracts and JSON authoring schemas with
46
+ offline export commands.
47
+ - Manage configuration drafts, publication, activation, and rollback through
48
+ APIs composed with the consuming application's host bindings.
49
+ - Install the optional beta administration console over the same public APIs.
50
+ - Compose authentication, resources, providers, catalogs, and Temporal
51
+ connections through typed Python interfaces.
52
+
53
+ ### Integrations
54
+
55
+ - Execute actions directly in Python, through approved HTTPS endpoints,
56
+ through TLS gRPC, or through broker-backed queues using SQS.
57
+ - Access S3 objects and archives, DynamoDB, Secrets Manager, SSM, PostgreSQL,
58
+ Redis, and static configuration through registered resource providers.
59
+ - Configure transport deadlines, message and result limits, retry behavior,
60
+ dead-letter handling, and receiving-service idempotency contracts.
61
+ - Supply custom transports, brokers, resources, and ingress mappings through
62
+ explicit host registration.
63
+
64
+ ### Tooling and documentation
65
+
66
+ - Validate definitions, run local workflows, start workers, manage triggers,
67
+ and export contracts from the CLI.
68
+ - Render workflow diagrams as Mermaid or standalone interactive HTML.
69
+ - Follow runnable examples for local execution, host application composition,
70
+ object ingestion, onboarding, scheduled reporting, and customer workflows.
71
+ - Use deployment and operations guides for local development and self-hosted
72
+ environments, including an ECS/Fargate plan for self-hosted Temporal.
73
+ - Install optional capabilities through the `aws`, `grpc`, `postgres`,
74
+ `redis`, `control`, `admin`, and `all` extras.
75
+
76
+ ### Beta scope and limitations
77
+
78
+ - Workflow definitions, publishers, and provider registration must be trusted.
79
+ Tenant-scoped APIs do not sandbox arbitrary Python action code.
80
+ - Production deployments require application-owned infrastructure,
81
+ authentication, credentials, provider bindings, and operational acceptance
82
+ tests. Live AWS qualification of the ECS/Fargate deployment remains pending.
83
+ - Production one-off scheduled starts require a shared authoritative quota
84
+ binding from the host. Without it, creation is rejected with
85
+ `quota_unavailable`. Recurring schedules do not use that quota controller.
86
+ - Managed configuration activation requires the consuming host's deployment
87
+ and routing bindings.
88
+ - Queue delivery is at least once. Exactly-once external side effects are not
89
+ guaranteed; receiving services must implement durable idempotency where
90
+ required.
91
+ - The built-in gRPC transport uses JSON request/response bytes over unary
92
+ RPCs. Generated Protobuf clients and streaming RPCs need a custom transport.
93
+ - Lambda is available for evaluation; its operational contract is outside
94
+ the supported beta integration profile.
95
+ - Static independent fork/join branches, visual workflow editing, AI workflow
96
+ building, and filesystem hot reload are not included.
97
+ - Runtime limits define correctness bounds, not throughput, availability,
98
+ capacity, or regulatory certification claims.
99
+
100
+ See the [getting-started guide](docs/getting-started.md),
101
+ [customer workflow examples](docs/operations/customer-workflows.md),
102
+ [integration contracts](docs/integrations.md),
103
+ [limitations](docs/limitations.md), and
104
+ [AWS acceptance runbook](docs/aws/self-hosted-temporal.md).
@@ -0,0 +1,87 @@
1
+ # Contributing
2
+
3
+ This guide covers local setup, checks to run before merging a PR, and the
4
+ conventions used in the codebase.
5
+
6
+ ## Development setup
7
+
8
+ ```bash
9
+ git clone https://github.com/nickyua/justflow.git
10
+ cd justflow
11
+ python3.14 -m venv .venv
12
+ .venv/bin/pip install --constraint constraints/ci.txt \
13
+ --editable ".[dev]" --editable packages/justflow-admin \
14
+ --editable examples/prime_stats build
15
+ npm --prefix ui/admin ci
16
+ npm --prefix ui/admin run build
17
+ ```
18
+
19
+ The last step builds the administration panel bundle into
20
+ `packages/justflow-admin/src/justflow_admin/assets/dist/`. The bundle is gitignored build
21
+ output (shipped in the wheel via hatch `artifacts`), and the backend test
22
+ suite and `justflow serve` read it from disk — rebuild it after changing
23
+ `ui/admin` sources (`make admin-check` does this too).
24
+
25
+ ## Checks before merging
26
+
27
+ Run the full check suite before merging a PR:
28
+
29
+ ```bash
30
+ make check
31
+ ```
32
+
33
+ You can also run the checks separately:
34
+
35
+ | Command | What it runs |
36
+ | ------------------------- | ------------ |
37
+ | `make admin-check` | Admin panel types, lint, unit coverage, and production build with Node 24 |
38
+ | `make lint` | Ruff and mypy |
39
+ | `make format-check` | Pinned Ruff formatter check |
40
+ | `make test-unit` | Unit suite without Temporal |
41
+ | `make coverage` | Unit suite with branch coverage and the minimum coverage requirement |
42
+ | `make test-replay` | Committed Temporal history replay against the compatible worker code |
43
+ | `make test-sandbox` | Checks that workflow code runs in Temporal's sandbox |
44
+ | `make test-integration` | Integration suite against the pinned local Temporal server |
45
+ | `make build` | Main and example sdist/wheel builds |
46
+ | `make verify-distribution` | Exact artifact-name, metadata, and contents inspection |
47
+ | `make smoke-wheel` | Isolated installation and import of the built wheel |
48
+
49
+ CI (`.github/workflows/ci.yml`) runs the same checks on every PR. Unit and
50
+ integration tests cover Python 3.11 through 3.14; package checks use
51
+ Python 3.14.
52
+
53
+ Keep existing replay histories when changing workflow behavior: they verify
54
+ that old runs still work. Add recordings for new behavior, review the history
55
+ index, and run `make test-replay`. Use Temporal versioning when a change would
56
+ alter decisions recorded by an existing workflow.
57
+
58
+ ## Project layout
59
+
60
+ ```
61
+ src/justflow/ the engine library
62
+ ui/admin/ separately built TypeScript administration panel
63
+ examples/prime_stats/ runnable application with its own action package and configs
64
+ tests/ unit tests (+ tests/integration for the Temporal-backed suite)
65
+ ```
66
+
67
+ ## Conventions
68
+
69
+ - Add types and run mypy. Resolve type errors through correct types and
70
+ narrowing rather than suppressions.
71
+ - Give meaningful values names: use constants for fixed values and settings
72
+ for values that vary by deployment.
73
+ - Raise on programmer errors and corrupt state. Handle expected external
74
+ failures explicitly, and preserve enough information to diagnose them.
75
+ - Keep unit tests independent of the network, wall clock, and test order.
76
+ Inject time and seed randomness. Use frozen dataclass cases for test matrices.
77
+ - Translate dependency errors into the appropriate Justflow exception;
78
+ transport failures use `TransportError` subclasses.
79
+ - Keep each PR focused on one change and explain why it is needed. Open a
80
+ draft PR when you create a branch, then add implementation commits to it.
81
+
82
+ ## Reporting issues
83
+
84
+ Follow [SUPPORT.md](SUPPORT.md) when reporting a bug. A minimal workflow and
85
+ the error code are useful; remove credentials and customer data before
86
+ sharing configuration, logs, or audit output. Report vulnerabilities through
87
+ [SECURITY.md](SECURITY.md).
justflow-0.1.1/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
justflow-0.1.1/NOTICE ADDED
@@ -0,0 +1,7 @@
1
+ Justflow
2
+ Copyright 2026 Mykyta Bakunov
3
+
4
+ This product includes Mermaid 11.16.0, distributed under the MIT License.
5
+ The vendored asset provenance and license are included in
6
+ src/justflow/visualization/static/MERMAID_ASSET.md and
7
+ src/justflow/visualization/static/MERMAID_LICENSE.