Skip to content

feat(test): cross-runtime test suite — PocketPaw, LangChain, CrewAI (#228)#271

Open
sshekhar563 wants to merge 1 commit into
qbtrix:devfrom
sshekhar563:feat/cross-runtime-tests-228
Open

feat(test): cross-runtime test suite — PocketPaw, LangChain, CrewAI (#228)#271
sshekhar563 wants to merge 1 commit into
qbtrix:devfrom
sshekhar563:feat/cross-runtime-tests-228

Conversation

@sshekhar563

Copy link
Copy Markdown
Collaborator

What

Adds tests/cross_runtime/ with 12 round-trip tests verifying .soul file portability across three AI frameworks.

Fixes #228

Tests

Runtime Tests Memory Types Status
PocketPaw 6 Semantic + Episodic ✅ All passing
LangChain 3 Semantic ✅ All passing
CrewAI 3 Semantic ✅ All passing

What's Tested

  • Semantic memory round-trip: Store → export → awaken → recall → verify content
  • Episodic memory round-trip (PocketPaw): Same flow for event memories
  • Identity preservation: name, DID survive export/import
  • Memory count & importance scores: Metadata survives round-trip
  • Double round-trip (PocketPaw): Re-export produces valid .soul
  • Data serialization: model_dump() output compatible with LangChain/CrewAI stores

CI Safety

  • Tests use pytest.importorskip() — skip when packages aren't installed
  • Marked with @pytest.mark.cross_runtime for selective execution
  • Zero risk to existing CI — no new dependencies required

…ewAI (qbtrix#228)

Add tests/cross_runtime/ with 12 round-trip tests verifying .soul file portability across three AI frameworks. PocketPaw tests semantic + episodic memory survival (6 tests), LangChain and CrewAI test semantic memory + identity compatibility (3 tests each). Tests skip gracefully when packages are not installed.
@sshekhar563 sshekhar563 self-assigned this Jun 15, 2026
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.

1 participant