The current reference/context-agent is scoped to property-registry lookup + bitmap-based property targeting. Six semantic evaluation concerns are unbuilt on main:
- EmbeddingMatch — cosine similarity between query embedding and content embedding
- KeywordMatch — set intersection of required/blocked keywords
- BrandSafety — category blocklist
- GeoFilter — allow/block lists
- DaypartFilter — day-of-week + hour ranges
- CatalogMatch — product catalog to content topics
Prior design lived in closed PR #10. Before rebuilding, decide the home.
Options
- (A) Expand
context-agent to carry a pluggable evaluator registry alongside the property registry
- (B) New
reference/semantic-agent as a separate reference service
- (C) Move these into
targeting/ as configurable predicates
Deciding factors
- Whether context-agent stays a lightweight registry lookup or grows into an evaluator
- Whether semantic matching is latency-critical (argues for colocating with targeting)
- Whether these need to be independently versioned and deployed
Decision needed before any implementation. Suggested owner: @bokelley.
The current
reference/context-agentis scoped to property-registry lookup + bitmap-based property targeting. Six semantic evaluation concerns are unbuilt on main:Prior design lived in closed PR #10. Before rebuilding, decide the home.
Options
context-agentto carry a pluggable evaluator registry alongside the property registryreference/semantic-agentas a separate reference servicetargeting/as configurable predicatesDeciding factors
Decision needed before any implementation. Suggested owner: @bokelley.