Skip to content

docs(operations): record the 2026-09-16 observability computation-contract review - #854

Merged
devswha merged 1 commit into
devfrom
bot/observability-contract-review
Sep 15, 2026
Merged

devswha merged 1 commit into
devfrom
bot/observability-contract-review

Conversation

@devswha

@devswha devswha commented Sep 15, 2026

Copy link
Copy Markdown
Owner

Purpose

Maintenance plan §12.1 asks for a computation-contract review of the existing aggregate observation code before any new collection work. This PR records that review as one dated ops document. Read-only: no code, schema, retention, SDK, or receipt change.

What was reviewed

api/pro-monitor.js, src/web-observability.js, api/funnel.js, playground/analytics.js at origin/dev 75bcf7f, by static read (no production probe, no credentials).

Verdict

All seven §12.1 rules: OK (0 violations, 2 cautions, 2 follow-up bullets — see the findings table with file:line anchors). Notable mechanisms: same-collection-only ratios, explicit denominators + logWindows in every receipt, bucket-bound p95 with no exact-percentile claim, fail-closed monitor_blind/503, closed outcome sets separating cancel/auth/quota/provider/product/below-floor, and ruleVersion/schema-hash pinning for series changes.

Scope / verification

  • One new file: docs/operations/observability-contract-review-20260916.md. No existing file touched.
  • npm run check:no-private-assets: 0 forbidden paths across 503 packed + 1388 tracked (exit 0).
  • Rollback: revert this single document.

Why (Issue omission)

Documentation-only review record with no behavior or contract change — low-risk exemption per docs/WORKFLOW.md P02a; the work item is maintenance plan §12.1.

@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
patina Ready Ready Preview Sep 15, 2026 4:56pm UTC

Request Review

@devswha
devswha merged commit 87b0dbe into dev Sep 15, 2026
8 checks passed
@devswha devswha mentioned this pull request Sep 15, 2026
@devswha
devswha deleted the bot/observability-contract-review branch September 16, 2026 03:19
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.

1 participant