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

+6
View File
@@ -41,6 +41,11 @@ public:
virtual Json read_live(const Json &) const {
return {{"ok", false}, {"error", "live_unavailable"}};
}
// An authoritative adapter must confirm its own completed match state.
// Demo completion only acknowledges the final prerecorded presentation frame.
virtual Json read_post_match(const Json &) const {
return {{"ok", false}, {"error", "post_match_unavailable"}};
}
};
class DemoSource final : public DataSource {
public:
@@ -53,6 +58,7 @@ public:
Json read_almanac(const Json &) const override;
Json read_statistics(const Json &) const override;
Json read_live(const Json &) const override;
Json read_post_match(const Json &) const override;
void save(const fs::path &, const Json &desktop);
Json load(const fs::path &);
// UI continuation may retain the previous explicit-save clean baseline.