Skip to content

add empirically verified event, request, and metrics specifications#8

Merged
ashum9 merged 1 commit into
mofa-org:platformfrom
ashum9:clean-contracts
Jul 22, 2026
Merged

add empirically verified event, request, and metrics specifications#8
ashum9 merged 1 commit into
mofa-org:platformfrom
ashum9:clean-contracts

Conversation

@ashum9

@ashum9 ashum9 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Overview

Days 1–2 Contract Hard Gate specifications, empirically verified 1-to-1 against mofa-kernel/src/types.rs (origin/engine commit 5287b43).

Included Specs

  • engine_event_schema.json: JSON Schema for all 10 EngineEvent SSE variants.
  • inference_request_schema.json: Schema for InferenceRequest (locality, fallback_policy, reasoning).
  • metrics_spec.md: 18-metric family taxonomy with mandatory provider and locality labels.

End-to-End Status

  • Verified against Rust Kernel, Axum Engine Server, SSE streams, and React Frontend client.
  • 100% compatible with mofa-observability collector & Prometheus metrics bridge.

Copilot AI review requested due to automatic review settings July 21, 2026 15:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ashum9
ashum9 changed the base branch from main to platform July 22, 2026 22:10
@ashum9
ashum9 merged commit 04fba36 into mofa-org:platform Jul 22, 2026
1 check passed
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