WarUI

Explicit Data Boundaries

GRID-A27-F07P0beyond-baselinePlanned

Developers declare exactly which columns, how many rows and what aggregation level may be shared with an AI provider. Columns can be excluded, masked or shared as schema-only. Without an explicit boundary, only column names and types are shared and never cell values.

Planned. This page shows the specification from issue #207. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Patient-like synthetic dataset. Boundary mode is schemaOnly, and each column shows a boundary badge.

Expected behavior

Badges update per column. Excluded columns disappear from the catalogue and from any context. Masked columns share a placeholder token instead of their values. maxRows caps the sample size.

Planned API surface

ai.dataBoundary.columnsai.dataBoundary.modeai.dataBoundary.maxRowsai.dataBoundary.maskersgrid.ai.getBoundary()

Acceptance criteria

  • Default boundary shares no cell values (pending)
  • Excluded columns are absent from all outgoing context and from command schemas (pending)
  • Masker output replaces raw values entirely (pending)
  • maxRows is never exceeded (pending)
  • Boundary changes take effect on the next request (pending)