agora-framework 0.3.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 (421) hide show
  1. agora_framework-0.3.1/.gitignore +12 -0
  2. agora_framework-0.3.1/AGENTS.md +71 -0
  3. agora_framework-0.3.1/CONTRIBUTING.md +91 -0
  4. agora_framework-0.3.1/LICENSE +201 -0
  5. agora_framework-0.3.1/PKG-INFO +1098 -0
  6. agora_framework-0.3.1/README.md +875 -0
  7. agora_framework-0.3.1/docs/README.md +224 -0
  8. agora_framework-0.3.1/docs/adoption.md +221 -0
  9. agora_framework-0.3.1/docs/architecture.md +296 -0
  10. agora_framework-0.3.1/docs/decisions/0001-initial-architecture.md +71 -0
  11. agora_framework-0.3.1/docs/domain-model.md +374 -0
  12. agora_framework-0.3.1/docs/getting-started.md +294 -0
  13. agora_framework-0.3.1/docs/guides/actor-authentication.md +234 -0
  14. agora_framework-0.3.1/docs/guides/approval-delegation.md +106 -0
  15. agora_framework-0.3.1/docs/guides/ci-cd-integrations.md +193 -0
  16. agora_framework-0.3.1/docs/guides/cli-first-adapters.md +364 -0
  17. agora_framework-0.3.1/docs/guides/cloud-integrations.md +195 -0
  18. agora_framework-0.3.1/docs/guides/code-review-integrations.md +127 -0
  19. agora_framework-0.3.1/docs/guides/concurrent-writers.md +108 -0
  20. agora_framework-0.3.1/docs/guides/conventional-commits.md +76 -0
  21. agora_framework-0.3.1/docs/guides/delegated-artifacts.md +58 -0
  22. agora_framework-0.3.1/docs/guides/delegated-work.md +181 -0
  23. agora_framework-0.3.1/docs/guides/delegation-budgets.md +110 -0
  24. agora_framework-0.3.1/docs/guides/environment-permissions.md +143 -0
  25. agora_framework-0.3.1/docs/guides/execution-boundaries.md +58 -0
  26. agora_framework-0.3.1/docs/guides/gate-waivers.md +79 -0
  27. agora_framework-0.3.1/docs/guides/github-ecosystem.md +212 -0
  28. agora_framework-0.3.1/docs/guides/handoffs.md +122 -0
  29. agora_framework-0.3.1/docs/guides/installation-and-customization.md +611 -0
  30. agora_framework-0.3.1/docs/guides/interruptions-and-cancellation.md +169 -0
  31. agora_framework-0.3.1/docs/guides/kanban-delivery.md +186 -0
  32. agora_framework-0.3.1/docs/guides/knowledge-base-integrations.md +162 -0
  33. agora_framework-0.3.1/docs/guides/llm-environments.md +281 -0
  34. agora_framework-0.3.1/docs/guides/observability-integrations.md +84 -0
  35. agora_framework-0.3.1/docs/guides/operational-loop.md +136 -0
  36. agora_framework-0.3.1/docs/guides/operations-and-validation.md +116 -0
  37. agora_framework-0.3.1/docs/guides/pack-dependencies.md +91 -0
  38. agora_framework-0.3.1/docs/guides/pack-locks.md +88 -0
  39. agora_framework-0.3.1/docs/guides/pack-registries.md +125 -0
  40. agora_framework-0.3.1/docs/guides/pack-removal.md +97 -0
  41. agora_framework-0.3.1/docs/guides/pack-updates.md +176 -0
  42. agora_framework-0.3.1/docs/guides/project-upgrades.md +101 -0
  43. agora_framework-0.3.1/docs/guides/quickstart.md +104 -0
  44. agora_framework-0.3.1/docs/guides/recursive-swarms.md +122 -0
  45. agora_framework-0.3.1/docs/guides/registry-trust.md +269 -0
  46. agora_framework-0.3.1/docs/guides/registry-updates.md +152 -0
  47. agora_framework-0.3.1/docs/guides/remote-registries.md +225 -0
  48. agora_framework-0.3.1/docs/guides/scrum-delivery.md +242 -0
  49. agora_framework-0.3.1/docs/guides/signed-lifecycle-actions.md +360 -0
  50. agora_framework-0.3.1/docs/guides/spec-driven-delivery.md +207 -0
  51. agora_framework-0.3.1/docs/guides/verification.md +116 -0
  52. agora_framework-0.3.1/docs/guides/work-decomposition.md +84 -0
  53. agora_framework-0.3.1/docs/guides/work-management-integrations.md +185 -0
  54. agora_framework-0.3.1/docs/reference/artifact-locations.md +140 -0
  55. agora_framework-0.3.1/docs/reference/method-packs.md +277 -0
  56. agora_framework-0.3.1/docs/reference/tool-packs.md +325 -0
  57. agora_framework-0.3.1/docs/superpowers/plans/2026-08-16-sdd-first.md +1315 -0
  58. agora_framework-0.3.1/docs/superpowers/specs/2026-08-16-sdd-first-design.md +192 -0
  59. agora_framework-0.3.1/pyproject.toml +68 -0
  60. agora_framework-0.3.1/samples/actor-authentication/README.md +22 -0
  61. agora_framework-0.3.1/samples/actor-authentication/run.py +519 -0
  62. agora_framework-0.3.1/samples/approval-delegation/README.md +15 -0
  63. agora_framework-0.3.1/samples/approval-delegation/run.py +118 -0
  64. agora_framework-0.3.1/samples/basic-swarm/README.md +18 -0
  65. agora_framework-0.3.1/samples/basic-swarm/run.py +192 -0
  66. agora_framework-0.3.1/samples/ci-cd/README.md +19 -0
  67. agora_framework-0.3.1/samples/ci-cd/provider.py +70 -0
  68. agora_framework-0.3.1/samples/ci-cd/run.py +196 -0
  69. agora_framework-0.3.1/samples/cli-runtime-compatibility/README.md +20 -0
  70. agora_framework-0.3.1/samples/cli-runtime-compatibility/run.py +23 -0
  71. agora_framework-0.3.1/samples/cloud-infrastructure/README.md +19 -0
  72. agora_framework-0.3.1/samples/cloud-infrastructure/provider.py +62 -0
  73. agora_framework-0.3.1/samples/cloud-infrastructure/run.py +205 -0
  74. agora_framework-0.3.1/samples/cloud-inventory-cli/README.md +13 -0
  75. agora_framework-0.3.1/samples/cloud-inventory-cli/run.py +119 -0
  76. agora_framework-0.3.1/samples/concurrent-writes/README.md +16 -0
  77. agora_framework-0.3.1/samples/concurrent-writes/run.py +51 -0
  78. agora_framework-0.3.1/samples/custom-lifecycle/README.md +17 -0
  79. agora_framework-0.3.1/samples/custom-lifecycle/release-flow/METHOD.md +22 -0
  80. agora_framework-0.3.1/samples/custom-lifecycle/release-flow/PROTOCOL.md +8 -0
  81. agora_framework-0.3.1/samples/custom-lifecycle/release-flow/TOOLS.md +4 -0
  82. agora_framework-0.3.1/samples/custom-lifecycle/release-flow/gates/completion.md +12 -0
  83. agora_framework-0.3.1/samples/custom-lifecycle/release-flow/roles/cycle-owner.md +12 -0
  84. agora_framework-0.3.1/samples/custom-lifecycle/release-flow/roles/maker.md +12 -0
  85. agora_framework-0.3.1/samples/custom-lifecycle/release-flow/roles/validator.md +12 -0
  86. agora_framework-0.3.1/samples/custom-lifecycle/release-flow/transitions/01-proposed-accepted.md +8 -0
  87. agora_framework-0.3.1/samples/custom-lifecycle/release-flow/transitions/02-accepted-active.md +8 -0
  88. agora_framework-0.3.1/samples/custom-lifecycle/release-flow/transitions/03-active-validated.md +8 -0
  89. agora_framework-0.3.1/samples/custom-lifecycle/release-flow/transitions/04-validated-active.md +8 -0
  90. agora_framework-0.3.1/samples/custom-lifecycle/release-flow/transitions/05-validated-released.md +9 -0
  91. agora_framework-0.3.1/samples/custom-lifecycle/run.py +42 -0
  92. agora_framework-0.3.1/samples/delegated-work/README.md +24 -0
  93. agora_framework-0.3.1/samples/delegated-work/run.py +287 -0
  94. agora_framework-0.3.1/samples/distributed-coordination/README.md +15 -0
  95. agora_framework-0.3.1/samples/distributed-coordination/provider.py +47 -0
  96. agora_framework-0.3.1/samples/distributed-coordination/run.py +49 -0
  97. agora_framework-0.3.1/samples/environment-permissions/README.md +14 -0
  98. agora_framework-0.3.1/samples/environment-permissions/run.py +105 -0
  99. agora_framework-0.3.1/samples/execution-boundaries/README.md +16 -0
  100. agora_framework-0.3.1/samples/execution-boundaries/provider.py +17 -0
  101. agora_framework-0.3.1/samples/execution-boundaries/run.py +149 -0
  102. agora_framework-0.3.1/samples/gate-waivers/README.md +15 -0
  103. agora_framework-0.3.1/samples/gate-waivers/run.py +108 -0
  104. agora_framework-0.3.1/samples/github-actions-cli/README.md +18 -0
  105. agora_framework-0.3.1/samples/github-actions-cli/run.py +114 -0
  106. agora_framework-0.3.1/samples/github-end-to-end/README.md +22 -0
  107. agora_framework-0.3.1/samples/github-end-to-end/run.py +270 -0
  108. agora_framework-0.3.1/samples/github-issues-cli/README.md +13 -0
  109. agora_framework-0.3.1/samples/github-issues-cli/run.py +109 -0
  110. agora_framework-0.3.1/samples/gitlab-ci-cli/README.md +20 -0
  111. agora_framework-0.3.1/samples/gitlab-ci-cli/run.py +125 -0
  112. agora_framework-0.3.1/samples/gitlab-issues-cli/README.md +20 -0
  113. agora_framework-0.3.1/samples/gitlab-issues-cli/run.py +130 -0
  114. agora_framework-0.3.1/samples/gitlab-merge-requests-cli/README.md +20 -0
  115. agora_framework-0.3.1/samples/gitlab-merge-requests-cli/run.py +117 -0
  116. agora_framework-0.3.1/samples/handoffs/README.md +17 -0
  117. agora_framework-0.3.1/samples/handoffs/run.py +136 -0
  118. agora_framework-0.3.1/samples/interruptions/README.md +17 -0
  119. agora_framework-0.3.1/samples/interruptions/run.py +183 -0
  120. agora_framework-0.3.1/samples/jira-cli/README.md +16 -0
  121. agora_framework-0.3.1/samples/jira-cli/run.py +109 -0
  122. agora_framework-0.3.1/samples/knowledge-base/README.md +19 -0
  123. agora_framework-0.3.1/samples/knowledge-base/provider.py +67 -0
  124. agora_framework-0.3.1/samples/knowledge-base/run.py +192 -0
  125. agora_framework-0.3.1/samples/llm-environments/README.md +28 -0
  126. agora_framework-0.3.1/samples/llm-environments/run.py +87 -0
  127. agora_framework-0.3.1/samples/observability/README.md +13 -0
  128. agora_framework-0.3.1/samples/observability/provider.py +63 -0
  129. agora_framework-0.3.1/samples/observability/run.py +156 -0
  130. agora_framework-0.3.1/samples/operational-loop/README.md +17 -0
  131. agora_framework-0.3.1/samples/operational-loop/agent_runner.py +25 -0
  132. agora_framework-0.3.1/samples/operational-loop/run.py +182 -0
  133. agora_framework-0.3.1/samples/operational-query/README.md +16 -0
  134. agora_framework-0.3.1/samples/operational-query/run.py +97 -0
  135. agora_framework-0.3.1/samples/organization-trust/README.md +16 -0
  136. agora_framework-0.3.1/samples/organization-trust/run.py +149 -0
  137. agora_framework-0.3.1/samples/pack-dependencies/README.md +18 -0
  138. agora_framework-0.3.1/samples/pack-dependencies/run.py +132 -0
  139. agora_framework-0.3.1/samples/pack-registry/README.md +17 -0
  140. agora_framework-0.3.1/samples/pack-registry/run.py +69 -0
  141. agora_framework-0.3.1/samples/pack-removal/README.md +15 -0
  142. agora_framework-0.3.1/samples/pack-removal/run.py +100 -0
  143. agora_framework-0.3.1/samples/project-upgrade/README.md +18 -0
  144. agora_framework-0.3.1/samples/project-upgrade/run.py +53 -0
  145. agora_framework-0.3.1/samples/recursive-swarms/README.md +16 -0
  146. agora_framework-0.3.1/samples/recursive-swarms/run.py +115 -0
  147. agora_framework-0.3.1/samples/remote-registry/README.md +16 -0
  148. agora_framework-0.3.1/samples/remote-registry/run.py +182 -0
  149. agora_framework-0.3.1/samples/terraform-cli/README.md +18 -0
  150. agora_framework-0.3.1/samples/terraform-cli/run.py +122 -0
  151. agora_framework-0.3.1/samples/tool-integration/README.md +20 -0
  152. agora_framework-0.3.1/samples/tool-integration/run.py +116 -0
  153. agora_framework-0.3.1/samples/twg-confluence-cli/README.md +20 -0
  154. agora_framework-0.3.1/samples/twg-confluence-cli/run.py +135 -0
  155. agora_framework-0.3.1/samples/work-decomposition/README.md +16 -0
  156. agora_framework-0.3.1/samples/work-decomposition/run.py +122 -0
  157. agora_framework-0.3.1/samples/work-management/README.md +19 -0
  158. agora_framework-0.3.1/samples/work-management/provider.py +60 -0
  159. agora_framework-0.3.1/samples/work-management/run.py +161 -0
  160. agora_framework-0.3.1/scripts/check_docs.py +42 -0
  161. agora_framework-0.3.1/scripts/prepare_release.py +59 -0
  162. agora_framework-0.3.1/scripts/verify_all.py +97 -0
  163. agora_framework-0.3.1/src/agora/__init__.py +6 -0
  164. agora_framework-0.3.1/src/agora/__main__.py +3 -0
  165. agora_framework-0.3.1/src/agora/cli.py +2140 -0
  166. agora_framework-0.3.1/src/agora/coordination.py +293 -0
  167. agora_framework-0.3.1/src/agora/filesystem.py +67 -0
  168. agora_framework-0.3.1/src/agora/git.py +26 -0
  169. agora_framework-0.3.1/src/agora/identity.py +469 -0
  170. agora_framework-0.3.1/src/agora/locking.py +216 -0
  171. agora_framework-0.3.1/src/agora/markdown.py +114 -0
  172. agora_framework-0.3.1/src/agora/methods.py +250 -0
  173. agora_framework-0.3.1/src/agora/model.py +1645 -0
  174. agora_framework-0.3.1/src/agora/organization_trust.py +598 -0
  175. agora_framework-0.3.1/src/agora/packs.py +771 -0
  176. agora_framework-0.3.1/src/agora/registries.py +516 -0
  177. agora_framework-0.3.1/src/agora/registry_distribution.py +513 -0
  178. agora_framework-0.3.1/src/agora/tools.py +390 -0
  179. agora_framework-0.3.1/src/agora/transparency.py +361 -0
  180. agora_framework-0.3.1/src/agora/trust.py +176 -0
  181. agora_framework-0.3.1/src/agora/upgrades.py +418 -0
  182. agora_framework-0.3.1/src/agora/workspace.py +13435 -0
  183. agora_framework-0.3.1/templates/adapters/cli/aws-resource-inventory/TOOL.md +25 -0
  184. agora_framework-0.3.1/templates/adapters/cli/aws-resource-inventory/operations/inspect-resource.md +15 -0
  185. agora_framework-0.3.1/templates/adapters/cli/aws-resource-inventory/operations/list-resources.md +15 -0
  186. agora_framework-0.3.1/templates/adapters/cli/gcp-asset-inventory/TOOL.md +24 -0
  187. agora_framework-0.3.1/templates/adapters/cli/gcp-asset-inventory/operations/inspect-resource.md +15 -0
  188. agora_framework-0.3.1/templates/adapters/cli/gcp-asset-inventory/operations/list-resources.md +15 -0
  189. agora_framework-0.3.1/templates/adapters/cli/github-actions/TOOL.md +24 -0
  190. agora_framework-0.3.1/templates/adapters/cli/github-actions/operations/cancel-run.md +14 -0
  191. agora_framework-0.3.1/templates/adapters/cli/github-actions/operations/create-deployment.md +17 -0
  192. agora_framework-0.3.1/templates/adapters/cli/github-actions/operations/list-runs.md +14 -0
  193. agora_framework-0.3.1/templates/adapters/cli/github-actions/operations/trigger.md +15 -0
  194. agora_framework-0.3.1/templates/adapters/cli/github-actions/operations/view-deployment.md +14 -0
  195. agora_framework-0.3.1/templates/adapters/cli/github-actions/operations/view-run.md +14 -0
  196. agora_framework-0.3.1/templates/adapters/cli/github-issues/TOOL.md +21 -0
  197. agora_framework-0.3.1/templates/adapters/cli/github-issues/operations/comment.md +14 -0
  198. agora_framework-0.3.1/templates/adapters/cli/github-issues/operations/create.md +14 -0
  199. agora_framework-0.3.1/templates/adapters/cli/github-issues/operations/search.md +14 -0
  200. agora_framework-0.3.1/templates/adapters/cli/github-issues/operations/transition.md +16 -0
  201. agora_framework-0.3.1/templates/adapters/cli/github-issues/operations/view.md +14 -0
  202. agora_framework-0.3.1/templates/adapters/cli/github-projects/TOOL.md +20 -0
  203. agora_framework-0.3.1/templates/adapters/cli/github-projects/operations/add-item.md +14 -0
  204. agora_framework-0.3.1/templates/adapters/cli/github-projects/operations/archive-item.md +14 -0
  205. agora_framework-0.3.1/templates/adapters/cli/github-projects/operations/create-project.md +14 -0
  206. agora_framework-0.3.1/templates/adapters/cli/github-projects/operations/list-items.md +14 -0
  207. agora_framework-0.3.1/templates/adapters/cli/github-projects/operations/list-projects.md +14 -0
  208. agora_framework-0.3.1/templates/adapters/cli/github-projects/operations/view-project.md +14 -0
  209. agora_framework-0.3.1/templates/adapters/cli/github-pull-requests/TOOL.md +20 -0
  210. agora_framework-0.3.1/templates/adapters/cli/github-pull-requests/operations/approve.md +14 -0
  211. agora_framework-0.3.1/templates/adapters/cli/github-pull-requests/operations/checks.md +14 -0
  212. agora_framework-0.3.1/templates/adapters/cli/github-pull-requests/operations/comment.md +14 -0
  213. agora_framework-0.3.1/templates/adapters/cli/github-pull-requests/operations/create.md +14 -0
  214. agora_framework-0.3.1/templates/adapters/cli/github-pull-requests/operations/list.md +15 -0
  215. agora_framework-0.3.1/templates/adapters/cli/github-pull-requests/operations/merge.md +16 -0
  216. agora_framework-0.3.1/templates/adapters/cli/github-pull-requests/operations/request-changes.md +14 -0
  217. agora_framework-0.3.1/templates/adapters/cli/github-pull-requests/operations/view.md +14 -0
  218. agora_framework-0.3.1/templates/adapters/cli/github-releases/TOOL.md +20 -0
  219. agora_framework-0.3.1/templates/adapters/cli/github-releases/operations/list-releases.md +14 -0
  220. agora_framework-0.3.1/templates/adapters/cli/github-releases/operations/publish-release.md +14 -0
  221. agora_framework-0.3.1/templates/adapters/cli/github-releases/operations/verify-release.md +14 -0
  222. agora_framework-0.3.1/templates/adapters/cli/github-releases/operations/view-release.md +14 -0
  223. agora_framework-0.3.1/templates/adapters/cli/github-repository-governance/TOOL.md +20 -0
  224. agora_framework-0.3.1/templates/adapters/cli/github-repository-governance/operations/inspect-repository.md +14 -0
  225. agora_framework-0.3.1/templates/adapters/cli/github-repository-governance/operations/list-rulesets.md +14 -0
  226. agora_framework-0.3.1/templates/adapters/cli/github-repository-governance/operations/view-branch-protection.md +14 -0
  227. agora_framework-0.3.1/templates/adapters/cli/github-repository-governance/operations/view-policy-file.md +14 -0
  228. agora_framework-0.3.1/templates/adapters/cli/github-repository-governance/operations/view-ruleset.md +14 -0
  229. agora_framework-0.3.1/templates/adapters/cli/github-security/TOOL.md +20 -0
  230. agora_framework-0.3.1/templates/adapters/cli/github-security/operations/list-code-alerts.md +14 -0
  231. agora_framework-0.3.1/templates/adapters/cli/github-security/operations/list-dependency-alerts.md +14 -0
  232. agora_framework-0.3.1/templates/adapters/cli/github-security/operations/list-secret-alerts.md +14 -0
  233. agora_framework-0.3.1/templates/adapters/cli/gitlab-ci/TOOL.md +25 -0
  234. agora_framework-0.3.1/templates/adapters/cli/gitlab-ci/operations/cancel-run.md +14 -0
  235. agora_framework-0.3.1/templates/adapters/cli/gitlab-ci/operations/list-runs.md +14 -0
  236. agora_framework-0.3.1/templates/adapters/cli/gitlab-ci/operations/view-run.md +14 -0
  237. agora_framework-0.3.1/templates/adapters/cli/gitlab-issues/TOOL.md +25 -0
  238. agora_framework-0.3.1/templates/adapters/cli/gitlab-issues/operations/comment.md +14 -0
  239. agora_framework-0.3.1/templates/adapters/cli/gitlab-issues/operations/search.md +14 -0
  240. agora_framework-0.3.1/templates/adapters/cli/gitlab-issues/operations/transition.md +16 -0
  241. agora_framework-0.3.1/templates/adapters/cli/gitlab-issues/operations/view.md +14 -0
  242. agora_framework-0.3.1/templates/adapters/cli/gitlab-merge-requests/TOOL.md +26 -0
  243. agora_framework-0.3.1/templates/adapters/cli/gitlab-merge-requests/operations/checks.md +14 -0
  244. agora_framework-0.3.1/templates/adapters/cli/gitlab-merge-requests/operations/comment.md +14 -0
  245. agora_framework-0.3.1/templates/adapters/cli/gitlab-merge-requests/operations/create.md +14 -0
  246. agora_framework-0.3.1/templates/adapters/cli/gitlab-merge-requests/operations/view.md +14 -0
  247. agora_framework-0.3.1/templates/adapters/cli/jira/TOOL.md +23 -0
  248. agora_framework-0.3.1/templates/adapters/cli/jira/operations/comment.md +14 -0
  249. agora_framework-0.3.1/templates/adapters/cli/jira/operations/create.md +14 -0
  250. agora_framework-0.3.1/templates/adapters/cli/jira/operations/search.md +14 -0
  251. agora_framework-0.3.1/templates/adapters/cli/jira/operations/transition.md +15 -0
  252. agora_framework-0.3.1/templates/adapters/cli/jira/operations/view.md +14 -0
  253. agora_framework-0.3.1/templates/adapters/cli/terraform/TOOL.md +24 -0
  254. agora_framework-0.3.1/templates/adapters/cli/terraform/operations/apply-plan.md +15 -0
  255. agora_framework-0.3.1/templates/adapters/cli/terraform/operations/destroy-resource.md +17 -0
  256. agora_framework-0.3.1/templates/adapters/cli/terraform/operations/inspect-resource.md +16 -0
  257. agora_framework-0.3.1/templates/adapters/cli/terraform/operations/list-resources.md +15 -0
  258. agora_framework-0.3.1/templates/adapters/cli/terraform/operations/plan.md +16 -0
  259. agora_framework-0.3.1/templates/adapters/cli/twg-confluence/TOOL.md +25 -0
  260. agora_framework-0.3.1/templates/adapters/cli/twg-confluence/operations/archive.md +15 -0
  261. agora_framework-0.3.1/templates/adapters/cli/twg-confluence/operations/create.md +15 -0
  262. agora_framework-0.3.1/templates/adapters/cli/twg-confluence/operations/publish.md +15 -0
  263. agora_framework-0.3.1/templates/adapters/cli/twg-confluence/operations/update.md +15 -0
  264. agora_framework-0.3.1/templates/adapters/cli/twg-confluence/operations/view.md +15 -0
  265. agora_framework-0.3.1/templates/commands/complete.md +13 -0
  266. agora_framework-0.3.1/templates/commands/execute.md +39 -0
  267. agora_framework-0.3.1/templates/commands/form-swarm.md +13 -0
  268. agora_framework-0.3.1/templates/commands/handoff.md +14 -0
  269. agora_framework-0.3.1/templates/commands/objective.md +12 -0
  270. agora_framework-0.3.1/templates/commands/review.md +16 -0
  271. agora_framework-0.3.1/templates/commands/specify.md +12 -0
  272. agora_framework-0.3.1/templates/commands/status.md +16 -0
  273. agora_framework-0.3.1/templates/methods/kanban/METHOD.md +22 -0
  274. agora_framework-0.3.1/templates/methods/kanban/PROTOCOL.md +16 -0
  275. agora_framework-0.3.1/templates/methods/kanban/TOOLS.md +5 -0
  276. agora_framework-0.3.1/templates/methods/kanban/gates/completion.md +12 -0
  277. agora_framework-0.3.1/templates/methods/kanban/roles/delivery.md +13 -0
  278. agora_framework-0.3.1/templates/methods/kanban/roles/flow-manager.md +13 -0
  279. agora_framework-0.3.1/templates/methods/kanban/roles/service-request-manager.md +13 -0
  280. agora_framework-0.3.1/templates/methods/kanban/transitions/01-requested-ready.md +8 -0
  281. agora_framework-0.3.1/templates/methods/kanban/transitions/02-ready-in-progress.md +8 -0
  282. agora_framework-0.3.1/templates/methods/kanban/transitions/03-in-progress-review.md +8 -0
  283. agora_framework-0.3.1/templates/methods/kanban/transitions/04-review-in-progress.md +8 -0
  284. agora_framework-0.3.1/templates/methods/kanban/transitions/05-review-done.md +9 -0
  285. agora_framework-0.3.1/templates/methods/scrum/METHOD.md +23 -0
  286. agora_framework-0.3.1/templates/methods/scrum/PROTOCOL.md +15 -0
  287. agora_framework-0.3.1/templates/methods/scrum/TOOLS.md +6 -0
  288. agora_framework-0.3.1/templates/methods/scrum/gates/completion.md +12 -0
  289. agora_framework-0.3.1/templates/methods/scrum/roles/developer.md +13 -0
  290. agora_framework-0.3.1/templates/methods/scrum/roles/product-owner.md +14 -0
  291. agora_framework-0.3.1/templates/methods/scrum/roles/scrum-master.md +13 -0
  292. agora_framework-0.3.1/templates/methods/scrum/transitions/01-specified-planned.md +8 -0
  293. agora_framework-0.3.1/templates/methods/scrum/transitions/02-planned-implementing.md +8 -0
  294. agora_framework-0.3.1/templates/methods/scrum/transitions/03-implementing-reviewing.md +8 -0
  295. agora_framework-0.3.1/templates/methods/scrum/transitions/04-reviewing-implementing.md +8 -0
  296. agora_framework-0.3.1/templates/methods/scrum/transitions/05-reviewing-verifying.md +8 -0
  297. agora_framework-0.3.1/templates/methods/scrum/transitions/06-verifying-implementing.md +8 -0
  298. agora_framework-0.3.1/templates/methods/scrum/transitions/07-verifying-completed.md +9 -0
  299. agora_framework-0.3.1/templates/methods/spec-driven/METHOD.md +24 -0
  300. agora_framework-0.3.1/templates/methods/spec-driven/PROTOCOL.md +12 -0
  301. agora_framework-0.3.1/templates/methods/spec-driven/TOOLS.md +6 -0
  302. agora_framework-0.3.1/templates/methods/spec-driven/gates/completion.md +13 -0
  303. agora_framework-0.3.1/templates/methods/spec-driven/gates/spec-clarified.md +14 -0
  304. agora_framework-0.3.1/templates/methods/spec-driven/roles/developer.md +14 -0
  305. agora_framework-0.3.1/templates/methods/spec-driven/roles/spec-owner.md +14 -0
  306. agora_framework-0.3.1/templates/methods/spec-driven/transitions/01-drafting-clarified.md +9 -0
  307. agora_framework-0.3.1/templates/methods/spec-driven/transitions/02-clarified-planned.md +8 -0
  308. agora_framework-0.3.1/templates/methods/spec-driven/transitions/03-planned-implementing.md +8 -0
  309. agora_framework-0.3.1/templates/methods/spec-driven/transitions/04-implementing-verifying.md +8 -0
  310. agora_framework-0.3.1/templates/methods/spec-driven/transitions/05-verifying-implementing.md +8 -0
  311. agora_framework-0.3.1/templates/methods/spec-driven/transitions/06-verifying-completed.md +9 -0
  312. agora_framework-0.3.1/templates/project/PROTOCOL.md +26 -0
  313. agora_framework-0.3.1/templates/project/STANDARDS.md +27 -0
  314. agora_framework-0.3.1/templates/project/actors/README.md +7 -0
  315. agora_framework-0.3.1/templates/project/artifacts/ARTIFACTS.md +10 -0
  316. agora_framework-0.3.1/templates/project/constitution.md +27 -0
  317. agora_framework-0.3.1/templates/project/delegations/README.md +6 -0
  318. agora_framework-0.3.1/templates/project/environments/README.md +6 -0
  319. agora_framework-0.3.1/templates/project/registries/README.md +28 -0
  320. agora_framework-0.3.1/templates/project/sessions/README.md +4 -0
  321. agora_framework-0.3.1/templates/project/swarms/README.md +4 -0
  322. agora_framework-0.3.1/templates/project/tool-runs/README.md +4 -0
  323. agora_framework-0.3.1/templates/project/tools/TOOLS.md +47 -0
  324. agora_framework-0.3.1/templates/project/trust/README.md +9 -0
  325. agora_framework-0.3.1/templates/tools/ci-cd/TOOL.md +16 -0
  326. agora_framework-0.3.1/templates/tools/ci-cd/operations/cancel-run.md +14 -0
  327. agora_framework-0.3.1/templates/tools/ci-cd/operations/create-deployment.md +16 -0
  328. agora_framework-0.3.1/templates/tools/ci-cd/operations/list-runs.md +14 -0
  329. agora_framework-0.3.1/templates/tools/ci-cd/operations/trigger.md +14 -0
  330. agora_framework-0.3.1/templates/tools/ci-cd/operations/view-deployment.md +14 -0
  331. agora_framework-0.3.1/templates/tools/ci-cd/operations/view-run.md +14 -0
  332. agora_framework-0.3.1/templates/tools/cloud-infrastructure/TOOL.md +16 -0
  333. agora_framework-0.3.1/templates/tools/cloud-infrastructure/operations/apply-plan.md +15 -0
  334. agora_framework-0.3.1/templates/tools/cloud-infrastructure/operations/destroy-resource.md +15 -0
  335. agora_framework-0.3.1/templates/tools/cloud-infrastructure/operations/inspect-resource.md +15 -0
  336. agora_framework-0.3.1/templates/tools/cloud-infrastructure/operations/list-resources.md +15 -0
  337. agora_framework-0.3.1/templates/tools/cloud-infrastructure/operations/plan.md +15 -0
  338. agora_framework-0.3.1/templates/tools/code-review/TOOL.md +17 -0
  339. agora_framework-0.3.1/templates/tools/code-review/operations/approve.md +14 -0
  340. agora_framework-0.3.1/templates/tools/code-review/operations/checks.md +14 -0
  341. agora_framework-0.3.1/templates/tools/code-review/operations/comment.md +14 -0
  342. agora_framework-0.3.1/templates/tools/code-review/operations/create.md +14 -0
  343. agora_framework-0.3.1/templates/tools/code-review/operations/list.md +15 -0
  344. agora_framework-0.3.1/templates/tools/code-review/operations/merge.md +16 -0
  345. agora_framework-0.3.1/templates/tools/code-review/operations/request-changes.md +14 -0
  346. agora_framework-0.3.1/templates/tools/code-review/operations/view.md +14 -0
  347. agora_framework-0.3.1/templates/tools/knowledge-base/TOOL.md +16 -0
  348. agora_framework-0.3.1/templates/tools/knowledge-base/operations/archive.md +14 -0
  349. agora_framework-0.3.1/templates/tools/knowledge-base/operations/create.md +14 -0
  350. agora_framework-0.3.1/templates/tools/knowledge-base/operations/publish.md +14 -0
  351. agora_framework-0.3.1/templates/tools/knowledge-base/operations/search.md +14 -0
  352. agora_framework-0.3.1/templates/tools/knowledge-base/operations/update.md +14 -0
  353. agora_framework-0.3.1/templates/tools/knowledge-base/operations/view.md +14 -0
  354. agora_framework-0.3.1/templates/tools/observability/TOOL.md +15 -0
  355. agora_framework-0.3.1/templates/tools/observability/operations/create-incident.md +14 -0
  356. agora_framework-0.3.1/templates/tools/observability/operations/query-metrics.md +14 -0
  357. agora_framework-0.3.1/templates/tools/observability/operations/resolve-incident.md +14 -0
  358. agora_framework-0.3.1/templates/tools/observability/operations/search-logs.md +14 -0
  359. agora_framework-0.3.1/templates/tools/observability/operations/service-health.md +15 -0
  360. agora_framework-0.3.1/templates/tools/observability/operations/update-incident.md +14 -0
  361. agora_framework-0.3.1/templates/tools/portfolio-management/TOOL.md +17 -0
  362. agora_framework-0.3.1/templates/tools/portfolio-management/operations/add-item.md +14 -0
  363. agora_framework-0.3.1/templates/tools/portfolio-management/operations/archive-item.md +14 -0
  364. agora_framework-0.3.1/templates/tools/portfolio-management/operations/create-project.md +14 -0
  365. agora_framework-0.3.1/templates/tools/portfolio-management/operations/list-items.md +14 -0
  366. agora_framework-0.3.1/templates/tools/portfolio-management/operations/list-projects.md +14 -0
  367. agora_framework-0.3.1/templates/tools/portfolio-management/operations/view-project.md +14 -0
  368. agora_framework-0.3.1/templates/tools/release-management/TOOL.md +17 -0
  369. agora_framework-0.3.1/templates/tools/release-management/operations/list-releases.md +14 -0
  370. agora_framework-0.3.1/templates/tools/release-management/operations/publish-release.md +15 -0
  371. agora_framework-0.3.1/templates/tools/release-management/operations/verify-release.md +14 -0
  372. agora_framework-0.3.1/templates/tools/release-management/operations/view-release.md +14 -0
  373. agora_framework-0.3.1/templates/tools/repository/TOOL.md +17 -0
  374. agora_framework-0.3.1/templates/tools/repository/operations/commit.md +17 -0
  375. agora_framework-0.3.1/templates/tools/repository/operations/create-branch.md +14 -0
  376. agora_framework-0.3.1/templates/tools/repository/operations/current-branch.md +14 -0
  377. agora_framework-0.3.1/templates/tools/repository/operations/show-revision.md +14 -0
  378. agora_framework-0.3.1/templates/tools/repository/operations/status.md +14 -0
  379. agora_framework-0.3.1/templates/tools/repository-governance/TOOL.md +17 -0
  380. agora_framework-0.3.1/templates/tools/repository-governance/operations/inspect-repository.md +14 -0
  381. agora_framework-0.3.1/templates/tools/repository-governance/operations/list-rulesets.md +14 -0
  382. agora_framework-0.3.1/templates/tools/repository-governance/operations/view-branch-protection.md +14 -0
  383. agora_framework-0.3.1/templates/tools/repository-governance/operations/view-policy-file.md +14 -0
  384. agora_framework-0.3.1/templates/tools/repository-governance/operations/view-ruleset.md +14 -0
  385. agora_framework-0.3.1/templates/tools/security-scanning/TOOL.md +17 -0
  386. agora_framework-0.3.1/templates/tools/security-scanning/operations/list-code-alerts.md +14 -0
  387. agora_framework-0.3.1/templates/tools/security-scanning/operations/list-dependency-alerts.md +14 -0
  388. agora_framework-0.3.1/templates/tools/security-scanning/operations/list-secret-alerts.md +14 -0
  389. agora_framework-0.3.1/templates/tools/work-management/TOOL.md +16 -0
  390. agora_framework-0.3.1/templates/tools/work-management/operations/comment.md +14 -0
  391. agora_framework-0.3.1/templates/tools/work-management/operations/create.md +14 -0
  392. agora_framework-0.3.1/templates/tools/work-management/operations/search.md +14 -0
  393. agora_framework-0.3.1/templates/tools/work-management/operations/transition.md +15 -0
  394. agora_framework-0.3.1/templates/tools/work-management/operations/view.md +14 -0
  395. agora_framework-0.3.1/tests/test_check_docs.py +13 -0
  396. agora_framework-0.3.1/tests/test_cli.py +921 -0
  397. agora_framework-0.3.1/tests/test_code_review.py +125 -0
  398. agora_framework-0.3.1/tests/test_coordination.py +233 -0
  399. agora_framework-0.3.1/tests/test_execution_boundaries.py +51 -0
  400. agora_framework-0.3.1/tests/test_github_ecosystem.py +277 -0
  401. agora_framework-0.3.1/tests/test_github_live.py +25 -0
  402. agora_framework-0.3.1/tests/test_identity.py +2250 -0
  403. agora_framework-0.3.1/tests/test_locking.py +130 -0
  404. agora_framework-0.3.1/tests/test_markdown.py +48 -0
  405. agora_framework-0.3.1/tests/test_methods.py +108 -0
  406. agora_framework-0.3.1/tests/test_operational_loop.py +382 -0
  407. agora_framework-0.3.1/tests/test_organization_trust.py +512 -0
  408. agora_framework-0.3.1/tests/test_pack_dependencies.py +864 -0
  409. agora_framework-0.3.1/tests/test_quickstart.py +134 -0
  410. agora_framework-0.3.1/tests/test_registries.py +857 -0
  411. agora_framework-0.3.1/tests/test_registry_updates.py +329 -0
  412. agora_framework-0.3.1/tests/test_release.py +76 -0
  413. agora_framework-0.3.1/tests/test_spec_driven_lifecycle.py +198 -0
  414. agora_framework-0.3.1/tests/test_tools.py +486 -0
  415. agora_framework-0.3.1/tests/test_transparency_proofs.py +389 -0
  416. agora_framework-0.3.1/tests/test_transparency_trust.py +109 -0
  417. agora_framework-0.3.1/tests/test_trust.py +155 -0
  418. agora_framework-0.3.1/tests/test_upgrades.py +243 -0
  419. agora_framework-0.3.1/tests/test_usage_accounting.py +219 -0
  420. agora_framework-0.3.1/tests/test_verify_all.py +98 -0
  421. agora_framework-0.3.1/tests/test_workspace.py +3550 -0
@@ -0,0 +1,12 @@
1
+ .venv/
2
+ node_modules/
3
+ dist/
4
+ build/
5
+ *.egg-info/
6
+ .pytest_cache/
7
+ .ruff_cache/
8
+ __pycache__/
9
+ *.py[cod]
10
+ .agora/
11
+ .agents/skills/agora-*/
12
+ .claude/commands/agora.*.md
@@ -0,0 +1,71 @@
1
+ # Instructions for coding agents
2
+
3
+ - Preserve Agora's programming-language, LLM-provider, model, and development-process independence.
4
+ - Do not introduce LLM SDKs or provider dependencies into the core CLI.
5
+ - Implement Agora scripts and automation in Python, not JavaScript or TypeScript.
6
+ - Keep the protocol Markdown-first, human-readable, and portable across agent environments.
7
+ - Add tests for domain rules and their failure paths.
8
+ - Update templates and documentation whenever the installed protocol changes.
9
+ - Treat filesystem and Git as the persistent collaboration substrate.
10
+ - Use Conventional Commits 1.0.0 for every commit: `<type>[optional scope][!]: <description>` with
11
+ bodies and footers separated by a blank line.
12
+ - Keep environment-specific output in integration adapters.
13
+ - Keep actor private keys outside Agora; persist only public identity and signed verification
14
+ evidence, preserve rotation and revocation history, and bind authorizations to exact durable
15
+ operations and materialized session context before execution.
16
+ - Route authenticated lifecycle mutations through prepared `ACTION.md` intents, bind signatures to
17
+ their work preconditions, and reapply all Method Pack rules immediately before mutation.
18
+ - Keep Tool Pack commands structured, shell-free, and free of credential inputs.
19
+ - Give Tool Packs bounded direct-process timeouts and captured-output limits; describe external
20
+ containers or runners as the isolation boundary for filesystem, network, syscalls, and resources.
21
+ - Keep ecosystem Tool Pack capabilities provider-neutral; place Jira, CI/CD, documentation, and
22
+ cloud translation in reviewed external adapters rather than the kernel.
23
+ - Keep GitLab merge-request adapters on an exact native subset; do not discard review-decision bodies
24
+ or reinterpret conditional list and merge flags as neutral semantics.
25
+ - Keep GitHub ecosystem adapters behind provider-neutral contracts; keep ruleset administration
26
+ read-only until a neutral policy artifact is validated, and keep release publication ungranted.
27
+ - Redact GitHub secret scanning values before provider output becomes durable; never request secret
28
+ locations or raw credentials merely to build a synchronization snapshot.
29
+ - Keep Tool Sync provider-neutral, explicit, read-only, bounded, and persisted as an ordinary Tool
30
+ Run; never add background reconciliation or allow write risk through the sync path.
31
+ - Prefer a reviewed native provider CLI when it is installed and non-interactive; use a team wrapper
32
+ for normalization and MCP only as an explicit alternative transport.
33
+ - Give reviewed CLI adapters a structured local version command and a tested minimum version; never
34
+ infer compatibility from executable presence alone when launching governed work.
35
+ - Use an explicit conforming operation subset when a provider CLI cannot implement a full neutral
36
+ contract; never invent generic plan, apply, or destructive semantics.
37
+ - Never map GitLab issue creation to the neutral work-management contract unless the adapter can
38
+ preserve its required work-item type; restrict dynamic lifecycle subcommands to close or reopen.
39
+ - Keep CI cancellation and deployment capabilities opt-in; combine production authority with
40
+ explicit Method Pack policy, evidence, and operation approval requirements.
41
+ - Keep GitLab CI/CD adapters on an exact native subset; do not discard the neutral pipeline identity
42
+ when translating triggers or expose deployment operations without immutable artifact binding.
43
+ - Keep documentation publication and archival opt-in; treat remote pages as external state and
44
+ persist their identifiers as Agora artifacts or evidence when lifecycle gates require them.
45
+ - Keep Confluence updates bound to native optimistic-concurrency tokens; expose only an explicit
46
+ adapter subset when space-scoped search cannot be translated without provider-aware escaping.
47
+ - Keep cloud apply and destruction opt-in; require reviewed immutable plans, external workload
48
+ identity, explicit approvals, and durable evidence appropriate to the target environment.
49
+ - Keep incident resolution opt-in and distinct from recovery evidence; bound observability queries
50
+ and redact sensitive provider output before it becomes durable.
51
+ - Keep registry indexes and snapshots Markdown-first; verify remote releases before extraction,
52
+ validate every contained pack before copying, persist provenance, and preserve
53
+ project-over-user-over-bundled precedence.
54
+ - Keep registry trust public-only and Markdown-first; preserve project-over-user key precedence and
55
+ never allow explicit key input to bypass a persisted revocation.
56
+ - Keep registry updates preview-first, forward-only, authenticated, transactional, and historically
57
+ auditable; never refresh installed packs implicitly.
58
+ - Keep pack dependencies versioned, cross-kind, scope-local, cycle-free, and resolved before writes;
59
+ never replace a dependency when that would break an installed consumer.
60
+ - Keep catalog pack provenance installer-owned and checksum-pinned; keep pack updates preview-first,
61
+ forward-only, composition-safe, and protective of local amendments.
62
+ - Keep pack update histories continuous and pack composition locks deterministic; refresh locks only
63
+ after successful managed mutations or an explicit reviewed lock command.
64
+ - Keep pack removal preview-first and rollback-protected; block reverse dependents and durable
65
+ references, require explicit unused-dependency pruning, and preserve a scope-level audit record.
66
+ - Treat Scrum and Kanban as bundled examples, never as privileged core workflows.
67
+ - Preserve recursive swarm cycle checks and configured delegation depth.
68
+ - Preserve explicit child-work acceptance and reference-based result collection across swarms.
69
+ - Keep usage accounting provider-neutral, append-only, evidence-backed, and bounded by inherited
70
+ work budgets; external runtimes measure consumption and Agora validates submitted amounts.
71
+ - Prefer small, reviewable changes and abstractions backed by a concrete lifecycle requirement.
@@ -0,0 +1,91 @@
1
+ # Contributing to Agora
2
+
3
+ Agora is experimental. Prefer small changes that remain inspectable after installation.
4
+
5
+ The complete verification command is:
6
+
7
+ ```bash
8
+ uv run python scripts/verify_all.py
9
+ ```
10
+
11
+ Run individual checks while iterating:
12
+
13
+ ```bash
14
+ uv sync --extra dev
15
+ uv run ruff format --check .
16
+ uv run ruff check .
17
+ uv run pytest
18
+ uv run python scripts/check_docs.py
19
+ uv build
20
+ uv run python samples/basic-swarm/run.py
21
+ uv run python samples/llm-environments/run.py
22
+ uv run python samples/custom-lifecycle/run.py
23
+ uv run python samples/tool-integration/run.py
24
+ uv run python samples/handoffs/run.py
25
+ uv run python samples/recursive-swarms/run.py
26
+ uv run python samples/delegated-work/run.py
27
+ uv run python samples/operational-query/run.py
28
+ uv run python samples/operational-loop/run.py
29
+ uv run python samples/interruptions/run.py
30
+ uv run python samples/project-upgrade/run.py
31
+ uv run python samples/concurrent-writes/run.py
32
+ uv run python samples/pack-registry/run.py
33
+ uv run python samples/remote-registry/run.py
34
+ uv run python samples/github-end-to-end/run.py
35
+ ```
36
+
37
+ ## Rules
38
+
39
+ - Preserve programming-language, runtime, provider, model, development-process, agent, IDE, and
40
+ cloud independence.
41
+ - Implement Agora automation in Python; do not introduce JavaScript or TypeScript tooling.
42
+ - Do not add an LLM SDK to the core CLI.
43
+ - Keep operational state in Markdown and Git, not a parallel database or JSON snapshot.
44
+ - Keep adapter-specific output outside Method Packs and domain rules.
45
+ - Prefer reviewed native CLI adapters when a provider CLI already exists; keep MCP optional and
46
+ explicit rather than an automatic fallback.
47
+ - Declare and validate a partial adapter when the native CLI implements only a safe subset of a
48
+ provider-neutral contract.
49
+ - Keep Tool Pack commands structured and provider credentials outside durable inputs.
50
+ - Keep Method Pack identifiers open; bundled packs are examples, not core enums.
51
+ - Add tests for capabilities, role actions, transitions, WIP, gates, approvals, handoffs,
52
+ interruptions, recursive swarms, delegated work, sessions, tool runs, queries, validation, and
53
+ filesystem behavior.
54
+ - Update templates and documentation whenever the installed protocol changes.
55
+ - Keep explanatory material under `docs/`, operational protocol sources under `templates/`, and
56
+ plugin-owned run output under its existing plugin directory.
57
+ - Use Mermaid when a decision tree, lifecycle, sequence, scope hierarchy, or ownership boundary is
58
+ easier to understand visually. Keep adjacent prose and commands authoritative, and prefer a table
59
+ when relationships are static rather than sequential.
60
+ - Keep `scripts/verify_all.py` aligned with every executable sample and distribution check.
61
+ - Never persist raw credentials; store only external authentication references.
62
+ - Never persist registry private signing keys; trust records contain public keys only.
63
+ - Treat humans, AI agents, services, automations, and swarms as compatible actor forms governed by
64
+ role contracts.
65
+ - Use Conventional Commits 1.0.0 for every commit. Use `feat` for features, `fix` for fixes, and `!`
66
+ or a `BREAKING CHANGE:` footer for breaking changes.
67
+
68
+ ## Commit messages
69
+
70
+ ```text
71
+ <type>[optional scope][!]: <description>
72
+
73
+ [optional body]
74
+
75
+ [optional footer(s)]
76
+ ```
77
+
78
+ Examples:
79
+
80
+ ```text
81
+ feat(governance): validate repository commit messages
82
+ fix(upgrade): preserve customized tool operations
83
+ docs: explain local writer locks
84
+ feat(protocol)!: require explicit release evidence
85
+ ```
86
+
87
+ Agora projects materialize this rule in `.agora/STANDARDS.md`. When exercising Agora itself, prefer
88
+ the governed `repository/commit` Tool Pack operation so the input is validated before Git runs.
89
+
90
+ Generated distributions, virtual environments, local `.agora`, and installed agent commands are not
91
+ committed to this repository.
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Agora contributors
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.