Numable authoring docsthe same content is available in the terminal: `numable docs <topic>`中文

reports — AI selects a report template for the situation

The current agent selects a template autonomously; the CLI validates data and renders RCN locally without another model call. User-specified templates and reporting frequency take priority. Otherwise simple answers may remain text-only, usually with at most one main image. Keep a task's layout stable unless its main message changes.

Discovery and selection

numable render --list-templates --json
numable render --describe-template data-summary --json

The lightweight catalog lists available templates and applicability, without loading every protocol. Query a chosen template to receive its JSON Schema and complete example; supply data rather than reading or regenerating template source.

Template Use when Skip when
task-brief Reporting completed work, milestones and next steps Numbers, tradeoffs or a final finding are the main message
data-summary Presenting 1–3 metrics with units, period and source A time trend is needed rather than a few summary values
comparison Comparing 2–3 options using common criteria Only one option or no common criteria are available
conclusion Explaining a finding, evidence, limits and actions A one-line answer is sufficient

For time trends or special matrices use numable render --rcn or text; do not call templates absent from the catalog. Standalone parameters are described in numable docs task-brief.

Data protocols and calculations

All templates require schemaVersion: 1, date, title and status. The caller supplies the date. Protocols validate types and item counts; fixed layouts also estimate text width, rejecting overly long fields for revision rather than silently dropping evidence.

Template Additional input CLI behavior
task-brief scope, stages, done, next, verification, optional decision Counts 1–8 boolean milestones; lists accept up to three items
data-summary period, source, 1–3 metrics, optional note Requires finite numeric value, label, unit, optional precision: 0–4
comparison 1–4 criteria, 2–3 options, basis, optional recommendation Each option has a name and matching values; recommendation must name an existing option; no automatic scoring
conclusion conclusion, 1–3 evidence items, 0–3 actions, limits Evidence and limits are explicit; confidence is not inferred

A metric may supply previous and previousPeriod together. Difference is value − previous; relative change is difference / abs(previous) × 100%, displayed to two decimals. Without a baseline neither is calculated. A zero baseline shows the difference and a zero-baseline note, without a percentage. Positive or negative change does not automatically mean success or failure. Precision affects display only; calculations use raw values and the structured report includes raw differences and relative changes.

A comparison recommendation is { "option": "option name", "reason": "supporting reason" }; omitting it explicitly leaves the recommendation undetermined. Empty action lists leave no numbered placeholders. The caller must provide truthful facts; the program does not authenticate evidence or make the judgment.

Rendering and delivery

numable render --template data-summary --data metrics.json --out summary.png --json
numable render --template comparison --data options.json --out comparison.png --json
numable render --template conclusion --data finding.json --out conclusion.png --json

Display an image only after a zero exit code and a true ok report. Inspect the image, then embed the absolute PNG path in output. Explain failures, use text or revise data; do not present stale images as new results or invent facts to fill a template.

Protocols and examples ship with the CLI. Read relevant detail with numable docs reports --section Data. Template labels support Chinese and English; input text is not translated.

Workspace integration

numable workspace init generates report-selection rules in a new workspace's AGENTS.md and authoring skill. Existing workspace files are preserved; updating the CLI does not rewrite them. Review existing rules before merging the relevant selection guidance.

An agent that loads the guidance decides whether a report helps, selects a template, saves data and invokes the CLI before replying. This workspace mechanism relies on agent-executed guidance. For user-level global instructions and a one-time stop reminder, use numable agent install --target all; see numable docs agent. The caller owns task facts, history and triggers; the CLI does not read chat logs. Successful Web rendering does not replace device verification.