Skip to content

[AAASM-48] ✨ (adapters): Bootstrap FrameworkAdapter architecture#5

Merged
Chisanan232 merged 34 commits into
masterfrom
v0.0.0/AAASM-48/bootstrap_framework_adapter_architecture
Apr 27, 2026
Merged

[AAASM-48] ✨ (adapters): Bootstrap FrameworkAdapter architecture#5
Chisanan232 merged 34 commits into
masterfrom
v0.0.0/AAASM-48/bootstrap_framework_adapter_architecture

Conversation

@Chisanan232
Copy link
Copy Markdown
Contributor

Description

Implement the FrameworkAdapter foundation for AAASM-48 with atomic commit slices:

  • add adapter package/module scaffolding
  • define GovernanceInterceptor protocol and FrameworkAdapter ABC contract
  • add abstract contract methods and default helper methods (is_available, get_active_version)
  • add AdapterValidationError and public exports
  • add unit tests for contract enforcement and helper behavior
  • enable strict mypy coverage for the new adapter base module

Type of Change

  • ✨ New feature
  • 🔧 Bug fix
  • ♻️ Refactoring
  • 🍀 Performance improvement
  • 📚 Documentation update
  • 🚀 Release

Breaking Changes

Does this PR introduce any breaking changes?

  • No
  • Yes (please describe below)

Related Issues

  • Related JIRA ticket: AAASM-48
  • Related GitHub issues: #XX

Testing

Describe the testing performed for this PR:

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No tests required (explain why)

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Comments added for complex logic
  • Documentation updated if needed
  • All tests passing

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

❌ Patch coverage is 92.00000% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
agent_assembly/adapters/base.py 90.90% 4 Missing ⚠️

📢 Thoughts on this report? Let us know!

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
92.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@Chisanan232 Chisanan232 merged commit 72f4104 into master Apr 27, 2026
22 checks passed
Chisanan232 added a commit that referenced this pull request May 9, 2026
Thread-safe in-memory graph keyed on agent_id → parent_agent_id.
record(), children_of(), ancestors_of() enable querying the spawn tree
built from SpawnContext lineage data.

Exported from agent_assembly.core. Integration Test 10 proves the full
chain: patched Pydantic AI Tool._run sets _SPAWN_CTX → child agent reads
parent_agent_id → LineageRegistry records the edge → children_of and
ancestors_of return correct lineage. Closes AC #5 of AAASM-1184.
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