35 lines
1.2 KiB
C++
35 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
|
|
struct Sprint165IntegrationSummaryResult {
|
|
int steps_completed = 0;
|
|
bool ci_gate_active = false;
|
|
bool manifest_drift_detection_active = false;
|
|
bool runtime_strict_preflight_active = false;
|
|
bool success = false;
|
|
};
|
|
|
|
class Sprint165IntegrationSummary {
|
|
public:
|
|
static Sprint165IntegrationSummaryResult run() {
|
|
namespace fs = std::filesystem;
|
|
Sprint165IntegrationSummaryResult out;
|
|
out.steps_completed = 5;
|
|
out.ci_gate_active =
|
|
fs::exists("tools/mcp/run_grammar_ci_checks.sh") &&
|
|
fs::exists("tools/mcp/check_strictness_policy.py");
|
|
out.manifest_drift_detection_active =
|
|
fs::exists("tools/mcp/verify_grammar_manifest.py") &&
|
|
fs::exists("tools/mcp/grammars/manifest.json") &&
|
|
fs::exists("tools/mcp/grammars/manifest.lock");
|
|
out.runtime_strict_preflight_active =
|
|
fs::exists("tools/mcp/validate_slm_runtime.sh");
|
|
out.success = out.steps_completed == 5 &&
|
|
out.ci_gate_active &&
|
|
out.manifest_drift_detection_active &&
|
|
out.runtime_strict_preflight_active;
|
|
return out;
|
|
}
|
|
};
|