21 Commits
Author SHA1 Message Date
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 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 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
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
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
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
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 d2dcebc6dd ci: address review and SonarCloud findings in workflows
- release.yml: upload the Velopack release as a draft, attach SBOM + checksums, then publish
  (publishing is what makes installed copies auto-update); VirusTotal runs after publishing
  because the release-by-tag API cannot see drafts.
- notify-ci-failure.yml: filter on the triggering event (`push`) instead of the forgeable actor
  login (SonarCloud githubactions:S8232).
- scorecard.yml: top-level `contents: read` instead of `read-all` (githubactions:S8234).
- codeql.yml: build with -p:RunAnalyzers=false; Roslyn analyzers add nothing to the extraction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 20:02:41 +07:00
poli0981andClaude Opus 5.5 6157c53d55 ci: harden workflows; add packaging smoke test, CodeQL for Actions, dependency review, Scorecard
- Every action pinned to a full commit SHA; least-privilege permissions per job; concurrency
  groups and timeouts; secrets passed through env instead of being expanded inside run blocks.
- build.yml: NuGet cache, test results + coverage artifact, and a `package` job that publishes
  and packs with Velopack exactly like a release (catches a missing Elevator before tagging).
- codeql.yml: matrix over csharp (Windows, manual build) and actions.
- New dependency-review.yml (moderate+ vulnerabilities, GPLv3-compatible license allow-list) and
  scorecard.yml (OpenSSF Scorecard SARIF in code scanning).
- release.yml: pinned vpk via the tool manifest, build-provenance attestations, SPDX SBOM and
  checksums as release assets, and a direct call to the shared announcer (tag releases published
  with GITHUB_TOKEN never fired the `release` event, so Discord was never notified).
- notify-ci-failure.yml: grant actions: read (every run was a startup_failure) and skip
  Dependabot-triggered runs, which have no access to the webhook secret.
- dependabot.yml: grouped updates (Velopack + vpk move together), cooldown, labels, and .NET SDK
  (global.json) updates.
- .sonarcloud.properties for SonarCloud Automatic Analysis scope.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 19:56:42 +07:00
dependabot[bot] 873f1e8fea ci: Bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-24 10:23:50 +00:00
poli0981andClaude Opus 4.8 5236ceb5a3 fix(release): SHA-256 checksums step produced an empty file
`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>
2026-06-18 20:11:09 +07:00
poli0981andClaude Opus 4.8 a2e44e1e3b deps: bump dependencies and GitHub Actions (consolidates Dependabot PRs)
Consolidates the eight open Dependabot PRs (#14-#21) into one change to
avoid the workflow-file conflicts they have with each other.

NuGet:
- Microsoft.Windows.CsWin32 0.3.296 -> 0.3.298
- Microsoft.NET.Test.Sdk 17.14.1 -> 18.6.0
- coverlet.collector 6.0.4 -> 10.0.1
- xunit.runner.visualstudio 3.1.4 -> 3.1.5

GitHub Actions:
- actions/checkout 4 -> 6
- actions/setup-dotnet 4 -> 5
- github/codeql-action 3 -> 4
- crazy-max/ghaction-virustotal 4 -> 5 (vt_api_key/files/update_release_body
  inputs verified unchanged in v5)

0-warning Release build; 105 tests pass; actionlint clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 20:06:44 +07:00
poli0981andClaude Opus 4.8 f0d62490f2 Phase 6c: CI/CD, Velopack release pipeline, version-flow fix, build/update docs
Workflows (.github/workflows/):
- build.yml: Windows restore + dotnet format --verify + Release build
  (0-warning gate) + tests, on PR/push to main.
- codeql.yml: project-specific CodeQL C# (Windows, builds CommandForge.slnx).
  The shared reusable codeql-csharp.yml runs on Linux and expects a .sln, so
  it cannot build this WPF/.slnx app.
- release.yml: on tag v*, install vpk, download the previous release for the
  delta base (continue-on-error on first release), publish self-contained +
  vpk pack, publish the GitHub Release (vpk upload github), attach SHA-256
  checksums.txt, and optionally submit to VirusTotal (gated on VT_API_KEY).
- announce-release.yml + notify-ci-failure.yml: thin callers of the reusable
  Discord workflows in poli0981/.github (secrets: inherit).
- dependabot.yml: weekly nuget + github-actions updates.

Fix: scripts/pack.ps1 now passes -p:Version/-p:InformationalVersion to
dotnet publish, so the in-app "App version" matches the release tag instead of
defaulting to 1.0.0.

Docs (English, public): BUILD.md, RELEASING.md, UPDATES.md — including the
Velopack update mechanism (first vs subsequent release and how deltas are
produced) and the required repo secrets.

No source changes; 0-warning Release build, 104 tests pass; actionlint clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 19:27:49 +07:00
poli0981andClaude Opus 4.8 e30ce870c4 Phase 6b: public docs + legal + Legal Gate links
Public, English-language docs and community-health files (the internal
docs/ specs stay Vietnamese + gitignored). License stays GPLv3.

- Repo root: README (rewritten, with AI disclosure + SmartScreen/SHA-256
  notes), EULA (GPLv3), PRIVACY, DISCLAIMER, THIRD-PARTY-NOTICES,
  MAINTAINERS.
- .github/: CONTRIBUTING (incl. the auto-ignored-contributions rules),
  SECURITY (private reporting + no-signing/VirusTotal), CODE_OF_CONDUCT
  (Contributor Covenant), ISSUE_TEMPLATE (bug/feature/config),
  PULL_REQUEST_TEMPLATE.
- Legal Gate: the four tabs now show a localized summary + a clickable
  "Read full text on GitHub" link to the public docs, via a reusable
  LegalDocumentsView (also used by the 6d Legal Viewer). Terms version
  bumped 1.0 -> 1.1 so existing users re-accept once.
- Strings.cs reduced to Get() (the strongly-typed members are now unused
  since the Legal Gate moved to {res:Loc}); resx keys retained.

0-warning Release build; 104 tests pass (added Legal/menu resx parity).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 19:19:31 +07:00