8 Commits
Author SHA1 Message Date
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