Farm: Abend 05.12. - kritischer Pfad mit temperatur Rang -12, alle temperatur-*/flop-fenster-*, simpool/streng nur in Luecken (.luecke)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Marc Mintel
2026-12-05 18:20:54 +01:00
co-authored by Claude Opus 5.5
parent 7ff8232561
commit 7f44d65ef7
@@ -1,8 +1,8 @@
# 05.12. main/Owner: Farm nur fuer den kritischen Pfad der Live-Fassung. Alles andere manuell anhalten bzw. halten (fortsetzbar, nichts beendet).
$Q = 'D:\Projects\pf-batterie\messung\farm\schlange'
$grund = 'manuell farm 05.12. ' + (Get-Date -Format 'HH:mm') + ': Owner - Farm nur kritischer Pfad (exakt-Bau 3e88ab53/Flop-Fenster, jamprobe-allein, temperatur, sim-gekauft); fortsetzen durch farm nach Freigabe'
function Erlaubt([string]$id) { $id -match '^(flop-fenster-.*3e88ab53|innovation-jamprobe-allein.*|innovation-vorflopselbst-bitgleich|innovation-vorflopselbst-streng|gpukern-(?!straddlebeleg|vorflopexakt).*|motor-pi-aus-pruefung|temperatur-uhr-0995-.*|sim-?gekauft.*|simpool.*)$' }
$rang = @{ 'flop-fenster' = -10; 'innovation' = -9; 'motor-pi' = -8; 'temperatur' = -8; 'sim-gekauft' = -7; 'gpu-kern' = -9 }
function Erlaubt([string]$id) { $id -match '^(flop-fenster-.*|innovation-jamprobe-allein.*|innovation-vorflopselbst-bitgleich|innovation-vorflopselbst-streng|gpukern-(?!straddlebeleg|vorflopexakt).*|motor-pi-aus-pruefung|temperatur-.*|sim-?gekauft.*|simpool.*)$' }
$rang = @{ 'temperatur' = -12; 'flop-fenster' = -8; 'motor-pi' = -8; 'gpu-kern' = -8; 'innovation' = -5; 'sim-gekauft' = -5; 'sim-fassung-pool' = -5 }
foreach ($f in Get-ChildItem "$Q\laufend" -Filter *.json) {
$id = $f.BaseName
if (Erlaubt $id) { continue }
@@ -19,3 +19,10 @@ foreach ($f in Get-ChildItem "$Q\auftraege" -Filter *.json) {
"VORNE $id prio $r"; continue }
Rename-Item $f.FullName "$($f.Name).halten"; "GEHALTEN $id"
}
# 05.12. abends (main): simpool und vorflopselbst-streng nur in Luecken - solange ein temperatur-Auftrag wartet oder laeuft, warten sie als .luecke
$tempDa = @(Get-ChildItem "$Q\auftraege\temperatur-*.json", "$Q\laufend\temperatur-*.json" -EA 0).Count -gt 0
foreach ($f in @(Get-ChildItem "$Q\auftraege" -File -EA 0 | ? { $_.Name -match '^(simpool-.*|innovation-vorflopselbst-streng.*)\.json(\.luecke)?$' })) {
if ($tempDa -and $f.Name -like '*.json') { Rename-Item $f.FullName "$($f.Name).luecke"; "LUECKE gehalten $($f.Name)" }
elseif (-not $tempDa -and $f.Name -like '*.luecke') { Rename-Item $f.FullName ($f.Name -replace '\.luecke$', ''); "LUECKE frei $($f.Name)" }
}