SkillPedia Skills Encyclopedia
中文 EN

Skills 2026-03-10 00:09 UTC

OpenPraxisv0.1.0

Version [v0.1.0] committed by Sibo-Zhao. Update Category: Feature Addition & Enhancement. Commit details: refactor: skill-first architecture with LLM backend abstraction. This update introduces new capabilities and module extensions.

Sibo-Zhao 2a778fb Sibo-Zhao/OpenPraxis

CommitRaw commit message

refactor: skill-first architecture with LLM backend abstraction

Decouple business workflow from LLM call implementation so OpenPraxis
can run as a host-native skill (zero API key config) or as a
standalone CLI (user-managed provider).

- Add LLMBackend ABC and two implementations: CLIBackend (wraps llm.py)
  and OpenClawBackend (host-managed placeholder)
- Add runtime.py for execution mode detection (OPENPRAXIS_MODE env var)
  and backend lifecycle management
- Refactor all nodes (tagger, practice, insight) to use
  runtime.get_backend() instead of direct llm.py imports
- Update CLI: vision calls go through backend, llm show displays mode
- Update conftest.py: mock_llm fixture uses runtime.set_backend()
  instead of patching individual node imports
- Rewrite README and SKILL.md around host-first narrative
- Update ARCHITECTURE.md to document dual-entry architecture, backend
  selection mechanism, and new file layout
- Add test_runtime.py and test_llm_backends.py (93 tests, all passing)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>