You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(bgp): wire RouteAction and EventKind enums into text event pipeline
FamilyOperation.Action changed from string to bgptypes.RouteAction.
MessageInfo.Type changed from string to rpc.EventKind. GetEventType()
returns rpc.EventKind with lazy caching via Event.TypeKind field.
Added EventKindSent and EventKindNegotiated to the EventKind enum.
Event.Type stays string (carries non-BGP types like "cache", "request").
The typed EventKind is cached alongside for dispatch without per-call
allocation.
Also: server-side tokenize() now rejects backslash (matching CLI
tokenizeCommand), and joinTokensWithQuotes no longer attempts to
escape embedded quotes (no escape mechanism exists).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: ai/LEARNED-INDEX.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -192,3 +192,4 @@ Reusable lessons extracted from gotchas sections across summaries.
192
192
- (754) Adding a named test group to `mk/test-unit.mk` requires adding the exclusion pattern to `ZE_GROUP_REST`
193
193
- (756) Web commit hook runs synchronously in HTTP handler; slow reload blocks the response (acceptable because reload is <100ms)
194
194
- (759) Archive pruning prefix computed by diff of two timestamps at different dates; if filename format has no time token, prefix equals full filename
195
+
- (768) Enum-over-string for text event pipeline: Event.Type stays string (non-BGP types), TypeKind caches the parsed EventKind; FamilyOperation.Action typed as RouteAction; local familyOperation types in format/rs/rr/persist are independent; NLRI index map[string] is Go-idiomatic and not improvable
0 commit comments