Skip to content

GHOST v1.5.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 01:22
· 80 commits to main since this release
08b0e38

[1.5.0] - 2026-11-11

Added

  • Menu: "Launch ZCode Primary" row (2026-11-10): ZCode submenu [9]
    (new gid 82, new src\windows\launch_zcode_primary.ps1) launches the
    stock Primary instance detached and NON-ELEVATED — spawned via
    explorer.exe so the app is always medium-IL (UIPI otherwise silently
    strips drag-drop into an elevated instance) and immune to ZCode's
    AttachConsole console hijack. No clone env vars are ever set: default
    look, bare base AUMID. Verify-after polls 20s for a Primary-classified
    main (subtree carries no clone markers — same classifier as the taskbar
    watcher) and prints the PID, FAILED exit 1 if none; relaunching while
    the Primary runs just focuses its window. Launch transcript at
    tools\logs\launch_zcode_primary.log. Also in GHOST.exe (runtime
    menu.json row, detached mode — no rebuild needed). The Primary reset row
    (ZCode [15], gid 7 — still also IDE Resets [7]) gained a
    "- Primary profile - chats kept" tail in GHOST.bat + menu.json.
  • ZCode Task Manager identity — per-color exe copies (2026-11-11): Task
    Manager's background-process groups take their display name and icon from
    the executable IMAGE itself (embedded icon resource + VERSIONINFO
    FileDescription), so all six instances running the stock ZCode.exe
    rendered as identical stock ZCode (N) rows no matter what the
    taskbar/shortcut/window stack did. New
    tools\patch_zcode_exe_identity.ps1 (+ pure core
    tools\zcode_exe_identity_lib.ps1, unit-tested) builds per-color exe
    copies ZCode-Blue.exe … ZCode-Orange.exe in the install dir (~235 MB
    each, support files shared; ~1.2 GB total) and patches their icon group
    (Win32 UpdateResource, PS 5.1-safe P/Invoke) + FileDescription
    (ZCode <Color>), verify-after re-reading the written resources and the
    version info — never silent success. The clone launcher's new step 2f
    fast-checks a sidecar marker (source size+mtime+SHA256 + icon SHA256 +
    engine version) and rebuilds a copy only on drift (app update, icon
    change), then starts that clone from its copy; the Primary keeps the stock
    exe. Copies lose Authenticode validity (resource edits) — AV-protected
    machines may see a SmartScreen prompt on first launch of a copy (this dev
    box runs none; estimate-hedged in docs). Manual rebuild: ZCode submenu
    [31] (new gid 83, appended in display order — gids never renumber) or
    -Target All / -DryRun / -Force.
  • Classifier widening for the copy family (2026-11-11): every ZCode
    process enumeration across 8 scripts widened from the bare
    Name='ZCode.exe' / Get-Process -Name ZCode to the whole copy family
    (Name LIKE 'ZCode%' / 'ZCode*' + copy-aware cmdline regex) — the old
    predicates made a clone running from its exe copy invisible to the RAM
    guard, PID-diff discovery, taskbar stamping, selective resets, the
    asset-sync running guard, chat refresh, the MCP-sync watcher and the
    captcha watchdog. Classification gained the copy-exe name as a FIRST
    signal (ZCode-Blue.exe → Second etc.) — deterministic even mid-splash
    before marker-carrying children exist; markers remain signal #2, titles
    the fallback. The captcha watchdog's marker patterns gained the copy exe
    names, its taskkill hammer covers the copies, and its Primary relaunch
    now accepts ONLY the stock install-dir exe (never a copy path). Also
    fixed a silent PRE-EXISTING gap found while writing the new regex: the
    unquoted-path branch of the bare-exe rule used [^\s"]*, which can never
    cross the space in C:\Program Files\... — machine-wide installs were
    misclassified as Primary; it is [^"]* now. Test-pinned by
    tests/zcode_exe_identity.Tests.ps1 (21 tests incl. launcher-parity and a
    copy-family tripwire over all 8 enumeration sites); the resident watchers
    pick the new classifiers up on their next restart (a watcher started
    before the edit keeps the old code — relaunch via ZCode [26] or any clone
    launch's step 2e).
  • GHOST.exe — Windows desktop GUI wrapper (2026-11-10): single-file
    C# (.NET 4.0 WinForms) launcher compiled on the fly by
    tools\build_ghost_exe.ps1 using the in-box csc.exe (no SDK needed).
    Carries native icon, DPI awareness, embedded UAC manifest, search filtering,
    and executes menu actions with real-time logging. Data-driven from
    src\desktop\menu.json with 1:1 parity enforced by tests\ghost_hub_menu.Tests.ps1.
  • AutoClaw2 notification-tray identity — identity patch v2 (2026-11-09):
    tools/patch_autoclaw2_identity.ps1 splices a FOURTH byte-anchor inside the
    generic tray builder (mTr): t=r(e(n.iconPath)) ->
    t=r(e(process.env.ZWORK_CLONE_ICON||n.iconPath)) — the notification-area
    tray icon now follows ZWORK_CLONE_ICON too.
  • Netlify MCP server added to the central registry (2026-11-08): the
    29th entry netlify-mcp in tools/mcp/master-mcp.json.
  • Namecheap MCP server added to the central registry (2026-11-10): HTTP
    MCP endpoint with bearer token authentication.

Changed

  • ZCode submenu renumbered (2026-11-10): the new Launch row inserted as
    local [9] shifted locals 9-29 → 10-30 (gids NEVER move).
  • Maintenance submenu expanded: now [1]-[5] with gid 81 (tools\build_ghost_exe.ps1).
  • GHOST shortcuts prefer GHOST.exe: tools\install_ghost_shortcut.ps1
    links to GHOST.exe when built, falling back to GHOST.bat.

Fixed

  • Menu "Change Device ID" (IDE Resets [1]) never changed anything (2026-11-10):
    gid 1 now dispatches through :ConfirmRun with -Mode LegacyReset. Fixed reg load
    error handling via $LASTEXITCODE, skipped unmountable profile hives loudly,
    and unified hostname generation with Get-NewHostname.
  • MCP registry sync: codex "registry-disabled" skip (2026-11-10):
    pure Select-CodexView filter drops remote and disabled entries before per-app transform.
  • AutoClaw2 chat import empty-pane timeline regression & re-import (2026-11-10):
    remapped request_entry_id and answer_entry_id under new run IDs to fix empty imported
    timeline pane; permitted re-importing reverted sessions.
  • AutoClaw2 chat import menu rows & batch import (2026-11-09):
    fixed :Run argument forwarding and added -AllMissing batch import mode.
  • AutoClaw2 clone windows taskbar grouping kick (2026-11-09):
    launcher kicks taskbar group with temporary identity transition to separate buttons.