Adds 40 rarely-used and Windows-version-specific commands across 9 existing
categories: 5 Windows 10-only (maxOsBuild 19045 — the first use of maxOsBuild
gating in the catalog), 11 Windows 11-only (minOsBuild 22000+, incl. 3 for
24H2/26100), and 24 rare cross-version diagnostics/info/security/dev commands.
Each command is wired with Cmd_<id>_Title/_Desc keys in all five resource
cultures (en, vi, ja, zh-Hans, es); reg-based HKCU tweaks include
affectedRegistryValues and confirmBeforeRun for Caution entries.
Also fixes TPM Status (info.tpm) and Defender Exclusions
(sec.defender.exclusions): both now require admin so their queries
(Get-CimInstance on MicrosoftTpm / Get-MpPreference) return data instead of
appearing blank — they run in-process without elevation today.
Adds CommandDefinitionTests coverage for maxOsBuild gating (Win10-only
commands hidden on Windows 11, visible on Windows 10).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
New 12th category "services-startup" plus a storage/maintenance-heavy batch.
- services-startup (8, NEW category): restart Print Spooler / Windows Audio /
Windows Update / BITS services; list running & automatic services; open
Startup apps settings; open the Startup folder
- storage (5): largest temp files, list partitions, analyze fragmentation
(read-only), configure Disk Cleanup (sageset), list disks & volumes (diskpart)
- cleanup (3): clear icon cache, clear recent items, clear event logs
- power (2): Power Saver plan, hibernate now
- system-maintenance (2): online disk scan (Repair-Volume -Scan), verify
system files (sfc /verifyonly)
categories.json gains services-startup (order 12); CatalogTests category-count
assertion bumped 11 -> 12. All keys localized across EN/VI/JA/zh-Hans/ES.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Visibility batch: system diagnostics & info that only read state or open a
console — zero Caution/Dangerous commands, ideal smoke-test set.
- system-info (7): battery health, network adapter speed, disk health,
page file usage, local user accounts, time zone, Windows install date
- network (6): public DNS lookup test, active TCP connections, firewall
profiles, shared folders, show hosts file, Network Connections (ncpa.cpl)
- diagnostics (5): recent boot/shutdown events, unexpected shutdowns
(Kernel-Power 41), recent system errors, Print Management, Certificate Manager
- storage (2): drive usage summary, disk SMART status
All keys localized across EN/VI/JA/zh-Hans/ES. Catalog stays at 11 categories.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Promote Unreleased to [1.3.0] (2026-06-26): 25 new commands + Storage
category, Simplified Chinese and Spanish UI languages, and the fixed
non-resizable main window. Update compare links.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Grows the catalog from 116 to 141 commands and adds an 11th category,
"Storage". All new commands are vetted, fixed catalog entries (no user
interpolation); admin ones run via the Elevator. No new Dangerous commands.
New category: storage (Optimize/defrag C:, Disk Management, list volumes
and free space, open Storage settings).
Other additions across existing groups:
- system-info: TPM status, Secure Boot state, computer & OS summary.
- network: network adapters, DNS servers, internet connectivity test.
- diagnostics: startup programs, Driver Verifier, Performance Monitor,
system health report.
- cleanup: clear crash dumps, Windows Error Reporting, DNS+ARP caches.
- power: lid-close action and monitor-timeout toggles (revert pairs).
- tweaks-shortcuts: NumLock-at-startup and verbose sign-in toggles
(revert pairs, with affectedRegistryValues).
Localization: 51 new keys (50 command + Cat_storage) added to all five
languages (EN authored; VI/JA/zh-Hans/ES machine-translated, flagged for
native review). ResxKeyTests enforces full parity.
Tests: CatalogTests category count 10 -> 11; added guards for the Storage
category and for "Dangerous commands must confirm". 195/195 passing.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds two new UI languages, bringing the total to five (EN/VI/JA/zh-Hans/es).
Both new translations are machine-translated and flagged for native review,
matching how Japanese was introduced.
- Strings.zh-Hans.resx + Strings.es.resx: full parity with EN (501 keys),
built by transforming the English resx so every key is present (no fallback).
- SettingsViewModel: add 简体中文 and Español language options.
- MainWindow.xaml: add the two View > Language menu items.
- ISettingsService: document the new culture codes.
- ResxKeyTests: assert key parity across all satellite cultures
(vi/ja/zh-Hans/es), driven by a single SatelliteCultures list.
- LocalizationManagerTests: theory asserting each satellite actually loads
(a translated string, not an English fallback) via the live-switch path.
Translations: machine-generated; recommend native-speaker review before GA.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The main window is now fixed and non-resizable (ResizeMode=NoResize),
removing the maximize button and resize grips. The F11 full-screen
toggle (which maximized to borderless) is removed as it conflicts with
a locked window.
- MainWindow.xaml: ResizeMode=NoResize; drop MinWidth/MinHeight; remove
the View > Full screen menu item.
- MainWindow.xaml.cs: restore/save window position only (size and
maximized state are fixed); remove ToggleFullScreen + F11 handler.
- KeyboardShortcutsDialog: drop the F11 row.
- ISettingsService: WindowWidth/Height/Maximized retained for config
back-compat but no longer read or written.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Promote the [Unreleased] section to [1.2.0] (2026-06-21) and add its
compare link. Covers the 38 new commands, OS-build version flags and
the Japanese language.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds an [Unreleased] entry covering the v-next batch on main (PRs #33,
#35, #36): 38 new catalog commands (78 → 116), OS-build version-aware
hiding of version-specific commands, and the new Japanese language.
No version bump — release tagging left for a separate decision.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds a complete Japanese satellite (Strings.ja.resx, 501 keys covering
all UI + catalog strings) and wires it into the language picker and the
View menu (日本語). Live switching works the same as EN/VI — no restart.
- ResxKeyTests now asserts every catalog + UI key resolves in EN, VI
AND JA with no parent fallback, via a shared AssertKeysExist helper.
- ISettingsService doc notes "ja" as a valid culture code.
Translations are machine-generated; a native Japanese review pass is
recommended. 189 tests pass; the ja satellite assembly builds and the
app launches.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds optional minOsBuild/maxOsBuild to a command; the WPF catalog
projection hides commands that do not apply to the current OS build, so
Windows 11-only tweaks never appear on Windows 10 (and vice-versa).
- Domain: CommandDefinition gains MinOsBuild/MaxOsBuild + the pure
AppliesToOsBuild(build) predicate (no Win32 dependency).
- Infrastructure: CommandDto maps the fields; CatalogLoader validates
positive values and maxOsBuild >= minOsBuild. ICatalogProvider still
returns the full set, so the Debug panel and tests are unaffected.
- WPF: CatalogViewModelBuilder.Build(catalog, osBuild) filters once,
centrally — covering the list, palette, category counts and every
dashboard. The OS build comes from the existing ISystemInfoService.
- Catalog: gate the Win11 context-menu, taskbar-alignment and
clock-seconds tweaks (minOsBuild 22000 / 22621).
Tests: AppliesToOsBuild theory + catalog range/positive validation;
189 pass. App launches without startup regressions.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds 38 vetted, embedded commands spanning system-info, network,
tweaks, cleanup, power, diagnostics, updates, security and developer
groups — e.g. installed updates/drivers/BIOS/apps/monitors,
netstat/arp/route/wifi/proxy, dark-mode + Win11 taskbar/clock tweaks,
thumbnail/font/prefetch cleanup, balanced plan + power requests +
fast-startup toggle, Task/Device/Services consoles + gpresult, winget
sources + Store reset, Defender status/full-scan, firewall on/off,
WSL shutdown, Sandbox off, long-paths toggle.
- Reversible tweaks wired as set↔revert pairs; dev.sandbox.on now links
to the new dev.sandbox.off.
- EN + VI resource keys added for every command (ResxKeyTests enforces
both with no fallback).
- Win11-only tweaks (taskbar*, clockseconds*) ship ungated here; the
OS-build version-flag mechanism follows in a separate change.
All 167 tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds a Keep a Changelog / SemVer changelog at the repo root covering the
initial release and the v-next feature line, and links it from the README
documentation table. (The detailed working notes in docs/ stay internal.)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Post-v1.1.0 fixes reported from testing.
- User commands hanging on cmd: SystemProcessRunner now redirects and
immediately closes stdin, so an interactive process (e.g. "cmd" with
no /c) gets EOF and exits instead of blocking forever. Additionally,
UserCommandFactory.NormalizeArguments prepends /c for cmd (e.g. "cmd"
+ "ping google.com" -> "cmd /c ping google.com") so the command runs
and exits; the run confirmation shows the effective command line.
PowerShell and other executables are unchanged.
- Recipes: AddStep no longer adds a command already in the chain, so a
recipe never runs one command multiple times.
- Sidebar: hide the vertical scrollbar on the command-groups list.
- Tests for the cmd /c normalization (cmd/cmd.exe/path, existing /c|/k,
powershell, empty args) + ToDefinition applying it.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Implements C5 + C7 from docs/Extra.md Part 2 (final wave).
- Application: pure MaintenanceSuggestions.For(SystemStatus) (low system-
drive space -> Disk Cleanup; uptime > 7 days -> restart) and
NaturalLanguageSearch.Suggest (EN/VI phrase -> catalog keyword).
Natural-language search is 100% LOCAL — no LLM, no network (golden rule #5).
- WPF: Home shows a "Maintenance suggestions" section (reason + optional
Open button for the suggested catalog command). The catalog search bar
shows a "Did you mean: <keyword>" chip for natural-language queries;
clicking it applies the keyword.
- EN/VI .resx; docs (Changelog/roadmap).
- Tests: NL phrase mapping (+ null/already-keyword cases) and the
maintenance heuristics.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Implements C6 + C2 from docs/Extra.md Part 2, with a safe design that
preserves the Elevator invariant (no new privileged write path).
- Catalog: optional affectedRegistryValues field (RegistryValueRef in
Domain + DTO + mapping), declared on tweak.showext / tweak.showhidden.
- Application: IRegistryService (read-only) + pure RegistrySnapshot
(Capture + Diff -> RegistryChange).
- Infrastructure: WindowsRegistryService over Microsoft.Win32.Registry;
unknown hive / missing key / access error all read as null.
- WPF: after a run with affectedRegistryValues, MainViewModel re-reads
the values and appends a localized before/after diff to the console.
- Undo (C2): History entries whose command has a vetted RevertCommandId
get an "Undo" button that runs that catalog revert command — NO
arbitrary registry writes, the Elevator still only accepts catalog ids.
- EN/VI .resx; docs (Changelog/roadmap/Security.md §4).
- Tests: snapshot diff (null/changed), Win32 read smoke (known/missing/
bad hive), and the catalog schema field.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Implements B1 from docs/Extra.md Part 1, safety-critical (golden rule #1).
- Domain: UserCommand (id/name/executable/arguments).
- Application: IUserCommandStore port + UserCommandFactory.ToDefinition,
which FORCES RequiresAdmin=false and namespaces the id as "user:" so
it can never be routed to — or accepted by — the Elevator.
- Infrastructure: JsonUserCommandStore -> %AppData%\CommandForge\
user-commands.json, fully separate from the embedded catalog. No
telemetry; corrupt-file fallback.
- WPF: new "My commands" section (sidebar + View menu) with a persistent
warning banner. Create/edit/save/delete; Run shows the exact command
line and that it runs without admin, then executes asInvoker via the
forced-non-elevated definition. Console bound to the shared execution.
- EN/VI .resx; docs/Security.md §2.1 (threat model).
- Tests: ToDefinition never RequiresAdmin, id is namespaced, the
definition routes to the executor (never elevation), store round-trip.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Implements B2 from docs/Extra.md Part 1 (Macro / recipe).
- Domain: Recipe (named, ordered list of catalog command ids).
- Application: IRecipeStore port + pure RecipeFlow.ShouldStop
(stop on failure / cancel / reboot-required).
- Infrastructure: JsonRecipeStore -> %AppData%\CommandForge\recipes.json
(source-gen, schema version, corrupt-file fallback). No telemetry;
recipes reference only vetted catalog ids.
- WPF: ExecutionViewModel.RunRecipeAsync runs steps sequentially
through the same broker session (one UAC for an all-admin chain),
streaming a per-step header and stopping per RecipeFlow. New Recipes
shell section (sidebar + View menu) with RecipesViewModel/RecipesView:
build/reorder/remove steps from the catalog, save/delete recipes, and
Run with a single aggregated confirmation (warns on dangerous steps).
Each finished step is recorded in the execution history.
- EN/VI .resx keys; tests for RecipeFlow and the recipe store.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Implements C3 + C4 from docs/Extra.md Part 2.
- Application: PortableSettings (machine-portable subset: appearance,
behavior, favorites) + pure SettingsTransfer (Capture/Apply);
ISettingsFile (import/export) and IProfileService ports.
- Infrastructure: JsonSettingsFile (read/write a chosen .json) and
JsonProfileService -> %AppData%\CommandForge\profiles.json, both via
a shared source-gen context with a schema version + corrupt-file
fallback. No telemetry; import never carries executable commands.
- WPF: new Settings "Backup & profiles" section — Export/Import
buttons and a named-profile picker (apply/delete + save-current).
Import/apply route appearance/language/font through the existing
observable-property setters (live apply + persist); favorites are
written to settings and the shell re-syncs via a new
SettingsViewModel.PortableSettingsApplied event.
- EN/VI .resx keys; tests for capture/apply round-trip, file
round-trip/fallbacks, and profile CRUD/persistence.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds a local execution history (C1 from docs/Extra.md Part 2).
- Domain ExecutionRecord; Application IExecutionHistoryService port +
pure ExecutionHistory helper (newest-first, cap 200, no de-dupe).
- Infrastructure JsonExecutionHistoryService -> %AppData%\CommandForge\
history.json (source-gen context, schema version, corrupt-file
fallback). No telemetry.
- ExecutionViewModel exposes LastResult; MainViewModel records each
finished, non-cancelled run via IClock + the history service.
- New History shell section (sidebar button + View menu) with
HistoryViewModel/HistoryView: per-run time/status/duration, "Run
again" (re-runs through the normal confirm/elevation flow) and
"Clear history". Runs of commands removed from the catalog show
their id and cannot be re-run.
- EN/VI .resx keys; tests for the cap helper and JSON round-trip /
fallbacks.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Đợt 1 of the post-v1.0 line (metadata + packaging).
- Directory.Build.props: inheritable package/assembly metadata
(Product, Authors/Company=poli0981, Copyright, Description,
RepositoryUrl/PackageProjectUrl, default Version 1.0.0).
AssemblyVersion is intentionally NOT pinned so it follows Version
(stamped from the git tag at publish), keeping the in-app About /
Report-Bug version accurate.
- scripts/pack.ps1: pass --packTitle / --packAuthors to vpk pack
(correct plural flag) and -p:FileVersion to dotnet publish.
- tests: AssemblyMetadataTests verifies Company / Product / Copyright.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
`Get-ChildItem -Path <dir> -Exclude 'checksums.txt'` returns nothing without
a trailing wildcard or -Recurse (a PowerShell quirk), so checksums.txt was
empty and `gh release upload` failed with HTTP 400 (Bad Content-Length) in the
v1.0.0 run. Filter with Where-Object instead. The release artifacts themselves
(Setup.exe, full nupkg, portable zip, RELEASES, manifest) published fine.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>