makepad/tools/qwen38/recon2_217.ps1
Admin 384d0e031c tools: the Builder replaces makepad_loader, the web server moves to makepad/webserver, fleet scripts, docs and the workspace members
tools/makepad_builder replaces tools/makepad_loader: one build target
shared across app builds, workspace package selection, checkout
progress on the public Git API, detached built apps with a completion
state, waits for Windows security scans, manual retry after compiler
locks, dedicated-folder installer checks, catalog and runtime fixes.
tools/web_server and its scripts leave for github.com/makepad/webserver.
Arch USB clone/restore scripts, the qwen38 box scripts and the G-belt
serial test join tools/. docs/agents records the agent workflow and the
remote-control handoff protocol; AGENTS.md forbids vendored sources and
bulk imports. Cargo.toml lists apps/wm-dyn, libs/code_language,
libs/search, libs/tar, libs/loader_bundle and tools/makepad_builder,
and drops the two removed crates.

Squashed from work:
- Share Builder target across Makepad app builds
- Fix Builder workspace package selection
- Align Builder checkout progress with public Git API
- Detach built apps and show completion state
- Wait for Windows security scans
- Offer manual retry after Windows compiler locks
- docs: the agent workflow of record and the remote-control handoff protocol
- builder: dedicated-folder installer checks, catalog and runtime fixes; Windows job objects hold c_void handles
- tools: Arch USB clone/restore scripts, the qwen38 box scripts, and the G-belt serial test
- tools: the web server moves to makepad/webserver
- AGENTS.md: no vendored sources or bulk imports in the tree

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-18 12:17:59 +02:00

42 lines
3 KiB
PowerShell

# qwen38 bring-up recon round 2: firewall program paths, service cmdlines, python, caches
$ErrorActionPreference = 'Continue'
Write-Output "=== FIREWALL PROGRAM PATHS (llama-server / python / makepad / WSL rules) ==="
foreach ($rn in @('llama-server.exe','python.exe','makepad-asset-ai.exe','makepad-remote.exe','WSL 8080','WSL GGUF 9000','comfyui.exe')) {
$rules = Get-NetFirewallRule -DisplayName $rn -ErrorAction SilentlyContinue
foreach ($r in $rules) {
$app = ($r | Get-NetFirewallApplicationFilter -ErrorAction SilentlyContinue).Program
$port = ($r | Get-NetFirewallPortFilter -ErrorAction SilentlyContinue)
Write-Output ("RULE '" + $rn + "' dir=" + $r.Direction + " act=" + $r.Action + " en=" + $r.Enabled + " prog=" + $app + " proto=" + $port.Protocol + " lport=" + $port.LocalPort)
}
}
Write-Output "=== AI-CONTENT SERVICE CMDLINE (pid on 8767) ==="
$cn = Get-NetTCPConnection -State Listen -LocalPort 8767 -ErrorAction SilentlyContinue | Select-Object -First 1
if ($cn) {
$wp = Get-CimInstance Win32_Process -Filter ("ProcessId=" + $cn.OwningProcess)
Write-Output ("pid=" + $cn.OwningProcess)
Write-Output ("exe=" + $wp.ExecutablePath)
Write-Output ("cmdline=" + $wp.CommandLine)
Write-Output ("cwd_hint_parent=" + (Get-CimInstance Win32_Process -Filter ("ProcessId=" + $wp.ParentProcessId)).CommandLine)
}
Write-Output "=== PID 4408 (8080/9000 owner) ==="
Get-Process -Id 4408 -ErrorAction SilentlyContinue | Format-List Name,Path | Out-String
(Get-CimInstance Win32_Process -Filter "ProcessId=4408" -ErrorAction SilentlyContinue).CommandLine
Write-Output "=== WSL STATE ==="
wsl -l -v 2>&1 | Out-String
Write-Output "=== PYTHON/PIP ==="
python -m pip --version 2>&1
python -c "import torch; print('torch', torch.__version__)" 2>&1
python -c "import safetensors, transformers; print('safetensors+transformers ok')" 2>&1
Write-Output "=== VENVS under C:\ai (pyvenv.cfg depth<=3) ==="
Get-ChildItem C:\ai -Recurse -Depth 3 -Filter pyvenv.cfg -ErrorAction SilentlyContinue | ForEach-Object { $_.FullName }
Write-Output "=== C:\ai\models CONTENT ==="
Get-ChildItem C:\ai\models -ErrorAction SilentlyContinue | Format-Table Name,Length,LastWriteTime -AutoSize | Out-String
Write-Output "=== EXISTING llama-server ON DISK ==="
where.exe llama-server 2>&1
foreach ($pth in @('C:\ai\llama','C:\Users\playe\llama.cpp','C:\Users\playe\llama','C:\ai\llamacpp')) { if (Test-Path $pth) { Write-Output "EXISTS: $pth" } }
Write-Output "=== CURL CANDIDATES ==="
foreach ($cc in @('C:\Windows\System32\curl.exe','C:\Program Files\Git\mingw64\bin\curl.exe')) { if (Test-Path $cc) { & $cc --version | Select-Object -First 1 | ForEach-Object { Write-Output ("$cc -> " + $_) } } else { Write-Output "$cc MISSING" } }
Write-Output "=== HF CACHE ==="
foreach ($hc in @('C:\Users\playe\.cache\huggingface')) { if (Test-Path $hc) { Get-ChildItem $hc -ErrorAction SilentlyContinue | Format-Table Name,LastWriteTime -AutoSize | Out-String } else { Write-Output "$hc MISSING" } }
Write-Output "=== GPU IDLE BASELINE NOW ==="
nvidia-smi --query-gpu=memory.used,memory.free --format=csv