Repository navigation
fix(harness): align skill resources and execution guidance - #3797
Merged
Merged
Conversation
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
4 tasks
Buktal
force-pushed
the
codex/skill-environment
branch
from
October 27, 2026 06:33
fe45c23 to
721fc64
Compare
Buktal
force-pushed
the
codex/skill-environment
branch
from
October 27, 2026 07:48
721fc64 to
c87d570
Compare
jujn
approved these changes
Oct 27, 2026
chickenlj
added a commit
that referenced
this pull request
Nov 13, 2026
This was referenced Dec 1, 2026
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.
AgentScope-Java Version
2.1.0-SNAPSHOT
Description
Refs #3794, review unit 2 of 3. A Harness skill can be discoverable while its lazily stored support files are unreadable, and its execution guidance can describe the host shell or path as if it belonged to a sandbox. This PR aligns the loader and prompts with the available resources and active backend.
Summary
base64:prefix.working_directoryas per-call, andgrep_files.patternas literal text.Evidence
/workspace/container identities could describe the wrong execution environment.After:
LazyFileSystemSkillLoadingTestexercises two model rounds, missing-file listing, traversal rejection, filtering, repository denial precedence, and binary fidelity. Skill rendering, sandbox metadata, path, filesystem-schema, and shell tests cover the other contracts using local fixtures.mvn -B -T1C clean verifypassed across 99 modules: 11,327 tests, 0 failures/errors, 242 skipped. Spotless ran without skip flags. Docs:npm test(13/13) andnpm run validate(432 pages, 584 redirects, Mintlify build) passed.npm run broken-linksreports 2,218 links across 326 files, the same counts recorded before; individual links were not baseline-attributed.2f0da9708(fix(harness): align knowledge and skill guidance with available resources #3779), preserving knowledge-presence gating and both sets of regressions while retaining backend-aware execution guidance. Focused Core/Harness validation: 207 tests, 0 failures/errors/skips; Spotless andgit diff --checkpassed.Merge Danger
Door: two-way
No migration or provider-service dependency. Files-root strings now contain raw paths; prompts explain quoting for the actual backend.
Blast Radius: harness
Touches skill loading and model-visible execution guidance. No real Docker/Kubernetes run or model-quality improvement is claimed. #3779 is now included in the base. Its knowledge-presence gating is preserved; mixed-catalog guidance retains resource-root checks and uses the actual execution environment's shell and interpreter.
Checklist