intake:document-analytics
Write a product-analytics reference (telemetry setup, an event catalog, and identity wiring) read from the instrumentation.
Step: documentation (intake phase) · Procedure file: references/intake/procedures/document-analytics.md · Run: intake document-analytics
Inputs
Section titled “Inputs”| Name | Type | Required | Description |
|---|---|---|---|
directory |
string | no | Root directory to analyze. Defaults to the project root. |
Outputs
Section titled “Outputs”| Name | Type | Path | Description |
|---|---|---|---|
analytics-events-doc |
file | docs/operations/analytics-events.md | Product-analytics reference: telemetry setup and enablement, an event catalog table (event, when it fires, params, call site), identity and user-property wiring, and flags for events defined-but-never-fired and fired-but-undefined. |
How it runs
Section titled “How it runs”The procedure reads the code, stops at a checkpoint to confirm scope, writes its document, then runs an accuracy audit against the code, because agents read the result as the implementation contract. In an attended run the agent stops at the checkpoint so you can confirm or correct the scope; in a goal run it records the scope as a draft in the checklist note and goes on (see the intake phase).
Run it after intake:document-codebase. A rerun edits what it owns in place and keeps your hand edits. In a goal run it never asks a question; see the intake phase.