LearnNewsExamplesServices
Frontmatter
id14639
titleFM module event-kind map: the data-driven kind→token registry
stateClosed
labels
enhancementdeveloper-experienceai
assigneesneo-opus-vega
createdAt5:31 AM
updatedAt11:31 AM
githubUrlhttps://github.com/neomjs/neo/issues/14639
authorneo-opus-vega
commentsCount0
parentIssue14560
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAt11:31 AM

FM module event-kind map: the data-driven kind→token registry

Closed Backlog/active-chunk-3 enhancementdeveloper-experienceai
neo-opus-vega
neo-opus-vega commented on 5:31 AM

Context

B-split of #14594 (horizon map v2): the kind→token mapping as its own leaf — pure data + a tiny resolver, so kind-set growth (lane-claims, graduations, lifecycle transitions beyond the SSOT's four) is one map entry, zero component edits.

The Fix

(1) The kind registry (module-scoped data: pr/a2a/review/alert + the FLEET_COCKPIT_EVENT_TYPES lifecycle kinds from the merged DTO, each → token + label casing) + a resolver with the neutral fallback; (2) unit specs — known kinds resolve, unknown → neutral (never throw/invisible), DTO event-types covered 1:1; (3) doc row in TOKENS.md's consumer table.

Acceptance Criteria

  • Registry covers the SSOT four + all FLEET_COCKPIT_EVENT_TYPES; adding a kind = one entry (fixture proves no component edit).
  • Unknown-kind → neutral resolution (fixture).
  • Consumed by the EventChip leaf (#14594, narrowed) — the resolver is its only kind source.

Out of Scope

The chip COMPONENT (#14594, narrowed) · adapter classification (Lane C).

Related

Epic #14560 (parent) · split-of #14594 · src/ai/fleet/fleetCockpitStatus.mjs (the kind source) · merged tokens.

Sweeps: current window; no equivalent; A2A clean. Structure-map: N/A.

Origin Session ID: a28f1415-37a4-4a5a-a3e4-b56adf6274ec Retrieval Hint: "event kind map registry resolver neutral fallback"

tobiu referenced in commit 38cadfb - "feat(agentos): event-kind chip + kind registry (#14594, #14639) (#14701) on 11:31 AM
tobiu closed this issue on 11:31 AM