puffinflow 2.dev0__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 (245) hide show
  1. puffinflow-2.dev0/.github/ISSUE_TEMPLATE/bug_report.md +115 -0
  2. puffinflow-2.dev0/.github/ISSUE_TEMPLATE/bug_report.yml +139 -0
  3. puffinflow-2.dev0/.github/ISSUE_TEMPLATE/feature_request.md +152 -0
  4. puffinflow-2.dev0/.github/ISSUE_TEMPLATE/feature_request.yml +147 -0
  5. puffinflow-2.dev0/.github/ISSUE_TEMPLATE/question.md +156 -0
  6. puffinflow-2.dev0/.github/ISSUE_TEMPLATE/security_vulnerability.yml +138 -0
  7. puffinflow-2.dev0/.github/PULL_REQUEST_TEMPLATE.md +201 -0
  8. puffinflow-2.dev0/.github/dependabot.yml +158 -0
  9. puffinflow-2.dev0/.github/workflows/ci-cd.yml +572 -0
  10. puffinflow-2.dev0/.github/workflows/compliance.yml +285 -0
  11. puffinflow-2.dev0/.github/workflows/dependency-audit.yml +206 -0
  12. puffinflow-2.dev0/.github/workflows/performance.yml +223 -0
  13. puffinflow-2.dev0/.gitignore +209 -0
  14. puffinflow-2.dev0/.idea/.gitignore +8 -0
  15. puffinflow-2.dev0/.idea/inspectionProfiles/Project_Default.xml +6 -0
  16. puffinflow-2.dev0/.idea/inspectionProfiles/profiles_settings.xml +6 -0
  17. puffinflow-2.dev0/.idea/misc.xml +7 -0
  18. puffinflow-2.dev0/.idea/modules.xml +8 -0
  19. puffinflow-2.dev0/.idea/puffinflow-main.iml +11 -0
  20. puffinflow-2.dev0/.idea/vcs.xml +6 -0
  21. puffinflow-2.dev0/.pre-commit-config.yaml +29 -0
  22. puffinflow-2.dev0/.trufflehog.yml +4 -0
  23. puffinflow-2.dev0/CONTRIBUTING.md +530 -0
  24. puffinflow-2.dev0/LICENSE +21 -0
  25. puffinflow-2.dev0/Makefile +116 -0
  26. puffinflow-2.dev0/PKG-INFO +334 -0
  27. puffinflow-2.dev0/README.md +213 -0
  28. puffinflow-2.dev0/SECURITY.md +375 -0
  29. puffinflow-2.dev0/benchmark_results/benchmark_results_20250707_120316.json +48 -0
  30. puffinflow-2.dev0/benchmarks/README.md +299 -0
  31. puffinflow-2.dev0/benchmarks/__init__.py +0 -0
  32. puffinflow-2.dev0/benchmarks/benchmark_coordination.py +480 -0
  33. puffinflow-2.dev0/benchmarks/benchmark_core_agent.py +304 -0
  34. puffinflow-2.dev0/benchmarks/benchmark_observability.py +526 -0
  35. puffinflow-2.dev0/benchmarks/benchmark_resource_management.py +392 -0
  36. puffinflow-2.dev0/benchmarks/run_all_benchmarks.py +401 -0
  37. puffinflow-2.dev0/benchmarks/simple_benchmark.py +238 -0
  38. puffinflow-2.dev0/debug_integration_failure.py +116 -0
  39. puffinflow-2.dev0/doc-site/.gitignore +24 -0
  40. puffinflow-2.dev0/doc-site/App.tsx +188 -0
  41. puffinflow-2.dev0/doc-site/README.md +14 -0
  42. puffinflow-2.dev0/doc-site/components/CodeBlock.tsx +30 -0
  43. puffinflow-2.dev0/doc-site/components/CodeWindow.tsx +59 -0
  44. puffinflow-2.dev0/doc-site/components/Comparison.tsx +60 -0
  45. puffinflow-2.dev0/doc-site/components/CtaSection.tsx +50 -0
  46. puffinflow-2.dev0/doc-site/components/DocsPage.tsx +3143 -0
  47. puffinflow-2.dev0/doc-site/components/Faq.tsx +0 -0
  48. puffinflow-2.dev0/doc-site/components/Features.tsx +0 -0
  49. puffinflow-2.dev0/doc-site/components/Footer.tsx +54 -0
  50. puffinflow-2.dev0/doc-site/components/Header.tsx +40 -0
  51. puffinflow-2.dev0/doc-site/components/Hero.tsx +82 -0
  52. puffinflow-2.dev0/doc-site/components/HowItWorks.tsx +0 -0
  53. puffinflow-2.dev0/doc-site/components/Icons.tsx +82 -0
  54. puffinflow-2.dev0/doc-site/components/Pricing.tsx +0 -0
  55. puffinflow-2.dev0/doc-site/components/ProductionGap.tsx +72 -0
  56. puffinflow-2.dev0/doc-site/components/PuffinLogo.tsx +18 -0
  57. puffinflow-2.dev0/doc-site/components/QuickStart.tsx +60 -0
  58. puffinflow-2.dev0/doc-site/components/ScalingProblem.tsx +70 -0
  59. puffinflow-2.dev0/doc-site/components/SocialProof.tsx +0 -0
  60. puffinflow-2.dev0/doc-site/components/Testimonials.tsx +0 -0
  61. puffinflow-2.dev0/doc-site/components/UseCases.tsx +67 -0
  62. puffinflow-2.dev0/doc-site/components/WhyPuffinflow.tsx +158 -0
  63. puffinflow-2.dev0/doc-site/components/docs/checkpointing.ts +483 -0
  64. puffinflow-2.dev0/doc-site/components/docs/context-and-data.ts +239 -0
  65. puffinflow-2.dev0/doc-site/components/docs/error-handling.ts +1335 -0
  66. puffinflow-2.dev0/doc-site/components/docs/getting-started.ts +487 -0
  67. puffinflow-2.dev0/doc-site/components/docs/introduction.ts +86 -0
  68. puffinflow-2.dev0/doc-site/components/docs/rag-recipe.ts +742 -0
  69. puffinflow-2.dev0/doc-site/components/docs/resource-management.ts +1361 -0
  70. puffinflow-2.dev0/doc-site/components/logo.png +0 -0
  71. puffinflow-2.dev0/doc-site/constants.tsx +0 -0
  72. puffinflow-2.dev0/doc-site/index.html +470 -0
  73. puffinflow-2.dev0/doc-site/index.tsx +16 -0
  74. puffinflow-2.dev0/doc-site/metadata.json +6 -0
  75. puffinflow-2.dev0/doc-site/package-lock.json +1032 -0
  76. puffinflow-2.dev0/doc-site/package.json +20 -0
  77. puffinflow-2.dev0/doc-site/tsconfig.json +30 -0
  78. puffinflow-2.dev0/doc-site/types.ts +0 -0
  79. puffinflow-2.dev0/doc-site/vite.config.ts +17 -0
  80. puffinflow-2.dev0/docs/CI-CD.md +155 -0
  81. puffinflow-2.dev0/docs/Makefile +57 -0
  82. puffinflow-2.dev0/docs/README.md +301 -0
  83. puffinflow-2.dev0/docs/requirements.txt +31 -0
  84. puffinflow-2.dev0/docs/source/_static/custom.css +42 -0
  85. puffinflow-2.dev0/docs/source/api/agent.rst +196 -0
  86. puffinflow-2.dev0/docs/source/api/coordination.rst +226 -0
  87. puffinflow-2.dev0/docs/source/api/index.rst +40 -0
  88. puffinflow-2.dev0/docs/source/api/observability.rst +402 -0
  89. puffinflow-2.dev0/docs/source/api/reliability.rst +431 -0
  90. puffinflow-2.dev0/docs/source/api/resources.rst +249 -0
  91. puffinflow-2.dev0/docs/source/changelog.rst +272 -0
  92. puffinflow-2.dev0/docs/source/conf.py +162 -0
  93. puffinflow-2.dev0/docs/source/contributing.rst +477 -0
  94. puffinflow-2.dev0/docs/source/guides/advanced.rst +727 -0
  95. puffinflow-2.dev0/docs/source/guides/examples.rst +2612 -0
  96. puffinflow-2.dev0/docs/source/guides/migration.rst +566 -0
  97. puffinflow-2.dev0/docs/source/guides/quickstart.rst +563 -0
  98. puffinflow-2.dev0/docs/source/index.rst +188 -0
  99. puffinflow-2.dev0/docs/source/security.rst +599 -0
  100. puffinflow-2.dev0/examples/README.md +254 -0
  101. puffinflow-2.dev0/examples/__init__.py +15 -0
  102. puffinflow-2.dev0/examples/advanced_workflows.py +880 -0
  103. puffinflow-2.dev0/examples/basic_agent.py +218 -0
  104. puffinflow-2.dev0/examples/coordination_examples.py +360 -0
  105. puffinflow-2.dev0/examples/monitoring_example.py +149 -0
  106. puffinflow-2.dev0/examples/observability_demo.py +544 -0
  107. puffinflow-2.dev0/examples/reliability_patterns.py +507 -0
  108. puffinflow-2.dev0/examples/resource_management.py +388 -0
  109. puffinflow-2.dev0/examples/run_all_examples.py +236 -0
  110. puffinflow-2.dev0/examples/test_examples.py +108 -0
  111. puffinflow-2.dev0/puffinflow-visual-editor/.vite/deps/_metadata.json +8 -0
  112. puffinflow-2.dev0/puffinflow-visual-editor/.vite/deps/package.json +3 -0
  113. puffinflow-2.dev0/pyproject.toml +384 -0
  114. puffinflow-2.dev0/pytest.ini +20 -0
  115. puffinflow-2.dev0/run_tests.py +137 -0
  116. puffinflow-2.dev0/scripts/run-security-scan.bat +19 -0
  117. puffinflow-2.dev0/scripts/run-security-scan.py +222 -0
  118. puffinflow-2.dev0/scripts/test-trufflehog.py +181 -0
  119. puffinflow-2.dev0/setup.cfg +4 -0
  120. puffinflow-2.dev0/src/puffinflow/__init__.py +132 -0
  121. puffinflow-2.dev0/src/puffinflow/core/__init__.py +110 -0
  122. puffinflow-2.dev0/src/puffinflow/core/agent/__init__.py +320 -0
  123. puffinflow-2.dev0/src/puffinflow/core/agent/base.py +1635 -0
  124. puffinflow-2.dev0/src/puffinflow/core/agent/checkpoint.py +50 -0
  125. puffinflow-2.dev0/src/puffinflow/core/agent/context.py +521 -0
  126. puffinflow-2.dev0/src/puffinflow/core/agent/decorators/__init__.py +90 -0
  127. puffinflow-2.dev0/src/puffinflow/core/agent/decorators/builder.py +454 -0
  128. puffinflow-2.dev0/src/puffinflow/core/agent/decorators/flexible.py +714 -0
  129. puffinflow-2.dev0/src/puffinflow/core/agent/decorators/inspection.py +144 -0
  130. puffinflow-2.dev0/src/puffinflow/core/agent/dependencies.py +57 -0
  131. puffinflow-2.dev0/src/puffinflow/core/agent/scheduling/__init__.py +21 -0
  132. puffinflow-2.dev0/src/puffinflow/core/agent/scheduling/builder.py +160 -0
  133. puffinflow-2.dev0/src/puffinflow/core/agent/scheduling/exceptions.py +35 -0
  134. puffinflow-2.dev0/src/puffinflow/core/agent/scheduling/inputs.py +137 -0
  135. puffinflow-2.dev0/src/puffinflow/core/agent/scheduling/parser.py +209 -0
  136. puffinflow-2.dev0/src/puffinflow/core/agent/scheduling/scheduler.py +413 -0
  137. puffinflow-2.dev0/src/puffinflow/core/agent/state.py +141 -0
  138. puffinflow-2.dev0/src/puffinflow/core/config.py +62 -0
  139. puffinflow-2.dev0/src/puffinflow/core/coordination/__init__.py +137 -0
  140. puffinflow-2.dev0/src/puffinflow/core/coordination/agent_group.py +359 -0
  141. puffinflow-2.dev0/src/puffinflow/core/coordination/agent_pool.py +629 -0
  142. puffinflow-2.dev0/src/puffinflow/core/coordination/agent_team.py +577 -0
  143. puffinflow-2.dev0/src/puffinflow/core/coordination/coordinator.py +720 -0
  144. puffinflow-2.dev0/src/puffinflow/core/coordination/deadlock.py +1759 -0
  145. puffinflow-2.dev0/src/puffinflow/core/coordination/fluent_api.py +421 -0
  146. puffinflow-2.dev0/src/puffinflow/core/coordination/primitives.py +478 -0
  147. puffinflow-2.dev0/src/puffinflow/core/coordination/rate_limiter.py +520 -0
  148. puffinflow-2.dev0/src/puffinflow/core/observability/__init__.py +47 -0
  149. puffinflow-2.dev0/src/puffinflow/core/observability/agent.py +139 -0
  150. puffinflow-2.dev0/src/puffinflow/core/observability/alerting.py +73 -0
  151. puffinflow-2.dev0/src/puffinflow/core/observability/config.py +127 -0
  152. puffinflow-2.dev0/src/puffinflow/core/observability/context.py +88 -0
  153. puffinflow-2.dev0/src/puffinflow/core/observability/core.py +147 -0
  154. puffinflow-2.dev0/src/puffinflow/core/observability/decorators.py +105 -0
  155. puffinflow-2.dev0/src/puffinflow/core/observability/events.py +71 -0
  156. puffinflow-2.dev0/src/puffinflow/core/observability/interfaces.py +196 -0
  157. puffinflow-2.dev0/src/puffinflow/core/observability/metrics.py +137 -0
  158. puffinflow-2.dev0/src/puffinflow/core/observability/tracing.py +209 -0
  159. puffinflow-2.dev0/src/puffinflow/core/reliability/__init__.py +27 -0
  160. puffinflow-2.dev0/src/puffinflow/core/reliability/bulkhead.py +96 -0
  161. puffinflow-2.dev0/src/puffinflow/core/reliability/circuit_breaker.py +149 -0
  162. puffinflow-2.dev0/src/puffinflow/core/reliability/leak_detector.py +122 -0
  163. puffinflow-2.dev0/src/puffinflow/core/resources/__init__.py +77 -0
  164. puffinflow-2.dev0/src/puffinflow/core/resources/allocation.py +790 -0
  165. puffinflow-2.dev0/src/puffinflow/core/resources/pool.py +645 -0
  166. puffinflow-2.dev0/src/puffinflow/core/resources/quotas.py +567 -0
  167. puffinflow-2.dev0/src/puffinflow/core/resources/requirements.py +217 -0
  168. puffinflow-2.dev0/src/puffinflow/version.py +21 -0
  169. puffinflow-2.dev0/src/puffinflow.egg-info/PKG-INFO +334 -0
  170. puffinflow-2.dev0/src/puffinflow.egg-info/SOURCES.txt +243 -0
  171. puffinflow-2.dev0/src/puffinflow.egg-info/dependency_links.txt +1 -0
  172. puffinflow-2.dev0/src/puffinflow.egg-info/entry_points.txt +3 -0
  173. puffinflow-2.dev0/src/puffinflow.egg-info/requires.txt +97 -0
  174. puffinflow-2.dev0/src/puffinflow.egg-info/top_level.txt +1 -0
  175. puffinflow-2.dev0/tests/README.md +311 -0
  176. puffinflow-2.dev0/tests/__init__.py +0 -0
  177. puffinflow-2.dev0/tests/conftest.py +297 -0
  178. puffinflow-2.dev0/tests/e2e/__init__.py +6 -0
  179. puffinflow-2.dev0/tests/e2e/test_complete_workflows.py +477 -0
  180. puffinflow-2.dev0/tests/e2e/test_microservices_scenarios.py +414 -0
  181. puffinflow-2.dev0/tests/integration/__init__.py +6 -0
  182. puffinflow-2.dev0/tests/integration/test_agent_coordination.py +616 -0
  183. puffinflow-2.dev0/tests/integration/test_resource_reliability.py +774 -0
  184. puffinflow-2.dev0/tests/integration/test_working_agents.py +160 -0
  185. puffinflow-2.dev0/tests/unit/__init__.py +0 -0
  186. puffinflow-2.dev0/tests/unit/agent/__init__.py +0 -0
  187. puffinflow-2.dev0/tests/unit/agent/decorators/__init__.py +1 -0
  188. puffinflow-2.dev0/tests/unit/agent/decorators/test_builder.py +1225 -0
  189. puffinflow-2.dev0/tests/unit/agent/decorators/test_flexible.py +886 -0
  190. puffinflow-2.dev0/tests/unit/agent/decorators/test_init.py +291 -0
  191. puffinflow-2.dev0/tests/unit/agent/decorators/test_inspection.py +801 -0
  192. puffinflow-2.dev0/tests/unit/agent/scheduling/__init__.py +1 -0
  193. puffinflow-2.dev0/tests/unit/agent/scheduling/test_builder.py +461 -0
  194. puffinflow-2.dev0/tests/unit/agent/scheduling/test_exceptions.py +185 -0
  195. puffinflow-2.dev0/tests/unit/agent/scheduling/test_init.py +116 -0
  196. puffinflow-2.dev0/tests/unit/agent/scheduling/test_inputs.py +500 -0
  197. puffinflow-2.dev0/tests/unit/agent/scheduling/test_parser.py +465 -0
  198. puffinflow-2.dev0/tests/unit/agent/scheduling/test_scheduler.py +792 -0
  199. puffinflow-2.dev0/tests/unit/agent/test_base.py +1487 -0
  200. puffinflow-2.dev0/tests/unit/agent/test_builder.py +780 -0
  201. puffinflow-2.dev0/tests/unit/agent/test_checkpoint.py +973 -0
  202. puffinflow-2.dev0/tests/unit/agent/test_context.py +1151 -0
  203. puffinflow-2.dev0/tests/unit/agent/test_decorators.py +1059 -0
  204. puffinflow-2.dev0/tests/unit/agent/test_dependencies.py +355 -0
  205. puffinflow-2.dev0/tests/unit/agent/test_init.py +411 -0
  206. puffinflow-2.dev0/tests/unit/agent/test_scheduling.py +573 -0
  207. puffinflow-2.dev0/tests/unit/agent/test_state.py +596 -0
  208. puffinflow-2.dev0/tests/unit/coordination/__init__.py +1 -0
  209. puffinflow-2.dev0/tests/unit/coordination/test_agent_group.py +850 -0
  210. puffinflow-2.dev0/tests/unit/coordination/test_agent_pool.py +1004 -0
  211. puffinflow-2.dev0/tests/unit/coordination/test_agent_team.py +630 -0
  212. puffinflow-2.dev0/tests/unit/coordination/test_coordinator.py +1123 -0
  213. puffinflow-2.dev0/tests/unit/coordination/test_deadlock.py +1558 -0
  214. puffinflow-2.dev0/tests/unit/coordination/test_fluent_api.py +998 -0
  215. puffinflow-2.dev0/tests/unit/coordination/test_init.py +388 -0
  216. puffinflow-2.dev0/tests/unit/coordination/test_primitives.py +865 -0
  217. puffinflow-2.dev0/tests/unit/coordination/test_rate_limiter.py +361 -0
  218. puffinflow-2.dev0/tests/unit/core/__init__.py +1 -0
  219. puffinflow-2.dev0/tests/unit/core/test_init.py +44 -0
  220. puffinflow-2.dev0/tests/unit/observability/__init__.py +1 -0
  221. puffinflow-2.dev0/tests/unit/observability/test_agent.py +300 -0
  222. puffinflow-2.dev0/tests/unit/observability/test_alerting.py +215 -0
  223. puffinflow-2.dev0/tests/unit/observability/test_config.py +353 -0
  224. puffinflow-2.dev0/tests/unit/observability/test_context.py +303 -0
  225. puffinflow-2.dev0/tests/unit/observability/test_core.py +230 -0
  226. puffinflow-2.dev0/tests/unit/observability/test_decorators.py +377 -0
  227. puffinflow-2.dev0/tests/unit/observability/test_events.py +396 -0
  228. puffinflow-2.dev0/tests/unit/observability/test_init.py +266 -0
  229. puffinflow-2.dev0/tests/unit/observability/test_interfaces.py +354 -0
  230. puffinflow-2.dev0/tests/unit/observability/test_metrics.py +384 -0
  231. puffinflow-2.dev0/tests/unit/observability/test_tracing.py +451 -0
  232. puffinflow-2.dev0/tests/unit/reliability/__init__.py +0 -0
  233. puffinflow-2.dev0/tests/unit/reliability/test_bulkhead.py +987 -0
  234. puffinflow-2.dev0/tests/unit/reliability/test_circuit_breaker.py +1163 -0
  235. puffinflow-2.dev0/tests/unit/reliability/test_init.py +309 -0
  236. puffinflow-2.dev0/tests/unit/reliability/test_leak_detector.py +843 -0
  237. puffinflow-2.dev0/tests/unit/resources/__init__.py +0 -0
  238. puffinflow-2.dev0/tests/unit/resources/test_allocation.py +1188 -0
  239. puffinflow-2.dev0/tests/unit/resources/test_init.py +419 -0
  240. puffinflow-2.dev0/tests/unit/resources/test_pool.py +649 -0
  241. puffinflow-2.dev0/tests/unit/resources/test_quotas.py +772 -0
  242. puffinflow-2.dev0/tests/unit/resources/test_requirements.py +1440 -0
  243. puffinflow-2.dev0/tests/unit/test_config.py +180 -0
  244. puffinflow-2.dev0/tests/unit/test_init.py +353 -0
  245. puffinflow-2.dev0/tests/unit/test_version.py +102 -0
@@ -0,0 +1,115 @@
1
+ ---
2
+ name: Bug Report
3
+ about: Create a report to help us improve PuffinFlow
4
+ title: '[BUG] '
5
+ labels: ['bug', 'needs-triage']
6
+ assignees: ''
7
+ ---
8
+
9
+ ## Bug Description
10
+
11
+ **Describe the bug**
12
+ A clear and concise description of what the bug is.
13
+
14
+ **Expected behavior**
15
+ A clear and concise description of what you expected to happen.
16
+
17
+ **Actual behavior**
18
+ A clear and concise description of what actually happened.
19
+
20
+ ## Reproduction Steps
21
+
22
+ **To Reproduce**
23
+ Steps to reproduce the behavior:
24
+ 1. Go to '...'
25
+ 2. Click on '....'
26
+ 3. Scroll down to '....'
27
+ 4. See error
28
+
29
+ **Minimal code example**
30
+ ```python
31
+ # Please provide a minimal code example that reproduces the issue
32
+ from puffinflow import Agent
33
+
34
+ # Your code here
35
+ ```
36
+
37
+ ## Environment Information
38
+
39
+ **PuffinFlow version:**
40
+ <!-- Run: pip show puffinflow -->
41
+
42
+ **Python version:**
43
+ <!-- Run: python --version -->
44
+
45
+ **Operating System:**
46
+ <!-- e.g., Ubuntu 20.04, Windows 10, macOS 12.0 -->
47
+
48
+ **Installation method:**
49
+ - [ ] pip
50
+ - [ ] conda
51
+ - [ ] from source
52
+ - [ ] other (please specify)
53
+
54
+ **Optional dependencies installed:**
55
+ - [ ] observability
56
+ - [ ] integrations
57
+ - [ ] cli
58
+ - [ ] all
59
+ - [ ] none
60
+
61
+ ## Additional Context
62
+
63
+ **Error messages/logs**
64
+ ```
65
+ Paste any error messages or relevant log output here
66
+ ```
67
+
68
+ **Screenshots**
69
+ If applicable, add screenshots to help explain your problem.
70
+
71
+ **Stack trace**
72
+ ```
73
+ If there's a stack trace, paste it here
74
+ ```
75
+
76
+ **Configuration**
77
+ ```python
78
+ # If relevant, share your configuration
79
+ ```
80
+
81
+ **Additional context**
82
+ Add any other context about the problem here.
83
+
84
+ ## Checklist
85
+
86
+ - [ ] I have searched existing issues to ensure this is not a duplicate
87
+ - [ ] I have provided a minimal code example that reproduces the issue
88
+ - [ ] I have included the PuffinFlow version and Python version
89
+ - [ ] I have included relevant error messages or logs
90
+ - [ ] I have checked the documentation and this issue is not covered there
91
+
92
+ ## Possible Solution
93
+
94
+ <!-- Optional: If you have ideas on how to fix this bug, please describe them here -->
95
+
96
+ ## Impact
97
+
98
+ **Severity:**
99
+ - [ ] Critical (blocks core functionality)
100
+ - [ ] High (significantly impacts functionality)
101
+ - [ ] Medium (some functionality affected)
102
+ - [ ] Low (minor issue or cosmetic)
103
+
104
+ **Frequency:**
105
+ - [ ] Always
106
+ - [ ] Often
107
+ - [ ] Sometimes
108
+ - [ ] Rarely
109
+
110
+ **Workaround available:**
111
+ - [ ] Yes (please describe below)
112
+ - [ ] No
113
+
114
+ **Workaround description:**
115
+ <!-- If you found a workaround, please describe it here -->
@@ -0,0 +1,139 @@
1
+ name: 🐛 Bug Report
2
+ description: Create a report to help us improve PuffinFlow
3
+ title: "[Bug]: "
4
+ labels: ["bug", "needs-triage"]
5
+ assignees: []
6
+
7
+ body:
8
+ - type: markdown
9
+ attributes:
10
+ value: |
11
+ Thank you for taking the time to report a bug! Please fill out this form completely to help us understand and reproduce the issue.
12
+
13
+ - type: checkboxes
14
+ id: terms
15
+ attributes:
16
+ label: Prerequisites
17
+ description: Please confirm the following before submitting
18
+ options:
19
+ - label: I have searched existing issues to ensure this bug hasn't been reported
20
+ required: true
21
+ - label: I have read the documentation
22
+ required: true
23
+ - label: I am using a supported version of PuffinFlow
24
+ required: true
25
+
26
+ - type: input
27
+ id: version
28
+ attributes:
29
+ label: PuffinFlow Version
30
+ description: What version of PuffinFlow are you using?
31
+ placeholder: "e.g., 1.0.0"
32
+ validations:
33
+ required: true
34
+
35
+ - type: input
36
+ id: python-version
37
+ attributes:
38
+ label: Python Version
39
+ description: What version of Python are you using?
40
+ placeholder: "e.g., 3.11.0"
41
+ validations:
42
+ required: true
43
+
44
+ - type: dropdown
45
+ id: os
46
+ attributes:
47
+ label: Operating System
48
+ description: What operating system are you using?
49
+ options:
50
+ - Linux
51
+ - macOS
52
+ - Windows
53
+ - Other (please specify in description)
54
+ validations:
55
+ required: true
56
+
57
+ - type: textarea
58
+ id: description
59
+ attributes:
60
+ label: Bug Description
61
+ description: A clear and concise description of what the bug is
62
+ placeholder: Describe the bug...
63
+ validations:
64
+ required: true
65
+
66
+ - type: textarea
67
+ id: reproduction
68
+ attributes:
69
+ label: Steps to Reproduce
70
+ description: Steps to reproduce the behavior
71
+ placeholder: |
72
+ 1. Create an agent with '...'
73
+ 2. Execute state '...'
74
+ 3. See error
75
+ validations:
76
+ required: true
77
+
78
+ - type: textarea
79
+ id: expected
80
+ attributes:
81
+ label: Expected Behavior
82
+ description: A clear and concise description of what you expected to happen
83
+ placeholder: What should have happened?
84
+ validations:
85
+ required: true
86
+
87
+ - type: textarea
88
+ id: actual
89
+ attributes:
90
+ label: Actual Behavior
91
+ description: A clear and concise description of what actually happened
92
+ placeholder: What actually happened?
93
+ validations:
94
+ required: true
95
+
96
+ - type: textarea
97
+ id: code
98
+ attributes:
99
+ label: Minimal Reproducible Example
100
+ description: Please provide a minimal code example that reproduces the issue
101
+ render: python
102
+ placeholder: |
103
+ from puffinflow import Agent
104
+
105
+ # Your minimal example here
106
+ validations:
107
+ required: false
108
+
109
+ - type: textarea
110
+ id: logs
111
+ attributes:
112
+ label: Error Logs
113
+ description: If applicable, add error logs or stack traces
114
+ render: text
115
+ placeholder: Paste your error logs here...
116
+ validations:
117
+ required: false
118
+
119
+ - type: textarea
120
+ id: context
121
+ attributes:
122
+ label: Additional Context
123
+ description: Add any other context about the problem here
124
+ placeholder: Any other relevant information...
125
+ validations:
126
+ required: false
127
+
128
+ - type: dropdown
129
+ id: severity
130
+ attributes:
131
+ label: Severity
132
+ description: How severe is this bug?
133
+ options:
134
+ - Critical (application crashes, data loss)
135
+ - High (major functionality broken)
136
+ - Medium (feature partially broken)
137
+ - Low (minor issue, workaround available)
138
+ validations:
139
+ required: true
@@ -0,0 +1,152 @@
1
+ ---
2
+ name: Feature Request
3
+ about: Suggest an idea or enhancement for PuffinFlow
4
+ title: '[FEATURE] '
5
+ labels: ['enhancement', 'needs-triage']
6
+ assignees: ''
7
+ ---
8
+
9
+ ## Feature Summary
10
+
11
+ **Is your feature request related to a problem? Please describe.**
12
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
13
+
14
+ **Describe the solution you'd like**
15
+ A clear and concise description of what you want to happen.
16
+
17
+ **Describe alternatives you've considered**
18
+ A clear and concise description of any alternative solutions or features you've considered.
19
+
20
+ ## Detailed Description
21
+
22
+ **Use case**
23
+ Describe the specific use case or scenario where this feature would be beneficial.
24
+
25
+ **Expected behavior**
26
+ Describe in detail how you expect this feature to work.
27
+
28
+ **API design (if applicable)**
29
+ ```python
30
+ # If this involves new APIs, provide a rough sketch of how you'd like them to work
31
+ from puffinflow import SomeNewFeature
32
+
33
+ # Example usage
34
+ feature = SomeNewFeature(config="example")
35
+ result = feature.do_something()
36
+ ```
37
+
38
+ ## Implementation Considerations
39
+
40
+ **Components affected**
41
+ Which parts of PuffinFlow would this feature affect?
42
+ - [ ] Core agents
43
+ - [ ] Coordination system
44
+ - [ ] Resource management
45
+ - [ ] Observability
46
+ - [ ] Reliability features
47
+ - [ ] CLI tools
48
+ - [ ] Documentation
49
+ - [ ] Other (please specify)
50
+
51
+ **Breaking changes**
52
+ - [ ] This feature would require breaking changes
53
+ - [ ] This feature is backward compatible
54
+ - [ ] Unsure
55
+
56
+ **Performance impact**
57
+ - [ ] No performance impact expected
58
+ - [ ] Minor performance impact
59
+ - [ ] Significant performance impact
60
+ - [ ] Performance improvement expected
61
+ - [ ] Unsure
62
+
63
+ ## Priority and Impact
64
+
65
+ **Priority level**
66
+ - [ ] Critical (core functionality missing)
67
+ - [ ] High (important for many users)
68
+ - [ ] Medium (nice to have)
69
+ - [ ] Low (minor enhancement)
70
+
71
+ **User impact**
72
+ - [ ] Affects all users
73
+ - [ ] Affects most users
74
+ - [ ] Affects some users
75
+ - [ ] Affects few users (niche use case)
76
+
77
+ **Complexity estimate**
78
+ - [ ] Simple (few hours of work)
79
+ - [ ] Medium (few days of work)
80
+ - [ ] Complex (weeks of work)
81
+ - [ ] Very complex (months of work)
82
+ - [ ] Unsure
83
+
84
+ ## Additional Context
85
+
86
+ **Related issues/PRs**
87
+ <!-- Link any related issues or pull requests -->
88
+
89
+ **External references**
90
+ <!-- Links to relevant documentation, papers, or other projects -->
91
+
92
+ **Screenshots/mockups**
93
+ <!-- If applicable, add screenshots or mockups to help explain your feature -->
94
+
95
+ **Additional context**
96
+ Add any other context, screenshots, or examples about the feature request here.
97
+
98
+ ## Acceptance Criteria
99
+
100
+ **Definition of Done**
101
+ What would need to be implemented for this feature to be considered complete?
102
+
103
+ - [ ] Core functionality implemented
104
+ - [ ] Tests written and passing
105
+ - [ ] Documentation updated
106
+ - [ ] Examples provided
107
+ - [ ] Performance benchmarks (if applicable)
108
+ - [ ] Migration guide (if breaking changes)
109
+
110
+ **Testing requirements**
111
+ - [ ] Unit tests
112
+ - [ ] Integration tests
113
+ - [ ] Performance tests
114
+ - [ ] Manual testing scenarios
115
+
116
+ ## Implementation Ideas
117
+
118
+ **Potential approach**
119
+ <!-- If you have ideas on how this could be implemented, share them here -->
120
+
121
+ **Code references**
122
+ <!-- If you've identified specific files or functions that would need changes -->
123
+
124
+ **Dependencies**
125
+ <!-- Any new dependencies that might be required -->
126
+
127
+ ## Community Input
128
+
129
+ **Would you be willing to contribute to this feature?**
130
+ - [ ] Yes, I can implement this
131
+ - [ ] Yes, I can help with testing
132
+ - [ ] Yes, I can help with documentation
133
+ - [ ] Yes, I can help with design/planning
134
+ - [ ] No, but I'd be happy to provide feedback
135
+ - [ ] No, I'm just requesting the feature
136
+
137
+ **Timeline**
138
+ When would you need this feature?
139
+ - [ ] ASAP
140
+ - [ ] Within a month
141
+ - [ ] Within 3 months
142
+ - [ ] Within 6 months
143
+ - [ ] No specific timeline
144
+ - [ ] Other (please specify)
145
+
146
+ ## Checklist
147
+
148
+ - [ ] I have searched existing issues to ensure this is not a duplicate
149
+ - [ ] I have provided a clear description of the problem and proposed solution
150
+ - [ ] I have considered the impact and complexity of this feature
151
+ - [ ] I have checked if this feature aligns with PuffinFlow's goals and scope
152
+ - [ ] I have provided sufficient context and examples
@@ -0,0 +1,147 @@
1
+ name: ✨ Feature Request
2
+ description: Suggest a new feature or enhancement for PuffinFlow
3
+ title: "[Feature]: "
4
+ labels: ["enhancement", "needs-discussion"]
5
+ assignees: []
6
+
7
+ body:
8
+ - type: markdown
9
+ attributes:
10
+ value: |
11
+ Thank you for suggesting a new feature! Please provide as much detail as possible to help us understand your request.
12
+
13
+ - type: checkboxes
14
+ id: terms
15
+ attributes:
16
+ label: Prerequisites
17
+ description: Please confirm the following before submitting
18
+ options:
19
+ - label: I have searched existing issues and discussions to ensure this feature hasn't been requested
20
+ required: true
21
+ - label: I have read the project roadmap and this feature isn't already planned
22
+ required: true
23
+ - label: This feature would benefit the broader PuffinFlow community
24
+ required: true
25
+
26
+ - type: dropdown
27
+ id: feature-type
28
+ attributes:
29
+ label: Feature Type
30
+ description: What type of feature is this?
31
+ options:
32
+ - New API/functionality
33
+ - Performance improvement
34
+ - Developer experience enhancement
35
+ - Documentation improvement
36
+ - Integration with external service
37
+ - Other (please specify in description)
38
+ validations:
39
+ required: true
40
+
41
+ - type: textarea
42
+ id: problem
43
+ attributes:
44
+ label: Problem Statement
45
+ description: What problem does this feature solve? What pain point does it address?
46
+ placeholder: Describe the problem or limitation you're experiencing...
47
+ validations:
48
+ required: true
49
+
50
+ - type: textarea
51
+ id: solution
52
+ attributes:
53
+ label: Proposed Solution
54
+ description: Describe your proposed solution in detail
55
+ placeholder: How would you like to see this problem solved?
56
+ validations:
57
+ required: true
58
+
59
+ - type: textarea
60
+ id: alternatives
61
+ attributes:
62
+ label: Alternative Solutions
63
+ description: Describe any alternative solutions or workarounds you've considered
64
+ placeholder: What other approaches have you considered?
65
+ validations:
66
+ required: false
67
+
68
+ - type: textarea
69
+ id: use-cases
70
+ attributes:
71
+ label: Use Cases
72
+ description: Describe specific use cases where this feature would be valuable
73
+ placeholder: |
74
+ 1. When building agents that...
75
+ 2. When orchestrating workflows that...
76
+ 3. When debugging systems that...
77
+ validations:
78
+ required: true
79
+
80
+ - type: textarea
81
+ id: api-design
82
+ attributes:
83
+ label: API Design (if applicable)
84
+ description: If this is an API change, show what the API might look like
85
+ render: python
86
+ placeholder: |
87
+ # Example API design
88
+ agent = Agent("my-agent")
89
+ agent.new_feature(parameter="value")
90
+ validations:
91
+ required: false
92
+
93
+ - type: dropdown
94
+ id: priority
95
+ attributes:
96
+ label: Priority
97
+ description: How important is this feature to you?
98
+ options:
99
+ - Critical (blocking my use case)
100
+ - High (would significantly improve my workflow)
101
+ - Medium (nice to have)
102
+ - Low (minor improvement)
103
+ validations:
104
+ required: true
105
+
106
+ - type: dropdown
107
+ id: complexity
108
+ attributes:
109
+ label: Implementation Complexity (your estimate)
110
+ description: How complex do you think this feature would be to implement?
111
+ options:
112
+ - Low (simple addition/change)
113
+ - Medium (moderate effort required)
114
+ - High (significant changes needed)
115
+ - Unknown
116
+ validations:
117
+ required: false
118
+
119
+ - type: checkboxes
120
+ id: breaking-changes
121
+ attributes:
122
+ label: Breaking Changes
123
+ description: Would this feature require breaking changes?
124
+ options:
125
+ - label: This feature could be implemented without breaking existing functionality
126
+ - label: This feature might require breaking changes (please explain in additional context)
127
+ - label: I'm not sure about breaking changes
128
+
129
+ - type: textarea
130
+ id: context
131
+ attributes:
132
+ label: Additional Context
133
+ description: Add any other context, screenshots, or examples about the feature request
134
+ placeholder: Any additional information that might be helpful...
135
+ validations:
136
+ required: false
137
+
138
+ - type: checkboxes
139
+ id: contribution
140
+ attributes:
141
+ label: Contribution
142
+ description: Are you willing to help implement this feature?
143
+ options:
144
+ - label: I would be willing to submit a PR for this feature
145
+ - label: I would be willing to help with testing
146
+ - label: I would be willing to help with documentation
147
+ - label: I prefer to leave implementation to maintainers
@@ -0,0 +1,156 @@
1
+ ---
2
+ name: Question
3
+ about: Ask a question about PuffinFlow usage, concepts, or best practices
4
+ title: '[QUESTION] '
5
+ labels: ['question', 'needs-triage']
6
+ assignees: ''
7
+ ---
8
+
9
+ ## Question Summary
10
+
11
+ **What would you like to know?**
12
+ A clear and concise description of your question.
13
+
14
+ **Category**
15
+ What type of question is this?
16
+ - [ ] Usage/How-to
17
+ - [ ] Best practices
18
+ - [ ] Architecture/Design
19
+ - [ ] Performance
20
+ - [ ] Integration
21
+ - [ ] Troubleshooting
22
+ - [ ] Conceptual understanding
23
+ - [ ] Other (please specify)
24
+
25
+ ## Context
26
+
27
+ **What are you trying to achieve?**
28
+ Describe your overall goal or use case.
29
+
30
+ **What have you tried so far?**
31
+ Share any approaches you've attempted or research you've done.
32
+
33
+ **Code example (if applicable)**
34
+ ```python
35
+ # Share relevant code that you're working with
36
+ from puffinflow import Agent
37
+
38
+ # Your code here
39
+ ```
40
+
41
+ **Current behavior**
42
+ If you have code that's running but not behaving as expected, describe what's happening.
43
+
44
+ **Expected or desired behavior**
45
+ Describe what you want to happen or what you think should happen.
46
+
47
+ ## Environment Information
48
+
49
+ **PuffinFlow version:**
50
+ <!-- Run: pip show puffinflow -->
51
+
52
+ **Python version:**
53
+ <!-- Run: python --version -->
54
+
55
+ **Operating System:**
56
+ <!-- e.g., Ubuntu 20.04, Windows 10, macOS 12.0 -->
57
+
58
+ **Optional dependencies:**
59
+ Which optional dependencies do you have installed?
60
+ - [ ] observability
61
+ - [ ] integrations
62
+ - [ ] cli
63
+ - [ ] all
64
+ - [ ] none
65
+
66
+ ## Specific Questions
67
+
68
+ **Main question:**
69
+ <!-- Your primary question here -->
70
+
71
+ **Follow-up questions:**
72
+ <!-- Any related questions you have -->
73
+
74
+ **Documentation references:**
75
+ Have you checked the documentation? If so, which sections?
76
+ - [ ] README
77
+ - [ ] API documentation
78
+ - [ ] Examples
79
+ - [ ] Tutorials
80
+ - [ ] I couldn't find relevant documentation
81
+
82
+ **Links to documentation you've read:**
83
+ <!-- If you've read specific documentation, link to it here -->
84
+
85
+ ## Additional Context
86
+
87
+ **Related issues/discussions:**
88
+ <!-- Link any related issues or discussions you've found -->
89
+
90
+ **External resources:**
91
+ <!-- Any blog posts, Stack Overflow questions, or other resources you've consulted -->
92
+
93
+ **Screenshots/diagrams:**
94
+ <!-- If visual aids would help explain your question, include them here -->
95
+
96
+ **Error messages (if any):**
97
+ ```
98
+ Paste any error messages here
99
+ ```
100
+
101
+ **Configuration (if relevant):**
102
+ ```python
103
+ # Share your configuration if it's relevant to the question
104
+ ```
105
+
106
+ ## Community Guidelines
107
+
108
+ **Research done:**
109
+ - [ ] I have searched existing issues and discussions
110
+ - [ ] I have read the relevant documentation
111
+ - [ ] I have looked at the examples in the repository
112
+ - [ ] I have searched online for similar questions
113
+
114
+ **Question clarity:**
115
+ - [ ] My question is specific and focused
116
+ - [ ] I have provided sufficient context
117
+ - [ ] I have included relevant code examples
118
+ - [ ] I have specified my environment details
119
+
120
+ ## Help Us Help You
121
+
122
+ **Response format preference:**
123
+ - [ ] Code example
124
+ - [ ] Detailed explanation
125
+ - [ ] Links to documentation
126
+ - [ ] Step-by-step guide
127
+ - [ ] Conceptual overview
128
+ - [ ] No preference
129
+
130
+ **Urgency:**
131
+ - [ ] Urgent (blocking my work)
132
+ - [ ] High (important for current project)
133
+ - [ ] Medium (would like to know soon)
134
+ - [ ] Low (general curiosity)
135
+
136
+ **Follow-up availability:**
137
+ - [ ] Available for follow-up questions
138
+ - [ ] Limited availability for follow-up
139
+ - [ ] Prefer complete answer in first response
140
+
141
+ ## Contribution
142
+
143
+ **Would you be interested in contributing?**
144
+ If we help you solve this problem, would you be interested in:
145
+ - [ ] Writing documentation to help others with similar questions
146
+ - [ ] Creating an example or tutorial
147
+ - [ ] Improving existing documentation
148
+ - [ ] Contributing code improvements
149
+ - [ ] Just getting my question answered
150
+
151
+ ## Thank You
152
+
153
+ Thank you for taking the time to ask a thoughtful question! The PuffinFlow community appreciates well-researched questions that help everyone learn.
154
+
155
+ **Additional notes:**
156
+ <!-- Any other information you think might be helpful -->