===== PS5.1 LINT — Ternary (? :) detector ===== Scanned files : 76 Hits : 17 - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\acceptance_selftest_v1.0.ps1 (L26) # - PowerShell 5.1 only. No PS7 tokens (?. ??), no ternary ?:, no here-strings. - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\devlock_open_v1.0.ps1 (L14) $mx = [regex]::Match($rawBoot, "(?ms)^\[BUG_KB_JSON_POINTER\]\s*(.*?)(?=^\[|\Z)") - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\ensure_aliases_and_shims_v1.0.ps1 (L30) # Optionnel: inclure toutes les bases trouv?es si -Full - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\fix_manifest_sha_v1.1.ps1 (L2) # Objet : Recalcul canonique du bloc [SYNC_MANIFEST] (hors ligne MANIFEST_SHA256) et correction ?ventuelle. - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\fix_manifest_sha_v1.1.ps1 (L3) # Modes :$(if(-Preview (par d){ faut, no-touch) ; -Write (SAFE-WRITE } else { .bak dat?e, .tmp, UTF-8 sans BOM). }) - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\fix_manifest_sha_v1.1.ps1 (L4) # PS 5.1-safe : pas d'op?rateurs modernes, pas de d?pendance au r?pertoire courant, r?solution robuste du _registry. - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\gov_dev_coach_v1.0.1.ps1 (L29) $profile = RecommendedProfile # <<< correction: pas de parenth?ses en PS 5.1 - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\gov_dev_coach_v1.0.1.ps1 (L64) Write-Host " Puis retourne dans le launcher : 1 (Preview) ? 4 (Validate asserts-only) ? U (Release DevLock) ? 2 (Write)." - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\gov_pipeline_guard_v1.2.8.ps1 (L48) # 5) QUICKLOG : chemin en positionnel (d?j? OK) - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\gov_pipeline_guard_v1.2.8.ps1 (L51) # 6) COMPARE LITE : chemin en positionnel (d?j? OK) - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\kb_bulk_ingest_v1.3.ps1 (L70) $raw = [regex]::Replace($raw, "/\*.*?\*/", "", "Singleline") - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\kb_dev_guard_v1.0.ps1 (L15) $failed = ($LASTEXITCODE -ne $null -and $LASTEXITCODE -ne 0) -or ($error.Count -gt ($global:__kbPrevErrorCount|?{$_}|Measure-Object).Count) - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\kb_salvage_compact_v1.1.ps1 (L113) # PSObject / Hashtable: traiter propri?t?s - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\maint_mem_sync_governanceorder.ps1 (L2) # Objet : Synchroniser la r?gle [GOVERNANCE-ORDER-OF-OPERATIONS_v1.2] - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\maint_mem_sync_governanceorder.ps1 (L5) # Version : 1.1 (reconstruction + conformit? archiviste) - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\thread_bootstrap_check_v1.0.ps1 (L19) $m = [regex]::Match($f.Name, "_v([0-9]+(?:\.[0-9]+)*)\.ps1$") - \\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\thread_bootstrap_check_v1.0.ps1 (L121) $mx = [regex]::Match($rawBoot, "(?ms)^\[BUG_KB_JSON_POINTER\]\s*(.*?)(?=^\[|\Z)")