feat(config,cli): persistent YAML config and skillware config show (#… - #283
Merged
rosspeili merged 1 commit intoAug 10, 2026
Merged
Conversation
…RPAHLS#246) Add generic SkillwareConfig with paths section driving discovery when YAML is present; legacy env/cwd resolution unchanged without config files. Includes skillware config show, docs, and tests.
Contributor
Author
|
#246 backend will be implemented via What to review
Intentionally deferred (follow-up issues)
Known gaps (non-blocking for this PR)
|
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.
Fixes #246
Persistent YAML configuration for Skillware: global
config.yamland project.skillware.yamlmerge into a genericSkillwareConfig; thepathssection drives skill-root discovery when any config file exists. Without config, legacy resolution is unchanged (SKILLWARE_SKILL_PATH→./skills/walk → bundled).Type of Change
skillware/core/config.py,discovery.py,loader.pyskillware config show, updatedskillware pathstipscli.md, usage README, introduction, trust model,.skillware.yaml.exampleAcceptance criteria → implementation
skillware/core/config.py,tests/test_config.py_parse_resolution_order(),_configured_skill_roots()load_skill,list,testdiscovery.get_skill_roots()(shared by loader + CLI)build_skill_not_found_message()SKILLWARE_SKILL_PATHwith config (legacy.honor_*)PathsSettings,cli.mdpath-resolution sectionskillware config show(read-only)cmd_config_show,tests/test_cli.pydocs/usage/cli.md, trust model, usage READMEOut of scope (follow-up issues)
skillware pathsonlyChecklist
black --check/flake8/pytestpass locally (396 tests)CHANGELOG.mdupdated under[Unreleased]docs/contributing/ai_native_workflow.md— not updated (see gaps below)docs/usage/api_keys.md— config interaction not documented yetTest plan
.skillware.yamlwithpaths.externalresolution.order(project before external)honor_skillware_skill_path: falseconfig.extraskillware config show(no-files path)skillware config showsubcommand wiring