# Farm reporting: agent entrypoint

Start with [the resource catalog](../catalog.json). It is a static directory of
enterprises, applications, example dashboards, procedures, and dataset contracts.
It contains no business-data download credentials. `schemaVersion` is currently 1.

An enterprise dashboard request means a **private native Google Sheets workbook**
unless the user explicitly requests another format. HTML, Markdown, screenshots
and local spreadsheets may support preparation or review; they do not replace the
workbook. Read the [reporting authoring SOP](dashboard.md) before implementation
and follow the applicable recipe's linked workbook as the default template.

## Follow this route

1. Resolve the requested enterprise by `id`, `label`, and system-specific aliases.
   Select the relevant `recipeId`, `systemId`, and resource links. Missing links
   have an explicit unavailable status; do not invent an application or endpoint.
2. Read the [dashboard playbook](dashboard.md) and the closest example:
   [FFCSA](recipes/ffcsa.md), [Layers](recipes/layers.md), or [Sales](recipes/sales.md).
3. Read applicable [SOPs](sops.md) for the procedure and vocabulary. Use schedules
   for responsibilities and planned work; neither establishes completed work.
4. Resolve authorized inputs through the [private data bank](data-bank.md).
   Check coverage, extraction dates, units, missing data and source ownership.
   For historical Sales without a checkout, follow `dataBank.salesBundle` and the
   [private bundle contract](sales-bundle.md) through owner provisioning,
   authenticated download and trusted hash verification. Its current `configured`
   status includes a successful raw download, integrity/content validation and
   anonymous denial; valid ungranted-identity denial remains pending. Do not assume
   Sheets access grants downloads.
5. Calculate, reconcile, and explain results before writing a destination. Record
   exact input releases and assumptions so another agent can reproduce the result.
6. Use [Timesheets integration instructions](integrations.md) if building an
   application that needs login, launch, task binding or operational record links.

Reports owns discovery. Source apps own operational records and business rules.
`master_planning` holds private captures and reusable datasets. Reports specifies the reporting SOP, template and private Google Sheets
deliverable; `master_planning` supplies verified inputs. Source code links may require repository
access; the public guides explain the entry contracts without requiring it.

For discovery/access checks, use the [testing guide](testing.md). For a bounded
discovery-to-dashboard exercise, follow the [Sales pilot](recipes/sales-pilot.md),
including its five private completion artifacts.

## Interpret the catalog correctly

- `local_contract_reviewed` means source code was inspected at `reviewedRevision`.
  It is not a deployed-service health check. `reviewedAt` is a documentation date.
- Dataset status `available_adapter` describes an implemented offline adapter.
  It does not prove a local release exists or covers your requested period.
- Bundle availability is independent: `local_only` means a prepared export with
  no remote file; `configured` means private file/reader access provisioned;
  `remotely_verified` requires actual authorized retrieval and unauthorized denial;
  `unavailable` means absent, revoked or inaccessible. See the bundle contract for
  required evidence. File IDs and trusted expected hashes are supplied privately.
- `existing_captures`, `source_integration_only`, `planned`, and
  `coverage_unverified` are different levels of availability. Read the private
  catalog for actual releases and gaps.
- Enterprises, legal entities, vendors, accounts, sales channels and fulfillment
  methods are separate dimensions. Source platform alone does not determine them.
- Diagram edges are dated reference relationships. They do not prove transactions,
  current settings, cost allocations or physical inventory.
- Farm Store App controls prices. The master pricelist is generated; its edits
  are overwritten. Pricing diagrams contain configurable reference defaults.

Use complete Monday–Sunday reporting weeks in America/Los_Angeles by default.
Preserve a source's date-only values and documented timezone; do not silently shift
database DATETIME values. Name any alternative date basis or partial period.

Reading documentation grants no permission to change operational systems. A report
request can be fulfilled with an offline result. A dashboard requires the private
native Google Sheets deliverable and final workbook link unless another format
is explicitly requested. Define owned ranges and preserve manual inputs.
