theforge-core 0.5.0__py3-none-any.whl

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 (303) hide show
  1. theforge/__init__.py +3 -0
  2. theforge/__main__.py +5 -0
  3. theforge/_forge_portal.py +913 -0
  4. theforge/_installkit.py +1706 -0
  5. theforge/activation.py +106 -0
  6. theforge/adaptive.py +280 -0
  7. theforge/agents.py +90 -0
  8. theforge/capability_graph.py +453 -0
  9. theforge/cli/__init__.py +1 -0
  10. theforge/cli/commands.py +2020 -0
  11. theforge/cli/main.py +1068 -0
  12. theforge/cli/render.py +1875 -0
  13. theforge/complexity.py +567 -0
  14. theforge/conformance.py +631 -0
  15. theforge/context/__init__.py +18 -0
  16. theforge/context/broker.py +361 -0
  17. theforge/context/fingerprints.py +334 -0
  18. theforge/context/git.py +402 -0
  19. theforge/context/relevance.py +199 -0
  20. theforge/context/scan.py +82 -0
  21. theforge/context/verify.py +170 -0
  22. theforge/contracts/__init__.py +474 -0
  23. theforge/contracts/adaptive.py +217 -0
  24. theforge/contracts/agent.py +127 -0
  25. theforge/contracts/base.py +114 -0
  26. theforge/contracts/benchmark.py +339 -0
  27. theforge/contracts/budget.py +51 -0
  28. theforge/contracts/canonical.py +24 -0
  29. theforge/contracts/capability_graph.py +206 -0
  30. theforge/contracts/codes.py +339 -0
  31. theforge/contracts/complexity.py +69 -0
  32. theforge/contracts/context.py +99 -0
  33. theforge/contracts/control.py +75 -0
  34. theforge/contracts/decisions.py +71 -0
  35. theforge/contracts/diagnostic.py +62 -0
  36. theforge/contracts/economy.py +159 -0
  37. theforge/contracts/envelope.py +147 -0
  38. theforge/contracts/excellence.py +114 -0
  39. theforge/contracts/explain.py +141 -0
  40. theforge/contracts/features.py +72 -0
  41. theforge/contracts/graph.py +95 -0
  42. theforge/contracts/graphview.py +176 -0
  43. theforge/contracts/handoff.py +98 -0
  44. theforge/contracts/identity.py +57 -0
  45. theforge/contracts/installation.py +158 -0
  46. theforge/contracts/integrity.py +847 -0
  47. theforge/contracts/intel.py +66 -0
  48. theforge/contracts/knowledge.py +127 -0
  49. theforge/contracts/manifest.py +220 -0
  50. theforge/contracts/mcp.py +94 -0
  51. theforge/contracts/memory.py +329 -0
  52. theforge/contracts/negotiation.py +183 -0
  53. theforge/contracts/observation.py +186 -0
  54. theforge/contracts/performance.py +132 -0
  55. theforge/contracts/plan.py +409 -0
  56. theforge/contracts/receipt.py +144 -0
  57. theforge/contracts/registry.py +228 -0
  58. theforge/contracts/remote.py +121 -0
  59. theforge/contracts/resolve.py +92 -0
  60. theforge/contracts/result.py +168 -0
  61. theforge/contracts/risk.py +60 -0
  62. theforge/contracts/routing.py +99 -0
  63. theforge/contracts/schema.py +305 -0
  64. theforge/contracts/semver.py +49 -0
  65. theforge/contracts/specialist.py +246 -0
  66. theforge/contracts/strategy.py +162 -0
  67. theforge/contracts/targets.py +187 -0
  68. theforge/contracts/task.py +51 -0
  69. theforge/contracts/taxonomy.py +113 -0
  70. theforge/contracts/telemetry.py +205 -0
  71. theforge/contracts/types.py +185 -0
  72. theforge/contracts/verification.py +79 -0
  73. theforge/contracts/workspace.py +74 -0
  74. theforge/control.py +99 -0
  75. theforge/delegation.py +148 -0
  76. theforge/diagnostics.py +94 -0
  77. theforge/economy.py +109 -0
  78. theforge/environment/__init__.py +5 -0
  79. theforge/environment/doctor.py +188 -0
  80. theforge/errors.py +55 -0
  81. theforge/excellence/__init__.py +9 -0
  82. theforge/excellence/audit.py +201 -0
  83. theforge/explain/__init__.py +6 -0
  84. theforge/explain/hashcheck.py +192 -0
  85. theforge/explain/report.py +302 -0
  86. theforge/forger/__init__.py +16 -0
  87. theforge/forger/orchestrator.py +1685 -0
  88. theforge/forger/plan_executor.py +1464 -0
  89. theforge/forger/replay.py +284 -0
  90. theforge/forger/reproducibility.py +135 -0
  91. theforge/forger/resume.py +235 -0
  92. theforge/forger/telemetry.py +294 -0
  93. theforge/forger/verification.py +356 -0
  94. theforge/graphstudio.py +376 -0
  95. theforge/graphview.py +268 -0
  96. theforge/host_assets/skills/forge-api/SKILL.md +32 -0
  97. theforge/host_assets/skills/forge-api/agents/openai.yaml +6 -0
  98. theforge/host_assets/skills/forge-bootstrap/SKILL.md +26 -0
  99. theforge/host_assets/skills/forge-bootstrap/agents/openai.yaml +6 -0
  100. theforge/host_assets/skills/forge-capability-negotiation/SKILL.md +25 -0
  101. theforge/host_assets/skills/forge-capability-negotiation/agents/openai.yaml +6 -0
  102. theforge/host_assets/skills/forge-cross-domain-planning/SKILL.md +31 -0
  103. theforge/host_assets/skills/forge-cross-domain-planning/agents/openai.yaml +6 -0
  104. theforge/host_assets/skills/forge-discovery/SKILL.md +31 -0
  105. theforge/host_assets/skills/forge-discovery/agents/openai.yaml +6 -0
  106. theforge/host_assets/skills/forge-doctor-api/SKILL.md +33 -0
  107. theforge/host_assets/skills/forge-doctor-api/agents/openai.yaml +6 -0
  108. theforge/host_assets/skills/forge-doctor-data/SKILL.md +33 -0
  109. theforge/host_assets/skills/forge-doctor-data/agents/openai.yaml +6 -0
  110. theforge/host_assets/skills/forge-ecosystem/SKILL.md +37 -0
  111. theforge/host_assets/skills/forge-ecosystem/agents/openai.yaml +6 -0
  112. theforge/host_assets/skills/forge-factory/SKILL.md +30 -0
  113. theforge/host_assets/skills/forge-factory/agents/openai.yaml +6 -0
  114. theforge/host_assets/skills/forge-install/SKILL.md +34 -0
  115. theforge/host_assets/skills/forge-install/agents/openai.yaml +6 -0
  116. theforge/host_assets/skills/forge-platform/SKILL.md +32 -0
  117. theforge/host_assets/skills/forge-platform/agents/openai.yaml +6 -0
  118. theforge/host_assets/skills/forge-routing/SKILL.md +33 -0
  119. theforge/host_assets/skills/forge-routing/agents/openai.yaml +6 -0
  120. theforge/host_assets/skills/forge-spark-aws/SKILL.md +34 -0
  121. theforge/host_assets/skills/forge-spark-aws/agents/openai.yaml +6 -0
  122. theforge/host_assets/skills/forge-spark-azure/SKILL.md +33 -0
  123. theforge/host_assets/skills/forge-spark-azure/agents/openai.yaml +6 -0
  124. theforge/host_assets/skills/forge-troubleshooting/SKILL.md +32 -0
  125. theforge/host_assets/skills/forge-troubleshooting/agents/openai.yaml +6 -0
  126. theforge/host_assets/skills/forge-verification/SKILL.md +26 -0
  127. theforge/host_assets/skills/forge-verification/agents/openai.yaml +6 -0
  128. theforge/host_assets/skills/kiro-debug/SKILL.md +152 -0
  129. theforge/host_assets/skills/kiro-debug/agents/openai.yaml +6 -0
  130. theforge/host_assets/skills/kiro-discovery/SKILL.md +262 -0
  131. theforge/host_assets/skills/kiro-discovery/agents/openai.yaml +6 -0
  132. theforge/host_assets/skills/kiro-impl/SKILL.md +260 -0
  133. theforge/host_assets/skills/kiro-impl/agents/openai.yaml +6 -0
  134. theforge/host_assets/skills/kiro-impl/templates/debugger-prompt.md +18 -0
  135. theforge/host_assets/skills/kiro-impl/templates/implementer-prompt.md +95 -0
  136. theforge/host_assets/skills/kiro-impl/templates/reviewer-prompt.md +21 -0
  137. theforge/host_assets/skills/kiro-review/SKILL.md +171 -0
  138. theforge/host_assets/skills/kiro-review/agents/openai.yaml +6 -0
  139. theforge/host_assets/skills/kiro-spec-batch/SKILL.md +166 -0
  140. theforge/host_assets/skills/kiro-spec-batch/agents/openai.yaml +2 -0
  141. theforge/host_assets/skills/kiro-spec-design/SKILL.md +210 -0
  142. theforge/host_assets/skills/kiro-spec-design/agents/openai.yaml +6 -0
  143. theforge/host_assets/skills/kiro-spec-design/rules/design-discovery-full.md +93 -0
  144. theforge/host_assets/skills/kiro-spec-design/rules/design-discovery-light.md +49 -0
  145. theforge/host_assets/skills/kiro-spec-design/rules/design-principles.md +198 -0
  146. theforge/host_assets/skills/kiro-spec-design/rules/design-review-gate.md +50 -0
  147. theforge/host_assets/skills/kiro-spec-design/rules/design-synthesis.md +29 -0
  148. theforge/host_assets/skills/kiro-spec-init/SKILL.md +51 -0
  149. theforge/host_assets/skills/kiro-spec-init/agents/openai.yaml +6 -0
  150. theforge/host_assets/skills/kiro-spec-quick/SKILL.md +256 -0
  151. theforge/host_assets/skills/kiro-spec-quick/agents/openai.yaml +6 -0
  152. theforge/host_assets/skills/kiro-spec-requirements/SKILL.md +142 -0
  153. theforge/host_assets/skills/kiro-spec-requirements/agents/openai.yaml +6 -0
  154. theforge/host_assets/skills/kiro-spec-requirements/rules/ears-format.md +49 -0
  155. theforge/host_assets/skills/kiro-spec-requirements/rules/requirements-review-gate.md +51 -0
  156. theforge/host_assets/skills/kiro-spec-status/SKILL.md +71 -0
  157. theforge/host_assets/skills/kiro-spec-status/agents/openai.yaml +6 -0
  158. theforge/host_assets/skills/kiro-spec-tasks/SKILL.md +196 -0
  159. theforge/host_assets/skills/kiro-spec-tasks/agents/openai.yaml +6 -0
  160. theforge/host_assets/skills/kiro-spec-tasks/rules/tasks-generation.md +222 -0
  161. theforge/host_assets/skills/kiro-spec-tasks/rules/tasks-parallel-analysis.md +41 -0
  162. theforge/host_assets/skills/kiro-steering/SKILL.md +156 -0
  163. theforge/host_assets/skills/kiro-steering/agents/openai.yaml +6 -0
  164. theforge/host_assets/skills/kiro-steering/rules/steering-principles.md +90 -0
  165. theforge/host_assets/skills/kiro-steering-custom/SKILL.md +145 -0
  166. theforge/host_assets/skills/kiro-steering-custom/agents/openai.yaml +6 -0
  167. theforge/host_assets/skills/kiro-steering-custom/rules/steering-principles.md +90 -0
  168. theforge/host_assets/skills/kiro-validate-design/SKILL.md +103 -0
  169. theforge/host_assets/skills/kiro-validate-design/agents/openai.yaml +6 -0
  170. theforge/host_assets/skills/kiro-validate-design/rules/design-review.md +110 -0
  171. theforge/host_assets/skills/kiro-validate-gap/SKILL.md +109 -0
  172. theforge/host_assets/skills/kiro-validate-gap/agents/openai.yaml +6 -0
  173. theforge/host_assets/skills/kiro-validate-gap/rules/gap-analysis.md +144 -0
  174. theforge/host_assets/skills/kiro-validate-impl/SKILL.md +208 -0
  175. theforge/host_assets/skills/kiro-validate-impl/agents/openai.yaml +6 -0
  176. theforge/host_assets/skills/kiro-verify-completion/SKILL.md +131 -0
  177. theforge/host_assets/skills/kiro-verify-completion/agents/openai.yaml +6 -0
  178. theforge/host_detect.py +129 -0
  179. theforge/hostflow.py +259 -0
  180. theforge/install/__init__.py +5 -0
  181. theforge/install/compatibility.py +197 -0
  182. theforge/install/providers.py +353 -0
  183. theforge/install/render.py +67 -0
  184. theforge/install/service.py +743 -0
  185. theforge/intel.py +351 -0
  186. theforge/interop/__init__.py +8 -0
  187. theforge/interop/a2a.py +411 -0
  188. theforge/interop/mcp.py +176 -0
  189. theforge/knowledge.py +68 -0
  190. theforge/lab.py +527 -0
  191. theforge/lab_gate.py +331 -0
  192. theforge/lab_stats.py +79 -0
  193. theforge/learning.py +210 -0
  194. theforge/memory.py +794 -0
  195. theforge/meta.py +7 -0
  196. theforge/metrics.py +144 -0
  197. theforge/negotiation.py +426 -0
  198. theforge/observations.py +254 -0
  199. theforge/planning/__init__.py +36 -0
  200. theforge/planning/decision.py +147 -0
  201. theforge/planning/decompose.py +548 -0
  202. theforge/planning/economy.py +117 -0
  203. theforge/planning/estimate.py +86 -0
  204. theforge/planning/execution.py +41 -0
  205. theforge/planning/graph.py +371 -0
  206. theforge/planning/handoff.py +336 -0
  207. theforge/planning/installation.py +108 -0
  208. theforge/planning/order.py +60 -0
  209. theforge/planning/propose.py +321 -0
  210. theforge/planning/retry.py +124 -0
  211. theforge/planning/synthesis.py +137 -0
  212. theforge/planning/validate.py +249 -0
  213. theforge/policy/__init__.py +14 -0
  214. theforge/policy/assess.py +68 -0
  215. theforge/policy/engine.py +193 -0
  216. theforge/portal_adapter.py +1201 -0
  217. theforge/portal_assets/chunk-7_l-b4Tr.js +1 -0
  218. theforge/portal_assets/chunk-B0Iad6pD.js +1 -0
  219. theforge/portal_assets/chunk-B605XnCF.js +1 -0
  220. theforge/portal_assets/chunk-B7N3TXcn.js +1 -0
  221. theforge/portal_assets/chunk-BAj6yGem.js +1 -0
  222. theforge/portal_assets/chunk-BGUitn2r.js +1 -0
  223. theforge/portal_assets/chunk-BVKnCv85.js +1 -0
  224. theforge/portal_assets/chunk-BYyM9V_w.js +1 -0
  225. theforge/portal_assets/chunk-BaQMhq-G.js +1 -0
  226. theforge/portal_assets/chunk-BavOrxVm.js +1 -0
  227. theforge/portal_assets/chunk-Bb0C24YV.js +1 -0
  228. theforge/portal_assets/chunk-BfCFGPzs.js +1 -0
  229. theforge/portal_assets/chunk-C2t4OUVu.js +1 -0
  230. theforge/portal_assets/chunk-C3pI4QjU.js +1 -0
  231. theforge/portal_assets/chunk-C4gpbtbP.js +1 -0
  232. theforge/portal_assets/chunk-CGWeHhKY.js +1 -0
  233. theforge/portal_assets/chunk-CJCT86Dr.js +1 -0
  234. theforge/portal_assets/chunk-CXcsLDPJ.js +1 -0
  235. theforge/portal_assets/chunk-CcjxoLxw.js +1 -0
  236. theforge/portal_assets/chunk-D-gBPXHa.js +1 -0
  237. theforge/portal_assets/chunk-D3eZogIe.js +1 -0
  238. theforge/portal_assets/chunk-DQU0VyoQ.js +1 -0
  239. theforge/portal_assets/chunk-DqWNkF1O.js +1 -0
  240. theforge/portal_assets/chunk-DuPPkSIE.js +3 -0
  241. theforge/portal_assets/chunk-DyIHOW_a.js +1 -0
  242. theforge/portal_assets/chunk-Fx4zSGL5.js +1 -0
  243. theforge/portal_assets/chunk-UBKt05Rg.js +1 -0
  244. theforge/portal_assets/chunk-htnJDQEY.js +1 -0
  245. theforge/portal_assets/chunk-kXRFMGqe.js +1 -0
  246. theforge/portal_assets/chunk-qe3u763a.js +1 -0
  247. theforge/portal_assets/favicon.ico +0 -0
  248. theforge/portal_assets/index.html +13 -0
  249. theforge/portal_assets/main-QDFVZK3T.js +5 -0
  250. theforge/portal_assets/styles-MQEBDFDX.css +1 -0
  251. theforge/profiles.py +83 -0
  252. theforge/protocol/__init__.py +19 -0
  253. theforge/protocol/negotiate.py +37 -0
  254. theforge/protocol/proctree.py +295 -0
  255. theforge/protocol/transport.py +231 -0
  256. theforge/providers/__init__.py +1 -0
  257. theforge/providers/echo/__init__.py +1 -0
  258. theforge/providers/echo/__main__.py +18 -0
  259. theforge/providers/echo/provider.py +236 -0
  260. theforge/registry/__init__.py +67 -0
  261. theforge/registry/config.py +170 -0
  262. theforge/registry/discovery.py +465 -0
  263. theforge/registry/health.py +109 -0
  264. theforge/registry/identity.py +37 -0
  265. theforge/registry/install_plan.py +200 -0
  266. theforge/registry/mcp.py +238 -0
  267. theforge/registry/registry.py +483 -0
  268. theforge/registry/remote.py +473 -0
  269. theforge/registry/sources.py +297 -0
  270. theforge/registry/surface.py +99 -0
  271. theforge/remote.py +189 -0
  272. theforge/routing/__init__.py +5 -0
  273. theforge/routing/resolve.py +227 -0
  274. theforge/routing/router.py +631 -0
  275. theforge/routing/signals.py +134 -0
  276. theforge/runs/__init__.py +5 -0
  277. theforge/runs/store.py +333 -0
  278. theforge/scaffold.py +293 -0
  279. theforge/security/__init__.py +1 -0
  280. theforge/security/env.py +77 -0
  281. theforge/security/paths.py +54 -0
  282. theforge/security/redact.py +79 -0
  283. theforge/simulation.py +188 -0
  284. theforge/specialists.py +374 -0
  285. theforge/state.py +78 -0
  286. theforge/strategy.py +111 -0
  287. theforge/targets.py +176 -0
  288. theforge/ui/__init__.py +28 -0
  289. theforge/ui/app.py +538 -0
  290. theforge/ui/home.py +254 -0
  291. theforge/ui/i18n.py +143 -0
  292. theforge/ui/kit.py +689 -0
  293. theforge/ui/screen.py +649 -0
  294. theforge/ui/tui.py +211 -0
  295. theforge/ui/wizard.py +309 -0
  296. theforge/workspace/__init__.py +6 -0
  297. theforge/workspace/describe.py +336 -0
  298. theforge/workspace/relations.py +109 -0
  299. theforge_core-0.5.0.dist-info/METADATA +217 -0
  300. theforge_core-0.5.0.dist-info/RECORD +303 -0
  301. theforge_core-0.5.0.dist-info/WHEEL +4 -0
  302. theforge_core-0.5.0.dist-info/entry_points.txt +3 -0
  303. theforge_core-0.5.0.dist-info/licenses/LICENSE +21 -0
theforge/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ """The Forge: local-first control plane for specialist Forges."""
2
+
3
+ __version__ = "0.5.0"
theforge/__main__.py ADDED
@@ -0,0 +1,5 @@
1
+ """python -m theforge"""
2
+
3
+ from theforge.cli.main import main
4
+
5
+ raise SystemExit(main())