toolframe-core 0.8.3__tar.gz → 0.8.4__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.
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.dockerignore +2 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.github/actions/scan-container/action.yml +28 -4
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.github/dependabot.yml +6 -6
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.github/workflows/ci.yml +13 -1
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.github/workflows/container.yml +8 -22
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.github/workflows/launcher.yml +1 -1
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.github/workflows/publish.yml +81 -4
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.github/workflows/validate.yml +1 -1
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/CHANGELOG.md +22 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/Cargo.lock +3 -3
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/Cargo.toml +1 -1
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/Dockerfile +8 -5
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/PKG-INFO +1 -1
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/ci.md +9 -4
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/container.md +22 -12
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/dependency-graph.md +10 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/postgresql-state.md +1 -1
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/releasing.md +36 -8
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/runtime.md +7 -5
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/web.md +1 -1
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/pyproject.toml +1 -1
- toolframe_core-0.8.4/scripts/ci/test_verify_native_downloads.py +249 -0
- toolframe_core-0.8.4/scripts/ci/verify-native-downloads.py +262 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/prepare-container.py +22 -2
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/verify-container.py +9 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/main.rs +8 -8
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/__init__.py +1 -1
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/authoring_catalog.json +1 -1
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/evals/cases.json +20 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/cli.py +26 -1
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/diagnostics.py +50 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/host.py +14 -9
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/uv.rs +40 -40
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/dependencies.py +1 -1
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_ci_artifacts.py +18 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_cli.py +4 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_container_release.py +29 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_diagnostics.py +60 -0
- toolframe_core-0.8.4/uv-release-manifest.txt +9 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/uv.lock +1 -1
- toolframe_core-0.8.3/uv-release-manifest.txt +0 -9
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.github/workflows/container-security.yml +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.github/workflows/pr-policy.yml +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.github/workflows/quality.yml +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.gitignore +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/.pre-commit-config.yaml +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/CONTRIBUTING.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/LICENSE +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/NOTICE +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/README.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/authoring.json +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/cchk.toml +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/companion-wheels.txt +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0001-explicit-dashboard-access-mode.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0002-scoped-passwords-and-public-business-entrances.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0003-public-fallback-on-auth-error-or-disablement.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0004-separate-auth-ownership-from-dashboard-presentation.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0005-password-only-login-and-secret-reuse.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0006-require-explicit-plugin-authorization-contracts.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0007-independent-mcp-bearer-authentication.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0008-shared-oidc-authentication.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0009-replaceable-core-journal.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0010-multiple-sql-providers.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0011-safe-new-application-access.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0012-optional-runtime-tracing.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0013-context-logging.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0014-web-presentation.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0015-distribution-authoring.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/adr/0016-plugin-compatibility.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/application-templates.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/architecture.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/artifacts.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/assets/readme-banner-dark.png +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/assets/readme-banner-light.png +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/authentication.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/authoring.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/glossary.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/intel-companion.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/mcp-authentication.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/object-storage.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/offline-maintenance.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/oidc-authentication.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/operations.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/sql-storage.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/testing.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/docs/tracing.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/packaging/launcher/NOTICE +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/packaging/launcher/README.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/packaging/launcher/pyproject.toml +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/build-launcher.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/build-release.sh +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/check-authoring-catalog.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/check-container-security.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/check_branch_name.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/ci/artifacts.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/ci/check-launcher-wheel.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/ci/check-postgres.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/ci/check-release.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/ci/dependencies.json +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/ci/intel-companion.json +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/ci/intel_companion.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/ci/prepare-launcher.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/ci/validate.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/container-healthcheck.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/dev-wheelhouse.sh +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/harden-container.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/verification_workspace.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/verify-auth-upgrade.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/verify-auth.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/verify-dependencies.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/verify-network.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/verify-operation-history.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/verify-release.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/verify-retained-plugins.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/verify-scaffold.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/scripts/verify-skill.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/companions.rs +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/_state_postgres.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/_state_sqlite.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/access.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/api.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/authoring.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/authoring_metadata.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/authoring_runner.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/LICENSE +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/README.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/pyproject.toml +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/src/toolframe_basic/__init__.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/src/toolframe_basic/plugin.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/src/toolframe_basic/service.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/tests/test_service.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/LICENSE +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/SKILL.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/agents/openai.yaml +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/design.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/operations.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/plugin-api.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/web-authoring.md +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/config.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/gateway.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/graph.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/lockfile.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/maintenance.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/mcp_access.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/network.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/oidc_access.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/packages.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/process.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/redaction.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/scaffold.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/selection.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/skills.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/state.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/state_admin.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/stores.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/templates.json +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/templates.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/web_access.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/web_build.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/src/toolframe_core/web_gateway.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_acceptance.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_access_policy.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_architecture.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_auth.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_authoring.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_bundles.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_ci_dependencies.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_cli_startup.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_container_security.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_cookie_security.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_core_state.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_dashboard_policy.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_foundations.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_host.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_intel_companion.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_maintenance.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_managed_tasks.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_mcp_auth.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_mixed_storage.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_network.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_object_store.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_oidc.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_operation_history.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_package_selection.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_process.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_redaction.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_release_verifier_lifecycle.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_retained_plugins.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_scaffold.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_skills.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_storage_bindings.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_templates.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_tracing.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_verification_workspace.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_web.py +0 -0
- {toolframe_core-0.8.3 → toolframe_core-0.8.4}/tests/test_web_boundaries.py +0 -0
|
@@ -13,10 +13,34 @@ inputs:
|
|
|
13
13
|
runs:
|
|
14
14
|
using: composite
|
|
15
15
|
steps:
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
- name: Install the verified scanner from GitHub Releases
|
|
17
|
+
shell: bash
|
|
18
|
+
env:
|
|
19
|
+
TRIVY_VERSION: '0.76.0'
|
|
20
|
+
run: |
|
|
21
|
+
case "$RUNNER_ARCH" in
|
|
22
|
+
X64)
|
|
23
|
+
architecture=64bit
|
|
24
|
+
checksum=e24b1c51293c1b15e4ba8d45bbc7891ba053f90278ec2698f3562c993e145fe7
|
|
25
|
+
;;
|
|
26
|
+
ARM64)
|
|
27
|
+
architecture=ARM64
|
|
28
|
+
checksum=aab21e677a7b7071fc79f1711480840754c18a1b9d9cefa7ccd06af63a0e8f4c
|
|
29
|
+
;;
|
|
30
|
+
*) echo "Unsupported scanner architecture: $RUNNER_ARCH" >&2; exit 1 ;;
|
|
31
|
+
esac
|
|
32
|
+
archive="trivy_${TRIVY_VERSION}_Linux-${architecture}.tar.gz"
|
|
33
|
+
directory="$RUNNER_TEMP/toolframe-trivy"
|
|
34
|
+
mkdir -p "$directory"
|
|
35
|
+
curl --proto '=https' --proto-redir '=https' --tlsv1.2 \
|
|
36
|
+
--fail --silent --show-error --location --retry 3 --retry-all-errors \
|
|
37
|
+
--connect-timeout 15 --max-time 180 \
|
|
38
|
+
--output "$directory/$archive" \
|
|
39
|
+
"https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/$archive"
|
|
40
|
+
printf '%s %s\n' "$checksum" "$directory/$archive" | sha256sum --check --strict
|
|
41
|
+
tar -xzf "$directory/$archive" -C "$directory" trivy
|
|
42
|
+
"$directory/trivy" --version
|
|
43
|
+
echo "$directory" >> "$GITHUB_PATH"
|
|
20
44
|
- name: Scan every severity and keep the package inventory
|
|
21
45
|
shell: bash
|
|
22
46
|
env:
|
|
@@ -17,17 +17,17 @@ updates:
|
|
|
17
17
|
# Catch every version and security update, including major versions.
|
|
18
18
|
# To split a dependency out, add a named group before these catch-alls;
|
|
19
19
|
# exclusions would fall back to noncompliant solo dependency/version names.
|
|
20
|
-
|
|
20
|
+
containers:
|
|
21
21
|
applies-to: version-updates
|
|
22
22
|
patterns: ['*']
|
|
23
|
-
container-
|
|
23
|
+
container-sec:
|
|
24
24
|
applies-to: security-updates
|
|
25
25
|
patterns: ['*']
|
|
26
26
|
ignore:
|
|
27
|
-
# The
|
|
28
|
-
#
|
|
27
|
+
# The launcher accepts uv >=0.13.7,<0.14.0.
|
|
28
|
+
# Validate a new minor series before widening this range.
|
|
29
29
|
- dependency-name: astral-sh/uv
|
|
30
|
-
versions: ['
|
|
30
|
+
versions: ['<0.13.7', '>=0.14.0']
|
|
31
31
|
- package-ecosystem: github-actions
|
|
32
32
|
directory: /
|
|
33
33
|
schedule:
|
|
@@ -42,7 +42,7 @@ updates:
|
|
|
42
42
|
prefix: chore
|
|
43
43
|
template: '{prefix}/{name}'
|
|
44
44
|
groups:
|
|
45
|
-
actions
|
|
45
|
+
actions:
|
|
46
46
|
applies-to: version-updates
|
|
47
47
|
patterns: ['*']
|
|
48
48
|
actions-security:
|
|
@@ -33,10 +33,19 @@ jobs:
|
|
|
33
33
|
rebuild: ${{ inputs.rebuild || false }}
|
|
34
34
|
secrets: inherit
|
|
35
35
|
|
|
36
|
+
containers:
|
|
37
|
+
needs: validate
|
|
38
|
+
permissions:
|
|
39
|
+
contents: read
|
|
40
|
+
packages: write
|
|
41
|
+
uses: ./.github/workflows/container.yml
|
|
42
|
+
with:
|
|
43
|
+
release_artifacts: true
|
|
44
|
+
|
|
36
45
|
result:
|
|
37
46
|
name: CI result
|
|
38
47
|
if: always()
|
|
39
|
-
needs: [quality, validate]
|
|
48
|
+
needs: [quality, validate, containers]
|
|
40
49
|
runs-on: ubuntu-24.04
|
|
41
50
|
timeout-minutes: 2
|
|
42
51
|
steps:
|
|
@@ -46,7 +55,10 @@ jobs:
|
|
|
46
55
|
env:
|
|
47
56
|
QUALITY_RESULT: ${{ needs.quality.result }}
|
|
48
57
|
VALIDATE_RESULT: ${{ needs.validate.result }}
|
|
58
|
+
CONTAINERS_RESULT: ${{ needs.containers.result }}
|
|
49
59
|
run: |
|
|
50
60
|
echo "Quality: $QUALITY_RESULT; validation: $VALIDATE_RESULT"
|
|
61
|
+
echo "Containers: $CONTAINERS_RESULT"
|
|
51
62
|
test "$QUALITY_RESULT" = success
|
|
52
63
|
test "$VALIDATE_RESULT" = success
|
|
64
|
+
test "$CONTAINERS_RESULT" = success
|
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
name: Container images
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
paths:
|
|
6
|
-
- Dockerfile
|
|
7
|
-
- .dockerignore
|
|
8
|
-
- .github/workflows/container.yml
|
|
9
|
-
- .github/workflows/container-security.yml
|
|
10
|
-
- .github/actions/scan-container/**
|
|
11
|
-
- scripts/*container*.py
|
|
12
|
-
- tests/test_container_*.py
|
|
13
4
|
workflow_call:
|
|
14
5
|
inputs:
|
|
15
6
|
publish:
|
|
16
7
|
type: boolean
|
|
17
8
|
default: false
|
|
18
9
|
release_artifacts:
|
|
19
|
-
description: Use
|
|
10
|
+
description: Use validated launcher and Core artifacts from this workflow run
|
|
20
11
|
type: boolean
|
|
21
12
|
default: false
|
|
22
13
|
workflow_dispatch:
|
|
@@ -64,18 +55,11 @@ jobs:
|
|
|
64
55
|
id: metadata
|
|
65
56
|
env:
|
|
66
57
|
REPOSITORY_OWNER: ${{ github.repository_owner }}
|
|
67
|
-
GH_TOKEN: ${{ github.token }}
|
|
68
58
|
run: |
|
|
69
59
|
version=$(python -c 'import tomllib; print(tomllib.load(open("Cargo.toml", "rb"))["package"]["version"])')
|
|
70
|
-
# PRs exercise packaging with an available public runtime; source CI
|
|
71
|
-
# validates the unreleased Core independently.
|
|
72
|
-
if [ "$GITHUB_EVENT_NAME" = pull_request ]; then
|
|
73
|
-
tag=$(gh release view --repo "$GITHUB_REPOSITORY" --json tagName --jq .tagName)
|
|
74
|
-
version=${tag#v}
|
|
75
|
-
fi
|
|
76
60
|
echo "version=$version" >> "$GITHUB_OUTPUT"
|
|
77
61
|
echo "image=ghcr.io/${REPOSITORY_OWNER,,}/toolframe" >> "$GITHUB_OUTPUT"
|
|
78
|
-
- name: Download the validated
|
|
62
|
+
- name: Download the validated artifacts from this workflow run
|
|
79
63
|
if: inputs.release_artifacts
|
|
80
64
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
81
65
|
with:
|
|
@@ -86,9 +70,11 @@ jobs:
|
|
|
86
70
|
env:
|
|
87
71
|
TOOLFRAME_REPOSITORY_OWNER: ${{ vars.TOOLFRAME_REPOSITORY_OWNER || github.repository_owner }}
|
|
88
72
|
TOOLFRAME_TARGET: ${{ matrix.target }}
|
|
89
|
-
run:
|
|
90
|
-
python scripts/ci/artifacts.py export --bundle build/candidate
|
|
91
|
-
|
|
73
|
+
run: |
|
|
74
|
+
python scripts/ci/artifacts.py export --bundle build/candidate \
|
|
75
|
+
--kind release --target "$TOOLFRAME_TARGET" --output build/container-release
|
|
76
|
+
python scripts/ci/artifacts.py export --bundle build/candidate \
|
|
77
|
+
--kind core --output build/container-python
|
|
92
78
|
- name: Stage the verified executable
|
|
93
79
|
env:
|
|
94
80
|
USE_ARTIFACTS: ${{ inputs.release_artifacts }}
|
|
@@ -97,7 +83,7 @@ jobs:
|
|
|
97
83
|
run: |
|
|
98
84
|
options=()
|
|
99
85
|
if [ "$USE_ARTIFACTS" = true ]; then
|
|
100
|
-
options+=(--release-dir build/container-release)
|
|
86
|
+
options+=(--release-dir build/container-release --wheel-dir build/container-python)
|
|
101
87
|
fi
|
|
102
88
|
python scripts/prepare-container.py --architecture "$ARCH" --version "$VERSION" \
|
|
103
89
|
--repository "$GITHUB_REPOSITORY" "${options[@]}"
|
|
@@ -42,7 +42,7 @@ jobs:
|
|
|
42
42
|
python-version: '3.14.7'
|
|
43
43
|
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
44
44
|
with:
|
|
45
|
-
version: '0.
|
|
45
|
+
version: '0.13.7'
|
|
46
46
|
enable-cache: false
|
|
47
47
|
- name: Install the Rust toolchain
|
|
48
48
|
run: rustup toolchain install 1.94.1 --profile minimal --component rustfmt
|
|
@@ -30,6 +30,8 @@ jobs:
|
|
|
30
30
|
python-version: '3.14.7'
|
|
31
31
|
- name: Require the exact project version tag
|
|
32
32
|
run: python scripts/ci/check-release.py --ref "$GITHUB_REF"
|
|
33
|
+
- name: Check public native download verification
|
|
34
|
+
run: python -m unittest discover -s scripts/ci -p test_verify_native_downloads.py
|
|
33
35
|
|
|
34
36
|
quality:
|
|
35
37
|
needs: release-tag
|
|
@@ -114,6 +116,8 @@ jobs:
|
|
|
114
116
|
timeout-minutes: 10
|
|
115
117
|
permissions:
|
|
116
118
|
contents: write
|
|
119
|
+
id-token: write
|
|
120
|
+
attestations: write
|
|
117
121
|
steps:
|
|
118
122
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
119
123
|
with:
|
|
@@ -129,14 +133,20 @@ jobs:
|
|
|
129
133
|
env:
|
|
130
134
|
TOOLFRAME_REPOSITORY_OWNER: ${{ vars.TOOLFRAME_REPOSITORY_OWNER || github.repository_owner }}
|
|
131
135
|
run: python scripts/ci/artifacts.py export --bundle build/candidate --kind release --output releases
|
|
136
|
+
- name: Prepare the public checksum file
|
|
137
|
+
run: |
|
|
138
|
+
cat releases/SHA256SUMS-*.txt > releases/SHA256SUMS
|
|
139
|
+
(cd releases && sha256sum --check SHA256SUMS)
|
|
140
|
+
- name: Attest the exact release assets from this tag
|
|
141
|
+
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2
|
|
142
|
+
with:
|
|
143
|
+
subject-path: releases/*
|
|
132
144
|
- name: Publish verified executables and checksums
|
|
133
145
|
env:
|
|
134
146
|
GH_TOKEN: ${{ github.token }}
|
|
135
147
|
GH_REPO: ${{ github.repository }}
|
|
136
148
|
RELEASE_TAG: ${{ github.ref_name }}
|
|
137
149
|
run: |
|
|
138
|
-
cat releases/SHA256SUMS-*.txt > releases/SHA256SUMS
|
|
139
|
-
(cd releases && sha256sum --check SHA256SUMS)
|
|
140
150
|
cat > release-notes.txt <<'EOF'
|
|
141
151
|
Install the native CLI with `uv tool install toolframe`, or download the matching archive below and place `toolframe` on PATH. The wheel and archive contain the same executable.
|
|
142
152
|
|
|
@@ -145,10 +155,77 @@ jobs:
|
|
|
145
155
|
Start an application with `toolframe --home ./my-app init --template entry-register`, then `toolframe --home ./my-app serve`. Run `toolframe --home ./my-app open` in another terminal for the local sign-in link.
|
|
146
156
|
EOF
|
|
147
157
|
gh release create "$RELEASE_TAG" --verify-tag --title "Toolframe $RELEASE_TAG" \
|
|
148
|
-
--notes-file release-notes.txt releases/*.tar.gz releases/SHA256SUMS
|
|
158
|
+
--notes-file release-notes.txt releases/*.tar.gz releases/SHA256SUMS \
|
|
159
|
+
releases/SHA256SUMS-*.txt releases/manifest-*.json releases/*.whl
|
|
149
160
|
|
|
150
|
-
|
|
161
|
+
verify-release-downloads:
|
|
162
|
+
name: Public native archive (${{ matrix.target }})
|
|
151
163
|
needs: release-binaries
|
|
164
|
+
runs-on: ${{ matrix.runner }}
|
|
165
|
+
timeout-minutes: 45
|
|
166
|
+
permissions:
|
|
167
|
+
contents: read
|
|
168
|
+
actions: read
|
|
169
|
+
attestations: read
|
|
170
|
+
strategy:
|
|
171
|
+
fail-fast: false
|
|
172
|
+
matrix:
|
|
173
|
+
include:
|
|
174
|
+
- runner: macos-15
|
|
175
|
+
target: aarch64-apple-darwin
|
|
176
|
+
- runner: macos-15-intel
|
|
177
|
+
target: x86_64-apple-darwin
|
|
178
|
+
- runner: ubuntu-24.04-arm
|
|
179
|
+
target: aarch64-unknown-linux-gnu
|
|
180
|
+
- runner: ubuntu-24.04
|
|
181
|
+
target: x86_64-unknown-linux-gnu
|
|
182
|
+
env:
|
|
183
|
+
GH_TOKEN: ${{ github.token }}
|
|
184
|
+
RELEASE_TARGET: ${{ matrix.target }}
|
|
185
|
+
steps:
|
|
186
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
187
|
+
with:
|
|
188
|
+
persist-credentials: false
|
|
189
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
190
|
+
with:
|
|
191
|
+
python-version: '3.14.7'
|
|
192
|
+
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
193
|
+
with:
|
|
194
|
+
version: '0.12.8'
|
|
195
|
+
enable-cache: false
|
|
196
|
+
- name: Download this run's trusted comparison bundle
|
|
197
|
+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
198
|
+
with:
|
|
199
|
+
name: validated-release
|
|
200
|
+
path: build/candidate/
|
|
201
|
+
- name: Download and verify public assets before execution
|
|
202
|
+
run: |
|
|
203
|
+
python scripts/ci/verify-native-downloads.py \
|
|
204
|
+
--bundle build/candidate --output build/public-native \
|
|
205
|
+
--repository "$GITHUB_REPOSITORY" --tag "$GITHUB_REF_NAME" \
|
|
206
|
+
--commit "$GITHUB_SHA" --run-id "$GITHUB_RUN_ID" \
|
|
207
|
+
--target "$RELEASE_TARGET"
|
|
208
|
+
- name: Exercise the public archive with published dependencies
|
|
209
|
+
run: |
|
|
210
|
+
python scripts/verify-release.py \
|
|
211
|
+
--binary build/public-native/bin/toolframe \
|
|
212
|
+
--architecture "$(python -c 'import platform; print(platform.machine())')" \
|
|
213
|
+
--output build/public-native/acceptance.json
|
|
214
|
+
python scripts/verify-skill.py \
|
|
215
|
+
--binary build/public-native/bin/toolframe \
|
|
216
|
+
--output build/public-native/skill.json
|
|
217
|
+
- name: Retain public download verification and acceptance evidence
|
|
218
|
+
if: always()
|
|
219
|
+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
220
|
+
with:
|
|
221
|
+
name: public-native-${{ matrix.target }}
|
|
222
|
+
path: build/public-native/*.json
|
|
223
|
+
if-no-files-found: warn
|
|
224
|
+
overwrite: true
|
|
225
|
+
retention-days: 30
|
|
226
|
+
|
|
227
|
+
publish-containers:
|
|
228
|
+
needs: [release-binaries, verify-release-downloads]
|
|
152
229
|
permissions:
|
|
153
230
|
contents: read
|
|
154
231
|
packages: write
|
|
@@ -4,6 +4,28 @@ For installation and platform support, see the [README](README.md).
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## v0.8.4 — 2026-11-11
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Plugin status explains disabled, blocked and degraded plugins and includes
|
|
12
|
+
repair commands in CLI and JSON output.
|
|
13
|
+
|
|
14
|
+
### Security
|
|
15
|
+
|
|
16
|
+
- Require uv >=0.13.7,<0.14 with patched Rustls in the launcher and containers.
|
|
17
|
+
- Refresh Debian and Distroless base images and rebuild OS packages to include
|
|
18
|
+
the available apt and zlib security fixes.
|
|
19
|
+
|
|
20
|
+
### Upgrade notes
|
|
21
|
+
|
|
22
|
+
- Update the launcher and Core together; a custom `TOOLFRAME_UV` executable must
|
|
23
|
+
satisfy the [uv compatibility range](docs/runtime.md).
|
|
24
|
+
- Back up the application, then recreate its container with the existing data
|
|
25
|
+
volume as described in the [upgrade guide](docs/container.md#data-permissions-and-upgrades).
|
|
26
|
+
|
|
27
|
+
[Full changelog](https://github.com/toolframe/toolframe-core/compare/v0.8.3...v0.8.4)
|
|
28
|
+
|
|
7
29
|
## v0.8.3 — 2026-10-26
|
|
8
30
|
|
|
9
31
|
### Changed
|
|
@@ -852,9 +852,9 @@ dependencies = [
|
|
|
852
852
|
|
|
853
853
|
[[package]]
|
|
854
854
|
name = "rustls"
|
|
855
|
-
version = "0.23.
|
|
855
|
+
version = "0.23.46"
|
|
856
856
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
857
|
-
checksum = "
|
|
857
|
+
checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf"
|
|
858
858
|
dependencies = [
|
|
859
859
|
"once_cell",
|
|
860
860
|
"ring",
|
|
@@ -1186,7 +1186,7 @@ dependencies = [
|
|
|
1186
1186
|
|
|
1187
1187
|
[[package]]
|
|
1188
1188
|
name = "toolframe"
|
|
1189
|
-
version = "0.8.
|
|
1189
|
+
version = "0.8.4"
|
|
1190
1190
|
dependencies = [
|
|
1191
1191
|
"anyhow",
|
|
1192
1192
|
"flate2",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# syntax=docker/dockerfile:1
|
|
2
|
-
FROM ghcr.io/astral-sh/uv:0.
|
|
2
|
+
FROM ghcr.io/astral-sh/uv:0.13.7@sha256:96f40d3904aad8d0bd010539001d36c8e2188b981e1334471a90c4a1d93bb490 AS uv
|
|
3
3
|
|
|
4
|
-
FROM debian:trixie-slim@sha256:
|
|
4
|
+
FROM debian:trixie-slim@sha256:a72b4433de1cf7d6bae0c4cee74d0547f58601a643b3375f070c51600d63b6b2 AS runtime
|
|
5
5
|
ARG TARGETARCH
|
|
6
|
-
ARG TOOLFRAME_VERSION=0.8.
|
|
6
|
+
ARG TOOLFRAME_VERSION=0.8.4
|
|
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" \
|
|
@@ -23,11 +23,13 @@ COPY --from=uv /uv /usr/local/bin/uv
|
|
|
23
23
|
# prepare-container.py verifies the release checksums before staging these files.
|
|
24
24
|
COPY build/container/${TARGETARCH}/toolframe /usr/local/bin/toolframe
|
|
25
25
|
COPY build/container/${TARGETARCH}/LICENSE build/container/${TARGETARCH}/NOTICE /usr/share/doc/toolframe/
|
|
26
|
+
COPY --chown=65532:65532 build/container/wheels/ /opt/toolframe/wheels/
|
|
26
27
|
COPY scripts/container-healthcheck.py /usr/local/lib/toolframe/healthcheck.py
|
|
27
28
|
COPY scripts/harden-container.py /usr/local/lib/toolframe/harden.py
|
|
28
29
|
ENV HOME=/home/nonroot \
|
|
29
30
|
TOOLFRAME_UV=/usr/local/bin/uv \
|
|
30
31
|
TOOLFRAME_RUNTIME_ROOT=/opt/toolframe/runtime \
|
|
32
|
+
TOOLFRAME_WHEELHOUSE=/opt/toolframe/wheels \
|
|
31
33
|
UV_PYTHON_INSTALL_DIR=/opt/toolframe/python \
|
|
32
34
|
UV_CACHE_DIR=/data/.toolframe/uv-cache \
|
|
33
35
|
UV_LINK_MODE=copy \
|
|
@@ -67,8 +69,8 @@ RUN mkdir -p /opt/ps-libs/var/lib/dpkg/status.d \
|
|
|
67
69
|
&& dpkg-query -s procps > /opt/ps-libs/var/lib/dpkg/status.d/procps \
|
|
68
70
|
&& dpkg-query -s tini > /opt/ps-libs/var/lib/dpkg/status.d/tini
|
|
69
71
|
|
|
70
|
-
FROM gcr.io/distroless/cc-debian13:nonroot@sha256:
|
|
71
|
-
ARG TOOLFRAME_VERSION=0.8.
|
|
72
|
+
FROM gcr.io/distroless/cc-debian13:nonroot@sha256:cc66d222f0a7ec996b78a99fe76a969bc80b539a5016ad866c14d1949bc6d0ab AS distroless
|
|
73
|
+
ARG TOOLFRAME_VERSION=0.8.4
|
|
72
74
|
ARG TOOLFRAME_REVISION
|
|
73
75
|
LABEL org.opencontainers.image.source="https://github.com/toolframe/toolframe-core" \
|
|
74
76
|
org.opencontainers.image.title="Toolframe (Distroless)" \
|
|
@@ -88,6 +90,7 @@ COPY --from=runtime --chown=65532:65532 /data/ /data/
|
|
|
88
90
|
ENV HOME=/home/nonroot \
|
|
89
91
|
TOOLFRAME_UV=/usr/local/bin/uv \
|
|
90
92
|
TOOLFRAME_RUNTIME_ROOT=/opt/toolframe/runtime \
|
|
93
|
+
TOOLFRAME_WHEELHOUSE=/opt/toolframe/wheels \
|
|
91
94
|
UV_PYTHON_INSTALL_DIR=/opt/toolframe/python \
|
|
92
95
|
UV_CACHE_DIR=/data/.toolframe/uv-cache \
|
|
93
96
|
UV_LINK_MODE=copy \
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: toolframe-core
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.4
|
|
4
4
|
Summary: Persistent control host for isolated Toolframe plugins
|
|
5
5
|
Project-URL: Homepage, https://github.com/toolframe/toolframe-core
|
|
6
6
|
Project-URL: Repository, https://github.com/toolframe/toolframe-core
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Ordinary CI validates Python distributions, PostgreSQL integration and four native
|
|
4
4
|
launcher wheels, or promotes the matching successful validation bundle.
|
|
5
|
+
It then builds, exercises and scans both container variants on both Linux
|
|
6
|
+
architectures using that run's validated launcher and Core wheel.
|
|
5
7
|
Publication is a separate manual workflow described in [releasing](releasing.md).
|
|
6
8
|
|
|
7
9
|
## Validation workflows
|
|
@@ -16,16 +18,17 @@ Branch policy, lint, formatting and applicable PR commit/title checks must pass
|
|
|
16
18
|
in `quality.yml` before `validate.yml` can start. Publication applies the same
|
|
17
19
|
quality gate after checking its release tag. Quality checks run even when an
|
|
18
20
|
existing validation bundle is reused. Python integration and architecture
|
|
19
|
-
tests run on macOS ARM64. The PostgreSQL job
|
|
21
|
+
tests run on macOS ARM64. The PostgreSQL job runs on Ubuntu 24.04 with matching
|
|
22
|
+
client tools and starts its own PostgreSQL 16 service
|
|
20
23
|
and exercises Core journals, failure recovery and simultaneous SQLite/PostgreSQL
|
|
21
24
|
workers.
|
|
22
25
|
`launcher.yml` builds and exercises native wheels on macOS ARM64, macOS Intel,
|
|
23
26
|
Linux ARM64 and Linux x86-64. Linux wheels use manylinux 2.28 containers. Each job
|
|
24
27
|
has a fresh workspace and uploads only its own validated artifacts.
|
|
25
28
|
|
|
26
|
-
The final `CI result` check succeeds only when
|
|
27
|
-
succeed; failed, cancelled or skipped prerequisites cannot
|
|
28
|
-
result. `pr-policy.yml` also provides a standalone `PR policy` check on PR source
|
|
29
|
+
The final `CI result` check succeeds only when quality, validation and all four
|
|
30
|
+
container checks succeed; failed, cancelled or skipped prerequisites cannot
|
|
31
|
+
produce a green result. `pr-policy.yml` also provides a standalone `PR policy` check on PR source
|
|
29
32
|
updates and metadata edits. This small policy check runs both independently and
|
|
30
33
|
inside the source-validation gate, so a title edit can update a required check
|
|
31
34
|
without cancelling or repeating native builds. Configure both `CI result` and
|
|
@@ -62,6 +65,8 @@ security groups. Catch-all groups include major versions and use compliant
|
|
|
62
65
|
group before the catch-all; exclusions would restore individual branch names.
|
|
63
66
|
|
|
64
67
|
Python 3.14.7, uv 0.12.8, Rust 1.94.1 and Maturin 1.14.1 are the build pins.
|
|
68
|
+
Native launcher acceptance uses uv 0.13.7, matching the managed runtime download
|
|
69
|
+
and container pin.
|
|
65
70
|
Third-party actions use full commit IDs. Runtime uv compatibility is a separate
|
|
66
71
|
contract in [runtime preparation](runtime.md).
|
|
67
72
|
|
|
@@ -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.
|
|
16
|
+
ghcr.io/toolframe/toolframe:0.8.4 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.
|
|
20
|
+
ghcr.io/toolframe/toolframe:0.8.4
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
Open `http://localhost:9876`. To obtain the management sign-in link:
|
|
@@ -39,8 +39,8 @@ follow the [network and access guidance](operations.md#lan-access).
|
|
|
39
39
|
|
|
40
40
|
| Tag | Contents and intended use |
|
|
41
41
|
| --- | --- |
|
|
42
|
-
| `0.8.
|
|
43
|
-
| `0.8.
|
|
42
|
+
| `0.8.4` | Debian 13 slim, shell, Git, process tools and the Toolframe runtime. Supports Git plugin sources and interactive diagnosis. |
|
|
43
|
+
| `0.8.4-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.
|
|
54
|
+
`ghcr.io/toolframe/toolframe:0.8.4-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
|
|
@@ -144,12 +144,16 @@ python3 scripts/verify-container.py --image toolframe:local-distroless \
|
|
|
144
144
|
|
|
145
145
|
Use `linux/amd64` on x86-64. Emulated runs check compatibility but do not replace
|
|
146
146
|
native release checks. `--release-dir PATH` uses already downloaded CI/release
|
|
147
|
-
artifacts. `--
|
|
147
|
+
artifacts. Add `--wheel-dir PATH` to stage the matching Core wheel exported from
|
|
148
|
+
a verified CI bundle; omitting it uses the published package. The wheel remains
|
|
149
|
+
at `/opt/toolframe/wheels` so later commands use the same bootstrap environment.
|
|
150
|
+
`--architecture amd64` or `--architecture arm64` prepares one platform.
|
|
148
151
|
When selecting another release, pass matching versions to the staging script
|
|
149
152
|
(`--version`) and Docker (`--build-arg TOOLFRAME_VERSION`).
|
|
150
153
|
|
|
151
154
|
Verification creates and removes uniquely named containers and a disposable
|
|
152
|
-
volume.
|
|
155
|
+
volume. The installed Core must match the image version. Checks cover
|
|
156
|
+
non-root execution, cold offline Core startup, Tini orphan
|
|
153
157
|
reaping, Dashboard HTTP, an independent MCP connection, llms, plugin reload,
|
|
154
158
|
graceful shutdown and data retention after recreation without a network.
|
|
155
159
|
Interactive Dashboard checks and optional plugins need separate acceptance checks.
|
|
@@ -177,6 +181,8 @@ appears in GitHub Actions and the README security badge; maintainers can enable
|
|
|
177
181
|
workflow failure notifications in their GitHub notification settings. Unfiltered
|
|
178
182
|
JSON, scanner/database metadata and a CycloneDX inventory are retained for seven
|
|
179
183
|
days. These artifacts are inventories, not signed image attestations.
|
|
184
|
+
CI downloads the pinned Trivy archive directly from GitHub Releases and checks
|
|
185
|
+
its architecture-specific SHA-256 before running it.
|
|
180
186
|
|
|
181
187
|
Dependabot checks Docker base/uv pins and GitHub Actions dependencies every
|
|
182
188
|
Monday at 04:23 UTC. Update pull requests require review, all image checks and
|
|
@@ -216,13 +222,17 @@ Native ARM64 and x86-64 jobs build, test and scan both variants; version and sta
|
|
|
216
222
|
alias tags are assembled only after all four jobs succeed. Intermediate
|
|
217
223
|
`build-RUN-ATTEMPT-VARIANT-ARCH` tags identify each tested image.
|
|
218
224
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
225
|
+
Ordinary CI runs the same four checks after source validation, without pushing
|
|
226
|
+
images. It exports the Linux executable and matching Core wheel from that run's
|
|
227
|
+
verified `validated-release` bundle. The image prepares Core from this wheel,
|
|
228
|
+
so changes to the launcher, uv compatibility and Python runtime are exercised
|
|
229
|
+
together before publication. Other Python dependencies resolve from the package
|
|
230
|
+
index. The final `CI result` requires container verification and security checks
|
|
231
|
+
to succeed.
|
|
223
232
|
|
|
224
233
|
For a container-only rebuild of an already published version, run the
|
|
225
|
-
**Container images** workflow on
|
|
234
|
+
**Container images** workflow on that version's published release tag, where
|
|
235
|
+
the Dockerfile's uv pin matches the released launcher's compatibility range.
|
|
226
236
|
Its default is validation only; enable `publish` to upload. This also recovers
|
|
227
237
|
container publication failures without republishing immutable PyPI files.
|
|
228
238
|
A failed container job does not undo a successful Python/GitHub release.
|
|
@@ -32,6 +32,16 @@ permission as the status table and is not exposed through public business APIs.
|
|
|
32
32
|
|
|
33
33
|
## Snapshot contract
|
|
34
34
|
|
|
35
|
+
`toolframe status --explain` prints each reported plugin problem with its next
|
|
36
|
+
step. `toolframe status --json` and the management status API include a
|
|
37
|
+
`diagnoses` array. Each entry has a stable `code`, the affected `plugin_id`,
|
|
38
|
+
a `summary`, a `next_step`, and `evidence` from the same status snapshot.
|
|
39
|
+
`missing_required_service` and `optional_service_missing` identify a service
|
|
40
|
+
and binding. `stale_health` includes the last observation time in Unix seconds
|
|
41
|
+
for an active plugin whose health has expired. Diagnoses use the status read
|
|
42
|
+
permission. Application readiness and the `--check` exit code keep their
|
|
43
|
+
existing meaning.
|
|
44
|
+
|
|
35
45
|
`GET /_toolframe/v1/status` and `toolframe status --json` include an additive
|
|
36
46
|
`dependency_graph` field with `schema_version: 1`:
|
|
37
47
|
|
|
@@ -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.
|
|
18
|
+
pip install 'toolframe-core[postgres]==0.8.4'
|
|
19
19
|
toolframe-core --home ./app init
|
|
20
20
|
```
|
|
21
21
|
|