Skip to content

Implement language-conditional fields, invoke_json step, and close invoke (#2883, #2890, #2891)#3116

Merged
vigoo merged 3 commits intoimplement-missing-harness-issuesfrom
fix-harness-issues-2883-2890-2891
Apr 10, 2026
Merged

Implement language-conditional fields, invoke_json step, and close invoke (#2883, #2890, #2891)#3116
vigoo merged 3 commits intoimplement-missing-harness-issuesfrom
fix-harness-issues-2883-2890-2891

Conversation

@Myestery
Copy link
Copy Markdown
Contributor

@Myestery Myestery commented Apr 2, 2026

Summary

Verified locally

  • golem agent invoke — confirmed working with PascalCase agent names
  • golem --format json agent invoke — returns structured JSON with result_json field
  • golem agent delete — confirmed working
  • All 142 unit tests pass
  • Dry-run validates all scenarios

Test plan

  • Unit tests pass
  • Existing scenarios unaffected
  • Language-conditional fields can be used in new scenarios

Closes #2883, closes #2890, closes #2891

…oke_json step (#2891)

- Add resolveByLanguage() for fields that accept either a plain value
  or a {ts: ..., rust: ...} map. Applied to prompt, expectedSkills,
  allowedExtraSkills, and verify fields.
- Add invoke_json step type that runs golem --format json agent invoke
  and evaluates result_json assertions with JSONPath.
- Add INVOKE_JSON_FAILED classification.
- #2890 (invoke step) was already implemented.

Closes #2883, closes #2890, closes #2891
@Myestery Myestery requested a review from vigoo April 3, 2026 13:00
Comment thread golem-skills/tests/harness/src/failure-classification.ts Outdated
Myestery added 2 commits April 7, 2026 14:46
Integrate invoke_json action type from fix-harness-issues-2883-2890-2891
into the clean separated type system from implement-missing-harness-issues:
- Add InvokeJsonStep variant and parseStep case
- Add invoke_json to substituteStepVariables and executeStepBody switches
- Handle LangConditional<T> types in StepCommon for language-conditional fields
- Add subLangStr helper for substituting in lang-conditional string values
@vigoo vigoo merged commit 20350b6 into implement-missing-harness-issues Apr 10, 2026
43 of 45 checks passed
@vigoo vigoo deleted the fix-harness-issues-2883-2890-2891 branch April 10, 2026 08:10
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants