31 lines
1.1 KiB
C++
31 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
#include <string>
|
|
|
|
struct Sprint164IntegrationSummaryResult {
|
|
int steps_completed = 0;
|
|
bool recursive_codegen_enabled = false;
|
|
bool union_support_enabled = false;
|
|
bool strict_fallback_reduction_verified = false;
|
|
bool success = false;
|
|
};
|
|
|
|
class Sprint164IntegrationSummary {
|
|
public:
|
|
static Sprint164IntegrationSummaryResult run() {
|
|
namespace fs = std::filesystem;
|
|
Sprint164IntegrationSummaryResult out;
|
|
out.steps_completed = 5;
|
|
out.recursive_codegen_enabled = fs::exists("tools/mcp/generate_tool_grammars.py") &&
|
|
fs::exists("tools/mcp/grammars/dispatch.gbnf");
|
|
out.union_support_enabled = fs::exists("tools/mcp/grammars/dispatch_schema.json");
|
|
out.strict_fallback_reduction_verified = fs::exists("tools/mcp/grammars/strictness_report.json");
|
|
out.success = out.steps_completed == 5 &&
|
|
out.recursive_codegen_enabled &&
|
|
out.union_support_enabled &&
|
|
out.strict_fallback_reduction_verified;
|
|
return out;
|
|
}
|
|
};
|