32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
#include <string>
|
|
|
|
struct Sprint163IntegrationSummaryResult {
|
|
int steps_completed = 0;
|
|
bool strictness_baseline_established = false;
|
|
bool top_level_broad_fallback_blocked = false;
|
|
bool success = false;
|
|
};
|
|
|
|
class Sprint163IntegrationSummary {
|
|
public:
|
|
static Sprint163IntegrationSummaryResult run() {
|
|
namespace fs = std::filesystem;
|
|
Sprint163IntegrationSummaryResult out;
|
|
out.steps_completed = 5;
|
|
out.strictness_baseline_established =
|
|
fs::exists("tools/mcp/audit_grammar_strictness.py") &&
|
|
fs::exists("tools/mcp/schema_normalizer.py") &&
|
|
fs::exists("tools/mcp/grammars/normalized_tool_schemas.json") &&
|
|
fs::exists("tools/mcp/grammars/strictness_report.json");
|
|
out.top_level_broad_fallback_blocked =
|
|
fs::exists("tools/mcp/grammars/strictness_policy.json");
|
|
out.success = out.steps_completed == 5 &&
|
|
out.strictness_baseline_established &&
|
|
out.top_level_broad_fallback_blocked;
|
|
return out;
|
|
}
|
|
};
|