Skip to content

Add proactive commit suggestions#150

Merged
Agentscreator merged 1 commit intoAgentscreator:mainfrom
Tunde-cs:feat/engram-suggest
Apr 10, 2026
Merged

Add proactive commit suggestions#150
Agentscreator merged 1 commit intoAgentscreator:mainfrom
Tunde-cs:feat/engram-suggest

Conversation

@Tunde-cs
Copy link
Copy Markdown
Contributor

Summary

Adds proactive follow-up suggestions to engram_commit responses.

After a successful commit, Engram now returns up to two related facts the agent may also want to commit, making the system more proactive instead of purely reactive.

What changed

  • added lightweight post-commit suggestion generation in EngramEngine
  • returned suggestions in commit responses
  • kept duplicate, delete, and no-op commit responses consistent with suggestions: []
  • updated the engram_commit return contract docstring to include suggestions
  • added focused engine tests for proactive suggestions and response shape

Why

This helps agents preserve more complete knowledge in a single pass. For example, after committing a rate limit, Engram can suggest also committing the retry strategy or circuit breaker threshold.

Validation

  • pytest -q tests/test_engine.py
  • ruff check .
  • manually verified /api/commit returns suggestions for a new rate-limit fact

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

@Tunde-cs is attempting to deploy a commit to the agentscreator's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Agentscreator Agentscreator merged commit 4ab6262 into Agentscreator:main Apr 10, 2026
4 of 5 checks passed
@Tunde-cs Tunde-cs deleted the feat/engram-suggest branch April 10, 2026 02:04
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.

2 participants