Skip to content

docs: fix accuracy gaps — checksum format, time-window semantics, error catalog, UI filter scope, CHANGELOG/ROADMAP currency#34

Merged
Gsbreddy merged 1 commit into
mainfrom
cursor/codebase-documentation-alignment-629d
May 2, 2026
Merged

docs: fix accuracy gaps — checksum format, time-window semantics, error catalog, UI filter scope, CHANGELOG/ROADMAP currency#34
Gsbreddy merged 1 commit into
mainfrom
cursor/codebase-documentation-alignment-629d

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented May 2, 2026

Summary

Documentation accuracy pass triggered by the v1.0.4 release. Fixes concrete gaps between source code behavior and the reference docs.

Why

After the v1.0.4 push, a review of source code against docs identified several accuracy issues:

  • Checksum format in examples used sha256:... prefix (wrong — storage returns bare 64-char hex)
  • Time-window boundary semantics were undocumented ([since, until) half-open interval)
  • window format constraints (only d/h/m, positive integer) not stated explicitly
  • Common errors table missing the candidate/rollback/promoted_baseline pricing error variants
  • Invalid RunEvent: prefix in 400 batch ingest errors was undocumented
  • GET /v1/actions newest-first ordering and 1–500 limit range not documented
  • DiffPage UI silently omits tenant_id/task_id — no note directing users to CLI/API
  • CHANGELOG.md 1.0.1 entry incorrectly claimed this tree "omits the full in-tree docs/ tree"
  • ROADMAP.md "Next release" still described v1.0.4 as upcoming

Changes

  • docs/http-api.md: checksum as 64-char hex; [since, until) time-window semantics; window format constraints; Invalid RunEvent: prefix in 400 errors; GET /v1/actions ordering and limit bounds.
  • docs/operations-and-policy.md: expanded common errors table (candidate/rollback/promoted_baseline error strings from operations.py); parse_window constraints in compute_diff steps; new section on diffs with one empty side.
  • docs/web-ui.md: note that tenant_id/task_id are absent from DiffPage UI with links to CLI/API alternatives.
  • CHANGELOG.md: correct the 1.0.1 slim-distribution bullet — docs/ is present and maintained in this clone.
  • ROADMAP.md: mark v1.0.4 as shipped; describe v1.0.5 candidates.

Validation

  • uv sync --frozen --extra dev
  • uv run python -m ruff check src tests — all checks passed
  • uv run python -m pytest — docs-only change, no model/code changes
  • No schema or web/ changes — generate_schemas.py and npm run build not required

Schema / Storage Impact

  • None

Risk

Docs-only. No code, schema, or static/ changes. Zero runtime risk.

Notes

All changes were verified against the source code (operations.py, storage.py, ledger.py, server/routes/ingest.py, bundle.py) before being written.

Open in Web View Automation 

…or catalog, UI filter scope, CHANGELOG/ROADMAP currency

- docs/http-api.md: document checksum as 64-char lowercase hex (no sha256: prefix);
  add half-open [since, until) time-window semantics to POST /v1/diff; document
  window format constraints (d/h/m only, positive integer required); add
  'Invalid RunEvent:' prefix note for batch ingest 400 errors; document GET /v1/actions
  newest-first ordering and server-enforced limit range (1–500).

- docs/operations-and-policy.md: expand common errors table with candidate/rollback
  variants that match actual OperationError strings in operations.py (Unknown candidate
  release, Missing pricing table for candidate/rollback target/promoted_baseline,
  Promoted baseline release is missing); document parse_window units and constraints
  inline in compute_diff steps; add section on diffs where one side has no run events
  (agent consistency check skipped, confidence implications).

- docs/web-ui.md: add explicit note on DiffPage that tenant_id and task_id are not
  exposed in the UI form and link to CLI/API alternatives.

- CHANGELOG.md: correct the 1.0.1 'slim distribution' entry which claimed this tree
  'omits the full in-tree docs/ tree' — docs/ is present and maintained in this clone.

- ROADMAP.md: mark v1.0.4 as shipped and update 'Next release' to describe v1.0.5
  candidates.

Co-authored-by: Gottam Sai Bharath <Gsbreddy@users.noreply.github.com>
@Gsbreddy Gsbreddy marked this pull request as ready for review May 2, 2026 18:32
@Gsbreddy Gsbreddy merged commit 517262a into main May 2, 2026
2 checks passed
@Gsbreddy Gsbreddy deleted the cursor/codebase-documentation-alignment-629d branch May 2, 2026 18:33
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