feat: ecosystem architecture enhancements (Graph, Loop, Context, Harness)#40
Merged
Conversation
The examples README referenced a non-existent 'yaad' binary (go install, yaad init, yaad setup, yaad list, yaad search, yaad graph). Yaad is a Go library, not a standalone binary. Rewrite to show hawk integration, MCP tool usage, Go library embedding, and the yaad-tui demo.
yaad depends on ServeHTTPWithShutdown and other APIs added after v0.1.4. The replace directive is required for monorepo development until v0.2.0 is tagged.
…ests - Delete dead engine/git_learn.go, engine/ingest.go, engine/spaced_repetition.go (864 lines) — none of their exported types were referenced outside the files. The classifyContent helper used by engine/context_pack.go was moved into that file with its regex vars (renamed to avoid stutter). - Remove duplicate `if entry.CreatedAt.IsZero()` block in spatial_memory.go (lines 87-91 were identical). - Replace silent `_ = err` ignores in engine/proactive.go with slog.Warn calls (GetNeighbors, GetEdgesFrom, CountEdgesBatch) so operational issues are observable without breaking the best-effort prediction flow. - Add tests: engine/cache_test.go (QueryCache Get/Put, Invalidate, TTL, eviction, Stats/Clear, CacheKey), engine/ratelimit_test.go (burst, refill, Remaining, maxBurst cap), engine/temporal_filter_test.go (matchesTemporal After/Before/Range, FilterByTime). All yaad package tests pass; build is clean. Co-Authored-By: Grok <noreply@xai.com>
- Add portablegraph/ package with portable graph implementation - Update ARCHITECTURE.md, README, go.mod - Update README
- Add PortableGraph implementation - Support generic JSON serialization - Add conversion to portable GraphSpec
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 introduces cross-ecosystem architectural enhancements encompassing Graph Engineering, Loop Engineering, Context Management, and Prompt Frameworks.
What's Included
StateGraphimplementations, A2A protocol support, and Cypher-like DSLs.All changes include appropriate edge-case handling for timeouts, cancellations, and state immutability.