toolframe-core 0.8.2__tar.gz → 0.8.3__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 (195) hide show
  1. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/CHANGELOG.md +23 -2
  2. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/Cargo.lock +1 -1
  3. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/Cargo.toml +1 -1
  4. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/Dockerfile +2 -2
  5. toolframe_core-0.8.3/PKG-INFO +108 -0
  6. toolframe_core-0.8.3/README.md +77 -0
  7. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/application-templates.md +4 -0
  8. toolframe_core-0.8.3/docs/assets/readme-banner-dark.png +0 -0
  9. toolframe_core-0.8.3/docs/assets/readme-banner-light.png +0 -0
  10. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/authoring.md +53 -0
  11. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/ci.md +21 -0
  12. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/container.md +6 -6
  13. toolframe_core-0.8.3/docs/operations.md +229 -0
  14. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/postgresql-state.md +1 -1
  15. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/releasing.md +5 -5
  16. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/testing.md +32 -4
  17. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/web.md +1 -1
  18. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/packaging/launcher/README.md +6 -0
  19. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/pyproject.toml +1 -1
  20. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/ci/validate.py +6 -2
  21. toolframe_core-0.8.3/scripts/verification_workspace.py +359 -0
  22. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/verify-auth-upgrade.py +3 -2
  23. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/verify-auth.py +3 -2
  24. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/verify-dependencies.py +3 -2
  25. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/verify-network.py +3 -2
  26. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/verify-operation-history.py +3 -2
  27. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/verify-release.py +31 -7
  28. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/verify-retained-plugins.py +3 -2
  29. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/verify-scaffold.py +4 -2
  30. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/verify-skill.py +4 -2
  31. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/main.rs +8 -8
  32. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/__init__.py +1 -1
  33. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/authoring_catalog.json +1 -1
  34. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/bundled_skills/toolframe-plugin-design/SKILL.md +10 -3
  35. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/bundled_skills/toolframe-plugin-design/evals/cases.json +46 -0
  36. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/operations.md +46 -0
  37. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/cli.py +46 -2
  38. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/uv.rs +15 -4
  39. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/dependencies.py +1 -1
  40. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_ci_dependencies.py +47 -0
  41. toolframe_core-0.8.3/tests/test_cli_startup.py +126 -0
  42. toolframe_core-0.8.3/tests/test_release_verifier_lifecycle.py +47 -0
  43. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_skills.py +7 -1
  44. toolframe_core-0.8.3/tests/test_verification_workspace.py +258 -0
  45. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/uv.lock +1 -1
  46. toolframe_core-0.8.2/PKG-INFO +0 -476
  47. toolframe_core-0.8.2/README.md +0 -445
  48. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.dockerignore +0 -0
  49. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.github/actions/scan-container/action.yml +0 -0
  50. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.github/dependabot.yml +0 -0
  51. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.github/workflows/ci.yml +0 -0
  52. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.github/workflows/container-security.yml +0 -0
  53. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.github/workflows/container.yml +0 -0
  54. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.github/workflows/launcher.yml +0 -0
  55. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.github/workflows/pr-policy.yml +0 -0
  56. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.github/workflows/publish.yml +0 -0
  57. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.github/workflows/quality.yml +0 -0
  58. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.github/workflows/validate.yml +0 -0
  59. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.gitignore +0 -0
  60. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/.pre-commit-config.yaml +0 -0
  61. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/CONTRIBUTING.md +0 -0
  62. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/LICENSE +0 -0
  63. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/NOTICE +0 -0
  64. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/authoring.json +0 -0
  65. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/cchk.toml +0 -0
  66. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/companion-wheels.txt +0 -0
  67. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0001-explicit-dashboard-access-mode.md +0 -0
  68. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0002-scoped-passwords-and-public-business-entrances.md +0 -0
  69. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0003-public-fallback-on-auth-error-or-disablement.md +0 -0
  70. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0004-separate-auth-ownership-from-dashboard-presentation.md +0 -0
  71. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0005-password-only-login-and-secret-reuse.md +0 -0
  72. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0006-require-explicit-plugin-authorization-contracts.md +0 -0
  73. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0007-independent-mcp-bearer-authentication.md +0 -0
  74. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0008-shared-oidc-authentication.md +0 -0
  75. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0009-replaceable-core-journal.md +0 -0
  76. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0010-multiple-sql-providers.md +0 -0
  77. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0011-safe-new-application-access.md +0 -0
  78. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0012-optional-runtime-tracing.md +0 -0
  79. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0013-context-logging.md +0 -0
  80. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0014-web-presentation.md +0 -0
  81. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0015-distribution-authoring.md +0 -0
  82. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/adr/0016-plugin-compatibility.md +0 -0
  83. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/architecture.md +0 -0
  84. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/artifacts.md +0 -0
  85. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/authentication.md +0 -0
  86. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/dependency-graph.md +0 -0
  87. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/glossary.md +0 -0
  88. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/intel-companion.md +0 -0
  89. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/mcp-authentication.md +0 -0
  90. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/object-storage.md +0 -0
  91. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/offline-maintenance.md +0 -0
  92. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/oidc-authentication.md +0 -0
  93. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/runtime.md +0 -0
  94. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/sql-storage.md +0 -0
  95. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/docs/tracing.md +0 -0
  96. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/packaging/launcher/NOTICE +0 -0
  97. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/packaging/launcher/pyproject.toml +0 -0
  98. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/build-launcher.py +0 -0
  99. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/build-release.sh +0 -0
  100. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/check-authoring-catalog.py +0 -0
  101. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/check-container-security.py +0 -0
  102. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/check_branch_name.py +0 -0
  103. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/ci/artifacts.py +0 -0
  104. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/ci/check-launcher-wheel.py +0 -0
  105. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/ci/check-postgres.py +0 -0
  106. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/ci/check-release.py +0 -0
  107. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/ci/dependencies.json +0 -0
  108. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/ci/intel-companion.json +0 -0
  109. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/ci/intel_companion.py +0 -0
  110. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/ci/prepare-launcher.py +0 -0
  111. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/container-healthcheck.py +0 -0
  112. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/dev-wheelhouse.sh +0 -0
  113. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/harden-container.py +0 -0
  114. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/prepare-container.py +0 -0
  115. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/scripts/verify-container.py +0 -0
  116. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/companions.rs +0 -0
  117. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/_state_postgres.py +0 -0
  118. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/_state_sqlite.py +0 -0
  119. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/access.py +0 -0
  120. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/api.py +0 -0
  121. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/authoring.py +0 -0
  122. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/authoring_metadata.py +0 -0
  123. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/authoring_runner.py +0 -0
  124. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/basic_template/LICENSE +0 -0
  125. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/basic_template/README.md +0 -0
  126. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/basic_template/pyproject.toml +0 -0
  127. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/basic_template/src/toolframe_basic/__init__.py +0 -0
  128. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/basic_template/src/toolframe_basic/plugin.py +0 -0
  129. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/basic_template/src/toolframe_basic/service.py +0 -0
  130. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/basic_template/tests/test_service.py +0 -0
  131. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/bundled_skills/toolframe-plugin-design/LICENSE +0 -0
  132. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/bundled_skills/toolframe-plugin-design/agents/openai.yaml +0 -0
  133. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/design.md +0 -0
  134. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/plugin-api.md +0 -0
  135. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/web-authoring.md +0 -0
  136. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/config.py +0 -0
  137. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/diagnostics.py +0 -0
  138. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/gateway.py +0 -0
  139. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/graph.py +0 -0
  140. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/host.py +0 -0
  141. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/lockfile.py +0 -0
  142. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/maintenance.py +0 -0
  143. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/mcp_access.py +0 -0
  144. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/network.py +0 -0
  145. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/oidc_access.py +0 -0
  146. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/packages.py +0 -0
  147. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/process.py +0 -0
  148. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/redaction.py +0 -0
  149. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/scaffold.py +0 -0
  150. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/selection.py +0 -0
  151. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/skills.py +0 -0
  152. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/state.py +0 -0
  153. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/state_admin.py +0 -0
  154. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/stores.py +0 -0
  155. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/templates.json +0 -0
  156. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/templates.py +0 -0
  157. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/web_access.py +0 -0
  158. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/web_build.py +0 -0
  159. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/src/toolframe_core/web_gateway.py +0 -0
  160. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_acceptance.py +0 -0
  161. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_access_policy.py +0 -0
  162. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_architecture.py +0 -0
  163. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_auth.py +0 -0
  164. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_authoring.py +0 -0
  165. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_bundles.py +0 -0
  166. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_ci_artifacts.py +0 -0
  167. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_cli.py +0 -0
  168. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_container_release.py +0 -0
  169. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_container_security.py +0 -0
  170. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_cookie_security.py +0 -0
  171. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_core_state.py +0 -0
  172. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_dashboard_policy.py +0 -0
  173. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_diagnostics.py +0 -0
  174. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_foundations.py +0 -0
  175. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_host.py +0 -0
  176. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_intel_companion.py +0 -0
  177. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_maintenance.py +0 -0
  178. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_managed_tasks.py +0 -0
  179. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_mcp_auth.py +0 -0
  180. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_mixed_storage.py +0 -0
  181. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_network.py +0 -0
  182. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_object_store.py +0 -0
  183. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_oidc.py +0 -0
  184. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_operation_history.py +0 -0
  185. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_package_selection.py +0 -0
  186. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_process.py +0 -0
  187. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_redaction.py +0 -0
  188. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_retained_plugins.py +0 -0
  189. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_scaffold.py +0 -0
  190. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_storage_bindings.py +0 -0
  191. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_templates.py +0 -0
  192. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_tracing.py +0 -0
  193. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_web.py +0 -0
  194. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/tests/test_web_boundaries.py +0 -0
  195. {toolframe_core-0.8.2 → toolframe_core-0.8.3}/uv-release-manifest.txt +0 -0
@@ -1,10 +1,31 @@
1
1
  # Changelog
2
2
 
3
- These versions describe local development releases. A version entry does not
4
- imply that its distributions have been published or every target is qualified.
3
+ For installation and platform support, see the [README](README.md).
5
4
 
6
5
  ## Unreleased
7
6
 
7
+ ## v0.8.3 — 2026-10-26
8
+
9
+ ### Changed
10
+
11
+ - Startup now shows the selected application home, configuration, identity and
12
+ Core version, with a command to check application readiness.
13
+ - The bundled authoring guide separates setup from official CLI restart and
14
+ retained-data checks, honoring explicit user paths before new-app defaults.
15
+
16
+ ### Fixed
17
+
18
+ - Reject uninitialized application directories before creating runtime state or
19
+ installing a skill, while preserving recovery for existing Core journals.
20
+
21
+ ### Upgrade notes
22
+
23
+ - Start existing apps from their application directory or use
24
+ `toolframe --home PATH serve`; initialize a new home with `toolframe init`.
25
+
26
+ [Full changelog](https://github.com/toolframe/toolframe-core/compare/v0.8.2...v0.8.3)
27
+ [Application home guide](https://github.com/toolframe/toolframe-core/blob/v0.8.3/docs/operations.md#application-home-and-restart)
28
+
8
29
  ## 0.8.2
9
30
 
10
31
  - Resolve named application recipes to the latest compatible stable, non-yanked
@@ -1186,7 +1186,7 @@ dependencies = [
1186
1186
 
1187
1187
  [[package]]
1188
1188
  name = "toolframe"
1189
- version = "0.8.2"
1189
+ version = "0.8.3"
1190
1190
  dependencies = [
1191
1191
  "anyhow",
1192
1192
  "flate2",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "toolframe"
3
- version = "0.8.2"
3
+ version = "0.8.3"
4
4
  edition = "2024"
5
5
  rust-version = "1.88"
6
6
  description = "A local-first runtime for agent-built internal apps"
@@ -3,7 +3,7 @@ FROM ghcr.io/astral-sh/uv:0.12.24@sha256:3af4716e991d6956a41e573eab705d0ee08500c
3
3
 
4
4
  FROM debian:trixie-slim@sha256:62bd423aeee912639ca8ee681c2b762cb3e25137e0a92b20be455898a9f034ad AS runtime
5
5
  ARG TARGETARCH
6
- ARG TOOLFRAME_VERSION=0.8.2
6
+ ARG TOOLFRAME_VERSION=0.8.3
7
7
  ARG TOOLFRAME_REVISION
8
8
  LABEL org.opencontainers.image.source="https://github.com/toolframe/toolframe-core" \
9
9
  org.opencontainers.image.title="Toolframe" \
@@ -68,7 +68,7 @@ RUN mkdir -p /opt/ps-libs/var/lib/dpkg/status.d \
68
68
  && dpkg-query -s tini > /opt/ps-libs/var/lib/dpkg/status.d/tini
69
69
 
70
70
  FROM gcr.io/distroless/cc-debian13:nonroot@sha256:83b9b50586253821cf63ffcec87d3d94265a093ad30da232039af962dd8f4edf AS distroless
71
- ARG TOOLFRAME_VERSION=0.8.2
71
+ ARG TOOLFRAME_VERSION=0.8.3
72
72
  ARG TOOLFRAME_REVISION
73
73
  LABEL org.opencontainers.image.source="https://github.com/toolframe/toolframe-core" \
74
74
  org.opencontainers.image.title="Toolframe (Distroless)" \
@@ -0,0 +1,108 @@
1
+ Metadata-Version: 2.5
2
+ Name: toolframe-core
3
+ Version: 0.8.3
4
+ Summary: Persistent control host for isolated Toolframe plugins
5
+ Project-URL: Homepage, https://github.com/toolframe/toolframe-core
6
+ Project-URL: Repository, https://github.com/toolframe/toolframe-core
7
+ Project-URL: Documentation, https://github.com/toolframe/toolframe-core#readme
8
+ Project-URL: Issues, https://github.com/toolframe/toolframe-core/issues
9
+ Author-email: byfb <62798989+byfb@users.noreply.github.com>
10
+ License-Expression: Apache-2.0 AND MIT
11
+ License-File: LICENSE
12
+ License-File: NOTICE
13
+ License-File: src/toolframe_core/basic_template/LICENSE
14
+ License-File: src/toolframe_core/bundled_skills/toolframe-plugin-design/LICENSE
15
+ Requires-Python: >=3.14
16
+ Requires-Dist: fastapi-cordis==0.2.2
17
+ Requires-Dist: fastapi==0.135.2
18
+ Requires-Dist: httpx<1,>=0.28
19
+ Requires-Dist: packaging>=25
20
+ Requires-Dist: pyyaml<7,>=6
21
+ Requires-Dist: tomlkit<1,>=0.13
22
+ Requires-Dist: toolframe-sdk==0.4.1
23
+ Requires-Dist: uvicorn==0.42.0
24
+ Requires-Dist: watchfiles<2,>=1
25
+ Requires-Dist: websockets<17,>=15
26
+ Provides-Extra: postgres
27
+ Requires-Dist: psycopg[binary]<4,>=3.3; extra == 'postgres'
28
+ Provides-Extra: tracing
29
+ Requires-Dist: toolframe-sdk[tracing]==0.4.1; extra == 'tracing'
30
+ Description-Content-Type: text/markdown
31
+
32
+ <p align="center">
33
+ <picture>
34
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/readme-banner-dark.png">
35
+ <source media="(prefers-color-scheme: light)" srcset="docs/assets/readme-banner-light.png">
36
+ <img src="docs/assets/readme-banner-light.png" alt="Toolframe Core — a persistent host for replaceable Python plugins. Python packages → managed environments → plugin workers." width="720">
37
+ </picture>
38
+ </p>
39
+
40
+ # Toolframe Core
41
+
42
+ [![CI on main](https://github.com/toolframe/toolframe-core/actions/workflows/ci.yml/badge.svg?branch=main&event=push)](https://github.com/toolframe/toolframe-core/actions/workflows/ci.yml?query=branch%3Amain)
43
+ [![Container security on main](https://github.com/toolframe/toolframe-core/actions/workflows/container-security.yml/badge.svg?branch=main&event=schedule)](https://github.com/toolframe/toolframe-core/actions/workflows/container-security.yml?query=branch%3Amain)
44
+
45
+ Build local apps from Python plugins, with web pages, dashboards and MCP tools.
46
+ Update plugins while keeping their data.
47
+
48
+ ## Quick start
49
+
50
+ With [uv](https://docs.astral.sh/uv/getting-started/installation/) installed,
51
+ start the Entry Register demo:
52
+
53
+ ```sh
54
+ uv tool install toolframe
55
+ toolframe --home ./my-app init \
56
+ --template entry-register
57
+ toolframe --home ./my-app serve
58
+ ```
59
+
60
+ In another terminal, get the sign-in link:
61
+
62
+ ```sh
63
+ toolframe --home ./my-app open
64
+ ```
65
+
66
+ The demo includes a Streamlit Dashboard, MCP tools and SQLite storage. It listens
67
+ on `127.0.0.1:9876`; keep `my-app` to retain its configuration and data.
68
+ After stopping it, restart from `my-app` with `toolframe` or `toolframe serve`.
69
+ Without a persistent CLI installation, use `uvx toolframe` from the same directory.
70
+ See [application home and restart](docs/operations.md#application-home-and-restart)
71
+ for other locations and startup diagnostics.
72
+
73
+ **Requirements:** macOS 12+ or Linux glibc 2.28+, on ARM64 or x86-64.
74
+ First run downloads Python and packages. Windows and musl Linux are unsupported.
75
+ See [runtime setup](docs/runtime.md) for offline use and other installation details.
76
+
77
+ **Access:** Dashboard business access and MCP start public; llms documents remain
78
+ public. Configure [authentication](docs/authentication.md) before sharing over a
79
+ network. Plugins run trusted Python code; process isolation is not a sandbox.
80
+
81
+ ## Build a plugin
82
+
83
+ Open an agent in `my-app` and invoke `$toolframe-plugin-design` with your app idea.
84
+ `init` installs this skill in `my-app/.agents/skills/`.
85
+
86
+ For manual development, follow [plugin authoring](docs/authoring.md), or start with
87
+ an HTML Notes app in the [Web guide](docs/web.md). Storage, authentication and
88
+ presentation are separate plugins you choose for your application.
89
+
90
+ ## Guides
91
+
92
+ | I want to… | Start here |
93
+ | --- | --- |
94
+ | Choose a recipe or control versions | [Application recipes](docs/application-templates.md) |
95
+ | Install, update or reload plugins | [Operator guide](docs/operations.md) |
96
+ | Choose where data lives | [SQL](docs/sql-storage.md) · [Files](docs/object-storage.md) |
97
+ | Set up access | [Dashboard](docs/authentication.md) · [MCP](docs/mcp-authentication.md) · [OIDC](docs/oidc-authentication.md) |
98
+ | Deploy an application | [Docker](docs/container.md) · [PostgreSQL Core state](docs/postgresql-state.md) |
99
+ | Understand how Core works | [Architecture](docs/architecture.md) · [Glossary](docs/glossary.md) |
100
+ | Contribute or run checks | [Contributing](CONTRIBUTING.md) · [Testing](docs/testing.md) · [CI](docs/ci.md) |
101
+
102
+ [Changelog](CHANGELOG.md) · [Releases](https://github.com/toolframe/toolframe-core/releases)
103
+
104
+ ## License
105
+
106
+ Core and the launcher: [Apache 2.0](LICENSE), with [NOTICE](NOTICE).
107
+ The bundled [agent guide](src/toolframe_core/bundled_skills/toolframe-plugin-design/LICENSE)
108
+ and [basic template](src/toolframe_core/basic_template/LICENSE): MIT.
@@ -0,0 +1,77 @@
1
+ <p align="center">
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/readme-banner-dark.png">
4
+ <source media="(prefers-color-scheme: light)" srcset="docs/assets/readme-banner-light.png">
5
+ <img src="docs/assets/readme-banner-light.png" alt="Toolframe Core — a persistent host for replaceable Python plugins. Python packages → managed environments → plugin workers." width="720">
6
+ </picture>
7
+ </p>
8
+
9
+ # Toolframe Core
10
+
11
+ [![CI on main](https://github.com/toolframe/toolframe-core/actions/workflows/ci.yml/badge.svg?branch=main&event=push)](https://github.com/toolframe/toolframe-core/actions/workflows/ci.yml?query=branch%3Amain)
12
+ [![Container security on main](https://github.com/toolframe/toolframe-core/actions/workflows/container-security.yml/badge.svg?branch=main&event=schedule)](https://github.com/toolframe/toolframe-core/actions/workflows/container-security.yml?query=branch%3Amain)
13
+
14
+ Build local apps from Python plugins, with web pages, dashboards and MCP tools.
15
+ Update plugins while keeping their data.
16
+
17
+ ## Quick start
18
+
19
+ With [uv](https://docs.astral.sh/uv/getting-started/installation/) installed,
20
+ start the Entry Register demo:
21
+
22
+ ```sh
23
+ uv tool install toolframe
24
+ toolframe --home ./my-app init \
25
+ --template entry-register
26
+ toolframe --home ./my-app serve
27
+ ```
28
+
29
+ In another terminal, get the sign-in link:
30
+
31
+ ```sh
32
+ toolframe --home ./my-app open
33
+ ```
34
+
35
+ The demo includes a Streamlit Dashboard, MCP tools and SQLite storage. It listens
36
+ on `127.0.0.1:9876`; keep `my-app` to retain its configuration and data.
37
+ After stopping it, restart from `my-app` with `toolframe` or `toolframe serve`.
38
+ Without a persistent CLI installation, use `uvx toolframe` from the same directory.
39
+ See [application home and restart](docs/operations.md#application-home-and-restart)
40
+ for other locations and startup diagnostics.
41
+
42
+ **Requirements:** macOS 12+ or Linux glibc 2.28+, on ARM64 or x86-64.
43
+ First run downloads Python and packages. Windows and musl Linux are unsupported.
44
+ See [runtime setup](docs/runtime.md) for offline use and other installation details.
45
+
46
+ **Access:** Dashboard business access and MCP start public; llms documents remain
47
+ public. Configure [authentication](docs/authentication.md) before sharing over a
48
+ network. Plugins run trusted Python code; process isolation is not a sandbox.
49
+
50
+ ## Build a plugin
51
+
52
+ Open an agent in `my-app` and invoke `$toolframe-plugin-design` with your app idea.
53
+ `init` installs this skill in `my-app/.agents/skills/`.
54
+
55
+ For manual development, follow [plugin authoring](docs/authoring.md), or start with
56
+ an HTML Notes app in the [Web guide](docs/web.md). Storage, authentication and
57
+ presentation are separate plugins you choose for your application.
58
+
59
+ ## Guides
60
+
61
+ | I want to… | Start here |
62
+ | --- | --- |
63
+ | Choose a recipe or control versions | [Application recipes](docs/application-templates.md) |
64
+ | Install, update or reload plugins | [Operator guide](docs/operations.md) |
65
+ | Choose where data lives | [SQL](docs/sql-storage.md) · [Files](docs/object-storage.md) |
66
+ | Set up access | [Dashboard](docs/authentication.md) · [MCP](docs/mcp-authentication.md) · [OIDC](docs/oidc-authentication.md) |
67
+ | Deploy an application | [Docker](docs/container.md) · [PostgreSQL Core state](docs/postgresql-state.md) |
68
+ | Understand how Core works | [Architecture](docs/architecture.md) · [Glossary](docs/glossary.md) |
69
+ | Contribute or run checks | [Contributing](CONTRIBUTING.md) · [Testing](docs/testing.md) · [CI](docs/ci.md) |
70
+
71
+ [Changelog](CHANGELOG.md) · [Releases](https://github.com/toolframe/toolframe-core/releases)
72
+
73
+ ## License
74
+
75
+ Core and the launcher: [Apache 2.0](LICENSE), with [NOTICE](NOTICE).
76
+ The bundled [agent guide](src/toolframe_core/bundled_skills/toolframe-plugin-design/LICENSE)
77
+ and [basic template](src/toolframe_core/basic_template/LICENSE): MIT.
@@ -18,6 +18,10 @@ see [plugin authoring](authoring.md).
18
18
 
19
19
  ## Initialization
20
20
 
21
+ Initialization refuses to overwrite an existing application or its retained
22
+ plugin artifacts. Choose a new home directory to create another application;
23
+ use the update workflow below to change an existing one.
24
+
21
25
  For each index range, initialization chooses the newest available stable,
22
26
  non-yanked release satisfying the declared range, Python/platform metadata and
23
27
  dependencies. Core's exact SDK selection is held fixed. A plugin's declared Core
@@ -1,5 +1,12 @@
1
1
  # Distribution-provided plugin templates
2
2
 
3
+ When delivering a complete app, honor the user's explicit file and directory
4
+ destinations. With no selected application home, use the delivered project root.
5
+ Preserve existing application homes when extending them. Keep initial preparation
6
+ separate from the official CLI [restart workflow](operations.md#application-home-and-restart),
7
+ and verify restart, retained data and the requested user interfaces before handoff.
8
+ Plugin-only generation remains separate from application setup.
9
+
3
10
  `toolframe plugin new NAME` creates `toolframe-core/basic`: a minimal package,
4
11
  plugin definition, bounded echo service and test. It requires only the SDK, with
5
12
  no SQL, Web, Dashboard or MCP resources. Generate into a new directory:
@@ -217,3 +224,49 @@ Official catalog updates must pass `scripts/check-authoring-catalog.py --wheelho
217
224
  PATH` with matching wheels for all listed packages. It compares IDs, titles and
218
225
  descriptions with their manifests; parameters and executable entries are never
219
226
  copied into the catalog.
227
+
228
+ ## Agent guidance
229
+
230
+ `init` installs the bundled `toolframe-plugin-design` skill at
231
+ `APP/.agents/skills/toolframe-plugin-design`. Open an agent session in the
232
+ application directory and invoke `$toolframe-plugin-design` with your business
233
+ requirements. Existing sessions may need to refresh skill discovery.
234
+
235
+ The guide covers domain and data design, SDK services, managed SQL, optional
236
+ Web/Streamlit/MCP resources and installed-application validation. Install it in
237
+ an existing application, or obtain a separate copy:
238
+
239
+ ```sh
240
+ toolframe --home APP skill install
241
+ toolframe --home APP skill install --output ./toolframe-plugin-design --json
242
+ ```
243
+
244
+ `--output` names the exact skill directory. Installation needs no running server,
245
+ application configuration or management token. Global agent settings remain
246
+ unchanged. The skill has its own semantic version in the `SKILL.md` YAML
247
+ frontmatter. `.toolframe-install.json` records that version and the SHA-256 of
248
+ every shipped file as the baseline for later updates.
249
+
250
+ After a binary update, `serve` refreshes the skill before starting Core.
251
+ Unmodified copies update automatically. Modified, added or deleted files require
252
+ confirmation in an interactive terminal; the default answer keeps the local
253
+ copy. Noninteractive startup keeps customizations, prints resolution
254
+ instructions and continues serving. It does not repeatedly ask about a
255
+ customized copy when the binary still ships the same skill. `skill install`
256
+ explicitly checks for replacement.
257
+
258
+ JSON or noninteractive `skill install` returns exit 5 and
259
+ `confirmation_required: true` when a decision is needed. After confirmation,
260
+ `skill install --overwrite` replaces the copy and saves the customized files in
261
+ a sibling ZIP archive. Use `--output` to compare or merge a separate copy instead.
262
+ Destinations that are files or contain symlinks are retained; choose a new
263
+ directory in those cases. Results report `installed`, `updated`, `unchanged` or
264
+ `preserved`.
265
+
266
+ Updates affect only the installed skill. Generated or customized business
267
+ plugins under `APP/plugins/`, or an explicit output directory, remain unchanged.
268
+ The skill's top-level `evals/` directory is development-only and excluded from
269
+ the Core wheel, installed copies and receipt. Upgrading an unmodified older
270
+ copy removes previously bundled evals and their receipt entries. Customized
271
+ copies retain the confirmation and backup protections above. See
272
+ [testing](testing.md) for delivery checks and structural-validation limits.
@@ -100,6 +100,27 @@ of local Git objects. Validation records the exact dependency pins, environment,
100
100
  results and temporary workspace path. Keep historical evidence in CI artifacts
101
101
  or ignored local directories.
102
102
 
103
+ ## Local verification storage
104
+
105
+ The CI validator and `verify-*.py` checks that create application homes use owned
106
+ scratch directories under `build/verification/`. A successful check saves its
107
+ requested report and adjacent `<report>.logs/<run>/` diagnostics before removing
108
+ the scratch environment. `workspace.json` in that diagnostics directory records
109
+ whether the environment was retained; workspace paths in older reports are
110
+ historical and need not still exist. Distributions, XML results and requested
111
+ reports stay in their output directories for subsequent validation or publication.
112
+
113
+ Failed checks retain the latest failed workspace per verifier for up to seven
114
+ days. The next invocation prunes superseded or expired owned workspaces after
115
+ checking process command lines and open files. Install POSIX `ps` and `lsof` for
116
+ automatic cleanup; unknown activity, changed ownership and active processes keep
117
+ the workspace intact. Existing unmarked temporary directories are not adopted.
118
+ An owned workspace left by an exited verifier first gets a lifecycle report and
119
+ saved logs; it is eligible for pruning only when its remaining processes are idle.
120
+ Set `TOOLFRAME_KEEP_TEST_WORKSPACE=1` to retain a workspace explicitly, including
121
+ after success. Supplied runtime roots and existing applications remain outside
122
+ the disposable boundary.
123
+
103
124
  ## Artifacts and consumer checks
104
125
 
105
126
  Python validation installs the locked workspace without editable packages so
@@ -13,11 +13,11 @@ Create a named volume, initialize an application and start the server:
13
13
  docker volume create toolframe-data
14
14
  docker run --rm --cap-drop ALL --security-opt no-new-privileges:true \
15
15
  -v toolframe-data:/data \
16
- ghcr.io/toolframe/toolframe:0.8.2 init --template entry-register
16
+ ghcr.io/toolframe/toolframe:0.8.3 init --template entry-register
17
17
  docker run -d --name toolframe --restart unless-stopped \
18
18
  --cap-drop ALL --security-opt no-new-privileges:true \
19
19
  --stop-timeout 40 -p 127.0.0.1:9876:9876 -v toolframe-data:/data \
20
- ghcr.io/toolframe/toolframe:0.8.2
20
+ ghcr.io/toolframe/toolframe:0.8.3
21
21
  ```
22
22
 
23
23
  Open `http://localhost:9876`. To obtain the management sign-in link:
@@ -33,14 +33,14 @@ Initialization is explicit; startup never overwrites an existing configuration.
33
33
 
34
34
  The default command is `serve --host 0.0.0.0`. The example publishes the gateway
35
35
  only on the host's loopback interface. For LAN access, publish `9876:9876` and
36
- follow the [network and access guidance](../README.md#lan-access).
36
+ follow the [network and access guidance](operations.md#lan-access).
37
37
 
38
38
  ## Choose an image
39
39
 
40
40
  | Tag | Contents and intended use |
41
41
  | --- | --- |
42
- | `0.8.2` | Debian 13 slim, shell, Git, process tools and the Toolframe runtime. Supports Git plugin sources and interactive diagnosis. |
43
- | `0.8.2-distroless` | Google Distroless Debian 13 C/C++ runtime, Toolframe, uv, managed Python, Tini and the `ps` dependencies required by Core. No shell, Git or OS package manager. |
42
+ | `0.8.3` | Debian 13 slim, shell, Git, process tools and the Toolframe runtime. Supports Git plugin sources and interactive diagnosis. |
43
+ | `0.8.3-distroless` | Google Distroless Debian 13 C/C++ runtime, Toolframe, uv, managed Python, Tini and the `ps` dependencies required by Core. No shell, Git or OS package manager. |
44
44
  | `latest` | Standard image for the latest stable Core release. |
45
45
  | `distroless` | Distroless image for the latest stable Core release. |
46
46
 
@@ -51,7 +51,7 @@ and Python/Core preparation path. Base images and uv are pinned by
51
51
  multi-platform digest in the Dockerfile.
52
52
 
53
53
  To use Distroless, replace the image in both quick-start commands with
54
- `ghcr.io/toolframe/toolframe:0.8.2-distroless`. It retains uv because Toolframe
54
+ `ghcr.io/toolframe/toolframe:0.8.3-distroless`. It retains uv because Toolframe
55
55
  uses it for plugin environments. Python wheels and compatible pure-Python builds
56
56
  work; Git sources, plugins invoking a shell, and native source builds needing
57
57
  compilers or missing system libraries require another image. Neither variant
@@ -0,0 +1,229 @@
1
+ # Operating Toolframe
2
+
3
+ The CLI, management API and Dashboard use the same durable operation engine.
4
+ Use plans to inspect a change before applying it, and operation IDs to inspect
5
+ or cancel work after it starts.
6
+
7
+ The native command is `toolframe`; the Python package entry point is
8
+ `toolframe-core`. Put `--home PATH` before the subcommand to select an application.
9
+ The native launcher's `--version` and `-V` flags print its version without
10
+ preparing Python or contacting a package index.
11
+
12
+ ## Plugin sources and candidates
13
+
14
+ Plugins can come from these sources:
15
+
16
+ | Source | Form |
17
+ | --- | --- |
18
+ | Local directory | `path:/absolute/directory` |
19
+ | Git revision | `git+https://host/repo.git@ref#subdirectory=path` |
20
+ | Wheel | A wheel file or HTTPS wheel URL |
21
+ | Package index | `pypi:distribution==version` or a bounded version range |
22
+
23
+ Git refs resolve to full commits. Local edits receive new content identities even
24
+ when the package version stays the same. Workers execute captured wheels, not live
25
+ editable imports. Each wheel supplies one `toolframe.plugins` entry point and one
26
+ stable plugin ID.
27
+
28
+ `plugin add` installs and validates a package, leaving it disabled unless you pass
29
+ `--enable`. Validation reports capture/build, environment, import, configuration
30
+ and resource preflight separately. `plugin validate ID --runtime` exercises a
31
+ temporary application and store; it does not certify live business health.
32
+
33
+ `plugin update ID` resolves the source again and stages a candidate without
34
+ changing the active generation. Use it to pick up new wheel bytes or dependency
35
+ resolution, or pass `--source SOURCE` to change the requested source or version.
36
+ Named application recipes select compatible stable versions during initialization,
37
+ write exact sources and locks, and retain their original ranges for explicit
38
+ updates. See [application recipes](application-templates.md) for selection,
39
+ isolation and offline behavior.
40
+
41
+ Review and apply the update:
42
+
43
+ ```sh
44
+ toolframe --home ./my-app plan --action reload --id plugin-id --json
45
+ # Replace PLAN_ID with result.plan_id from the completed plan.
46
+ toolframe --home ./my-app plugin reload plugin-id --plan-id PLAN_ID
47
+ toolframe --home ./my-app plugin status plugin-id --json --check
48
+ ```
49
+
50
+ A plan binds the candidate content, composition revision, worker generations,
51
+ catalog and schema history. Changed inputs produce a stale-plan error. `reload`
52
+ does not enable a disabled plugin; use `enable` to restore its services, pages
53
+ and tools. Status distinguishes the installed candidate, active generation,
54
+ recent health, missing dependencies and last operation.
55
+
56
+ `enable` and `apply` reuse the latest installed candidate when its source matches
57
+ the composition, even after the original source or an older binary bundle has
58
+ been removed. They verify the retained wheel and rerun import/configuration
59
+ preflight. `reload` and `validate` also retain installed index selections,
60
+ including `pypi:package>=minimum,<ceiling` ranges. Local directories, wheel paths
61
+ and Git refs are captured afresh. A missing or modified retained wheel is an error
62
+ rather than an implicit package upgrade. Missing environments are restored from
63
+ their exact locks when the runtime profile is unchanged; required dependencies
64
+ must be cached or downloadable.
65
+
66
+ `plugin stop ID --force` explicitly terminates workers. A manual stop remains
67
+ fenced until `enable`, `reload` or `apply` explicitly resumes it. Normal reload
68
+ drains admitted work and requires cleanup before starting a replacement. See
69
+ [lifecycle and recovery](architecture.md#workers-reload-and-recovery) for drain
70
+ timeouts, failed activation and schema-repair rules.
71
+
72
+ ## Application home and restart
73
+
74
+ The application home contains `toolframe.toml`, `toolframe.lock`, private
75
+ `.toolframe/` runtime state and persistent `data/`. Keep that home to retain the
76
+ application's identity, credentials and records. Keep private state and
77
+ credentials out of version control. Plugin source can live in a separate
78
+ directory; installing a wheel makes routine startup independent of the author's
79
+ virtual environment and build tools.
80
+
81
+ Once setup has prepared the application, run the official CLI from its home:
82
+
83
+ ```sh
84
+ cd my-app
85
+ toolframe serve
86
+ ```
87
+
88
+ The native launcher accepts `toolframe` with no arguments as well. `uvx toolframe`
89
+ is the equivalent tool-runner entry point. These commands select the current
90
+ directory; they do not search parent directories or hidden QA homes. For an
91
+ explicitly selected home, use `toolframe --home /path/to/app serve`. First-time
92
+ asset builds, provider installation and credential provisioning are setup work;
93
+ routine restart does not require a project-specific startup script or repeat setup.
94
+ Native runtime downloads on a fresh machine are described in the
95
+ [runtime guide](runtime.md).
96
+
97
+ Startup prints the selected home, configuration path, application identity and
98
+ Core version. Run `toolframe status --check` from that home to verify application
99
+ readiness, then check the intended page or client. A listening management server
100
+ does not by itself mean the business application is ready.
101
+
102
+ Starting from a directory without `toolframe.toml` or an existing local Core
103
+ journal fails with `application_not_initialized` (exit 2), before creating app
104
+ state or installing a skill. Run `toolframe init` in the intended new home, or
105
+ select the existing home with `--home`. An existing journal, or explicitly
106
+ configured PostgreSQL journal, retains its recovery path when configuration is
107
+ missing or invalid. The CLI marks that application not ready while keeping
108
+ management recovery available; repair the selected configuration before applying
109
+ changes. It does not silently choose a different application.
110
+
111
+ ## Composition and local development
112
+
113
+ `toolframe.toml` holds the desired configuration. `toolframe.lock` records exact
114
+ artifacts and environments; the Core journal records actual generations,
115
+ candidates, interrupted operations and recovery information. CLI and API edits
116
+ compare revisions and replace TOML atomically. Use `--expected-revision` to
117
+ protect a managed edit against concurrent changes.
118
+
119
+ After editing TOML manually, run `plan`, review its result, then run
120
+ `apply --plan-id PLAN_ID`. Invalid TOML remains visible through management so
121
+ operators can diagnose and repair it.
122
+
123
+ `export --output PATH` writes a reviewable composition without overwriting an
124
+ existing file. Exports and management views redact schema-marked secrets and
125
+ credentials. Restore required secrets from the operator's original configuration
126
+ before applying an exported copy.
127
+
128
+ For local distributions, set `[packages] find_links=["/absolute/wheelhouse"]`.
129
+ `TOOLFRAME_WHEELHOUSE` provides the equivalent launcher/host override. Verified
130
+ Intel companion wheels do not add cache paths to `toolframe.toml`; explicit local
131
+ wheels with the same filename take precedence for plugin resolution. See
132
+ [runtime preparation](runtime.md#package-sources-and-companion-wheels).
133
+
134
+ Set `watch=true` on a local plugin to enable stable, debounced validation and
135
+ reload. Watch does not enable disabled or manually stopped plugins, migrate
136
+ existing data, force termination or restart Core.
137
+
138
+ ## LAN access
139
+
140
+ The default listener is `127.0.0.1`. Override it for one run:
141
+
142
+ ```sh
143
+ toolframe --home ./my-app serve --host 0.0.0.0
144
+ ```
145
+
146
+ To save the listener when creating an application:
147
+
148
+ ```sh
149
+ toolframe --home ./my-app init --template entry-register --host 0.0.0.0
150
+ toolframe --home ./my-app serve
151
+ ```
152
+
153
+ For an existing application, set `host = "0.0.0.0"` under `[application]` in
154
+ `toolframe.toml` and restart Core. `serve --host` overrides that value for its
155
+ process without editing the composition. A specific LAN IP or IPv6 address is
156
+ also supported; use `--host ::` for all IPv6 interfaces. Host values must be IP
157
+ addresses or `localhost`, without a URL, brackets or port.
158
+
159
+ On another device, open `http://SERVER_LAN_IP:9876` using the server's numeric
160
+ address, not the wildcard bind address. `toolframe open` and management commands
161
+ use a connectable local address when Core binds a wildcard.
162
+ `.toolframe/endpoint.json` records the effective listener, including a temporary
163
+ `serve --host` override. Provider worker ports remain private loopback listeners
164
+ behind Core.
165
+
166
+ Host/Origin checks reject arbitrary DNS names and cross-origin browser requests.
167
+ Use the numeric IP for LAN access, or configure a canonical HTTPS origin as
168
+ described in [OIDC authentication](oidc-authentication.md). Dashboard passwords,
169
+ MCP bearer keys and explicitly published HTTP APIs have separate access rules;
170
+ llms documents remain public. See [authentication](authentication.md) and
171
+ [MCP authentication](mcp-authentication.md).
172
+
173
+ ## Management API and operation history
174
+
175
+ Management requires direct local control, a bearer token/sign-in cookie or an
176
+ access password with the required system scopes. The management token is stored
177
+ in `.toolframe/management.token` with owner-only permissions.
178
+
179
+ | Interface | Contract |
180
+ | --- | --- |
181
+ | `/_toolframe/v1/status` | Core health, application readiness, candidates, observed generations and dependency/impact graph |
182
+ | `/_toolframe/v1/readiness` | HTTP 200 when required capabilities are ready; otherwise 503. Reports `ready` and optional `degraded` independently. |
183
+ | `/_toolframe/v1/operations` | GET history; POST `{ "action": "reload", "params": { "id": "plugin-id" } }` returns HTTP 202. |
184
+ | `/_toolframe/v1/operations/{id}` | Durable operation status; POST to `/_toolframe/v1/operations/{id}/cancel` requests cancellation at a safe boundary. |
185
+ | `/_toolframe/v1/composition` | TOML text and its revision |
186
+ | `/_toolframe/v1/services/{owner}/{service}/{method}` | Authenticated JSON business-service calls |
187
+ | `/healthz` | Public Core liveness, independent of application readiness |
188
+
189
+ Operation history uses permanent, increasing `sequence` numbers, newest first.
190
+ The Dashboard displays each number with its creation time in the browser's time
191
+ zone. It defaults to 10 rows per page, with 25 and 50 also available. Plugin,
192
+ action and result filters query the entire journal, including removed plugins.
193
+ Previews use labels such as `plan reload`. The Dashboard can reload its own
194
+ provider and reconnect while Core completes the operation.
195
+
196
+ `GET /_toolframe/v1/operations?page=1&page_size=10` returns `items`, `page`,
197
+ `pages`, `page_size`, `total`, `through`, `newer_count` and filter choices.
198
+ Optional `target`, `kind` and `status` filters combine with AND; empty `target=`
199
+ selects application-level operations. Page size is bounded to 1–100.
200
+
201
+ Send the returned `through` on subsequent pages to exclude newer arrivals until
202
+ an explicit refresh. Statuses remain current, so a changing status can alter the
203
+ filtered count. Out-of-range pages clamp to the last page. Requests without
204
+ query parameters return the legacy list of the latest 50 operations.
205
+
206
+ History reads require `system.plugins.read` and redact secrets. The Dashboard
207
+ uses the same query through `context.manage("operations", params)`. Reading or
208
+ filtering history never creates a journal operation.
209
+
210
+ ## Automation and exit codes
211
+
212
+ Mutations support `Idempotency-Key`. Identical retries return the original
213
+ operation, even if it changed the composition revision. A different request with
214
+ the same key returns a conflict.
215
+
216
+ Client disconnect does not cancel host work. CLI `--no-wait` returns the operation
217
+ ID immediately; use `operation status ID` or `operation cancel ID` later.
218
+
219
+ Use `--json` for structured output and `status --check` when readiness should
220
+ affect the exit code:
221
+
222
+ | Code | Meaning |
223
+ | --- | --- |
224
+ | 0 | Success or accepted work |
225
+ | 2 | Input or configuration error |
226
+ | 3 | Validation or readiness failure |
227
+ | 4 | Runtime or recovery failure |
228
+ | 5 | Stale plan or conflict |
229
+ | 130 | Cancellation |
@@ -15,7 +15,7 @@ business databases. Do not provision Core tables in a business-provider database
15
15
  Install the coordinated Core release with its optional driver:
16
16
 
17
17
  ```sh
18
- pip install 'toolframe-core[postgres]==0.8.2'
18
+ pip install 'toolframe-core[postgres]==0.8.3'
19
19
  toolframe-core --home ./app init
20
20
  ```
21
21