README (badges from Gitea Actions and shields' Gitea release badge,
"Where things live", downloads from releases.poli0981.dev, checksums and
the CycloneDX SBOM instead of `gh attestation verify`, a note that 2.2.0 and
older must update once by hand), USAGE, UPDATES (the HTTP feed, the file
layout on R2, the delta from `vpk download s3`), RELEASING (the new release
workflow, its dry run, user-level R2 secrets), BUILD (the CI table on Gitea
Actions, Renovate), PRIVACY (the update check goes to releases.poli0981.dev
through Cloudflare), SECURITY (e-mail only, never a public issue on the
mirror; Qodana, gitleaks, Opengrep, osv-scanner, NuGetAudit, Renovate instead
of CodeQL, Scorecard, SonarCloud, Snyk and Dependabot; no attestations),
CONTRIBUTING (Gitea read-only, issues and merge requests on GitLab, patches
by e-mail), CODE_OF_CONDUCT, EULA, DISCLAIMER and MAINTAINERS lose their
GitHub references, THIRD-PARTY-NOTICES swaps SonarScanner for CycloneDX,
Directory.Build.props points RepositoryUrl at Gitea, and CLAUDE.md gets the
new rules 6 and 7 and a "Forge & CI" section. CHANGELOG entries stay as they
were; only the compare links at the bottom point at Gitea.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gitea's registration is closed, so issues and merge requests from everyone
go to gitlab.com/poli0981/CommandForge, and GitLab does not read GitHub's
issue forms. .gitlab/issue_templates gets Markdown versions of the five forms
(Bug, Feature request, Command, Translation, Accessibility) and
.gitlab/merge_request_templates/Default.md the pull request checklist, with
a note that CI runs on Gitea. ACCESSIBILITY.md sends a barrier to the GitLab
Accessibility template or accessibility@, and its test follows.
The .github forms stay for Gitea, which reads them: their links point at
Gitea's paths, private reports at security@ (GitHub's private vulnerability
reporting and Discussions are gone), and config.yml points at the mirror.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dependabot was GitHub's. The self-hosted Renovate on Gitea applies the shared
preset local>poli0981/renovate-config (pinned action digests, non-major
updates grouped, OSV security PRs, a 3-day release age for NuGet). On top of
it, as the Dependabot rules did: majors wait for approval on the Dependency
Dashboard (maintenance mode), Microsoft.Extensions.* and the SDK in
global.json never take a major (the .NET 10 LTS line), and Velopack moves
together with the vpk CLI. Validated with renovate-config-validator
44.260.3 --strict.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub Releases is gone. A v* tag now builds and packs on the Windows runner
as before (scripts/pack.ps1), then `vpk upload s3` puts the packages and the
feed on R2 (releases.poli0981.dev/commandforge, feed last), the ops
publish-r2.yml adds <version>/SHA256SUMS and the SBOM, a Gitea release gets
the notes and the links (no binaries), and the ops announcer posts to
Discord. R2 credentials stay in VPK_* environment variables of this
tag/dispatch-only workflow.
scripts/release-assets.ps1 (also runs locally) writes the CycloneDX SBOM
(CycloneDX tool 6.3.2, replacing GitHub's dependency-graph SBOM, decision
D7), SHA256SUMS of the files this version ships, and the notes from
CHANGELOG.md. The feed files are no longer hashed: vpk rewrites them on
upload, which is what made checksums.txt wrong for RELEASES and
releases.win.json in 2.1.0 and 2.2.0.
A manual run on a branch is a dry run: it builds, packs, reads the previous
release from R2 and keeps the files as an artifact, but uploads nothing.
Attestations go (no OIDC on Gitea). VirusTotal stays optional.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
announce-release and notify-ci-failure call the ops repo's .gitea reusables at
ops v2026.11.4 (c133a00), with ops_ref at the same commit so the notifier
script matches, and pass only the secrets each one declares instead of
inheriting all of them. notify-ci-failure watches Build, Qodana and Security
(SonarCloud is gone). New: notify-release-pipeline reports every Release run
to DISCORD_RELEASE_PIPELINE_WEBHOOK.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JetBrains/qodana-action needs GitHub's APIs (annotations, the PR comment, the
cache). The ops repo's reusable-qodana.yml runs the pinned, checksum-verified
Qodana CLI natively on the Windows runner instead, builds the solution first
and keeps the report as an artifact; the results still go to Qodana Cloud.
The token check job goes: Gitea has no fork pull requests, and runs started
by renovate-bot skip the scan in the reusable itself.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
actionlint and shellcheck (pinned, SHA-256 verified) lint .gitea/workflows,
and the ops repo's security.yml runs gitleaks over the full history, Opengrep,
osv-scanner and a NuGetAudit restore on the Windows runner. Push to main,
pull requests, and weekly on Friday 14:11 UTC (inside the runner's
13:00-16:00 UTC window, a free slot in the ops cron registry). This replaces
CodeQL for both the C# and the workflow analysis.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
None of them runs on Gitea: CodeQL and Scorecard upload to GitHub code
scanning (and Scorecard needs OIDC), dependency review reads GitHub's
dependency graph, and SonarQube Cloud is dropped in every repository
(ops migration decisions D1 and D7). The dotnet-sonarscanner tool goes with
it. Opengrep, gitleaks, osv-scanner and NuGetAudit (the Security workflow)
and Qodana take over.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move build.yml to .gitea/workflows. The Windows jobs run in host mode on the
maintainer's PC, so setup-dotnet installs into the runner tool cache, the
NuGet cache is the PC's own (no actions/cache), and artifacts go through the
Gitea fork of upload-artifact (upstream v4+ refuses non-GitHub servers).
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>
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>
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.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>
- 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>
- 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>
- 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>
`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>
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>
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>