Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ jobs:
- name: Run the bundled example
run: cargo run --example basic

- name: Assert engine containment (#18 §C1)
run: ./scripts/ci/engine-containment.sh

- name: Assert the contract crate stays free of heavy dependencies
run: |
forbidden="$(cargo tree -p tinymemory-api -e normal,build --prefix none \
Expand Down
103 changes: 103 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ tinymemory-sync = { path = "../sync" }
# crate's sync path drives the GitHub/RSS/web-page readers; a host that only
# reads local folders can take the crate without them.
tinymemory-sources = { path = "../sources", features = ["network"] }
# Slack mention tokens (`<@U…>`) in synced messages are rewritten to display
# names before ingestion. Returns to the normal graph for this one user —
# #18 §D2 removed it when nothing used it, which is no argument against a
# real consumer.
regex = "1.10"

# The default embedded engine. `store/`, `tree/` and `sync/` drive it directly;
# `tinycortex-api` is a direct dependency because `tinycortex::memory` aliases
Expand Down Expand Up @@ -68,6 +73,9 @@ uuid = { version = "1", features = ["v4"] }
walkdir = "2"

[dev-dependencies]
# The ported Composio connect tests stand up a mock HTTP server (#18 §B1),
# exactly as they did in the engine.
wiremock = "0.6"
# `TestHostConfig` — the concrete `MemoryHostConfig` the extracted test suites
# build, since `Config` is a trait object and cannot be `Default`ed.
tinymemory-api = { path = "../api", features = ["test-support"] }
Expand Down
11 changes: 5 additions & 6 deletions core/src/engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,9 @@ pub use seal::{
};
pub use summariser::HostSummariser;
pub use sync::{
append_audit_entry, estimate_cost_usd, load_composio_sync_state, needs_rebuild, raw_coverage,
read_audit_log, rebuild_tree_from_raw, run_composio_connection,
run_composio_connection_with_budgets, run_github_sync, run_gmail_backfill,
run_slack_search_backfill, run_source_pipeline, sync_context, try_read_audit_log,
HostSyncAdapter, RawCoverage, RawFileRef, RealCostAccumulator, RebuildOutcome,
SourcePipelineFailure, SyncAuditEntry, HOST_SYNC_STATE_NAMESPACE,
estimate_cost_usd, load_composio_sync_state, needs_rebuild, raw_coverage, read_audit_log,
rebuild_tree_from_raw, run_composio_connection, run_composio_connection_with_budgets,
run_github_sync, run_gmail_backfill, run_slack_search_backfill, run_source_pipeline,
sync_context, HostSyncAdapter, RawCoverage, RawFileRef, RealCostAccumulator, RebuildOutcome,
SourcePipelineFailure, HOST_SYNC_STATE_NAMESPACE,
};
Loading
Loading