158 Commits
Author SHA1 Message Date
poli0981 ea60d58ac7 Merge pull request #65: docs — maintenance mode from 2.2.0; Report a bug fills the bug form; release 2.2.0
docs: maintenance mode from 2.2.0; Report a bug fills the bug form; release 2.2.0
v2.2.0
2026-11-16 11:22:25 +07:00
poli0981andClaude Opus 5.5 f9eb5e19eb test(report-bug): run the Report a bug command, not only its builders
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>
2026-11-16 11:10:29 +07:00
poli0981andClaude Opus 5.5 e696b33196 chore(release): 2.2.0
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>
2026-11-16 11:04:42 +07:00
poli0981andClaude Opus 5.5 de3a7a69ca docs: maintenance mode from 2.2.0 — policy, status, badges, issue forms
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>
2026-11-16 11:04:42 +07:00
poli0981andClaude Opus 5.5 0e048d85ad fix(report-bug): open the Bug report form with its fields filled in
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>
2026-11-16 11:04:42 +07:00
poli0981 9c1e619880 Merge pull request #64: fix(a11y) — screen readers, keyboard, names and larger text; ACCESSIBILITY.md
fix(a11y): screen readers, keyboard, names and larger text; ACCESSIBILITY.md
2026-11-16 10:58:35 +07:00
poli0981andClaude Opus 5.5 cb9d818fc5 test(a11y): a peer's name may be null in the runtime tests' text walk
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>
2026-11-16 10:48:49 +07:00
poli0981andClaude Opus 5.5 ded58c145f fix(a11y): settle Qodana's findings on the accessibility changes
- 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>
2026-11-16 10:39:10 +07:00
poli0981andClaude Opus 5.5 36bc62d7ba test(a11y): run the WPF fixes on real WPF-UI controls; Restore down
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>
2026-11-16 10:33:45 +07:00
poli0981andClaude Opus 5.5 79670fbe6f docs(a11y): accessibility statement, issue form and user guide
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>
2026-11-16 10:14:20 +07:00
poli0981andClaude Opus 5.5 4507faa6b3 fix(a11y): screen readers, keyboard, names and text size across the app
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>
2026-11-16 10:14:20 +07:00
poli0981 24cf5f04f7 Merge pull request #63: ci — Qodana for .NET analysis; .NET 10.0.15 runtime and dependency updates
ci: Qodana for .NET analysis; .NET 10.0.15 runtime and dependency updates
2026-11-16 09:37:52 +07:00
poli0981andClaude Opus 5.5 d95db53a2e docs(changelog): Qodana's first fixes and the shell hardening
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:19:20 +07:00
poli0981andClaude Opus 5.5 7d9fe19023 ci(qodana): settle the first report - inspection choices, engine fault, read security sites
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>
2026-11-16 09:19:19 +07:00
poli0981andClaude Opus 5.5 cb1386cc9a fix: findings from Qodana's first report
- 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>
2026-11-16 09:19:19 +07:00
poli0981andClaude Opus 5.5 2741691c81 fix(security): open only https/mailto addresses and existing folders through the shell
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>
2026-11-16 09:19:19 +07:00
poli0981andClaude Opus 5.5 32f97fac69 docs(changelog): unreleased notes for Qodana and the November .NET update
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 08:45:45 +07:00
poli0981andClaude Opus 5.5 47dae756d9 ci: Qodana for .NET code analysis, native mode on Windows
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>
2026-11-16 08:45:45 +07:00
poli0981andClaude Opus 5.5 ee696465ad ci(dependabot): skip .NET and Microsoft.Extensions majors; use labels that exist
- 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>
2026-11-16 08:45:45 +07:00
poli0981andClaude Opus 5.5 d054902117 build(deps): .NET 10.0.15 runtime (SDK 10.0.404), DI 10.0.15, SonarAnalyzer 10.36, test packages
- 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>
2026-11-16 08:45:34 +07:00
poli0981 df3b9e3753 Merge pull request #62: deps — bump the build-tooling group (SonarScanner for .NET 12.1.0, CsWin32 0.3.369)
deps: Bump the build-tooling group with 2 updates
2026-11-16 08:44:44 +07:00
dependabot[bot] 5724855f63 deps: Bump dotnet-sonarscanner and Microsoft.Windows.CsWin32
Bumps dotnet-sonarscanner from 12.0.0 to 12.1.0
Bumps Microsoft.Windows.CsWin32 from 0.3.367 to 0.3.371

---
updated-dependencies:
- dependency-name: dotnet-sonarscanner
  dependency-version: 12.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: build-tooling
- dependency-name: Microsoft.Windows.CsWin32
  dependency-version: 0.3.369
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: build-tooling
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-16 01:41:15 +00:00
poli0981 4de305d3ae Merge pull request #61: ci — bump the actions group (setup-dotnet 6.1.0, CodeQL action 4.39.3)
ci: Bump the actions group with 4 updates
2026-11-16 08:39:11 +07:00
dependabot[bot] 3ab59b443f ci: Bump the actions group with 4 updates
Bumps the actions group with 4 updates: [actions/setup-dotnet](https://github.com/actions/setup-dotnet), [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `actions/setup-dotnet` from 6.0.0 to 6.1.0
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/a98b56852c35b8e3190ac28c8c2271da59106c68...0f4a354dd5547a28c70b7853dbd95d5b67886e73)

Updates `github/codeql-action/init` from 4.39.1 to 4.39.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/9b3254085494b55a0f7c4c2b3d2d52cc712ce370...33d7b85da1a04171e211befe2c739303b9a4c066)

Updates `github/codeql-action/analyze` from 4.39.1 to 4.39.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/9b3254085494b55a0f7c4c2b3d2d52cc712ce370...33d7b85da1a04171e211befe2c739303b9a4c066)

Updates `github/codeql-action/upload-sarif` from 4.39.1 to 4.39.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/9b3254085494b55a0f7c4c2b3d2d52cc712ce370...33d7b85da1a04171e211befe2c739303b9a4c066)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: github/codeql-action/init
  dependency-version: 4.39.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.39.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.39.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-09 10:25:39 +00:00
poli0981 d769d58770 Merge pull request #60: feat(catalog) — Devices, Backup & Recovery, Accounts; 37 new commands; 2.1.0
feat(catalog): Devices, Backup & Recovery, Accounts — 37 new commands; release 2.1.0
v2.1.0
2026-10-26 13:36:24 +07:00
poli0981andClaude Opus 5.5 e2bf8eb758 chore(release): 2.1.0
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>
2026-10-26 13:30:46 +07:00
poli0981andClaude Opus 5.5 225c6e632c docs: 298 commands in 15 categories
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:30:46 +07:00
poli0981andClaude Opus 5.5 a5f5e4b3c1 test(catalog): category list and order, per-build coverage, launcher arguments
- 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>
2026-10-26 13:30:46 +07:00
poli0981andClaude Opus 5.5 a8ca7f4a79 feat(catalog): Devices, Backup & Recovery and Accounts categories, 37 commands
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>
2026-10-26 13:30:46 +07:00
poli0981 ab082676d6 Merge pull request #59: ci — SonarCloud CI analysis with coverage, .NET 10.0.14 and dependency updates
ci: SonarCloud CI analysis with coverage; .NET 10.0.14 and dependency updates
2026-10-26 13:27:52 +07:00
poli0981andClaude Opus 5.5 24fbf9ca23 docs(changelog): SonarCloud CI analysis, dependency and runtime updates
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:17:45 +07:00
poli0981andClaude Opus 5.5 c61d397199 build(deps): .NET SDK 10.0.403, DI 10.0.14, CsWin32 0.3.367, CodeQL 4.39.1
- 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>
2026-10-26 13:17:45 +07:00
poli0981andClaude Opus 5.5 3fadfa0090 ci: analyze with SonarCloud from CI, with test coverage
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>
2026-10-26 13:17:37 +07:00
poli0981 acb7ca4dd5 Merge pull request #58: ci, docs — release-workflow fixes, pinned shared workflows, stale comments
ci, docs: release-workflow fixes, pinned shared workflows, stale comments
2026-10-21 23:19:31 +07:00
poli0981andClaude Opus 5.5 c729a53228 docs(changelog): unreleased run-mode label and release-asset changes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:14:17 +07:00
poli0981andClaude Opus 5.5 cae3679ffa fix(ui): say whether this copy updates itself, not "Portable / dev"
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>
2026-10-21 23:13:53 +07:00
poli0981andClaude Opus 5.5 cad4708852 docs: the portable zip updates itself
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>
2026-10-21 23:12:11 +07:00
poli0981andClaude Opus 5.5 06731cdd0b chore: fix stale comments and the NuGet cache key
- 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>
2026-10-21 23:12:10 +07:00
poli0981andClaude Opus 5.5 d71da598da ci(release): drop a stale comment about draft lookups
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>
2026-10-21 23:08:18 +07:00
poli0981andClaude Opus 5.5 4daf4bbf39 ci(release): take the release notes from CHANGELOG.md
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>
2026-10-21 23:07:47 +07:00
poli0981andClaude Opus 5.5 ce0f905825 ci(release): add the VirusTotal links to the release notes
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>
2026-10-21 23:05:21 +07:00
poli0981andClaude Opus 5.5 27816e92c6 ci(release): attest and hash only what the release publishes
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>
2026-10-21 23:03:48 +07:00
poli0981andClaude Opus 5.5 af8948378a ci: pin the shared workflows in poli0981/.github to a commit
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>
2026-10-21 22:58:57 +07:00
poli0981 05abfdfc4e Merge pull request #57: docs — 2.0.0 release notes, user guide, contact addresses
docs: 2.0.0 release notes, user guide, contact addresses
v2.0.0
2026-10-21 22:56:55 +07:00
poli0981 a5860a70f0 Merge pull request #56: v2 UI — Fluent redesign with WPF-UI 4.3
v2 UI: Fluent redesign with WPF-UI 4.3
2026-10-21 22:53:06 +07:00
poli0981andClaude Opus 5.5 d82f2d45e5 docs: 2.0.0 release notes, user guide, contact addresses
- 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>
2026-10-21 22:49:29 +07:00
poli0981andClaude Opus 5.5 64ddbebde3 feat(ui): contact addresses in About
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>
2026-10-21 22:48:25 +07:00
poli0981andClaude Opus 5.5 f7bbe53f96 feat(ui)!: Fluent redesign with WPF-UI 4.3
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>
2026-10-21 22:26:42 +07:00
poli0981 0f2f2be5d4 Merge pull request #55: v2 core — hardened elevation, reliable execution and storage, catalog fixes + 20 commands
v2 core: hardened elevation, reliable execution and storage, catalog fixes + 20 commands
2026-10-21 22:04:57 +07:00
poli0981andClaude Opus 5.5 f781690b5f test: cover decoding, path resolution, elevation environment, storage
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>
2026-10-21 21:21:25 +07:00