Skip to content

docs: Dashboard Grid docs predate the widget chassis (second occupant type + layout v2) #2126

Open

Description

@vybe

Context

PR #2042 (ent#325) shipped the grid widget chassis: InfoTile, the GRID_WIDGETS registry, layout v2 with a one-time v1 migration, and the Tiles ▾ menu. Info tiles join the same lattice as agent tiles under widget:* keys, so drag, swap-with-preview, keyboard reorder, viewport culling and the snap socket all reuse one code path.

Two docs describe that lattice and its occupants, and neither knows about any of it:

  • docs/memory/architecture.md § Dashboard Grid view (trinity-enterprise#47) — describes FleetGrid.vue / AgentTile.vue / stores/fleetGrid.js / utils/gridLayout.js as if agent tiles were the only occupant, and names the layout as "per-user self-healing layout (localStorage v1)".
  • docs/memory/feature-flows/dashboard-grid-view.md — same shape.

Both were accurate before #2042 and are now silently stale. That matters more than usual here because epic ent#94 lands tiles one sub-issue at a time (#95–#101, #259), so each one is written against whatever these two docs say.

What to write

  1. Second occupant type. widget:* keys share the layout map with agent names; : cannot appear in an agent name (sanitize_agent_name strips outside [A-Za-z0-9_-]), so isWidgetKey is exact rather than heuristic and collision is impossible by construction.
  2. What InfoTile deliberately lacks — no Run/Autonomy toggles (a fleet-scope operating control makes a misclick fleet-wide) and no connect port, so a tile cannot be a reporting-line endpoint. Enforced by omitting AgentTile's hover handlers, not by a runtime check.
  3. Org-overlay interlock. tidyByDept / arrangeByDept carry widget:* keys through and applyLayout merges instead of blind-replacing — guarded at both ends deliberately, since one guard is how the bug existed. computeZones iterates agents, so widgets are excluded from zone hulls by construction.
  4. Layout v1 → v2. trinity-grid-layout-v2, migrated by a one-time copy; v1 is left in place, so a downgrade is not a data-loss event. Agents reconcile first, so a collision evicts the tile. Default placement is the band above the fleet (negative rows), which is what makes "default-on tiles appear without moving a saved agent position" true by construction.
  5. Prefs are a sparse override map, not an allow-list — a tile added in a later release reaches existing users instead of staying invisible behind a stale list, and the catalog filter (not stored prefs) is what decides an adminOnly tile.

Why this is a follow-up rather than a hold on #2042

Raised as non-blocking on both review passes of #2042. The chassis has exactly one reference tile today; a docs pass reads better once a couple of real tiles from ent#94 have landed and the shape has stopped moving. Filing it so it does not become folklore.

Done when

  • architecture.md § Dashboard Grid view covers the second occupant type + layout v2
  • feature-flows/dashboard-grid-view.md covers the same, plus the org-overlay interlock
  • Neither doc still implies agent tiles are the only lattice occupant

Follow-up to #2042 · epic abilityai/trinity-enterprise#94 · chassis abilityai/trinity-enterprise#325

Activity

  1. added
    priority-p3
    type-docs
    theme-ui-ux
    complexity-low
    on Aug 12, 2026
  2. added
    status-ready
    on Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity-lowpriority-p3status-readytheme-ui-uxtype-docs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions