Commit 8d141ca
attempt(augment-from-db, service-capabilities, step1): the service floor lands before any surface — org detail + affiliations reads, registry-resolved search.fire, Exa as a peer connector
The two upcoming remotes (org-workbench :3014, search-and-add :3016) now
have every read and fire they need as live NATS subjects, proven by
scripts/prove-augment-from-db-capabilities.mjs (7/7 green on first run
against the-aspen-institute / reach-edu, alias-match via gary-lauder).
organization.detail returns the full org card (identity, aliases, domains,
org_links, media_streams, org_corpus), client-filtered like every read
path. organization.affiliations is the people reveal — role + relevance
off the edge, links + corpus-count off the person — using
getAffiliationDetail's two-query discipline so RecordIds never cross the
wire. resolver.search now also matches aliases[] and domains[*].domain
(spec D4).
search.fire is the generic query-shaped fire: explicit provider wins,
else the registry resolves the intent free-tier-first (SearXNG). Replies
ok:false on failure — unlike connector.fire's error-inside-result shape —
so the UI can tell "provider failed" from "zero results".
Exa joins as a paid peer: connectors/exa.ts + EXA_REG + the exhaustive
legacy CONNECTORS entry (which gives provider_override:'exa' on the
existing pack path for free). Env is the repo's historical EXA_AI_API_KEY,
passed through compose with the ${VAR:-} empty-default form; absent key
flips Exa to needs-env (verified live) while everything else keeps
running.
Spec: context-v/specs/Augment-From-DB-Flow.md (now Implementing).
Plan: context-v/plans/Augment-From-DB-Phase-1-Service-Capabilities.md (Shipped).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014zrFkWSVgTkoQyiobdBjrd1 parent 98c23d8 commit 8d141ca
16 files changed
Lines changed: 926 additions & 3 deletions
File tree
- changelog
- context-v
- plans
- specs
- scripts
- services
- record-surrealdb-resolver/src
- social-search/src
- connectors
- registry
- workspace/src
Lines changed: 58 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
0 commit comments