Commit 84675e5
fix(org-relations): directional kinds read from the focused org's seat — funded_by appears
Operator catch: NextLadder's card showed its investors as "funder_of",
reading as if NextLadder were the funder. Directional kinds are authored
from the edge's in side (ballmer-group funder_of nextladder — storage is
correct and untouched); the read now inverts known directional pairs
(funder_of ↔ funded_by, funds → funded_by) when the focused org sits on
the out side, so every card speaks from its own seat: NextLadder shows
"ballmer-group (funded_by …me)", Ballmer shows "nextladder (funder_of)".
Read-time projection, exactly like rel itself.
Files changed:
- services/record-surrealdb-resolver/src/org-relations.ts
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RW28dw3kQAKXr2ZNefCukE1 parent ce51eb7 commit 84675e5
1 file changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
173 | 185 | | |
174 | 186 | | |
175 | 187 | | |
| |||
181 | 193 | | |
182 | 194 | | |
183 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
184 | 202 | | |
185 | 203 | | |
186 | 204 | | |
187 | 205 | | |
188 | | - | |
| 206 | + | |
189 | 207 | | |
190 | 208 | | |
191 | 209 | | |
| |||
0 commit comments