From f62d069555b50018b468ef967b15215b5cf7e343 Mon Sep 17 00:00:00 2001 From: Jens Reinemann Date: Wed, 13 May 2026 13:49:40 +0200 Subject: [PATCH] chore: update all paths and IDs from kispielwiese to krisenvorrat repo --- .github/skills/gh-tickets/SKILL.md | 26 +++++++++---------- .../skills/gh-tickets/create-next-ticket.ps1 | 10 +++---- .github/skills/gh-tickets/next-ticket.ps1 | 4 +-- .../skills/gh-tickets/set-board-status.ps1 | 6 ++--- .github/skills/ship/SKILL.md | 12 ++++----- .github/skills/ship/watch-pipeline.ps1 | 2 +- 6 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/skills/gh-tickets/SKILL.md b/.github/skills/gh-tickets/SKILL.md index d5d5531..b4c263a 100644 --- a/.github/skills/gh-tickets/SKILL.md +++ b/.github/skills/gh-tickets/SKILL.md @@ -5,7 +5,7 @@ description: "Konventionen für GitHub-Issues in diesem Workspace: Aufgabentyp-L # Skill: GitHub Tickets (gh-tickets) -Dieses Dokument definiert die verbindlichen Konventionen für GitHub-Issues im Repository `jreinemann-euris/kispielwiese`. +Dieses Dokument definiert die verbindlichen Konventionen für GitHub-Issues im Repository `jreinemann-euris/krisenvorrat`. --- @@ -39,14 +39,14 @@ Stoppe und fordere den User zur Zuordnung auf. Starte den Workflow **nicht** ohn | Label | Workflow-Prompt | | ---------------- | -------------------------------------------------------------------- | -| `block-planning` | `x:\KI Spielwiese\.github\prompts\workflow-block-planning.prompt.md` | -| `feature` | `x:\KI Spielwiese\.github\prompts\workflow-implementation.prompt.md` | -| `migration` | `x:\KI Spielwiese\.github\prompts\workflow-implementation.prompt.md` | -| `refactoring` | `x:\KI Spielwiese\.github\prompts\workflow-implementation.prompt.md` | -| `tech-decision` | `x:\KI Spielwiese\.github\prompts\workflow-tech-decision.prompt.md` | -| `infrastructure` | `x:\KI Spielwiese\.github\prompts\workflow-infrastructure.prompt.md` | -| `planning` | `x:\KI Spielwiese\.github\prompts\workflow-planning.prompt.md` | -| `test` | `x:\KI Spielwiese\.github\prompts\workflow-test.prompt.md` | +| `block-planning` | `.github/prompts/workflow-block-planning.prompt.md` | +| `feature` | `.github/prompts/workflow-implementation.prompt.md` | +| `migration` | `.github/prompts/workflow-implementation.prompt.md` | +| `refactoring` | `.github/prompts/workflow-implementation.prompt.md` | +| `tech-decision` | `.github/prompts/workflow-tech-decision.prompt.md` | +| `infrastructure` | `.github/prompts/workflow-infrastructure.prompt.md` | +| `planning` | `.github/prompts/workflow-planning.prompt.md` | +| `test` | `.github/prompts/workflow-test.prompt.md` | --- @@ -58,11 +58,11 @@ Die Abarbeitungsreihenfolge wird über das **Project Board** gesteuert, nicht ü | Eigenschaft | Wert | | ------------- | ----------------------------------------------------------------- | -| Projekt-Name | `HVA Client Migration` | -| Projekt-Nr | `1` | +| Projekt-Name | `Krisenvorrat` | +| Projekt-Nr | `2` | | Owner | `jreinemann-euris` | | Sortierfeld | `Order` (Number-Feld) | -| URL | https://github.com/users/jreinemann-euris/projects/1 | +| URL | https://github.com/users/jreinemann-euris/projects/2 | ### Order-Feld Konventionen @@ -91,7 +91,7 @@ Ausgabe: `#68 [M] CRM: Erweiterte Kundensuche (Order: 120)` ```powershell # Issue zum Board hinzufügen -gh project item-add 1 --owner jreinemann-euris --url "https://github.com/jreinemann-euris/kispielwiese/issues/" +gh project item-add 2 --owner jreinemann-euris --url "https://github.com/jreinemann-euris/krisenvorrat/issues/" # Order-Wert setzen (erfordert Item-ID und Field-ID) gh project item-edit --id --field-id --project-id --number diff --git a/.github/skills/gh-tickets/create-next-ticket.ps1 b/.github/skills/gh-tickets/create-next-ticket.ps1 index e5c6855..cd24ab1 100644 --- a/.github/skills/gh-tickets/create-next-ticket.ps1 +++ b/.github/skills/gh-tickets/create-next-ticket.ps1 @@ -19,9 +19,9 @@ param( [Parameter(Mandatory)][string]$Labels ) -$repo = "jreinemann-euris/kispielwiese" -$projectId = "PVT_kwHOCFqiJ84BWFbQ" -$orderFieldId = "PVTF_lAHOCFqiJ84BWFbQzhRi30o" +$repo = "jreinemann-euris/krisenvorrat" +$projectId = "PVT_kwHOCFqiJ84BXk9U" +$orderFieldId = "PVTF_lAHOCFqiJ84BXk9UzhSw4jo" # --- 1. Type-Label validieren --- $labelList = $Labels -split ',' | ForEach-Object { $_.Trim() } @@ -46,7 +46,7 @@ if ($LASTEXITCODE -ne 0) { $issueNumber = ($issueUrl -split '/')[-1] # --- 3. Zum Board hinzufügen --- -$addResult = gh project item-add 1 --owner jreinemann-euris --url $issueUrl --format json 2>&1 +$addResult = gh project item-add 2 --owner jreinemann-euris --url $issueUrl --format json 2>&1 if ($LASTEXITCODE -ne 0) { Write-Error "Fehler beim Hinzufügen zum Board: $addResult" exit 1 @@ -54,7 +54,7 @@ if ($LASTEXITCODE -ne 0) { $itemId = ($addResult | ConvertFrom-Json).id # --- 4. Niedrigsten Order-Wert ermitteln --- -$raw = gh project item-list 1 --owner jreinemann-euris --format json --limit 200 | ConvertFrom-Json +$raw = gh project item-list 2 --owner jreinemann-euris --format json --limit 200 | ConvertFrom-Json $minOrder = $raw.items | Where-Object { $_.status -ne "Done" -and $_.id -ne $itemId } | ForEach-Object { [double]$_.order } | diff --git a/.github/skills/gh-tickets/next-ticket.ps1 b/.github/skills/gh-tickets/next-ticket.ps1 index 627c5c8..0324cd2 100644 --- a/.github/skills/gh-tickets/next-ticket.ps1 +++ b/.github/skills/gh-tickets/next-ticket.ps1 @@ -9,7 +9,7 @@ #> param([int]$IssueNumber) -$repo = "jreinemann-euris/kispielwiese" +$repo = "jreinemann-euris/krisenvorrat" if ($IssueNumber -gt 0) { # Variante A: Explizite Issue-Nummer @@ -27,7 +27,7 @@ if ($IssueNumber -gt 0) { Write-Host "#$($json.number) $type $($json.title)" } else { # Variante B: Nächstes Ticket per Board-Query (serverseitig auf Todo gefiltert) - $raw = gh project item-list 1 --owner jreinemann-euris --format json --query "status:Todo" | ConvertFrom-Json + $raw = gh project item-list 2 --owner jreinemann-euris --format json --query "status:Todo" | ConvertFrom-Json $todos = $raw.items | ForEach-Object { $labels = $_.labels $prio = if ($labels -contains "priority:high") { 0 } diff --git a/.github/skills/gh-tickets/set-board-status.ps1 b/.github/skills/gh-tickets/set-board-status.ps1 index 5fb9bd8..e3e44a1 100644 --- a/.github/skills/gh-tickets/set-board-status.ps1 +++ b/.github/skills/gh-tickets/set-board-status.ps1 @@ -14,8 +14,8 @@ param( [Parameter(Mandatory)][ValidateSet("Todo","InProgress","Done")][string]$Status ) -$projectId = "PVT_kwHOCFqiJ84BWFbQ" -$statusFieldId = "PVTSSF_lAHOCFqiJ84BWFbQzhRcfAE" +$projectId = "PVT_kwHOCFqiJ84BXk9U" +$statusFieldId = "PVTSSF_lAHOCFqiJ84BXk9UzhSw4es" $statusMap = @{ "Todo" = "f75ad846" @@ -26,7 +26,7 @@ $statusMap = @{ $optionId = $statusMap[$Status] # Item-ID im Board finden -$items = gh project item-list 1 --owner jreinemann-euris --format json --limit 200 | ConvertFrom-Json +$items = gh project item-list 2 --owner jreinemann-euris --format json --limit 200 | ConvertFrom-Json $item = $items.items | Where-Object { $_.content.number -eq $IssueNumber } | Select-Object -First 1 if (-not $item) { diff --git a/.github/skills/ship/SKILL.md b/.github/skills/ship/SKILL.md index 3f5e0d1..8bf757e 100644 --- a/.github/skills/ship/SKILL.md +++ b/.github/skills/ship/SKILL.md @@ -7,7 +7,7 @@ description: "CoPuPi-Workflow: Commit, Mac-Build-Test, Push, GitHub-Pipeline beo Dieser Skill kapselt Tools und Konventionen für den Ship-Workflow – den Weg vom lokalen Commit bis zur grünen CI-Pipeline. -Der vollständige Workflow wird über `x:\KI Spielwiese\.github\prompts\ship.prompt.md` gesteuert. +Der vollständige Workflow wird über `.github/prompts/ship.prompt.md` gesteuert. --- @@ -21,16 +21,16 @@ Beobachtet den neuesten GitHub Actions Run bis zum Abschluss. Gibt Status, Dauer ```powershell # Standard: 15s warten, dann neuesten Run beobachten (nach Push) -& "x:\KI Spielwiese\.github\skills\ship\watch-pipeline.ps1" +& ".github/skills/ship/watch-pipeline.ps1" # Run existiert bereits – sofort starten -& "x:\KI Spielwiese\.github\skills\ship\watch-pipeline.ps1" -WaitForNew 0 +& ".github/skills/ship/watch-pipeline.ps1" -WaitForNew 0 # Bestimmten Commit verfolgen (wartet bis Run erscheint) -& "x:\KI Spielwiese\.github\skills\ship\watch-pipeline.ps1" -ExpectedSha abc1234 +& ".github/skills/ship/watch-pipeline.ps1" -ExpectedSha abc1234 # Längerer Timeout (Default: 300s) -& "x:\KI Spielwiese\.github\skills\ship\watch-pipeline.ps1" -Timeout 600 +& ".github/skills/ship/watch-pipeline.ps1" -Timeout 600 ``` **Parameter:** @@ -59,7 +59,7 @@ Beobachtet den neuesten GitHub Actions Run bis zum Abschluss. Gibt Status, Dauer Schritt 4 des `ship.prompt.md` ruft das Skript auf: ```powershell -& "x:\KI Spielwiese\.github\skills\ship\watch-pipeline.ps1" +& ".github/skills/ship/watch-pipeline.ps1" ``` Verwende `mode=sync` mit `timeout=300000` beim Aufruf über `run_in_terminal`. diff --git a/.github/skills/ship/watch-pipeline.ps1 b/.github/skills/ship/watch-pipeline.ps1 index 93b2bdc..3d0e4d4 100644 --- a/.github/skills/ship/watch-pipeline.ps1 +++ b/.github/skills/ship/watch-pipeline.ps1 @@ -21,7 +21,7 @@ param( [string]$ExpectedSha = "" ) -$repo = "jreinemann-euris/kispielwiese" +$repo = "jreinemann-euris/krisenvorrat" $poll = 10 # --- Warten ---