{"owner":"benjamimgois","repo":"goverlay","hasSkills":true,"totalSkillsCount":2,"totalTokensCount":4709,"categories":["anthropic-skill"],"hasMcp":false,"mcpConfig":null,"found":[".agent/skills/goverlay-update-auditor/SKILL.md",".agent/skills/goverlay-update-auditor/references/repositories.json"],"skills":{".agent/skills/goverlay-update-auditor/SKILL.md":"---\nname: goverlay-update-auditor\ndescription: >-\n  Audits upstream GitHub repositories for tools integrated with Goverlay (MangoHud, vkBasalt, OptiScaler, MAKO, LSFG-VK, AFMF, ReShade, etc.).\n  Identifies new versions, breaking changes, deprecated syntax, and new configuration options that require new UI controls or backend adjustments in Goverlay.\n---\n\n# Goverlay Upstream Update Auditor Skill\n\nUse this skill whenever checking upstream repositories for updates, investigating new releases of tools bundled/configured by Goverlay, or reconciling Goverlay UI controls with new features in external tools.\n\n## Objectives\n\n1. **Monitor & Audit Upstream Repositories**:\n   - Query GitHub releases, tags, commits, and release notes for all tools integrated with Goverlay.\n2. **Detect New Configuration Options**:\n   - Parse upstream sample configuration files (e.g. `data/MangoHud.conf`, `OptiScaler.ini`, `mako.toml`, etc.) and compare them against keys in `configkeys.pas` and Goverlay UI handlers.\n3. **Identify Breaking Changes & Deprecations**:\n   - Scan release notes for flags such as deprecated keys, changed syntax, renamed options, or requirements (e.g., Vulkan layers, Proton versions, Mesa requirements).\n4. **Formulate Concrete Goverlay Implementation Steps**:\n   - Determine which Pascal units (`mangohud_ui.pas`, `optiscaler_tab.pas`, `lossless_scaling_tab.pas`, `vkbasalt_tab.pas`, `tweaks_md3.pas`, `configkeys.pas`, etc.) need updates.\n   - Propose UI widget types (e.g., `TToggleSwitch`, `TSpinEdit`, `TComboBox`, `TTrackBar`) and placement adhering to Goverlay's MD3 dark/light design system.\n\n---\n\n## Catalog of Integrated Tools\n\nThe repository catalog is defined in [`references/repositories.json`](./references/repositories.json):\n\n| Tool ID | Tool Name | Upstream Repository | Goverlay Files |\n| :--- | :--- | :--- | :--- |\n| `mangohud` | MangoHud | `flightlessmango/MangoHud` | `mangohud_ui.pas`, `configkeys.pas`, `overlay_config.pas` |\n| `optiscaler` | OptiScaler | `optiscaler/OptiScaler` | `optiscaler_tab.pas`, `optiscaler_update.pas`, `configkeys.pas` |\n| `dlss-enabler` | DLSS Enabler | `benjamimgois/OptiScaler-builds` (`discord_manifest`) | `optiscaler_update.pas`, `optiscaler_tab.pas`, `constants.pas` |\n| `fakenvapi` | FakeNvapi | `optiscaler/fakenvapi` | `optiscaler_tab.pas`, `configkeys.pas` |\n| `optipatcher` | OptiPatcher | `optiscaler/OptiPatcher` | `optiscaler_tab.pas`, `optiscaler_update.pas` |\n| `mako` | MAKO | `eugeniosegala/MAKO` | `lossless_scaling_tab.pas`, `constants.pas` |\n| `lsfg-vk` | LSFG-VK | `PancakeTAS/lsfg-vk` | `lossless_scaling_tab.pas`, `constants.pas` |\n| `afmf-linux` | AFMF Linux | `serialexperimentslainnnn/afmf-linux` | `lossless_scaling_tab.pas`, `constants.pas` |\n| `helixsr` | HelixSR | `lonewolf0622/HelixSR` | `optiscaler_tab.pas`, `helixsr_license_dialog.pas` |\n| `vkbasalt` | vkBasalt | `DadSchoorse/vkBasalt` | `vkbasalt_tab.pas`, `configkeys.pas` |\n| `vksumi` | vkSumi | `reakjra/vkSumi` | `vkbasalt_tab.pas`, `constants.pas` |\n| `reshade` | ReShade | `crosire/reshade` | `reshade_tab.pas`, `constants.pas` |\n| `gamemode` | GameMode | `FeralInteractive/gamemode` | `tweaks_md3.pas`, `configkeys.pas` |\n| `protontricks`| Protontricks| `Matoking/protontricks` | `protontricksunit.pas`, `constants.pas` |\n| `proton-cachyos`| Proton-CachyOS| `CachyOS/proton-cachyos` | `tweaks_md3.pas`, `configkeys.pas` |\n| `proton-ge-custom`| Proton-GE| `GloriousEggroll/proton-ge-custom` | `tweaks_md3.pas`, `configkeys.pas` |\n| `replaysorcery`| ReplaySorcery| `matanui159/ReplaySorcery` | `overlayunit.pas`, `constants.pas` |\n\n---\n\n## Workflow: How to Run the Audit\n\n### Step 1: Run the Automated Audit Script\n\nExecute the Python auditor helper to gather real-time intelligence from GitHub:\n\n```bash\n# Audit a single tool (e.g. MangoHud)\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --tool mangohud --format markdown\n\n# Audit Proton release notes across the last 10 releases (grouped by env var prefix)\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --tool proton-cachyos --releases 10 --format markdown\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --tool proton-ge-custom --releases 5 --format markdown\n\n# Audit all tools in compact mode\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --all --format compact\n\n# Export complete markdown report\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --all --format markdown --output /tmp/goverlay_audit.md\n```\n\n### Step 2: Deep-Dive into Release Notes & Commits\n\nFor any tool reporting `ATTENTION_REQUIRED` or `NEW_OPTIONS_AVAILABLE`:\n1. Use `gh api repos/<owner>/<repo>/releases/latest` to read the full markdown release notes.\n2. Inspect the upstream sample config file or documentation to understand each new option's data type, valid range/enum values, and default behavior.\n3. Cross-reference with Goverlay's current implementation in `configkeys.pas` and the respective UI tab unit.\n\n### Step 2b: Interactive DLSS Enabler Update (Discord → GitHub Releases)\n\nWhenever running an update audit (`--all` or `--tool dlss-enabler`), `dlss-enabler` reports `MANUAL_DISCORD_CHECK_REQUIRED` along with the currently published `dlssenabler_stable` and `dlssenabler_edge` versions in `versions.json`.\n\n1. **Prompt the user** in chat with the current `stable` and `edge` versions and ask whether a new DLSS Enabler `.zip` attachment link is available on Discord (or if they want to skip).\n2. **When the user pastes a Discord attachment URL** (or provides a local `.zip` path), run:\n   ```bash\n   python3 .agent/skills/goverlay-update-auditor/scripts/publish_dlss_enabler.py \"<discord_url_or_path>\"\n   ```\n   (Use `--channel stable|edge` or `--version X.Y.Z` only if auto-detection needs an override, and `--force` to replace an existing tag's asset.)\n3. **Review the output**: the script downloads and validates the ZIP (`>10KB`, `testzip`, `version.dll` present), normalizes the asset name (`DLSS-Enabler-<ver>-STABLE.zip` or `DLSS-Enabler-<ver>-EDGE.zip`), publishes the GitHub Release on `benjamimgois/OptiScaler-builds`, atomically updates `versions.json` on `nightly-action`, and prints the archive file inventory so you can check for any new DLLs, `.ini` files, or packaging changes.\n\n### Step 3: Triage & Classify Findings\n\nClassify each finding according to its impact:\n\n- **Type A: Critical Breaking Changes / Compatibility Regressions**:\n  - Deprecated syntax in config files (e.g., options dropped or renamed).\n  - New DLL naming conventions or environment variables needed for Wine/Proton.\n  - Action: Immediately update the config reader/writer in `configmanager.pas`, `overlay_config.pas`, or launch script generators (`bgmod.lpr` / `configkeys.pas`).\n\n- **Type B: New Upstream Configuration Options**:\n  - New metrics or graphs in MangoHud (e.g., `vulkan_present_mode`, `fps_sampling_period`).\n  - New toggles in OptiScaler (e.g., `Fsr4ForceEnableInt8`, `Fsr4EnableWatermark`).\n  - New scaling/framegen controls in MAKO or LSFG-VK.\n  - New Proton/Wine/DXVK/VKD3D environment variables discovered in `proton-cachyos` or `proton-ge-custom` release notes (grouped into `PROTON_*`, `WINE_*`, `DXVK_*`, `VKD3D_*`, and `Other` blocks for selective addition to the Tweaks tab in `tweaks_md3.pas`, `configkeys.pas`, and `hintsunit.pas`).\n  - Action:\n    1. Define key constant in `configkeys.pas`.\n    2. Add parsing and serialization in the respective config loader/saver.\n    3. Add UI control (`TToggleSwitch`, `TComboBox`, `TSpinEdit`) following Goverlay's Material Design 3 guidelines.\n\n- **Type C: Version Bumps & Download URLs**:\n  - Upstream tarball URL changes or new release assets.\n  - Action: Update `constants.pas` (e.g. `FALLBACK_RESHADE_VERSION`, `URL_*_TARBALL`).\n\n---\n\n## Guidelines for Implementing GUI Controls in Goverlay\n\nWhen designing new controls for discovered options:\n1. **LCL Qt5/Qt6 Compatibility**:\n   - Ensure controls work identically under Qt5 and Qt6 interfaces.\n   - Use `TToggleSwitch` for boolean toggles in modern MD3 sections.\n   - Use `TComboBox` with `csDropDownList` for enumerated choices (e.g. preset modes, upscaler selection).\n   - Use `TSpinEdit` with appropriate `MinValue`, `MaxValue`, and `Increment` for integer limits.\n2. **Localization & Tooltips**:\n   - Add tooltips via `hintsunit.pas` to explain the new option clearly to users.\n   - Add user-facing strings to `goverlay_strings.pas` if applicable.\n3. **OpenSpec Proposal**:\n   - For multi-file changes or major feature additions, use the OpenSpec workflow (`opsx propose`) before applying modifications.\n",".agent/skills/goverlay-update-auditor/references/repositories.json":"{\n  \"tools\": [\n    {\n      \"id\": \"mangohud\",\n      \"name\": \"MangoHud\",\n      \"repo\": \"flightlessmango/MangoHud\",\n      \"category\": \"hud\",\n      \"config_file\": \"MangoHud.conf\",\n      \"upstream_sample_config\": \"data/MangoHud.conf\",\n      \"goverlay_files\": [\n        \"mangohud_ui.pas\",\n        \"configkeys.pas\",\n        \"overlay_config.pas\",\n        \"configmanager.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more.\"\n    },\n    {\n      \"id\": \"optiscaler\",\n      \"name\": \"OptiScaler\",\n      \"repo\": \"optiscaler/OptiScaler\",\n      \"category\": \"upscaling\",\n      \"config_file\": \"OptiScaler.ini\",\n      \"upstream_sample_config\": \"OptiScaler.ini\",\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"optiscaler_update.pas\",\n        \"configkeys.pas\",\n        \"constants.pas\",\n        \"overlay_config.pas\"\n      ],\n      \"description\": \"DLSS2/DLSS3/FSR2/FSR3/XeSS replacement middleware for DirectX and Vulkan games.\"\n    },\n    {\n      \"id\": \"dlss-enabler\",\n      \"name\": \"DLSS Enabler\",\n      \"repo\": \"benjamimgois/OptiScaler-builds\",\n      \"category\": \"upscaling\",\n      \"audit_mode\": \"discord_manifest\",\n      \"manifest_url\": \"https://raw.githubusercontent.com/benjamimgois/OptiScaler-builds/nightly-action/versions.json\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"optiscaler_update.pas\",\n        \"optiscaler_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"DLSS 2/3/FG enabler distributed via Discord forum attachments and mirrored as GitHub Releases in benjamimgois/OptiScaler-builds.\"\n    },\n    {\n      \"id\": \"fakenvapi\",\n      \"name\": \"FakeNvapi\",\n      \"repo\": \"optiscaler/fakenvapi\",\n      \"category\": \"compatibility\",\n      \"config_file\": \"fakenvapi.ini\",\n      \"upstream_sample_config\": \"fakenvapi.ini\",\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"configkeys.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Proxy NVAPI library for spoofing Reflex, LatencyFlex, and DLSS support on non-NVIDIA GPUs.\"\n    },\n    {\n      \"id\": \"optipatcher\",\n      \"name\": \"OptiPatcher\",\n      \"repo\": \"optiscaler/OptiPatcher\",\n      \"category\": \"compatibility\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"optiscaler_update.pas\"\n      ],\n      \"description\": \"Binary patcher for signature checks and DLL overrides in modern games.\"\n    },\n    {\n      \"id\": \"mako\",\n      \"name\": \"MAKO\",\n      \"repo\": \"eugeniosegala/MAKO\",\n      \"category\": \"framegen\",\n      \"config_file\": \"mako.toml\",\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"lossless_scaling_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Vulkan layer for frame generation and scaling on Linux.\"\n    },\n    {\n      \"id\": \"lsfg-vk\",\n      \"name\": \"LSFG-VK\",\n      \"repo\": \"PancakeTAS/lsfg-vk\",\n      \"category\": \"framegen\",\n      \"config_file\": \"lsfg.toml\",\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"lossless_scaling_tab.pas\",\n        \"lsfg_migration_dialog.pas\",\n        \"lsfg_steam_beta_dialog.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Lossless Scaling Frame Generation Vulkan implementation.\"\n    },\n    {\n      \"id\": \"afmf-linux\",\n      \"name\": \"AFMF Linux\",\n      \"repo\": \"serialexperimentslainnnn/afmf-linux\",\n      \"category\": \"framegen\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"lossless_scaling_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"AMD Fluid Motion Frames implementation/packaging for Linux.\"\n    },\n    {\n      \"id\": \"helixsr\",\n      \"name\": \"HelixSR\",\n      \"repo\": \"lonewolf0622/HelixSR\",\n      \"category\": \"upscaling\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"helixsr_license_dialog.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Universal spatial and temporal super resolution layer.\"\n    },\n    {\n      \"id\": \"vkbasalt\",\n      \"name\": \"vkBasalt\",\n      \"repo\": \"DadSchoorse/vkBasalt\",\n      \"category\": \"postprocessing\",\n      \"config_file\": \"vkBasalt.conf\",\n      \"upstream_sample_config\": \"config/vkBasalt.conf\",\n      \"goverlay_files\": [\n        \"vkbasalt_tab.pas\",\n        \"constants.pas\",\n        \"overlay_config.pas\",\n        \"configmanager.pas\"\n      ],\n      \"description\": \"Vulkan post-processing layer to enhance the visual graphics of games.\"\n    },\n    {\n      \"id\": \"vksumi\",\n      \"name\": \"vkSumi\",\n      \"repo\": \"reakjra/vkSumi\",\n      \"category\": \"postprocessing\",\n      \"config_file\": \"vksumi.conf\",\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"vkbasalt_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Vulkan layer for tone mapping, gamut mapping, and HDR processing.\"\n    },\n    {\n      \"id\": \"vknemu\",\n      \"name\": \"vkNemu\",\n      \"repo\": \"reakjra/vkNemu\",\n      \"category\": \"limiter\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"optiscaler_update.pas\",\n        \"overlayunit.pas\"\n      ],\n      \"description\": \"Input and focus-based idle frame limiter Vulkan layer (Radeon Chill alternative).\"\n    },\n    {\n      \"id\": \"reshade\",\n      \"name\": \"ReShade\",\n      \"repo\": \"crosire/reshade\",\n      \"category\": \"postprocessing\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"reshade_tab.pas\",\n        \"constants.pas\",\n        \"vkbasalt_tab.pas\"\n      ],\n      \"description\": \"Generic post-processing injector for games and video software.\"\n    },\n    {\n      \"id\": \"reshade-shaders\",\n      \"name\": \"ReShade Shaders\",\n      \"repo\": \"crosire/reshade-shaders\",\n      \"category\": \"postprocessing\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"reshade_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Standard repository of ReShade FX shaders.\"\n    },\n    {\n      \"id\": \"protontricks\",\n      \"name\": \"Protontricks\",\n      \"repo\": \"Matoking/protontricks\",\n      \"category\": \"wine_proton\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"protontricksunit.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Simple wrapper that does winetricks for Proton enabled games.\"\n    },\n    {\n      \"id\": \"proton-cachyos\",\n      \"name\": \"Proton-CachyOS\",\n      \"repo\": \"CachyOS/proton-cachyos\",\n      \"category\": \"tweaks\",\n      \"audit_mode\": \"release_notes_env\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"tweaks_md3.pas\",\n        \"configkeys.pas\"\n      ],\n      \"description\": \"CachyOS Proton fork with custom patches, FSR4/ZLUDA/low-latency environment variables.\"\n    },\n    {\n      \"id\": \"proton-ge-custom\",\n      \"name\": \"Proton-GE\",\n      \"repo\": \"GloriousEggroll/proton-ge-custom\",\n      \"category\": \"tweaks\",\n      \"audit_mode\": \"release_notes_env\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"tweaks_md3.pas\",\n        \"configkeys.pas\"\n      ],\n      \"description\": \"GloriousEggroll's custom Proton distribution with upstream fixes and protonfixes.\"\n    },\n    {\n      \"id\": \"gamemode\",\n      \"name\": \"GameMode\",\n      \"repo\": \"FeralInteractive/gamemode\",\n      \"category\": \"tweaks\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"example/gamemode.ini\",\n      \"goverlay_files\": [\n        \"tweaks_md3.pas\",\n        \"configkeys.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Daemon/library combo that allows games to request a set of optimizations.\"\n    },\n    {\n      \"id\": \"replaysorcery\",\n      \"name\": \"ReplaySorcery\",\n      \"repo\": \"matanui159/ReplaySorcery\",\n      \"category\": \"recording\",\n      \"config_file\": \"replay-sorcery.conf\",\n      \"upstream_sample_config\": \"replay-sorcery.conf\",\n      \"goverlay_files\": [\n        \"overlayunit.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Open-source instant replay solution for Linux.\"\n    }\n  ]\n}\n"},"files":{".agent/skills/goverlay-update-auditor/SKILL.md":"---\nname: goverlay-update-auditor\ndescription: >-\n  Audits upstream GitHub repositories for tools integrated with Goverlay (MangoHud, vkBasalt, OptiScaler, MAKO, LSFG-VK, AFMF, ReShade, etc.).\n  Identifies new versions, breaking changes, deprecated syntax, and new configuration options that require new UI controls or backend adjustments in Goverlay.\n---\n\n# Goverlay Upstream Update Auditor Skill\n\nUse this skill whenever checking upstream repositories for updates, investigating new releases of tools bundled/configured by Goverlay, or reconciling Goverlay UI controls with new features in external tools.\n\n## Objectives\n\n1. **Monitor & Audit Upstream Repositories**:\n   - Query GitHub releases, tags, commits, and release notes for all tools integrated with Goverlay.\n2. **Detect New Configuration Options**:\n   - Parse upstream sample configuration files (e.g. `data/MangoHud.conf`, `OptiScaler.ini`, `mako.toml`, etc.) and compare them against keys in `configkeys.pas` and Goverlay UI handlers.\n3. **Identify Breaking Changes & Deprecations**:\n   - Scan release notes for flags such as deprecated keys, changed syntax, renamed options, or requirements (e.g., Vulkan layers, Proton versions, Mesa requirements).\n4. **Formulate Concrete Goverlay Implementation Steps**:\n   - Determine which Pascal units (`mangohud_ui.pas`, `optiscaler_tab.pas`, `lossless_scaling_tab.pas`, `vkbasalt_tab.pas`, `tweaks_md3.pas`, `configkeys.pas`, etc.) need updates.\n   - Propose UI widget types (e.g., `TToggleSwitch`, `TSpinEdit`, `TComboBox`, `TTrackBar`) and placement adhering to Goverlay's MD3 dark/light design system.\n\n---\n\n## Catalog of Integrated Tools\n\nThe repository catalog is defined in [`references/repositories.json`](./references/repositories.json):\n\n| Tool ID | Tool Name | Upstream Repository | Goverlay Files |\n| :--- | :--- | :--- | :--- |\n| `mangohud` | MangoHud | `flightlessmango/MangoHud` | `mangohud_ui.pas`, `configkeys.pas`, `overlay_config.pas` |\n| `optiscaler` | OptiScaler | `optiscaler/OptiScaler` | `optiscaler_tab.pas`, `optiscaler_update.pas`, `configkeys.pas` |\n| `dlss-enabler` | DLSS Enabler | `benjamimgois/OptiScaler-builds` (`discord_manifest`) | `optiscaler_update.pas`, `optiscaler_tab.pas`, `constants.pas` |\n| `fakenvapi` | FakeNvapi | `optiscaler/fakenvapi` | `optiscaler_tab.pas`, `configkeys.pas` |\n| `optipatcher` | OptiPatcher | `optiscaler/OptiPatcher` | `optiscaler_tab.pas`, `optiscaler_update.pas` |\n| `mako` | MAKO | `eugeniosegala/MAKO` | `lossless_scaling_tab.pas`, `constants.pas` |\n| `lsfg-vk` | LSFG-VK | `PancakeTAS/lsfg-vk` | `lossless_scaling_tab.pas`, `constants.pas` |\n| `afmf-linux` | AFMF Linux | `serialexperimentslainnnn/afmf-linux` | `lossless_scaling_tab.pas`, `constants.pas` |\n| `helixsr` | HelixSR | `lonewolf0622/HelixSR` | `optiscaler_tab.pas`, `helixsr_license_dialog.pas` |\n| `vkbasalt` | vkBasalt | `DadSchoorse/vkBasalt` | `vkbasalt_tab.pas`, `configkeys.pas` |\n| `vksumi` | vkSumi | `reakjra/vkSumi` | `vkbasalt_tab.pas`, `constants.pas` |\n| `reshade` | ReShade | `crosire/reshade` | `reshade_tab.pas`, `constants.pas` |\n| `gamemode` | GameMode | `FeralInteractive/gamemode` | `tweaks_md3.pas`, `configkeys.pas` |\n| `protontricks`| Protontricks| `Matoking/protontricks` | `protontricksunit.pas`, `constants.pas` |\n| `proton-cachyos`| Proton-CachyOS| `CachyOS/proton-cachyos` | `tweaks_md3.pas`, `configkeys.pas` |\n| `proton-ge-custom`| Proton-GE| `GloriousEggroll/proton-ge-custom` | `tweaks_md3.pas`, `configkeys.pas` |\n| `replaysorcery`| ReplaySorcery| `matanui159/ReplaySorcery` | `overlayunit.pas`, `constants.pas` |\n\n---\n\n## Workflow: How to Run the Audit\n\n### Step 1: Run the Automated Audit Script\n\nExecute the Python auditor helper to gather real-time intelligence from GitHub:\n\n```bash\n# Audit a single tool (e.g. MangoHud)\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --tool mangohud --format markdown\n\n# Audit Proton release notes across the last 10 releases (grouped by env var prefix)\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --tool proton-cachyos --releases 10 --format markdown\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --tool proton-ge-custom --releases 5 --format markdown\n\n# Audit all tools in compact mode\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --all --format compact\n\n# Export complete markdown report\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --all --format markdown --output /tmp/goverlay_audit.md\n```\n\n### Step 2: Deep-Dive into Release Notes & Commits\n\nFor any tool reporting `ATTENTION_REQUIRED` or `NEW_OPTIONS_AVAILABLE`:\n1. Use `gh api repos/<owner>/<repo>/releases/latest` to read the full markdown release notes.\n2. Inspect the upstream sample config file or documentation to understand each new option's data type, valid range/enum values, and default behavior.\n3. Cross-reference with Goverlay's current implementation in `configkeys.pas` and the respective UI tab unit.\n\n### Step 2b: Interactive DLSS Enabler Update (Discord → GitHub Releases)\n\nWhenever running an update audit (`--all` or `--tool dlss-enabler`), `dlss-enabler` reports `MANUAL_DISCORD_CHECK_REQUIRED` along with the currently published `dlssenabler_stable` and `dlssenabler_edge` versions in `versions.json`.\n\n1. **Prompt the user** in chat with the current `stable` and `edge` versions and ask whether a new DLSS Enabler `.zip` attachment link is available on Discord (or if they want to skip).\n2. **When the user pastes a Discord attachment URL** (or provides a local `.zip` path), run:\n   ```bash\n   python3 .agent/skills/goverlay-update-auditor/scripts/publish_dlss_enabler.py \"<discord_url_or_path>\"\n   ```\n   (Use `--channel stable|edge` or `--version X.Y.Z` only if auto-detection needs an override, and `--force` to replace an existing tag's asset.)\n3. **Review the output**: the script downloads and validates the ZIP (`>10KB`, `testzip`, `version.dll` present), normalizes the asset name (`DLSS-Enabler-<ver>-STABLE.zip` or `DLSS-Enabler-<ver>-EDGE.zip`), publishes the GitHub Release on `benjamimgois/OptiScaler-builds`, atomically updates `versions.json` on `nightly-action`, and prints the archive file inventory so you can check for any new DLLs, `.ini` files, or packaging changes.\n\n### Step 3: Triage & Classify Findings\n\nClassify each finding according to its impact:\n\n- **Type A: Critical Breaking Changes / Compatibility Regressions**:\n  - Deprecated syntax in config files (e.g., options dropped or renamed).\n  - New DLL naming conventions or environment variables needed for Wine/Proton.\n  - Action: Immediately update the config reader/writer in `configmanager.pas`, `overlay_config.pas`, or launch script generators (`bgmod.lpr` / `configkeys.pas`).\n\n- **Type B: New Upstream Configuration Options**:\n  - New metrics or graphs in MangoHud (e.g., `vulkan_present_mode`, `fps_sampling_period`).\n  - New toggles in OptiScaler (e.g., `Fsr4ForceEnableInt8`, `Fsr4EnableWatermark`).\n  - New scaling/framegen controls in MAKO or LSFG-VK.\n  - New Proton/Wine/DXVK/VKD3D environment variables discovered in `proton-cachyos` or `proton-ge-custom` release notes (grouped into `PROTON_*`, `WINE_*`, `DXVK_*`, `VKD3D_*`, and `Other` blocks for selective addition to the Tweaks tab in `tweaks_md3.pas`, `configkeys.pas`, and `hintsunit.pas`).\n  - Action:\n    1. Define key constant in `configkeys.pas`.\n    2. Add parsing and serialization in the respective config loader/saver.\n    3. Add UI control (`TToggleSwitch`, `TComboBox`, `TSpinEdit`) following Goverlay's Material Design 3 guidelines.\n\n- **Type C: Version Bumps & Download URLs**:\n  - Upstream tarball URL changes or new release assets.\n  - Action: Update `constants.pas` (e.g. `FALLBACK_RESHADE_VERSION`, `URL_*_TARBALL`).\n\n---\n\n## Guidelines for Implementing GUI Controls in Goverlay\n\nWhen designing new controls for discovered options:\n1. **LCL Qt5/Qt6 Compatibility**:\n   - Ensure controls work identically under Qt5 and Qt6 interfaces.\n   - Use `TToggleSwitch` for boolean toggles in modern MD3 sections.\n   - Use `TComboBox` with `csDropDownList` for enumerated choices (e.g. preset modes, upscaler selection).\n   - Use `TSpinEdit` with appropriate `MinValue`, `MaxValue`, and `Increment` for integer limits.\n2. **Localization & Tooltips**:\n   - Add tooltips via `hintsunit.pas` to explain the new option clearly to users.\n   - Add user-facing strings to `goverlay_strings.pas` if applicable.\n3. **OpenSpec Proposal**:\n   - For multi-file changes or major feature additions, use the OpenSpec workflow (`opsx propose`) before applying modifications.\n",".agent/skills/goverlay-update-auditor/references/repositories.json":"{\n  \"tools\": [\n    {\n      \"id\": \"mangohud\",\n      \"name\": \"MangoHud\",\n      \"repo\": \"flightlessmango/MangoHud\",\n      \"category\": \"hud\",\n      \"config_file\": \"MangoHud.conf\",\n      \"upstream_sample_config\": \"data/MangoHud.conf\",\n      \"goverlay_files\": [\n        \"mangohud_ui.pas\",\n        \"configkeys.pas\",\n        \"overlay_config.pas\",\n        \"configmanager.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more.\"\n    },\n    {\n      \"id\": \"optiscaler\",\n      \"name\": \"OptiScaler\",\n      \"repo\": \"optiscaler/OptiScaler\",\n      \"category\": \"upscaling\",\n      \"config_file\": \"OptiScaler.ini\",\n      \"upstream_sample_config\": \"OptiScaler.ini\",\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"optiscaler_update.pas\",\n        \"configkeys.pas\",\n        \"constants.pas\",\n        \"overlay_config.pas\"\n      ],\n      \"description\": \"DLSS2/DLSS3/FSR2/FSR3/XeSS replacement middleware for DirectX and Vulkan games.\"\n    },\n    {\n      \"id\": \"dlss-enabler\",\n      \"name\": \"DLSS Enabler\",\n      \"repo\": \"benjamimgois/OptiScaler-builds\",\n      \"category\": \"upscaling\",\n      \"audit_mode\": \"discord_manifest\",\n      \"manifest_url\": \"https://raw.githubusercontent.com/benjamimgois/OptiScaler-builds/nightly-action/versions.json\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"optiscaler_update.pas\",\n        \"optiscaler_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"DLSS 2/3/FG enabler distributed via Discord forum attachments and mirrored as GitHub Releases in benjamimgois/OptiScaler-builds.\"\n    },\n    {\n      \"id\": \"fakenvapi\",\n      \"name\": \"FakeNvapi\",\n      \"repo\": \"optiscaler/fakenvapi\",\n      \"category\": \"compatibility\",\n      \"config_file\": \"fakenvapi.ini\",\n      \"upstream_sample_config\": \"fakenvapi.ini\",\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"configkeys.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Proxy NVAPI library for spoofing Reflex, LatencyFlex, and DLSS support on non-NVIDIA GPUs.\"\n    },\n    {\n      \"id\": \"optipatcher\",\n      \"name\": \"OptiPatcher\",\n      \"repo\": \"optiscaler/OptiPatcher\",\n      \"category\": \"compatibility\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"optiscaler_update.pas\"\n      ],\n      \"description\": \"Binary patcher for signature checks and DLL overrides in modern games.\"\n    },\n    {\n      \"id\": \"mako\",\n      \"name\": \"MAKO\",\n      \"repo\": \"eugeniosegala/MAKO\",\n      \"category\": \"framegen\",\n      \"config_file\": \"mako.toml\",\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"lossless_scaling_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Vulkan layer for frame generation and scaling on Linux.\"\n    },\n    {\n      \"id\": \"lsfg-vk\",\n      \"name\": \"LSFG-VK\",\n      \"repo\": \"PancakeTAS/lsfg-vk\",\n      \"category\": \"framegen\",\n      \"config_file\": \"lsfg.toml\",\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"lossless_scaling_tab.pas\",\n        \"lsfg_migration_dialog.pas\",\n        \"lsfg_steam_beta_dialog.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Lossless Scaling Frame Generation Vulkan implementation.\"\n    },\n    {\n      \"id\": \"afmf-linux\",\n      \"name\": \"AFMF Linux\",\n      \"repo\": \"serialexperimentslainnnn/afmf-linux\",\n      \"category\": \"framegen\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"lossless_scaling_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"AMD Fluid Motion Frames implementation/packaging for Linux.\"\n    },\n    {\n      \"id\": \"helixsr\",\n      \"name\": \"HelixSR\",\n      \"repo\": \"lonewolf0622/HelixSR\",\n      \"category\": \"upscaling\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"helixsr_license_dialog.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Universal spatial and temporal super resolution layer.\"\n    },\n    {\n      \"id\": \"vkbasalt\",\n      \"name\": \"vkBasalt\",\n      \"repo\": \"DadSchoorse/vkBasalt\",\n      \"category\": \"postprocessing\",\n      \"config_file\": \"vkBasalt.conf\",\n      \"upstream_sample_config\": \"config/vkBasalt.conf\",\n      \"goverlay_files\": [\n        \"vkbasalt_tab.pas\",\n        \"constants.pas\",\n        \"overlay_config.pas\",\n        \"configmanager.pas\"\n      ],\n      \"description\": \"Vulkan post-processing layer to enhance the visual graphics of games.\"\n    },\n    {\n      \"id\": \"vksumi\",\n      \"name\": \"vkSumi\",\n      \"repo\": \"reakjra/vkSumi\",\n      \"category\": \"postprocessing\",\n      \"config_file\": \"vksumi.conf\",\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"vkbasalt_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Vulkan layer for tone mapping, gamut mapping, and HDR processing.\"\n    },\n    {\n      \"id\": \"vknemu\",\n      \"name\": \"vkNemu\",\n      \"repo\": \"reakjra/vkNemu\",\n      \"category\": \"limiter\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"optiscaler_update.pas\",\n        \"overlayunit.pas\"\n      ],\n      \"description\": \"Input and focus-based idle frame limiter Vulkan layer (Radeon Chill alternative).\"\n    },\n    {\n      \"id\": \"reshade\",\n      \"name\": \"ReShade\",\n      \"repo\": \"crosire/reshade\",\n      \"category\": \"postprocessing\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"reshade_tab.pas\",\n        \"constants.pas\",\n        \"vkbasalt_tab.pas\"\n      ],\n      \"description\": \"Generic post-processing injector for games and video software.\"\n    },\n    {\n      \"id\": \"reshade-shaders\",\n      \"name\": \"ReShade Shaders\",\n      \"repo\": \"crosire/reshade-shaders\",\n      \"category\": \"postprocessing\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"reshade_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Standard repository of ReShade FX shaders.\"\n    },\n    {\n      \"id\": \"protontricks\",\n      \"name\": \"Protontricks\",\n      \"repo\": \"Matoking/protontricks\",\n      \"category\": \"wine_proton\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"protontricksunit.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Simple wrapper that does winetricks for Proton enabled games.\"\n    },\n    {\n      \"id\": \"proton-cachyos\",\n      \"name\": \"Proton-CachyOS\",\n      \"repo\": \"CachyOS/proton-cachyos\",\n      \"category\": \"tweaks\",\n      \"audit_mode\": \"release_notes_env\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"tweaks_md3.pas\",\n        \"configkeys.pas\"\n      ],\n      \"description\": \"CachyOS Proton fork with custom patches, FSR4/ZLUDA/low-latency environment variables.\"\n    },\n    {\n      \"id\": \"proton-ge-custom\",\n      \"name\": \"Proton-GE\",\n      \"repo\": \"GloriousEggroll/proton-ge-custom\",\n      \"category\": \"tweaks\",\n      \"audit_mode\": \"release_notes_env\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"tweaks_md3.pas\",\n        \"configkeys.pas\"\n      ],\n      \"description\": \"GloriousEggroll's custom Proton distribution with upstream fixes and protonfixes.\"\n    },\n    {\n      \"id\": \"gamemode\",\n      \"name\": \"GameMode\",\n      \"repo\": \"FeralInteractive/gamemode\",\n      \"category\": \"tweaks\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"example/gamemode.ini\",\n      \"goverlay_files\": [\n        \"tweaks_md3.pas\",\n        \"configkeys.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Daemon/library combo that allows games to request a set of optimizations.\"\n    },\n    {\n      \"id\": \"replaysorcery\",\n      \"name\": \"ReplaySorcery\",\n      \"repo\": \"matanui159/ReplaySorcery\",\n      \"category\": \"recording\",\n      \"config_file\": \"replay-sorcery.conf\",\n      \"upstream_sample_config\": \"replay-sorcery.conf\",\n      \"goverlay_files\": [\n        \"overlayunit.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Open-source instant replay solution for Linux.\"\n    }\n  ]\n}\n"},"items":[{"name":"repositories.json","path":".agent/skills/goverlay-update-auditor/references/repositories.json","rawUrl":"https://raw.githubusercontent.com/benjamimgois/goverlay/HEAD/.agent/skills/goverlay-update-auditor/references/repositories.json","title":"References Skill","category":"anthropic-skill","format":"json","content":"{\n  \"tools\": [\n    {\n      \"id\": \"mangohud\",\n      \"name\": \"MangoHud\",\n      \"repo\": \"flightlessmango/MangoHud\",\n      \"category\": \"hud\",\n      \"config_file\": \"MangoHud.conf\",\n      \"upstream_sample_config\": \"data/MangoHud.conf\",\n      \"goverlay_files\": [\n        \"mangohud_ui.pas\",\n        \"configkeys.pas\",\n        \"overlay_config.pas\",\n        \"configmanager.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more.\"\n    },\n    {\n      \"id\": \"optiscaler\",\n      \"name\": \"OptiScaler\",\n      \"repo\": \"optiscaler/OptiScaler\",\n      \"category\": \"upscaling\",\n      \"config_file\": \"OptiScaler.ini\",\n      \"upstream_sample_config\": \"OptiScaler.ini\",\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"optiscaler_update.pas\",\n        \"configkeys.pas\",\n        \"constants.pas\",\n        \"overlay_config.pas\"\n      ],\n      \"description\": \"DLSS2/DLSS3/FSR2/FSR3/XeSS replacement middleware for DirectX and Vulkan games.\"\n    },\n    {\n      \"id\": \"dlss-enabler\",\n      \"name\": \"DLSS Enabler\",\n      \"repo\": \"benjamimgois/OptiScaler-builds\",\n      \"category\": \"upscaling\",\n      \"audit_mode\": \"discord_manifest\",\n      \"manifest_url\": \"https://raw.githubusercontent.com/benjamimgois/OptiScaler-builds/nightly-action/versions.json\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"optiscaler_update.pas\",\n        \"optiscaler_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"DLSS 2/3/FG enabler distributed via Discord forum attachments and mirrored as GitHub Releases in benjamimgois/OptiScaler-builds.\"\n    },\n    {\n      \"id\": \"fakenvapi\",\n      \"name\": \"FakeNvapi\",\n      \"repo\": \"optiscaler/fakenvapi\",\n      \"category\": \"compatibility\",\n      \"config_file\": \"fakenvapi.ini\",\n      \"upstream_sample_config\": \"fakenvapi.ini\",\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"configkeys.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Proxy NVAPI library for spoofing Reflex, LatencyFlex, and DLSS support on non-NVIDIA GPUs.\"\n    },\n    {\n      \"id\": \"optipatcher\",\n      \"name\": \"OptiPatcher\",\n      \"repo\": \"optiscaler/OptiPatcher\",\n      \"category\": \"compatibility\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"optiscaler_update.pas\"\n      ],\n      \"description\": \"Binary patcher for signature checks and DLL overrides in modern games.\"\n    },\n    {\n      \"id\": \"mako\",\n      \"name\": \"MAKO\",\n      \"repo\": \"eugeniosegala/MAKO\",\n      \"category\": \"framegen\",\n      \"config_file\": \"mako.toml\",\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"lossless_scaling_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Vulkan layer for frame generation and scaling on Linux.\"\n    },\n    {\n      \"id\": \"lsfg-vk\",\n      \"name\": \"LSFG-VK\",\n      \"repo\": \"PancakeTAS/lsfg-vk\",\n      \"category\": \"framegen\",\n      \"config_file\": \"lsfg.toml\",\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"lossless_scaling_tab.pas\",\n        \"lsfg_migration_dialog.pas\",\n        \"lsfg_steam_beta_dialog.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Lossless Scaling Frame Generation Vulkan implementation.\"\n    },\n    {\n      \"id\": \"afmf-linux\",\n      \"name\": \"AFMF Linux\",\n      \"repo\": \"serialexperimentslainnnn/afmf-linux\",\n      \"category\": \"framegen\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"lossless_scaling_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"AMD Fluid Motion Frames implementation/packaging for Linux.\"\n    },\n    {\n      \"id\": \"helixsr\",\n      \"name\": \"HelixSR\",\n      \"repo\": \"lonewolf0622/HelixSR\",\n      \"category\": \"upscaling\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"helixsr_license_dialog.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Universal spatial and temporal super resolution layer.\"\n    },\n    {\n      \"id\": \"vkbasalt\",\n      \"name\": \"vkBasalt\",\n      \"repo\": \"DadSchoorse/vkBasalt\",\n      \"category\": \"postprocessing\",\n      \"config_file\": \"vkBasalt.conf\",\n      \"upstream_sample_config\": \"config/vkBasalt.conf\",\n      \"goverlay_files\": [\n        \"vkbasalt_tab.pas\",\n        \"constants.pas\",\n        \"overlay_config.pas\",\n        \"configmanager.pas\"\n      ],\n      \"description\": \"Vulkan post-processing layer to enhance the visual graphics of games.\"\n    },\n    {\n      \"id\": \"vksumi\",\n      \"name\": \"vkSumi\",\n      \"repo\": \"reakjra/vkSumi\",\n      \"category\": \"postprocessing\",\n      \"config_file\": \"vksumi.conf\",\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"vkbasalt_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Vulkan layer for tone mapping, gamut mapping, and HDR processing.\"\n    },\n    {\n      \"id\": \"vknemu\",\n      \"name\": \"vkNemu\",\n      \"repo\": \"reakjra/vkNemu\",\n      \"category\": \"limiter\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"optiscaler_update.pas\",\n        \"overlayunit.pas\"\n      ],\n      \"description\": \"Input and focus-based idle frame limiter Vulkan layer (Radeon Chill alternative).\"\n    },\n    {\n      \"id\": \"reshade\",\n      \"name\": \"ReShade\",\n      \"repo\": \"crosire/reshade\",\n      \"category\": \"postprocessing\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"reshade_tab.pas\",\n        \"constants.pas\",\n        \"vkbasalt_tab.pas\"\n      ],\n      \"description\": \"Generic post-processing injector for games and video software.\"\n    },\n    {\n      \"id\": \"reshade-shaders\",\n      \"name\": \"ReShade Shaders\",\n      \"repo\": \"crosire/reshade-shaders\",\n      \"category\": \"postprocessing\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"reshade_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Standard repository of ReShade FX shaders.\"\n    },\n    {\n      \"id\": \"protontricks\",\n      \"name\": \"Protontricks\",\n      \"repo\": \"Matoking/protontricks\",\n      \"category\": \"wine_proton\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"protontricksunit.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Simple wrapper that does winetricks for Proton enabled games.\"\n    },\n    {\n      \"id\": \"proton-cachyos\",\n      \"name\": \"Proton-CachyOS\",\n      \"repo\": \"CachyOS/proton-cachyos\",\n      \"category\": \"tweaks\",\n      \"audit_mode\": \"release_notes_env\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"tweaks_md3.pas\",\n        \"configkeys.pas\"\n      ],\n      \"description\": \"CachyOS Proton fork with custom patches, FSR4/ZLUDA/low-latency environment variables.\"\n    },\n    {\n      \"id\": \"proton-ge-custom\",\n      \"name\": \"Proton-GE\",\n      \"repo\": \"GloriousEggroll/proton-ge-custom\",\n      \"category\": \"tweaks\",\n      \"audit_mode\": \"release_notes_env\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"tweaks_md3.pas\",\n        \"configkeys.pas\"\n      ],\n      \"description\": \"GloriousEggroll's custom Proton distribution with upstream fixes and protonfixes.\"\n    },\n    {\n      \"id\": \"gamemode\",\n      \"name\": \"GameMode\",\n      \"repo\": \"FeralInteractive/gamemode\",\n      \"category\": \"tweaks\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"example/gamemode.ini\",\n      \"goverlay_files\": [\n        \"tweaks_md3.pas\",\n        \"configkeys.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Daemon/library combo that allows games to request a set of optimizations.\"\n    },\n    {\n      \"id\": \"replaysorcery\",\n      \"name\": \"ReplaySorcery\",\n      \"repo\": \"matanui159/ReplaySorcery\",\n      \"category\": \"recording\",\n      \"config_file\": \"replay-sorcery.conf\",\n      \"upstream_sample_config\": \"replay-sorcery.conf\",\n      \"goverlay_files\": [\n        \"overlayunit.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Open-source instant replay solution for Linux.\"\n    }\n  ]\n}\n","frontmatter":{"tools":[{"id":"mangohud","name":"MangoHud","repo":"flightlessmango/MangoHud","category":"hud","config_file":"MangoHud.conf","upstream_sample_config":"data/MangoHud.conf","goverlay_files":["mangohud_ui.pas","configkeys.pas","overlay_config.pas","configmanager.pas","constants.pas"],"description":"Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more."},{"id":"optiscaler","name":"OptiScaler","repo":"optiscaler/OptiScaler","category":"upscaling","config_file":"OptiScaler.ini","upstream_sample_config":"OptiScaler.ini","goverlay_files":["optiscaler_tab.pas","optiscaler_update.pas","configkeys.pas","constants.pas","overlay_config.pas"],"description":"DLSS2/DLSS3/FSR2/FSR3/XeSS replacement middleware for DirectX and Vulkan games."},{"id":"dlss-enabler","name":"DLSS Enabler","repo":"benjamimgois/OptiScaler-builds","category":"upscaling","audit_mode":"discord_manifest","manifest_url":"https://raw.githubusercontent.com/benjamimgois/OptiScaler-builds/nightly-action/versions.json","config_file":null,"upstream_sample_config":null,"goverlay_files":["optiscaler_update.pas","optiscaler_tab.pas","constants.pas"],"description":"DLSS 2/3/FG enabler distributed via Discord forum attachments and mirrored as GitHub Releases in benjamimgois/OptiScaler-builds."},{"id":"fakenvapi","name":"FakeNvapi","repo":"optiscaler/fakenvapi","category":"compatibility","config_file":"fakenvapi.ini","upstream_sample_config":"fakenvapi.ini","goverlay_files":["optiscaler_tab.pas","configkeys.pas","constants.pas"],"description":"Proxy NVAPI library for spoofing Reflex, LatencyFlex, and DLSS support on non-NVIDIA GPUs."},{"id":"optipatcher","name":"OptiPatcher","repo":"optiscaler/OptiPatcher","category":"compatibility","config_file":null,"upstream_sample_config":null,"goverlay_files":["optiscaler_tab.pas","optiscaler_update.pas"],"description":"Binary patcher for signature checks and DLL overrides in modern games."},{"id":"mako","name":"MAKO","repo":"eugeniosegala/MAKO","category":"framegen","config_file":"mako.toml","upstream_sample_config":"README.md","goverlay_files":["lossless_scaling_tab.pas","constants.pas"],"description":"Vulkan layer for frame generation and scaling on Linux."},{"id":"lsfg-vk","name":"LSFG-VK","repo":"PancakeTAS/lsfg-vk","category":"framegen","config_file":"lsfg.toml","upstream_sample_config":"README.md","goverlay_files":["lossless_scaling_tab.pas","lsfg_migration_dialog.pas","lsfg_steam_beta_dialog.pas","constants.pas"],"description":"Lossless Scaling Frame Generation Vulkan implementation."},{"id":"afmf-linux","name":"AFMF Linux","repo":"serialexperimentslainnnn/afmf-linux","category":"framegen","config_file":null,"upstream_sample_config":"README.md","goverlay_files":["lossless_scaling_tab.pas","constants.pas"],"description":"AMD Fluid Motion Frames implementation/packaging for Linux."},{"id":"helixsr","name":"HelixSR","repo":"lonewolf0622/HelixSR","category":"upscaling","config_file":null,"upstream_sample_config":"README.md","goverlay_files":["optiscaler_tab.pas","helixsr_license_dialog.pas","constants.pas"],"description":"Universal spatial and temporal super resolution layer."},{"id":"vkbasalt","name":"vkBasalt","repo":"DadSchoorse/vkBasalt","category":"postprocessing","config_file":"vkBasalt.conf","upstream_sample_config":"config/vkBasalt.conf","goverlay_files":["vkbasalt_tab.pas","constants.pas","overlay_config.pas","configmanager.pas"],"description":"Vulkan post-processing layer to enhance the visual graphics of games."},{"id":"vksumi","name":"vkSumi","repo":"reakjra/vkSumi","category":"postprocessing","config_file":"vksumi.conf","upstream_sample_config":"README.md","goverlay_files":["vkbasalt_tab.pas","constants.pas"],"description":"Vulkan layer for tone mapping, gamut mapping, and HDR processing."},{"id":"vknemu","name":"vkNemu","repo":"reakjra/vkNemu","category":"limiter","config_file":null,"upstream_sample_config":"README.md","goverlay_files":["optiscaler_update.pas","overlayunit.pas"],"description":"Input and focus-based idle frame limiter Vulkan layer (Radeon Chill alternative)."},{"id":"reshade","name":"ReShade","repo":"crosire/reshade","category":"postprocessing","config_file":null,"upstream_sample_config":null,"goverlay_files":["reshade_tab.pas","constants.pas","vkbasalt_tab.pas"],"description":"Generic post-processing injector for games and video software."},{"id":"reshade-shaders","name":"ReShade Shaders","repo":"crosire/reshade-shaders","category":"postprocessing","config_file":null,"upstream_sample_config":null,"goverlay_files":["reshade_tab.pas","constants.pas"],"description":"Standard repository of ReShade FX shaders."},{"id":"protontricks","name":"Protontricks","repo":"Matoking/protontricks","category":"wine_proton","config_file":null,"upstream_sample_config":null,"goverlay_files":["protontricksunit.pas","constants.pas"],"description":"Simple wrapper that does winetricks for Proton enabled games."},{"id":"proton-cachyos","name":"Proton-CachyOS","repo":"CachyOS/proton-cachyos","category":"tweaks","audit_mode":"release_notes_env","config_file":null,"upstream_sample_config":null,"goverlay_files":["tweaks_md3.pas","configkeys.pas"],"description":"CachyOS Proton fork with custom patches, FSR4/ZLUDA/low-latency environment variables."},{"id":"proton-ge-custom","name":"Proton-GE","repo":"GloriousEggroll/proton-ge-custom","category":"tweaks","audit_mode":"release_notes_env","config_file":null,"upstream_sample_config":null,"goverlay_files":["tweaks_md3.pas","configkeys.pas"],"description":"GloriousEggroll's custom Proton distribution with upstream fixes and protonfixes."},{"id":"gamemode","name":"GameMode","repo":"FeralInteractive/gamemode","category":"tweaks","config_file":null,"upstream_sample_config":"example/gamemode.ini","goverlay_files":["tweaks_md3.pas","configkeys.pas","constants.pas"],"description":"Daemon/library combo that allows games to request a set of optimizations."},{"id":"replaysorcery","name":"ReplaySorcery","repo":"matanui159/ReplaySorcery","category":"recording","config_file":"replay-sorcery.conf","upstream_sample_config":"replay-sorcery.conf","goverlay_files":["overlayunit.pas","constants.pas"],"description":"Open-source instant replay solution for Linux."}]},"isInternal":false,"tokens":2285,"sizeBytes":8278},{"name":"SKILL.md","path":".agent/skills/goverlay-update-auditor/SKILL.md","rawUrl":"https://raw.githubusercontent.com/benjamimgois/goverlay/HEAD/.agent/skills/goverlay-update-auditor/SKILL.md","title":"goverlay-update-auditor","category":"anthropic-skill","format":"markdown","content":"---\nname: goverlay-update-auditor\ndescription: >-\n  Audits upstream GitHub repositories for tools integrated with Goverlay (MangoHud, vkBasalt, OptiScaler, MAKO, LSFG-VK, AFMF, ReShade, etc.).\n  Identifies new versions, breaking changes, deprecated syntax, and new configuration options that require new UI controls or backend adjustments in Goverlay.\n---\n\n# Goverlay Upstream Update Auditor Skill\n\nUse this skill whenever checking upstream repositories for updates, investigating new releases of tools bundled/configured by Goverlay, or reconciling Goverlay UI controls with new features in external tools.\n\n## Objectives\n\n1. **Monitor & Audit Upstream Repositories**:\n   - Query GitHub releases, tags, commits, and release notes for all tools integrated with Goverlay.\n2. **Detect New Configuration Options**:\n   - Parse upstream sample configuration files (e.g. `data/MangoHud.conf`, `OptiScaler.ini`, `mako.toml`, etc.) and compare them against keys in `configkeys.pas` and Goverlay UI handlers.\n3. **Identify Breaking Changes & Deprecations**:\n   - Scan release notes for flags such as deprecated keys, changed syntax, renamed options, or requirements (e.g., Vulkan layers, Proton versions, Mesa requirements).\n4. **Formulate Concrete Goverlay Implementation Steps**:\n   - Determine which Pascal units (`mangohud_ui.pas`, `optiscaler_tab.pas`, `lossless_scaling_tab.pas`, `vkbasalt_tab.pas`, `tweaks_md3.pas`, `configkeys.pas`, etc.) need updates.\n   - Propose UI widget types (e.g., `TToggleSwitch`, `TSpinEdit`, `TComboBox`, `TTrackBar`) and placement adhering to Goverlay's MD3 dark/light design system.\n\n---\n\n## Catalog of Integrated Tools\n\nThe repository catalog is defined in [`references/repositories.json`](./references/repositories.json):\n\n| Tool ID | Tool Name | Upstream Repository | Goverlay Files |\n| :--- | :--- | :--- | :--- |\n| `mangohud` | MangoHud | `flightlessmango/MangoHud` | `mangohud_ui.pas`, `configkeys.pas`, `overlay_config.pas` |\n| `optiscaler` | OptiScaler | `optiscaler/OptiScaler` | `optiscaler_tab.pas`, `optiscaler_update.pas`, `configkeys.pas` |\n| `dlss-enabler` | DLSS Enabler | `benjamimgois/OptiScaler-builds` (`discord_manifest`) | `optiscaler_update.pas`, `optiscaler_tab.pas`, `constants.pas` |\n| `fakenvapi` | FakeNvapi | `optiscaler/fakenvapi` | `optiscaler_tab.pas`, `configkeys.pas` |\n| `optipatcher` | OptiPatcher | `optiscaler/OptiPatcher` | `optiscaler_tab.pas`, `optiscaler_update.pas` |\n| `mako` | MAKO | `eugeniosegala/MAKO` | `lossless_scaling_tab.pas`, `constants.pas` |\n| `lsfg-vk` | LSFG-VK | `PancakeTAS/lsfg-vk` | `lossless_scaling_tab.pas`, `constants.pas` |\n| `afmf-linux` | AFMF Linux | `serialexperimentslainnnn/afmf-linux` | `lossless_scaling_tab.pas`, `constants.pas` |\n| `helixsr` | HelixSR | `lonewolf0622/HelixSR` | `optiscaler_tab.pas`, `helixsr_license_dialog.pas` |\n| `vkbasalt` | vkBasalt | `DadSchoorse/vkBasalt` | `vkbasalt_tab.pas`, `configkeys.pas` |\n| `vksumi` | vkSumi | `reakjra/vkSumi` | `vkbasalt_tab.pas`, `constants.pas` |\n| `reshade` | ReShade | `crosire/reshade` | `reshade_tab.pas`, `constants.pas` |\n| `gamemode` | GameMode | `FeralInteractive/gamemode` | `tweaks_md3.pas`, `configkeys.pas` |\n| `protontricks`| Protontricks| `Matoking/protontricks` | `protontricksunit.pas`, `constants.pas` |\n| `proton-cachyos`| Proton-CachyOS| `CachyOS/proton-cachyos` | `tweaks_md3.pas`, `configkeys.pas` |\n| `proton-ge-custom`| Proton-GE| `GloriousEggroll/proton-ge-custom` | `tweaks_md3.pas`, `configkeys.pas` |\n| `replaysorcery`| ReplaySorcery| `matanui159/ReplaySorcery` | `overlayunit.pas`, `constants.pas` |\n\n---\n\n## Workflow: How to Run the Audit\n\n### Step 1: Run the Automated Audit Script\n\nExecute the Python auditor helper to gather real-time intelligence from GitHub:\n\n```bash\n# Audit a single tool (e.g. MangoHud)\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --tool mangohud --format markdown\n\n# Audit Proton release notes across the last 10 releases (grouped by env var prefix)\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --tool proton-cachyos --releases 10 --format markdown\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --tool proton-ge-custom --releases 5 --format markdown\n\n# Audit all tools in compact mode\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --all --format compact\n\n# Export complete markdown report\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --all --format markdown --output /tmp/goverlay_audit.md\n```\n\n### Step 2: Deep-Dive into Release Notes & Commits\n\nFor any tool reporting `ATTENTION_REQUIRED` or `NEW_OPTIONS_AVAILABLE`:\n1. Use `gh api repos/<owner>/<repo>/releases/latest` to read the full markdown release notes.\n2. Inspect the upstream sample config file or documentation to understand each new option's data type, valid range/enum values, and default behavior.\n3. Cross-reference with Goverlay's current implementation in `configkeys.pas` and the respective UI tab unit.\n\n### Step 2b: Interactive DLSS Enabler Update (Discord → GitHub Releases)\n\nWhenever running an update audit (`--all` or `--tool dlss-enabler`), `dlss-enabler` reports `MANUAL_DISCORD_CHECK_REQUIRED` along with the currently published `dlssenabler_stable` and `dlssenabler_edge` versions in `versions.json`.\n\n1. **Prompt the user** in chat with the current `stable` and `edge` versions and ask whether a new DLSS Enabler `.zip` attachment link is available on Discord (or if they want to skip).\n2. **When the user pastes a Discord attachment URL** (or provides a local `.zip` path), run:\n   ```bash\n   python3 .agent/skills/goverlay-update-auditor/scripts/publish_dlss_enabler.py \"<discord_url_or_path>\"\n   ```\n   (Use `--channel stable|edge` or `--version X.Y.Z` only if auto-detection needs an override, and `--force` to replace an existing tag's asset.)\n3. **Review the output**: the script downloads and validates the ZIP (`>10KB`, `testzip`, `version.dll` present), normalizes the asset name (`DLSS-Enabler-<ver>-STABLE.zip` or `DLSS-Enabler-<ver>-EDGE.zip`), publishes the GitHub Release on `benjamimgois/OptiScaler-builds`, atomically updates `versions.json` on `nightly-action`, and prints the archive file inventory so you can check for any new DLLs, `.ini` files, or packaging changes.\n\n### Step 3: Triage & Classify Findings\n\nClassify each finding according to its impact:\n\n- **Type A: Critical Breaking Changes / Compatibility Regressions**:\n  - Deprecated syntax in config files (e.g., options dropped or renamed).\n  - New DLL naming conventions or environment variables needed for Wine/Proton.\n  - Action: Immediately update the config reader/writer in `configmanager.pas`, `overlay_config.pas`, or launch script generators (`bgmod.lpr` / `configkeys.pas`).\n\n- **Type B: New Upstream Configuration Options**:\n  - New metrics or graphs in MangoHud (e.g., `vulkan_present_mode`, `fps_sampling_period`).\n  - New toggles in OptiScaler (e.g., `Fsr4ForceEnableInt8`, `Fsr4EnableWatermark`).\n  - New scaling/framegen controls in MAKO or LSFG-VK.\n  - New Proton/Wine/DXVK/VKD3D environment variables discovered in `proton-cachyos` or `proton-ge-custom` release notes (grouped into `PROTON_*`, `WINE_*`, `DXVK_*`, `VKD3D_*`, and `Other` blocks for selective addition to the Tweaks tab in `tweaks_md3.pas`, `configkeys.pas`, and `hintsunit.pas`).\n  - Action:\n    1. Define key constant in `configkeys.pas`.\n    2. Add parsing and serialization in the respective config loader/saver.\n    3. Add UI control (`TToggleSwitch`, `TComboBox`, `TSpinEdit`) following Goverlay's Material Design 3 guidelines.\n\n- **Type C: Version Bumps & Download URLs**:\n  - Upstream tarball URL changes or new release assets.\n  - Action: Update `constants.pas` (e.g. `FALLBACK_RESHADE_VERSION`, `URL_*_TARBALL`).\n\n---\n\n## Guidelines for Implementing GUI Controls in Goverlay\n\nWhen designing new controls for discovered options:\n1. **LCL Qt5/Qt6 Compatibility**:\n   - Ensure controls work identically under Qt5 and Qt6 interfaces.\n   - Use `TToggleSwitch` for boolean toggles in modern MD3 sections.\n   - Use `TComboBox` with `csDropDownList` for enumerated choices (e.g. preset modes, upscaler selection).\n   - Use `TSpinEdit` with appropriate `MinValue`, `MaxValue`, and `Increment` for integer limits.\n2. **Localization & Tooltips**:\n   - Add tooltips via `hintsunit.pas` to explain the new option clearly to users.\n   - Add user-facing strings to `goverlay_strings.pas` if applicable.\n3. **OpenSpec Proposal**:\n   - For multi-file changes or major feature additions, use the OpenSpec workflow (`opsx propose`) before applying modifications.\n","frontmatter":{"name":"goverlay-update-auditor","description":"Audits upstream GitHub repositories for tools integrated with Goverlay (MangoHud, vkBasalt, OptiScaler, MAKO, LSFG-VK, AFMF, ReShade, etc.). Identifies new versions, breaking changes, deprecated syntax, and new configuration options that require new UI controls or backend adjustments in Goverlay."},"isInternal":false,"tokens":2424,"sizeBytes":8646}],"systemPromptSnippet":"<yakaai_skills repo=\"benjamimgois/goverlay\">\n<!-- File: .agent/skills/goverlay-update-auditor/references/repositories.json (Tokens: ~2285 | Category: anthropic-skill) -->\n{\n  \"tools\": [\n    {\n      \"id\": \"mangohud\",\n      \"name\": \"MangoHud\",\n      \"repo\": \"flightlessmango/MangoHud\",\n      \"category\": \"hud\",\n      \"config_file\": \"MangoHud.conf\",\n      \"upstream_sample_config\": \"data/MangoHud.conf\",\n      \"goverlay_files\": [\n        \"mangohud_ui.pas\",\n        \"configkeys.pas\",\n        \"overlay_config.pas\",\n        \"configmanager.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more.\"\n    },\n    {\n      \"id\": \"optiscaler\",\n      \"name\": \"OptiScaler\",\n      \"repo\": \"optiscaler/OptiScaler\",\n      \"category\": \"upscaling\",\n      \"config_file\": \"OptiScaler.ini\",\n      \"upstream_sample_config\": \"OptiScaler.ini\",\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"optiscaler_update.pas\",\n        \"configkeys.pas\",\n        \"constants.pas\",\n        \"overlay_config.pas\"\n      ],\n      \"description\": \"DLSS2/DLSS3/FSR2/FSR3/XeSS replacement middleware for DirectX and Vulkan games.\"\n    },\n    {\n      \"id\": \"dlss-enabler\",\n      \"name\": \"DLSS Enabler\",\n      \"repo\": \"benjamimgois/OptiScaler-builds\",\n      \"category\": \"upscaling\",\n      \"audit_mode\": \"discord_manifest\",\n      \"manifest_url\": \"https://raw.githubusercontent.com/benjamimgois/OptiScaler-builds/nightly-action/versions.json\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"optiscaler_update.pas\",\n        \"optiscaler_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"DLSS 2/3/FG enabler distributed via Discord forum attachments and mirrored as GitHub Releases in benjamimgois/OptiScaler-builds.\"\n    },\n    {\n      \"id\": \"fakenvapi\",\n      \"name\": \"FakeNvapi\",\n      \"repo\": \"optiscaler/fakenvapi\",\n      \"category\": \"compatibility\",\n      \"config_file\": \"fakenvapi.ini\",\n      \"upstream_sample_config\": \"fakenvapi.ini\",\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"configkeys.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Proxy NVAPI library for spoofing Reflex, LatencyFlex, and DLSS support on non-NVIDIA GPUs.\"\n    },\n    {\n      \"id\": \"optipatcher\",\n      \"name\": \"OptiPatcher\",\n      \"repo\": \"optiscaler/OptiPatcher\",\n      \"category\": \"compatibility\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"optiscaler_update.pas\"\n      ],\n      \"description\": \"Binary patcher for signature checks and DLL overrides in modern games.\"\n    },\n    {\n      \"id\": \"mako\",\n      \"name\": \"MAKO\",\n      \"repo\": \"eugeniosegala/MAKO\",\n      \"category\": \"framegen\",\n      \"config_file\": \"mako.toml\",\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"lossless_scaling_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Vulkan layer for frame generation and scaling on Linux.\"\n    },\n    {\n      \"id\": \"lsfg-vk\",\n      \"name\": \"LSFG-VK\",\n      \"repo\": \"PancakeTAS/lsfg-vk\",\n      \"category\": \"framegen\",\n      \"config_file\": \"lsfg.toml\",\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"lossless_scaling_tab.pas\",\n        \"lsfg_migration_dialog.pas\",\n        \"lsfg_steam_beta_dialog.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Lossless Scaling Frame Generation Vulkan implementation.\"\n    },\n    {\n      \"id\": \"afmf-linux\",\n      \"name\": \"AFMF Linux\",\n      \"repo\": \"serialexperimentslainnnn/afmf-linux\",\n      \"category\": \"framegen\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"lossless_scaling_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"AMD Fluid Motion Frames implementation/packaging for Linux.\"\n    },\n    {\n      \"id\": \"helixsr\",\n      \"name\": \"HelixSR\",\n      \"repo\": \"lonewolf0622/HelixSR\",\n      \"category\": \"upscaling\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"optiscaler_tab.pas\",\n        \"helixsr_license_dialog.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Universal spatial and temporal super resolution layer.\"\n    },\n    {\n      \"id\": \"vkbasalt\",\n      \"name\": \"vkBasalt\",\n      \"repo\": \"DadSchoorse/vkBasalt\",\n      \"category\": \"postprocessing\",\n      \"config_file\": \"vkBasalt.conf\",\n      \"upstream_sample_config\": \"config/vkBasalt.conf\",\n      \"goverlay_files\": [\n        \"vkbasalt_tab.pas\",\n        \"constants.pas\",\n        \"overlay_config.pas\",\n        \"configmanager.pas\"\n      ],\n      \"description\": \"Vulkan post-processing layer to enhance the visual graphics of games.\"\n    },\n    {\n      \"id\": \"vksumi\",\n      \"name\": \"vkSumi\",\n      \"repo\": \"reakjra/vkSumi\",\n      \"category\": \"postprocessing\",\n      \"config_file\": \"vksumi.conf\",\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"vkbasalt_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Vulkan layer for tone mapping, gamut mapping, and HDR processing.\"\n    },\n    {\n      \"id\": \"vknemu\",\n      \"name\": \"vkNemu\",\n      \"repo\": \"reakjra/vkNemu\",\n      \"category\": \"limiter\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"README.md\",\n      \"goverlay_files\": [\n        \"optiscaler_update.pas\",\n        \"overlayunit.pas\"\n      ],\n      \"description\": \"Input and focus-based idle frame limiter Vulkan layer (Radeon Chill alternative).\"\n    },\n    {\n      \"id\": \"reshade\",\n      \"name\": \"ReShade\",\n      \"repo\": \"crosire/reshade\",\n      \"category\": \"postprocessing\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"reshade_tab.pas\",\n        \"constants.pas\",\n        \"vkbasalt_tab.pas\"\n      ],\n      \"description\": \"Generic post-processing injector for games and video software.\"\n    },\n    {\n      \"id\": \"reshade-shaders\",\n      \"name\": \"ReShade Shaders\",\n      \"repo\": \"crosire/reshade-shaders\",\n      \"category\": \"postprocessing\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"reshade_tab.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Standard repository of ReShade FX shaders.\"\n    },\n    {\n      \"id\": \"protontricks\",\n      \"name\": \"Protontricks\",\n      \"repo\": \"Matoking/protontricks\",\n      \"category\": \"wine_proton\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"protontricksunit.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Simple wrapper that does winetricks for Proton enabled games.\"\n    },\n    {\n      \"id\": \"proton-cachyos\",\n      \"name\": \"Proton-CachyOS\",\n      \"repo\": \"CachyOS/proton-cachyos\",\n      \"category\": \"tweaks\",\n      \"audit_mode\": \"release_notes_env\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"tweaks_md3.pas\",\n        \"configkeys.pas\"\n      ],\n      \"description\": \"CachyOS Proton fork with custom patches, FSR4/ZLUDA/low-latency environment variables.\"\n    },\n    {\n      \"id\": \"proton-ge-custom\",\n      \"name\": \"Proton-GE\",\n      \"repo\": \"GloriousEggroll/proton-ge-custom\",\n      \"category\": \"tweaks\",\n      \"audit_mode\": \"release_notes_env\",\n      \"config_file\": null,\n      \"upstream_sample_config\": null,\n      \"goverlay_files\": [\n        \"tweaks_md3.pas\",\n        \"configkeys.pas\"\n      ],\n      \"description\": \"GloriousEggroll's custom Proton distribution with upstream fixes and protonfixes.\"\n    },\n    {\n      \"id\": \"gamemode\",\n      \"name\": \"GameMode\",\n      \"repo\": \"FeralInteractive/gamemode\",\n      \"category\": \"tweaks\",\n      \"config_file\": null,\n      \"upstream_sample_config\": \"example/gamemode.ini\",\n      \"goverlay_files\": [\n        \"tweaks_md3.pas\",\n        \"configkeys.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Daemon/library combo that allows games to request a set of optimizations.\"\n    },\n    {\n      \"id\": \"replaysorcery\",\n      \"name\": \"ReplaySorcery\",\n      \"repo\": \"matanui159/ReplaySorcery\",\n      \"category\": \"recording\",\n      \"config_file\": \"replay-sorcery.conf\",\n      \"upstream_sample_config\": \"replay-sorcery.conf\",\n      \"goverlay_files\": [\n        \"overlayunit.pas\",\n        \"constants.pas\"\n      ],\n      \"description\": \"Open-source instant replay solution for Linux.\"\n    }\n  ]\n}\n\n<!-- File: .agent/skills/goverlay-update-auditor/SKILL.md (Tokens: ~2424 | Category: anthropic-skill) -->\n---\nname: goverlay-update-auditor\ndescription: >-\n  Audits upstream GitHub repositories for tools integrated with Goverlay (MangoHud, vkBasalt, OptiScaler, MAKO, LSFG-VK, AFMF, ReShade, etc.).\n  Identifies new versions, breaking changes, deprecated syntax, and new configuration options that require new UI controls or backend adjustments in Goverlay.\n---\n\n# Goverlay Upstream Update Auditor Skill\n\nUse this skill whenever checking upstream repositories for updates, investigating new releases of tools bundled/configured by Goverlay, or reconciling Goverlay UI controls with new features in external tools.\n\n## Objectives\n\n1. **Monitor & Audit Upstream Repositories**:\n   - Query GitHub releases, tags, commits, and release notes for all tools integrated with Goverlay.\n2. **Detect New Configuration Options**:\n   - Parse upstream sample configuration files (e.g. `data/MangoHud.conf`, `OptiScaler.ini`, `mako.toml`, etc.) and compare them against keys in `configkeys.pas` and Goverlay UI handlers.\n3. **Identify Breaking Changes & Deprecations**:\n   - Scan release notes for flags such as deprecated keys, changed syntax, renamed options, or requirements (e.g., Vulkan layers, Proton versions, Mesa requirements).\n4. **Formulate Concrete Goverlay Implementation Steps**:\n   - Determine which Pascal units (`mangohud_ui.pas`, `optiscaler_tab.pas`, `lossless_scaling_tab.pas`, `vkbasalt_tab.pas`, `tweaks_md3.pas`, `configkeys.pas`, etc.) need updates.\n   - Propose UI widget types (e.g., `TToggleSwitch`, `TSpinEdit`, `TComboBox`, `TTrackBar`) and placement adhering to Goverlay's MD3 dark/light design system.\n\n---\n\n## Catalog of Integrated Tools\n\nThe repository catalog is defined in [`references/repositories.json`](./references/repositories.json):\n\n| Tool ID | Tool Name | Upstream Repository | Goverlay Files |\n| :--- | :--- | :--- | :--- |\n| `mangohud` | MangoHud | `flightlessmango/MangoHud` | `mangohud_ui.pas`, `configkeys.pas`, `overlay_config.pas` |\n| `optiscaler` | OptiScaler | `optiscaler/OptiScaler` | `optiscaler_tab.pas`, `optiscaler_update.pas`, `configkeys.pas` |\n| `dlss-enabler` | DLSS Enabler | `benjamimgois/OptiScaler-builds` (`discord_manifest`) | `optiscaler_update.pas`, `optiscaler_tab.pas`, `constants.pas` |\n| `fakenvapi` | FakeNvapi | `optiscaler/fakenvapi` | `optiscaler_tab.pas`, `configkeys.pas` |\n| `optipatcher` | OptiPatcher | `optiscaler/OptiPatcher` | `optiscaler_tab.pas`, `optiscaler_update.pas` |\n| `mako` | MAKO | `eugeniosegala/MAKO` | `lossless_scaling_tab.pas`, `constants.pas` |\n| `lsfg-vk` | LSFG-VK | `PancakeTAS/lsfg-vk` | `lossless_scaling_tab.pas`, `constants.pas` |\n| `afmf-linux` | AFMF Linux | `serialexperimentslainnnn/afmf-linux` | `lossless_scaling_tab.pas`, `constants.pas` |\n| `helixsr` | HelixSR | `lonewolf0622/HelixSR` | `optiscaler_tab.pas`, `helixsr_license_dialog.pas` |\n| `vkbasalt` | vkBasalt | `DadSchoorse/vkBasalt` | `vkbasalt_tab.pas`, `configkeys.pas` |\n| `vksumi` | vkSumi | `reakjra/vkSumi` | `vkbasalt_tab.pas`, `constants.pas` |\n| `reshade` | ReShade | `crosire/reshade` | `reshade_tab.pas`, `constants.pas` |\n| `gamemode` | GameMode | `FeralInteractive/gamemode` | `tweaks_md3.pas`, `configkeys.pas` |\n| `protontricks`| Protontricks| `Matoking/protontricks` | `protontricksunit.pas`, `constants.pas` |\n| `proton-cachyos`| Proton-CachyOS| `CachyOS/proton-cachyos` | `tweaks_md3.pas`, `configkeys.pas` |\n| `proton-ge-custom`| Proton-GE| `GloriousEggroll/proton-ge-custom` | `tweaks_md3.pas`, `configkeys.pas` |\n| `replaysorcery`| ReplaySorcery| `matanui159/ReplaySorcery` | `overlayunit.pas`, `constants.pas` |\n\n---\n\n## Workflow: How to Run the Audit\n\n### Step 1: Run the Automated Audit Script\n\nExecute the Python auditor helper to gather real-time intelligence from GitHub:\n\n```bash\n# Audit a single tool (e.g. MangoHud)\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --tool mangohud --format markdown\n\n# Audit Proton release notes across the last 10 releases (grouped by env var prefix)\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --tool proton-cachyos --releases 10 --format markdown\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --tool proton-ge-custom --releases 5 --format markdown\n\n# Audit all tools in compact mode\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --all --format compact\n\n# Export complete markdown report\npython3 .agent/skills/goverlay-update-auditor/scripts/audit_upstream.py --all --format markdown --output /tmp/goverlay_audit.md\n```\n\n### Step 2: Deep-Dive into Release Notes & Commits\n\nFor any tool reporting `ATTENTION_REQUIRED` or `NEW_OPTIONS_AVAILABLE`:\n1. Use `gh api repos/<owner>/<repo>/releases/latest` to read the full markdown release notes.\n2. Inspect the upstream sample config file or documentation to understand each new option's data type, valid range/enum values, and default behavior.\n3. Cross-reference with Goverlay's current implementation in `configkeys.pas` and the respective UI tab unit.\n\n### Step 2b: Interactive DLSS Enabler Update (Discord → GitHub Releases)\n\nWhenever running an update audit (`--all` or `--tool dlss-enabler`), `dlss-enabler` reports `MANUAL_DISCORD_CHECK_REQUIRED` along with the currently published `dlssenabler_stable` and `dlssenabler_edge` versions in `versions.json`.\n\n1. **Prompt the user** in chat with the current `stable` and `edge` versions and ask whether a new DLSS Enabler `.zip` attachment link is available on Discord (or if they want to skip).\n2. **When the user pastes a Discord attachment URL** (or provides a local `.zip` path), run:\n   ```bash\n   python3 .agent/skills/goverlay-update-auditor/scripts/publish_dlss_enabler.py \"<discord_url_or_path>\"\n   ```\n   (Use `--channel stable|edge` or `--version X.Y.Z` only if auto-detection needs an override, and `--force` to replace an existing tag's asset.)\n3. **Review the output**: the script downloads and validates the ZIP (`>10KB`, `testzip`, `version.dll` present), normalizes the asset name (`DLSS-Enabler-<ver>-STABLE.zip` or `DLSS-Enabler-<ver>-EDGE.zip`), publishes the GitHub Release on `benjamimgois/OptiScaler-builds`, atomically updates `versions.json` on `nightly-action`, and prints the archive file inventory so you can check for any new DLLs, `.ini` files, or packaging changes.\n\n### Step 3: Triage & Classify Findings\n\nClassify each finding according to its impact:\n\n- **Type A: Critical Breaking Changes / Compatibility Regressions**:\n  - Deprecated syntax in config files (e.g., options dropped or renamed).\n  - New DLL naming conventions or environment variables needed for Wine/Proton.\n  - Action: Immediately update the config reader/writer in `configmanager.pas`, `overlay_config.pas`, or launch script generators (`bgmod.lpr` / `configkeys.pas`).\n\n- **Type B: New Upstream Configuration Options**:\n  - New metrics or graphs in MangoHud (e.g., `vulkan_present_mode`, `fps_sampling_period`).\n  - New toggles in OptiScaler (e.g., `Fsr4ForceEnableInt8`, `Fsr4EnableWatermark`).\n  - New scaling/framegen controls in MAKO or LSFG-VK.\n  - New Proton/Wine/DXVK/VKD3D environment variables discovered in `proton-cachyos` or `proton-ge-custom` release notes (grouped into `PROTON_*`, `WINE_*`, `DXVK_*`, `VKD3D_*`, and `Other` blocks for selective addition to the Tweaks tab in `tweaks_md3.pas`, `configkeys.pas`, and `hintsunit.pas`).\n  - Action:\n    1. Define key constant in `configkeys.pas`.\n    2. Add parsing and serialization in the respective config loader/saver.\n    3. Add UI control (`TToggleSwitch`, `TComboBox`, `TSpinEdit`) following Goverlay's Material Design 3 guidelines.\n\n- **Type C: Version Bumps & Download URLs**:\n  - Upstream tarball URL changes or new release assets.\n  - Action: Update `constants.pas` (e.g. `FALLBACK_RESHADE_VERSION`, `URL_*_TARBALL`).\n\n---\n\n## Guidelines for Implementing GUI Controls in Goverlay\n\nWhen designing new controls for discovered options:\n1. **LCL Qt5/Qt6 Compatibility**:\n   - Ensure controls work identically under Qt5 and Qt6 interfaces.\n   - Use `TToggleSwitch` for boolean toggles in modern MD3 sections.\n   - Use `TComboBox` with `csDropDownList` for enumerated choices (e.g. preset modes, upscaler selection).\n   - Use `TSpinEdit` with appropriate `MinValue`, `MaxValue`, and `Increment` for integer limits.\n2. **Localization & Tooltips**:\n   - Add tooltips via `hintsunit.pas` to explain the new option clearly to users.\n   - Add user-facing strings to `goverlay_strings.pas` if applicable.\n3. **OpenSpec Proposal**:\n   - For multi-file changes or major feature additions, use the OpenSpec workflow (`opsx propose`) before applying modifications.\n</yakaai_skills>"}