SonarCloud's gate counted the command's body as new code without a test
(77.8% of new lines covered, 80% required). A test now runs
OpenIssueCommand with fakes and checks the address it opens: the Bug
report form, the crash title and code, this app's version and Windows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CHANGELOG [2.2.0] — 2026-11-16 (an empty [Unreleased] stays above it) with
its compare link, and <Version>2.2.0</Version>.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CommandForge is stable and in maintenance mode. CONTRIBUTING.md holds the
policy (Maintenance mode: what we accept): dependency and security updates
(High/Critical: an urgent patch; Moderate: the next routine update), major
platform updates, catalog commands added, fixed or removed, bug, UI/UX,
accessibility and translation fixes; a new feature only when genuinely
necessary. README gets a Project status section and a row of badges with
alt text; SECURITY.md supports 2.2.x; the PR template asks for the scope and
the accessibility checks.
Issue forms: Command — add, fix or remove and Translation fix are new
(labels catalog and translation); Feature request asks why it is necessary;
the bug form's version and log hints are current; config links Discussions
› Ideas and the accessibility statement. CLAUDE.md records the status, the
accessibility rules and accessibility@.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The app opened issues/new?title=&body=. In a repository with issue forms
GitHub ignores body, and anyone who isn't a collaborator sees the list of
forms first, so the description, the crash code and the versions were lost.
It now opens ?template=bug_report.yml and fills the form's fields by id
(what-happened, app-version, windows-version, logs); a test keeps those ids
in step with .github/ISSUE_TEMPLATE/bug_report.yml.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Qodana: AutomationPeer.GetName() is annotated as possibly null, and the
helper yields it as a non-null string; an unnamed text now yields "".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The four "Read the full text on GitHub" links get their names from one
binding each, through RowActionNameConverter ("…: EULA"), and the
"Did you mean" button's name moves into its style. Qodana's XAML engine
reported a nameless field ("Field ' ' is assigned but its value is never
used") for a MultiBinding written as a property element on an element
without x:Name; what is read is unchanged.
- DangerBadge no longer declares the WPF-UI namespace its icon swap left
unused.
- A redundant namespace qualifier in AccessibilityDocumentTests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SonarCloud's gate asks for 80% coverage on new code, and the first push had
22.5%: most of the new code only runs inside WPF. New tests run it on an STA
thread against WPF-UI's own styles and templates, with no window shown: the
names given to template parts, the glyphs kept out of the automation tree,
the decorative peers, the Ctrl+Q scope, the screen-reader notification, and
the font and contrast resources. A WPF-UI update that renames one of those
parts now fails a test instead of silently undoing the fix.
The seams for that: WpfUiAccessibility.Apply (what the class handlers run),
ScreenReader.Raise and RaiseOnActiveWindow, FontScaleService taking its
text-size reader and the resources it writes, ThemeService.ApplyDimming
taking the resources.
The tests also showed that WPF-UI 4.3 has a single button for Maximize and
Restore down, drawn as Restore down while the window is maximized; its name
now follows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ACCESSIBILITY.md says what CommandForge aims for (WCAG 2.2 AA through
WCAG2ICT: a goal, not a claim), what works with the keyboard, screen
readers, contrast themes and larger text, how that is checked, the known
limitations with what to do instead, and how to report a barrier: the new
Accessibility problem issue form or accessibility@poli0981.dev. USAGE.md
gains an Accessibility section and the F6 shortcut, and the changelog lists
the fixes. A test keeps the statement free of conformance claims and its
links working.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An accessibility review of every screen, with the keyboard alone, Narrator
and Axe.Windows:
- Screen readers hear what appears: a run starting, waiting for admin
permission and finishing (result, exit code, time, restart needed), a
search's result count, the Command Palette's highlighted result and its
position, every notification and an update's progress. WPF ignores
LiveSetting, so these go through AutomationPeer.RaiseNotificationEvent.
- The console and the Log viewer are read line by line; an error line says
so and has a bar at its left, not only a colour; a blank line is read as
one.
- Lists and buttons are read by their text instead of a type name; catalog
rows carry their risk and badges as item status; a button repeated on
every row names its row ("Undo: Flush DNS cache").
- WPF-UI template parts get names: the pane toggle and its two lists, the
caption buttons, the clear button, the card expander headers. Icon glyphs
(private-use characters) are kept out of the UI Automation tree
(DecorativeIcon, GlyphHost), and an info bar's title and message, which
the tree leaves out, are read through its severity icon.
- Keyboard: F6 moves between the pane, the page and the console; the focus
moves into the page after navigation; Enter opens a command in the
catalog and in History; Tab reaches a row's buttons; the splitters move
with the arrow keys; every window and dialog starts with the keyboard
inside it, a Caution confirmation on Cancel; Ctrl+Q does not quit while
typing; page frames are no longer empty Tab stops.
- Seeing the screen: Windows' Text size multiplies the app's font size
(the navigation pane widens at the largest sizes, badges and filters
wrap); dimmed text is drawn at full strength under contrast themes;
secondary text is darker; cut-off text has a tooltip; page transitions
follow Windows' Animation effects setting.
- Tests: XAML rules (names, list items, headings, splitters, colours,
icons) and the pure helpers behind the announcements and sizes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first run (Ultimate licence, native on windows-latest) reported 380 problems. Every one was
read: real ones are fixed in the previous commits; the rest argue with choices this project
made, and are switched off where the engine that raised them reads it, each with its reason:
- .editorconfig (ReSharper's inspections, read by Rider too): XAML bindings and WPF UI resources
the engine can't resolve, "unused"/"can be private" for members XAML and tests reach, style
proposals the build's own analyzers don't take, guards on JSON read from disk, MVVM Toolkit
hooks, translations equal to English in .resx, closures in tests.
- qodana.yaml: the files JetBrains' security rules were read in (with the tripwire test), and
ProcessJob.cs, where the engine fails on CsWin32's null-to-PCWSTR conversion and reports the
whole file as unused.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- SystemProcessRunner: build the ProcessStartInfo before the Process, so a program that can't
be resolved leaves no undisposed Process behind (an object initializer runs outside `using`).
- JsonExecutionHistoryService: read the history under the lock it is replaced under.
- SingleInstanceGuard: a collection expression for the wait handles.
- AboutView: explicit Grid.Row/Grid.Column on every cell of the contact grid.
- Tests: no redundant casts, name qualifiers or unused lambda parameters.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ShellService.TryOpen handed any string to ShellExecute, which runs whatever it is given: a file:
address or an unknown protocol handler is a program. Its twelve callers only ever pass the
project's links, mailto addresses and the app's own folders, so anything else is now refused
and logged (IsAllowedTarget, tested).
ProcessStartSitesTests lists every file that starts a process, with what it starts, and fails
on a new one until it has been read - the tripwire beside Qodana's security rule, which leaves
those read files out (qodana.yaml).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
qodana.yml runs JetBrains Qodana for .NET (qodana-dotnet, Rider's engine, Ultimate licence
through the QODANA_TOKEN secret) on pushes to main, pull requests and by hand:
- a `token` job skips fork and Dependabot runs without trusting actor names (as SonarCloud);
- the `qodana` job runs on windows-latest, because WPF (net10.0-windows) only loads there:
restore, a Release build (a failing build is one red step), then the action pinned by SHA
(v2026.2.2) with pr-mode off, so pull requests and main are judged by the same list;
- results go to Qodana Cloud, to annotations and a PR comment, and to the qodana-report
artifact. It is advisory: not a required check.
qodana.yaml holds every setting: native mode, the qodana.recommended profile without the
Hints severity, app.manifest left out of XmlHighlighting, the solution and configuration,
output folders excluded, and a gate of zero problems.
Also: the CI-failure notifier watches Qodana; BUILD.md, RELEASING.md (QODANA_TOKEN),
SECURITY.md and CONTRIBUTING.md describe it, and BUILD.md the Dependabot major-version rule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ignore semver-major updates of Microsoft.Extensions.* and of the .NET SDK: the app stays on
the .NET 10 LTS line, and moving to a new .NET major is a deliberate migration done by hand
(Microsoft.Extensions 11.0.0 shipped with .NET 11).
- The configured labels `nuget`, `dotnet-sdk` and `github-actions` don't exist in the
repository, so Dependabot dropped them; use the existing `.NET` and `github_actions`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- global.json: SDK 10.0.404, which carries the November 2026 .NET security update
(runtime 10.0.15). CI already installs the newest 10.0 SDK (rollForward latestFeature),
so this is the floor a local build needs.
- Microsoft.Extensions.DependencyInjection(.Abstractions) 10.0.15.
- SonarAnalyzer.CSharp 10.36.0.15337 (no new findings).
- Tests: xunit.v3.mtp-off 4.0.3, Microsoft.NET.Test.Sdk 18.12.0, coverlet.collector 10.1.1.
- THIRD-PARTY-NOTICES: versions brought up to date, including CsWin32 0.3.371 and the
SonarScanner 12.1.0 from #62.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Moves the unreleased notes under 2.1.0 (with the new categories and
commands) and sets the dev-build version to 2.1.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The 15 categories in order, with order values running from 1 without gaps
(replaces the 12-category count and the Storage-only check).
- Every category has commands on Windows 10 22H2, 11 23H2 and 11 24H2,
since the navigation pane hides commands for other builds.
- No two commands share a command line.
- explorer only opens settings URIs or shell folders, and control only
Control Panel items.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three new categories and 37 commands (261 -> 298), with titles and
descriptions in all five languages and Fluent icons:
- Devices & Peripherals (11): Bluetooth, printer and display settings,
the Sound panel; USB devices, cameras, audio devices, paired Bluetooth
devices, printers and remembered-but-disconnected devices; Scan for
hardware changes (pnputil, admin).
- Backup & Recovery (9): Recovery settings, WinRE status and Enable WinRE
(reagentc, admin; enabling is Caution), System Protection, restore
point disk usage (vssadmin behind a Win32_ShadowStorage check, since it
exits 2 for both "no items" and access denied), File History, Backup
settings, Backup and Restore (Windows 7), Recovery Drive.
- Accounts & Sign-in (8): Sign-in options, Your info, Other users,
netplwiz, Credential Manager, cmdkey /list (never elevated, so it reads
the user's own vault), net accounts, local groups.
- Existing categories (9): sleep states, last wake source, wake-armed
devices, motherboard, language & region, disabled services, PATH
entries with missing folders flagged, proxy and VPN settings.
Scripts start with $ErrorActionPreference='Stop' and filter PnP devices
client-side (Get-PnpDevice -Class throws when nothing matches). No command
needs an OS-build limit; all exist on Home editions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- global.json: SDK 10.0.403, so self-contained releases ship the
.NET 10.0.14 runtime (October 2026 security update).
- Microsoft.Extensions.DependencyInjection(.Abstractions) 10.0.13 -> 10.0.14.
- Microsoft.Windows.CsWin32 0.3.366 -> 0.3.367.
- github/codeql-action v4.39.0 -> v4.39.1 (CodeQL and Scorecard uploads),
pinned to the release commit.
- THIRD-PARTY-NOTICES: the new versions and the SonarScanner for .NET.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Automatic Analysis can't import coverage, so SonarCloud now runs from
sonarcloud.yml: the SonarScanner for .NET 12.0.0 (pinned as a local tool
next to vpk, updated by Dependabot's build-tooling group) wraps a Release
build and an OpenCover test run.
- A token job checks for SONAR_TOKEN, so fork and Dependabot pull
requests are skipped without trusting actor or repository names.
- The project version is passed to the scanner, so the "previous version"
new-code period resets at each release (and now, instead of judging the
whole 2.0.0 rewrite as new code).
- Roslyn rules stay enforced by the warnings-as-errors build and aren't
imported as external issues; XAML code-behind and the two Program.cs
entry points are left out of coverage.
- .sonarcloud.properties (read only by Automatic Analysis) is removed;
its exclusions move to the scanner arguments.
- CI failure alerts also cover the SonarCloud workflow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings > Advanced and Portable info showed "Installed" or
"Portable / dev". The official portable zip counts as installed
(it carries Velopack's updater), so "Portable / dev" only ever meant
a build run from source. The labels now read "Installed or portable
(updates itself)" and "Development build (doesn't update)", in all
five languages; the key is renamed to Settings_RunModeDev.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Velopack portable zip ships Update.exe and a .portable marker, so
it updates in place like the installed app; only a build run from
source can't update.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ISettingsService: window size and maximized state are restored again
since the window became resizable; WarnOnCancel only asks on close.
- IDialogService, CrashHandlingService, NaturalLanguageSearch (golden
rule #7, not #5), the test project and pack.ps1 described the
pre-2.0 setup (message boxes, the Generic Host, EN+VI only,
Directory.Packages.props).
- build.yml hashed the removed Directory.Packages.props for its NuGet
cache keys; it now hashes Directory.Build.props, where the
SonarAnalyzer version lives.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The VirusTotal action no longer looks up the release; the links step
uses gh, which finds drafts too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vpk creates the release without notes, so v2.0.0 was published, and
announced on Discord, with an empty body. Before publishing, the
workflow now sets the notes to the version's CHANGELOG section (the
text between its heading and the next one); it warns and leaves them
empty if there is no section. The VirusTotal links are appended after
it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The action's update_release_body only works on `release` events, and
this workflow runs on tag pushes, so the scan links never reached the
notes: the v2.0.0 release body was empty. A step now appends a
"VirusTotal" section linking each scanned file's permanent report (by
SHA-256). The scan also no longer matches the previous version's full
package, which is only downloaded to compute the delta.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 2.0.0 release showed two gaps:
- Its provenance attestation also covered the 1.5.1 full package that
`vpk download github` fetches only to compute the delta, which this
run didn't build.
- checksums.txt listed that package and the local assets.win.json,
neither of which is a release asset.
The portable zip that vpk also publishes had no attestation.
Now the attestation covers Setup.exe, the portable zip and this
version's packages only. checksums.txt hashes exactly the release's
assets plus the SBOM. UPDATES and RELEASING list the portable zip.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The release announcer and the CI-failure notifier were called at
@main, so any later change to the shared repository would run inside
this repository's workflows (the announcer inherits its secrets)
without a change here (CodeQL actions/unpinned-tag, Scorecard
Pinned-Dependencies). They now point at the current main commit; bump
the SHA when the shared workflows change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- CHANGELOG: the 2.0.0 entry, plus the missing 1.5.1 compare link and
a corrected [Unreleased] link.
- USAGE.md: a user guide for the new UI (the app's "User guide" link
already points here).
- README: features as of 2.0 (261 commands, 12 categories, five
languages, Fluent UI), download verification with
`gh attestation verify`, and a contact table.
- Contact addresses on poli0981.dev: security@ (SECURITY.md, next to
private vulnerability reporting), privacy@ (PRIVACY.md), legal@ (EULA,
DISCLAIMER), copyright@/dmca@/takedown@ (a new takedown section in
DISCLAIMER), code@ (CONTRIBUTING, CODE_OF_CONDUCT, MAINTAINERS).
- SECURITY: the current threat model and its known limits (per-user
install, the winget alias), release attestations, SBOM and scanners.
- PRIVACY: every local file the app keeps, what the logs contain, and
how the update check and bug reports work.
- BUILD, RELEASING, UPDATES: versions in each .csproj, the pinned vpk
tool, pack.ps1 options, the CI workflows and rulesets, signed tags,
the draft-then-publish release flow, and the new update behavior.
- THIRD-PARTY-NOTICES: WPF-UI and Fluent System Icons in, Material
Design and Hosting out, current versions and build-time tools.
- CONTRIBUTING and the PR template: signed commits, required checks,
five .resx files, catalog rules. The bug template points at
More > About.
- CLAUDE.md: rule 6 allows provenance attestations; stack, namespace
and conventions for v2.
The EULA's terms are unchanged (still version 1.1), so nobody is asked
to accept them again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
About lists security@poli0981.dev for vulnerability reports and
code@poli0981.dev for code questions; both open the mail app. The
addresses live in ProductLinks next to the other public links. New
strings in all five languages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The app now follows Windows 11: Mica window with its own title bar, a
navigation pane, in-window dialogs, snackbars and the system accent color.
MaterialDesignThemes is gone.
- Shell: resizable FluentWindow (min 960x600) that remembers its size,
position and maximized state. The title bar has a command search box
(Ctrl+K), an admin-session indicator with "End admin session", and a More
menu. The pane has Home, Favorites, History, Recipes, My commands and the
catalog with its twelve categories and counts; the selection stays in sync
with the view-model through NavigationKey.
- MainViewModel keeps the shell only; the catalog's browsing, filters,
detail and run logic moved to CatalogViewModel. The catalog gets risk and
admin-only filter chips, the estimated duration and an expanded command
line in the detail panel, and a splitter between detail and console.
- One shared console for catalog, recipes and user commands: virtualized,
batched, capped at 10,000 lines with a "N earlier lines" note, Copy all,
Save to file, "Waiting for administrator permission…" status and Restart
now (asks first, never while a command runs).
- Confirmation, update and bug-report dialogs are Fluent content dialogs;
Cancel stays the default and Run appears for a Dangerous command only
once its name or id is typed. The Legal Gate, terms viewer, crash dialog
and command palette are Fluent windows; the Legal Gate lets you pick the
language first.
- Theme: light, dark or system through ApplicationThemeManager, accent from
Windows, High Contrast always wins. Font size scales every text and
control live. Pages set the theme text color themselves (the navigation
frame doesn't pass it down), and list text dims instead of recoloring so
it stays readable on a selected row; search matches are bold and
underlined.
- A finished run notifies with a snackbar (and flashes the taskbar button)
when the console isn't visible; the taskbar shows progress while running.
- Catalog icons map to Fluent System Icons (IconMap), checked by a test.
- The presentation namespace is now CommandForge.Desktop: a namespace named
CommandForge.Wpf hid WPF-UI's root namespace in XAML-generated code. The
project, assembly and exe keep the name CommandForge.Wpf.
- IElevationService raises SessionChanged when the elevated helper starts or
stops.
- Strings: about 45 new keys in all five languages; twelve unused keys
removed. A test now scans the UI sources so every key the XAML or code
uses must exist in every language.
BREAKING CHANGE: new look and layout; settings, history, recipes and user
commands carry over unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New tests for the output decoder (UTF-8, UTF-16LE with and without BOM,
OEM fallback, chunk boundaries), executable resolution, argument tokens,
the elevated child environment (including a real PowerShell run showing
it loads modules only from admin-only folders), crash-safe JSON files and
v1.5.1 settings, accent-insensitive search, recipe confirmations, the
update dialog, the console buffer and crash codes.
Run faults and cancellation must complete the output channel; elevation
tests have time limits; the DI test uses a scratch folder instead of the
real %AppData%; culture-switching tests run on their own; Domain and
Application may reference only the runtime (and Domain).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>