Skip to content

feat(core): add SkillContext and named skill chains (#330) - #332

Merged
rosspeili merged 4 commits into
ARPAHLS:mainfrom
rosspeili:feat-330-skill-context-chains
Sep 3, 2026
Merged

feat(core): add SkillContext and named skill chains (#330)#332
rosspeili merged 4 commits into
ARPAHLS:mainfrom
rosspeili:feat-330-skill-context-chains

Conversation

@rosspeili

Copy link
Copy Markdown
Contributor

Description

Adds SkillContext for multi-skill agent hosts and named skill chains for repeatable middleware pipelines — closing the gap where every host had to hand-roll discovery, brief assembly, tool wiring, and sequential execute() loops.

Closes #330 · Closes #297

Acceptance Where
SkillContext — filters, modes, prepare()/execute(), provider tools skillware/context.py
chains: YAML, run_chain(), step when: skip skillware/chains.py, skillware/core/chains_config.py
Config merge (global + project; legacy chains: { default: [] } safe) skillware/core/config.py
skillware context / skillware chain CLI skillware/cli.py, docs/usage/cli.md
Skill chaining docs (#297) docs/usage/skill_chaining.md
Agent loops + README ripple docs/usage/agent_loops.md, README.md
Unit, integration, host-simulation tests tests/test_skill_context.py, tests/test_chains*.py, tests/test_context_and_chains_integration.py, tests/test_host_simulation_stress.py

Strictly additiveSkillLoader.load_skill() and existing CLI commands unchanged unless callers opt in.

Type of Change

  • Framework FeatureSkillContext, chains runner, config parsing
  • CLIcontext show, chain list|show|validate|run|dry-run
  • Documentationskill_chaining.md, agent loops, README, CHANGELOG

Checklist (all PRs)

New or updated skill

N/A — framework and docs only.

Related Issues

Closes #330
Closes #297

Add SkillContext for multi-skill registry host context (discovery filters, brief/directives modes, progressive prepare/execute, provider tool adapters). Add chains: YAML config, run_chain() with step when: skip, and skillware context/chain CLI.

Docs and tests close ARPAHLS#297: skill_chaining.md, agent_loops ripple, README link, integration and host-simulation stress suite.
Add sanitize_input_chain_demo.py and skill_context_gemini_loop.py; refactor ollama_skills_test.py to use SkillContext. Cross-link skill pages and agent_loops; extend example smoke tests. Fix black/flake8 on host_simulation_report.py.
Ripple skill_chaining, ollama, introduction, cli; one-line chain links on middleware catalog pages.
@rosspeili

Copy link
Copy Markdown
Contributor Author

Follow-up commits on top of the initial feature landing:

  1. Examples, sanitize_input_chain_demo.py (offline run_chain), skill_context_gemini_loop.py (SkillContext + optional Gemini Phase 2), ollama_skills_test.py refactored to use SkillContext; example smoke tests + black fix on host_simulation_report.py.

  2. Doc ripple, modes/edge cases in skill_chaining.md, multi-skill section in ollama.md, SkillContext mention in introduction.md, --mode table in cli.md, one-line chain pointers on middleware skill catalog pages.

  3. CHANGELOG, merged duplicate [Unreleased] Changed sections into one.

No further core API changes after the first commit, additive docs, examples, and CI hygiene only.

@rosspeili
rosspeili merged commit 32310f2 into ARPAHLS:main Sep 3, 2026
6 checks passed
@rosspeili
rosspeili deleted the feat-330-skill-context-chains branch September 3, 2026 16:04
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]: SkillContext + skill chains [Docs]: add dedicated skill chaining guide under docs/usage

1 participant