Skip to content

docs: document v1.0.3 changes — ingest edge cases, multi-provider diff, structured action outcome#29

Closed
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/codebase-documentation-alignment-df1a
Closed

docs: document v1.0.3 changes — ingest edge cases, multi-provider diff, structured action outcome#29
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/codebase-documentation-alignment-df1a

Conversation

@cursor

@cursor cursor Bot commented May 2, 2026

Copy link
Copy Markdown

Summary

Documentation updates to align with v1.0.3 code changes that lacked matching docs coverage.

Why

The v1.0.3 release added three new behavioral features — runs ingest edge-case handling, multi-provider/cross-model diff support, and a structured outcome card in the web UI ActionsPage — but the docs were not updated to reflect them.

Changes

docs/cli.md

  • Added an edge-case table for runs ingest: empty file exits 0 with Inserted 0 events; malformed JSONL exits 1; JSON array format is auto-detected by a leading [.
  • Clarified description of JSON array auto-detection mechanism.

docs/operations-and-policy.md

  • Added a new Multi-provider and cross-model diffs subsection under compute_diff explaining that baseline and candidate are priced independently from their own spec.pricing_reference, when pricing_or_model_changed is set, and where it surfaces (CLI note, HTTP pricing.pricing_or_model_changed, web UI warning callout).

docs/web-ui.md

  • Documented the new structured outcome card in ActionsPage (policy badge, pointer badge, metric tiles, policy failure reasons, raw JSON fallback via JsonPanel).
  • Documented the pricing/model-change fd-alert--warn callout added to DiffPage.
  • Added PolicyResultPayload and ActionOutcomePayload TypeScript types to the api.ts types reference section.

Validation

  • uv sync --frozen --extra dev
  • uv run python -m ruff check src tests — clean
  • uv run python -m pytest — 93 passed
  • No schema changes (schemas/ untouched)
  • No web/ source changes (docs-only PR)

Schema / Storage Impact

  • None

Risk

Docs-only change. No code paths altered.

Review

  • PR is small and scoped: three doc files, 71 lines added.
Open in Web View Automation 

…f, structured action outcome

- docs/cli.md: add edge-case table for 'runs ingest' (empty file exits 0,
  malformed JSONL exits 1, JSON array auto-detected by leading '['); update
  description of JSON array format detection.

- docs/operations-and-policy.md: add 'Multi-provider and cross-model diffs'
  subsection explaining that baseline and candidate are costed independently
  from their own pricing_reference, that pricing_or_model_changed surfaces in
  CLI output / HTTP response / web UI callout, and that the cost delta should
  be read with caution when the flag is set.

- docs/web-ui.md: document the structured outcome card added to ActionsPage
  in v1.0.3 (policy badge, pointer badge, metric tiles for action/release/
  baseline/reason, fallback to raw JsonPanel); document the pricing/model-change
  fd-alert--warn callout added to DiffPage; add PolicyResultPayload and
  ActionOutcomePayload TypeScript types to the api.ts types section.

Co-authored-by: Gottam Sai Bharath <Gsbreddy@users.noreply.github.com>
@Gsbreddy Gsbreddy closed this May 2, 2026
@Gsbreddy Gsbreddy deleted the cursor/codebase-documentation-alignment-df1a branch May 2, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants