Skip to content

Implement manifest param validation and standardize outputs key - #253

Merged
rosspeili merged 1 commit into
ARPAHLS:mainfrom
rosspeili:feat/issue-125-validate-params
Jul 12, 2026
Merged

Implement manifest param validation and standardize outputs key#253
rosspeili merged 1 commit into
ARPAHLS:mainfrom
rosspeili:feat/issue-125-validate-params

Conversation

@rosspeili

Copy link
Copy Markdown
Contributor

Fixes #125 — optional manifest parameter validation and a single registry manifest cleanup.

  • BaseSkill.validate_params(), validates tool args against manifest parameters JSON Schema via jsonschema, raises SkillwareParamValidationError on mismatch. Not called by the loader or execute(), opt-in for host apps.
  • Issuer guard, rejects legacy top-level output: in registry manifests (use outputs: with named keys).
  • finance/wallet_screening, output:outputs.report:.
  • Docs, agent_loops.md, introduction.md, TESTING, CONTRIBUTING: validation optional, recommended before execute() in agent loops.
  • Examples, claude_wallet_check.py, gemini_tos_evaluator.py show the pattern.

Type of Change

  • New Skill
  • Skill Upgrade
  • Bug Fix
  • Documentation
  • Framework Feature
  • CLI
  • Examples
  • Packaging, jsonschema>=4.0 added to core dependencies
  • RFC / meta

Checklist (all PRs)

  • Linked GitHub issue (Fixes #125)
  • Scope matches the issue, no unrelated refactors
  • black --check and flake8 pass (Python 3.13)
  • pytest tests/ and pytest skills/ pass (265 tests)
  • CHANGELOG.md updated under [Unreleased]
  • examples/README.md, no script add/rename/remove
  • pytest tests/test_registry_docs.py, agent-loops touched, matrix unchanged

New or updated skill

Minor manifest-only change to finance/wallet_screening (outputs: key). No logic, tests, or catalog updates required for that skill.

Related Issues

Fixes #125

Add optional BaseSkill.validate_params() with jsonschema, reject legacy
manifest output: in issuer tests, and align wallet_screening with outputs:.

Fixes ARPAHLS#125
@rosspeili
rosspeili merged commit f301088 into ARPAHLS:main Jul 12, 2026
5 checks passed
@rosspeili
rosspeili deleted the feat/issue-125-validate-params branch July 12, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat]: Manifest param validation and standardize outputs key in registry skills

1 participant