Skip to content

feat(memory): add bounded inferred edge scoring#231

Merged
sheawinkler merged 1 commit into
mainfrom
sync/public-inferred-edge-scoring
May 29, 2026
Merged

feat(memory): add bounded inferred edge scoring#231
sheawinkler merged 1 commit into
mainfrom
sync/public-inferred-edge-scoring

Conversation

@sheawinkler
Copy link
Copy Markdown
Owner

Summary

  • add opt-in same-project inferred_related scoring to /v1/memory/edges/backfill
  • bound inference by scan limit, per-source peer limit, token posting cap, min shared terms, max candidates, and confidence thresholds
  • mark inferred edges with deterministic IDs, inferred provenance, metadata, and idempotent write behavior
  • expose CLI flags and public docs for dry-run/apply flows

Verification

  • GOCACHE=/Volumes/wd_black/contextlattice/go-build-cache GOTMPDIR=/Volumes/wd_black/contextlattice/go-tmp go test -count=1 . (services/gateway-go)
  • python3 -m py_compile scripts/agent/memory-edge-backfill
  • git diff --check HEAD~1..HEAD
  • scripts/agent_hooks/branch_lane_guard.sh --lane public
  • scripts/agent_hooks/public_leak_guard.sh --mode all --ref HEAD --public

Co-authored-by: Shea Winkler <[email protected]>
@github-actions github-actions Bot added documentation Improvements or additions to documentation go Pull requests that update go code runtime Runtime, compose, gateway, and operational behavior agent-context Agent instructions, hooks, skills, or context routing labels May 29, 2026
@sheawinkler sheawinkler merged commit 378d20a into main May 29, 2026
2 checks passed
@sheawinkler sheawinkler deleted the sync/public-inferred-edge-scoring branch May 29, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-context Agent instructions, hooks, skills, or context routing documentation Improvements or additions to documentation go Pull requests that update go code runtime Runtime, compose, gateway, and operational behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant