Project completed demo live recordings into read-only match reviews (by Codex)

This commit is contained in:
Codex authored and Codex committed 2026-10-27 08:26:44 +01:00
1 parent fec4c6c7e7
commit 2c4b9d2595
7 files changed
+464 -2

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
// SPDX-License-Identifier: GPL-3.0-only
#pragma once
#include "modern/ui/catalog.hpp"
#include <cstddef>
namespace bmh::modern_ui {
// Read-only review of a completed, validated UI recording. Passing its last
// sequence acknowledges UI playback completion, never engine match completion.
// The recording, its identities and every original outcome remain unchanged.
Json make_demo_post_match(const Json &live_fixture, size_t completed_sequence);
// {kind:"review"|"report", completed_sequence:uint,
// fixture_id?:string, revision?:uint, match_id?:string, minute?:uint}
// match_id/minute are report-only. Minute seeking selects an existing recorded
// frame; it does not interpolate scores, calculate ratings or execute actions.
Json query_demo_post_match(const Json &live_fixture, const Json &request);
} // namespace bmh::modern_ui