Operational Remediation Reports
Capacity Shift Report
Pick a Reserve Action
A capacity remediation report can turn remaining reserve into a small action label without depending on host metrics.
Program
Play the program to choose reserve and inspect the capacity action.
capacity_shift_report.f90
Replay: real traced execution (multi-file project)
program capacity_shift_report_demo
implicit none
integer :: reserve
character(len=8) :: action
reserve = 8
if (reserve >= 15) then
action = 'hold'
else if (reserve >= 8) then
action = 'shift'
else
action = 'shed'
end if
print '(A, I0, 1X, A)', 'reserve=', reserve, trim(action)
end program capacity_shift_report_demo
program capacity_shift_report_demo
implicit none
integer :: reserve
character(len=8) :: action
reserve = 4
if (reserve >= 15) then
action = 'hold'
else if (reserve >= 8) then
action = 'shift'
else
action = 'shed'
end if
print '(A, I0, 1X, A)', 'reserve=', reserve, trim(action)
end program capacity_shift_report_demo
program capacity_shift_report_demo
implicit none
integer :: reserve
character(len=8) :: action
reserve = 16
if (reserve >= 15) then
action = 'hold'
else if (reserve >= 8) then
action = 'shift'
else
action = 'shed'
end if
print '(A, I0, 1X, A)', 'reserve=', reserve, trim(action)
end program capacity_shift_report_demo
reserve ← 8
6reserve = 87if (reserve >= 15) thenvalues this step8reserveif (reserve >= 15) then
6reserve = 87if (reserve >= 15) then8 action = 'hold'values this step8reserveelse if (reserve >= 8) then
8 action = 'hold'9else if (reserve >= 8) then10 action = 'shift'values this step8reserveaction ← shift
9else if (reserve >= 8) then10 action = 'shift'11elsevalues this stepshiftactionprint '(A, I0, 1X, A)', 'reserve=', reserve, trim(action)
13 end if14 print '(A, I0, 1X, A)', 'reserve=', reserve, trim(action)15end program capacity_shift_report_demooutputreserve=8 shiftvalues this step8reserveshiftaction
reserve ← 4
6reserve = 47if (reserve >= 15) thenvalues this step4reserveif (reserve >= 15) then
6reserve = 47if (reserve >= 15) then8 action = 'hold'values this step4reserveelse if (reserve >= 8) then
8 action = 'hold'9else if (reserve >= 8) then10 action = 'shift'values this step4reserveaction ← shed
11else12 action = 'shed'13end ifvalues this stepshedactionprint '(A, I0, 1X, A)', 'reserve=', reserve, trim(action)
13 end if14 print '(A, I0, 1X, A)', 'reserve=', reserve, trim(action)15end program capacity_shift_report_demooutputreserve=4 shedvalues this step4reserveshedaction
reserve ← 16
6reserve = 167if (reserve >= 15) thenvalues this step16reserveif (reserve >= 15) then
6reserve = 167if (reserve >= 15) then8 action = 'hold'values this step16reserveaction ← hold
7if (reserve >= 15) then8 action = 'hold'9else if (reserve >= 8) thenvalues this stepholdactionprint '(A, I0, 1X, A)', 'reserve=', reserve, trim(action)
13 end if14 print '(A, I0, 1X, A)', 'reserve=', reserve, trim(action)15end program capacity_shift_report_demooutputreserve=16 holdvalues this step16reserveholdaction
reserve selector
`reserve` is a scalar report signal that stays simple enough for deterministic replay variants.
remediation tiers
Higher reserve can hold steady, medium reserve shifts load, and low reserve sheds optional work.
operator output
The report line exposes both the numeric reserve and the action label.