Turn a failed-check count into a concrete remediation action without reading live service state.

Rollback Action Remediation Report

rollback_action_remediation_report.c
#include <stdio.h>

int main(void) {
    int failedChecks = ;
    int rollbackLimit = 1;
    const char *action = "monitor";

    if (failedChecks > 0) {
        action = "rollback";
    }

    if (failedChecks > rollbackLimit + 2) {
        action = "escalate";
    }

    printf("failed=%d\n", failedChecks);
    printf("limit=%d\n", rollbackLimit);
    printf("action=%s\n", action);
    return 0;
}
#include <stdio.h>

int main(void) {
    int failedChecks = ;
    int rollbackLimit = 1;
    const char *action = "monitor";

    if (failedChecks > 0) {
        action = "rollback";
    }

    if (failedChecks > rollbackLimit + 2) {
        action = "escalate";
    }

    printf("failed=%d\n", failedChecks);
    printf("limit=%d\n", rollbackLimit);
    printf("action=%s\n", action);
    return 0;
}
#include <stdio.h>

int main(void) {
    int failedChecks = ;
    int rollbackLimit = 1;
    const char *action = "monitor";

    if (failedChecks > 0) {
        action = "rollback";
    }

    if (failedChecks > rollbackLimit + 2) {
        action = "escalate";
    }

    printf("failed=%d\n", failedChecks);
    printf("limit=%d\n", rollbackLimit);
    printf("action=%s\n", action);
    return 0;
}
remediation action A remediation report converts the observed failure count into a single monitor, rollback, or escalate action.
rollback limit The rollback limit stays a scalar so the threshold that drives escalation is visible in the replay.