Documentation

Docs / Cases

C062 · Public statistics through an assistant

Level

1 · data access inside the organisation

The situation

Decisions A1, A2, A3 and A19 of the built rule set. An internal assistant agent and a public chart page read a public statistics data set. The verdicts are what the built decide function returns today, so they are the strongest ground truth there is for the existing rules, but they are the rule authors' own rules.

Entities involved

  • agent: an internal statistics assistant
  • principal: Everyone (any signed-in account) or Anonymous
  • asset: system statstore (public) > store S1 > dataset ESTIMATES_FULL; dataset COUNTRY_REF
  • tools: top_causes (aggregate, read), store_export (export), store_list (list)
  • grant: G-101, everyone, read on server statstore, no expiry

Facts that hold

  • The statistics store is public (registry).
  • Rule tier-1-read permits export (and so read and aggregate) with duty cite-source.
  • Rule anon-chart permits Anonymous to aggregate ESTIMATES_FULL only.

What the model must read

Nothing.

Expected verdict

  • Verdict: A1 allow; A2 allow; A3 deny (uncovered); A19 allow with warning beyond-declared-reach
  • Released form: A1, A2: aggregated; A19: metadata; duty: cite the source
Decision Situation
A1 The assistant, for a signed-in person, aggregates over ESTIMATES_FULL
A2 Nobody signed in (the public chart page) aggregates over ESTIMATES_FULL
A3 Nobody signed in exports ESTIMATES_FULL
A19 The assistant reads COUNTRY_REF through a tool that does not declare it

Why

Public data is open to signed-in people. Anonymous callers get only the one whitelisted aggregate. A tool reaching an undeclared table is a catalogue gap, not a wrong access.

What it tests

  • default: What happens when no rule covers the request (default allow or default deny).
  • unknown-entity: An asset, agent or caller the graph does not know.
  • duty: A permission carries an obligation (cite the source, minimum cell, draft only, read back first).
  • hierarchy: A rule reaches an asset through structure (column in table, site in class, tool reaching a table).
  • identity-token: The verdict depends on the identity a call carries: its token, scope, lifetime, revocation.

Depends on a decision

A3 (anonymous export of public data) is uncovered only because the code is default deny. Under default allow for public data it would be allowed.

Confidence

High (pinned by tests).

Last built 2026-11-25