harden skill runtime readiness#153
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
The skill runtime had drifted since the original implementation: installed skills could be hard to verify, runtime env status could become stale after requirements changed, generic skill tools were discoverable but not active in the initial Octo tool set, and large requested skill guidance could be compacted a second time before reaching the model. Operators also had no first-class way to disable a skill without deleting its files.
Validation
uv run pytest tests/test_skill_management.py tests/test_cli_skill_install.py tests/test_tool_inventory.py tests/test_router_tool_budget.py -quv run pytest tests/test_tool_payloads.py tests/test_tool_inventory.py tests/test_router_tool_budget.py tests/test_octo_tool_loop.py tests/test_skill_management.py tests/test_agent_worker_contracts.py tests/test_worker_template_security.py -quv run pytest tests/test_skill_runtime_envs.py tests/test_skill_management.py tests/test_skill_installer.py tests/test_cli_skill_install.py tests/test_skill_bundles.py tests/test_agent_worker_contracts.py tests/test_worker_template_security.py tests/test_tool_inventory.py -quv run ruff check src/octopal/tools/skills/management.py src/octopal/cli/main.py tests/test_skill_management.py tests/test_cli_skill_install.pyuv run ruff check src/octopal/runtime/tool_payloads.py src/octopal/runtime/octo/router.py src/octopal/tools/inventory.py tests/test_tool_payloads.py tests/test_router_tool_budget.py tests/test_tool_inventory.pyuv run octopal skill --helpgit diff --check