feat(skill-runtime): support digest node bundles - #112
Open
qinhan-lyu wants to merge 1 commit into
Open
Conversation
Allow Skill manifests to pin multi-file Forge node bundles by the digest of their embedded node-manifest.json. The installer verifies node_id, artifact_id, version, digest and host, then exposes the manifest entrypoints. Existing executable_tar_gz locks are unchanged. The RoboDojo G05 Skill needs both the gateway and bench_endpoint entrypoints from one digest-pinned bundle.
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.
Problem
Upstream
devcan lock a Forge node only as a single-executableexecutable_tar_gzarchive. The RoboDojo G05 Skill needs two independentlyversioned multi-file node bundles and must verify the exact installed payload.
What / Fix
Add an optional
digestform to a Skill node lock. For digest-locked bundles,the installer verifies the embedded
node-manifest.json(node id, artifact id,version, digest and host) and resolves entrypoints from that manifest. The CLI
and environment builder handle both lock forms while the legacy
executable_tar_gzbehaviour stays unchanged.Verification
python -m compileall -q PhyAgentOSpassed.pytest -q tests/test_environment_injection.py tests/test_manager_flow_running.py tests/test_startup_timeout.pypassed: 19 tests.installation,
load_entrypoints()and executable lookup.tests/test_forge_task_tool_serialization.pywas not run locally because thelocal pytest environment lacks
pytest-asyncio; repository CI is still pending.