Update sagents#4
Closed
nelsonkopliku wants to merge 17 commits into
Closed
Conversation
f6f9ce8 to
984d501
Compare
984d501 to
dd062d8
Compare
dd062d8 to
b94e98a
Compare
e694295 to
9ce7d4e
Compare
b94e98a to
fcc3926
Compare
Introduces ServerAdapter and SupervisorAdapter behaviours so tests can swap the Sagents call sites for Mox doubles, and replaces the placeholder test with 14 contract tests pinning the eight delegations exposed from `AgenticRuntime`. Adds Mox + Faker, an Ecto Sandbox-backed `TestRepo`, `TestPubSub`/`TestPresence` stubs, and migrations under `priv/test_repo/` so the rest of the suite can be built on top. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…sistence Brings the Conversations Ecto context, Coordinator session lifecycle, IntegrationHelpers state machine, Factory middleware composition, and the two Sagents persistence callbacks under test. Extends ServerAdapter with `resume`, `get_status`, and `get_info` so IntegrationHelpers can route the last few direct `Sagents.AgentServer` calls through a behaviour Mox can swap. Ships a `docker-compose.yml` with a Postgres service so the suite runs without ambient dependencies. 92 new tests; full suite is 106 tests, 0 failures. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replaces the one-line README with a getting-started guide covering installation, configuration, the Scope protocol, supervisor wiring, a minimal end-to-end example, Phoenix Channel integration, the consumer testing story, and known limitations. Adds a CI workflow that runs formatter, compile-with-warnings-as-errors, migrations, and the test suite against a Postgres service container on every push and PR. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9e7f3fb to
39686ad
Compare
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.
This PR highlights the changes made to the scaffolded base content from sagents to make it a library consumable by elixir projects.