Agentic patterns · Generative reporting

Approved queries

A named, parameterised query the data owner signed off. The only way a number reaches a report.

What one consists of

  1. Name and description. All the model reads.
  2. Typed parameters. Metric, period, dimension. No free text, no SQL.
  3. Scope rule. Applied by the engine; out-of-scope requests are refused.
  4. Fixed result shape. A query and its components release together.

How one gets approved

  1. Proposed as code.
  2. Reviewed by the data owner against the firm’s metric definition.
  3. Tested against ledger totals, including a scope test that must fail.
  4. Released with a version; every call is logged.

The demo implements definition, scope and logging. Review and release are your existing change process.

Contact

Questions, ideas or a conversation?

I’m always glad to hear from people working on AI, product strategy, transformation or software.