Commit Graph
29045 Commits
Author SHA1 Message Date
cflmy 4e4e08b375 fix(mqdh): bound every Windows installer smoke step with a timeout (#33)
The NSIS silent install can wait forever on a CI runner if it falls back to an
interactive UI. Use Start-Process + WaitForExit with explicit timeouts for
install, version, backend smoke and uninstall so the job fails fast with a real
diagnostic instead of hanging.
2026-12-03 17:49:26 +08:00
cflmy 08d7b173e5 ci(mqdh): move GitHub Actions pins to Node 24 action majors (#33)
checkout v7, setup-node v7, upload/download-artifact v7/v8 and
pnpm/action-setup v6 run on node24, removing the Node 20 deprecation warning.
Pins stay immutable commit SHAs.
2026-12-03 17:33:47 +08:00
cflmy 9ea6b0e6fc fix(mqdh): read the gzip magic from a separate handle (#33)
try_clone shares the file offset, so the decoder started after the magic bytes
and rejected the valid gzip archive. Probe with a fresh handle; gzip and plain
tar extraction both smoke-tested.
2026-12-03 17:17:45 +08:00
cflmy 6839e82190 perf(mqdh): stage native runtime as a plain tar to keep Windows/macOS CI fast (#33)
gzip on a 2.7 GB pnpm tree takes tens of minutes on a 2-core Windows runner.
Stage an uncompressed tar under one neutral resource name; the shell detects the
gzip magic for the Linux verified archive and reads plain tar for native lanes.
Installers still compress the tar as part of NSIS/DMG bundling.
2026-12-03 16:58:34 +08:00
cflmy c1f367f6eb fix(ci): do not ask setup-node for a pnpm cache before the source checkout (#33)
The workflow repository is CI-only and has no pnpm-lock.yaml; the authoritative
source is downloaded in the next step. Caching is handled by pnpm itself.
2026-12-03 14:59:43 +08:00
cflmy e859b2efdc ci(mqdh): build the authoritative Gitea archive on GitHub runners (#33)
The GitHub remote is CI/CD only: workflows download the exact Gitea archive for
the requested source SHA instead of mirroring the large git history through a
proxy (Git pack generation hits Cloudflare 524 limits). Source/SHA stay
authoritative in Gitea; run-name + evidence record the Gitea SHA. The scheduled
dispatcher reads Gitea tags and requests a release build for tags without an
authoritative Release. Also allow MQDH_SOURCE_SHA without git metadata.
2026-12-03 14:57:36 +08:00
cflmy d3c7087971 fix(ci): unset the mirror flag before pushing explicit Gitea refs (#33) 2026-12-03 14:48:48 +08:00
cflmy 2e1073d224 fix(mqdh): stage the runtime archive for native Windows/macOS lanes (#33)
The Tauri resources contract now ships one mqdh-runtime.tar.gz; the native stage
script must produce that same archive with the platform node runtime (node.exe
on Windows) instead of a bare tree, otherwise the NSIS/DMG bundlers cannot find
the resource.
2026-12-03 14:31:20 +08:00
cflmy af9f044fd1 ci(mqdh): mirror authoritative Gitea refs into the GitHub CI/CD remote (#33)
GitHub Actions clones the public Gitea repository server-side instead of relying
on a local proxy push (which exceeds the proxy body limit). The mirror keeps the
exact Gitea SHA, never writes to Gitea, and can dispatch a release for a new
authoritative mqdh-v* tag.
2026-12-03 14:30:45 +08:00
cflmy c59f13bfb9 ci(mqdh): migrate app CI/CD to the GitHub Actions second remote (#33)
Gitea stays the only source/ticket/release authority. The same commit is pushed
to the github second remote; GitHub Actions builds native Linux/Windows/macOS
installers and a protected publish job uploads the final bytes and evidence
back to the authoritative Gitea Release.

- add .github/workflows/mqdh-tauri-release.yml (pinned actions, three native
  runners, Gitea publish with secret GITEA_TOKEN, no fork secrets)
- record github-actions run identity in release-evidence.json
- add installer fragment/merge scripts so three jobs produce one manifest
- move the retired Woodpecker configs to docs/mqdh/ci/woodpecker/ and document
  the new CI contract in docs/mqdh/CI.md
2026-12-03 14:29:14 +08:00
cflmy 6311ad96e6 fix(ci): quote the manual-publish skip message for YAML (#31)
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/push/tauri-linux Pipeline is pending
ci/woodpecker/manual/ci Pipeline was successful
ci/woodpecker/manual/tauri-linux Pipeline was canceled
2026-12-03 13:40:35 +08:00
cflmy 90a206dbfd ci(mqdh): keep native lanes as blocked templates; allow explicitly approved manual publish (#31)
A manual/tag pipeline must not stay pending on workflows whose native agents do
not exist. Move the Windows/macOS lanes to docs/mqdh/ci/ as BLOCKED templates
and document enabling them when real agents/credentials are attached. The Linux
lane stays real; publishing runs on a tag pipeline or an explicit manual
pipeline with MQDH_TAURI_PUBLISH=1 + MQDH_TAURI_VERSION (same protected script,
same SHA evidence).
2026-12-03 13:40:04 +08:00
cflmy d434130785 fix(mqdh): pass installer triplet positionally to the evidence helper (#31)
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline was canceled
ci/woodpecker/tag/ci Pipeline failed
ci/woodpecker/tag/tauri-linux Pipeline failed
ci/woodpecker/manual/tauri-linux Pipeline is pending
ci/woodpecker/manual/tauri-macos Pipeline is pending
ci/woodpecker/manual/tauri-windows Pipeline is pending
ci/woodpecker/manual/ci Pipeline was successful
2026-12-03 13:20:42 +08:00
cflmy 6f4eb56e0e fix(mqdh): avoid pipefail SIGPIPE while validating the runtime archive (#31)
ci/woodpecker/push/tauri-linux Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline was canceled
2026-12-03 13:16:52 +08:00
cflmy b74794c55c fix(mqdh): ship the verified tree as one archive and extract on first start (#31)
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/push/tauri-linux Pipeline is pending
Tauri's Linux deb walker drops symlinks and the pnpm node_modules tree is
symlink-based, so a resource directory installed a broken tree. Ship the exact
cold-install-verified .tar.gz as one resource; the shell validates entry paths,
extracts once to MQDH_HOME/runtime, keeps the completed tree for later starts,
and launches the same existing backend. Also fix the installer-argument parser
and document TAURI.md in the product doc indexes.

Verified locally in the pinned Debian 12 build image: deb bundle + extract +
--version + real backend --smoke PASS.
2026-12-03 13:14:00 +08:00
cflmy ebc2e9a64d fix(mqdh): bundle deb without the asset protocol and via the reviewed mirror (#31)
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/tauri-linux Pipeline was canceled
ci/woodpecker/pr/ci Pipeline was canceled
The MQDH shell never exposes the Tauri asset protocol, so disable it
explicitly. Tauri 2.13 otherwise downloads a GStreamer asset plugin from
GitHub at deb bundle time; fetch bundler assets through the internal reviewed
mirror instead of requiring direct GitHub access in CI.
2026-12-03 12:59:01 +08:00
cflmy 61d0976463 fix(mqdh): package from the current version, not a stale .ci manifest (#31)
ci/woodpecker/push/tauri-linux Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline was canceled
2026-12-03 12:50:52 +08:00
cflmy 096b804e5e ci(mqdh): keep native Windows/macOS lanes manual until agents exist (#31)
ci/woodpecker/push/tauri-linux Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline was canceled
A tag pipeline must not be blocked by jobs whose native agents are not
provisioned. The Linux lane publishes a scoped beta; the native lanes stay
explicitly manual (and BLOCKED) until real Windows/macOS agents and signing
credentials are attached.
2026-12-03 12:48:00 +08:00
cflmy e1401adbba fix(mqdh): make the Tauri shell compile and smoke headless (#31)
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/push/tauri-linux Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
- parse the product version in build.rs without an extra build dependency
- resolve the bundled tree from the installed resource path in a headless
  --smoke path, so CI can prove the real backend without a display
- keep the window path as the single GUI lifecycle
2026-12-03 12:47:44 +08:00
cflmy fafb49a633 build(mqdh): pin the Tauri crate graph and build image recipe (#31)
ci/woodpecker/push/tauri-linux Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline was canceled
- commit Cargo.lock for the desktop shell
- generate the desktop icon set from the existing approved MQDH icon
- add the app-owned Tauri build image Dockerfile/build script
- record the pinned Tauri CLI 2.13.0 and Rust 1.100 toolchain
2026-12-03 12:39:54 +08:00
cflmy c090cc786e feat(mqdh): add the Tauri desktop shell and installer release contract (#31)
Add the minimal Tauri 2 desktop adaptation for the existing /mqdh workbench:
the shell starts the bundled production tree on loopback, waits for the real
readiness URL, navigates only inside that origin, keeps a single instance and
stops only its own process tree. The product UI, Harness service and update
discovery are unchanged.

- src-tauri: Tauri config, core-only capability, Rust lifecycle/security shell
- scripts/tauri: resource staging, Linux deb build + smoke, Windows/macOS native
  lane scripts, installer attachment to the existing release manifest
- .woodpecker/tauri-*: Linux lane plus labelled native Windows/macOS lanes
- docs/mqdh/TAURI.md + ADR 0001: Tauri 2 is the only official desktop wrapper
- version 0.2.0-beta.1; portable archive remains an advanced/diagnostic asset

Windows/macOS remain BLOCKED until native agents and signing credentials exist;
no simulated bytes are produced.
2026-12-03 12:34:46 +08:00
cflmy fdb9a3b9ed Merge pull request 'feat: ship the latest MQDH frontend in the portable ZIP' (#30) from codex/windows-portable-latest into main
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/tag/ci Pipeline is pending
mqdh-win-portable-2026-12-03
2026-12-03 11:14:09 +08:00
cflmy 217e37ec6f feat: ship the latest MQDH frontend in the portable ZIP
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/pr/ci Pipeline was successful
The launcher opens the branded /mqdh workbench; the portable packaging script accepts a prebuilt application tree so the ZIP carries the latest frontend build without rebuilding the bundle. Adds the packaging tree mode and the updated launcher.
2026-12-03 11:04:13 +08:00
cflmy 2587c46b4a docs: record the formal Windows portable ZIP release
The single-download ZIP, GUI launcher cold start, inherited DSH UI HTTP check and offline runtime bootstrap are verified; also fix the packaging script's reserved HOME variable.
2026-12-03 10:54:10 +08:00
cflmy daf3d50ac1 feat(mqdh): unify workbench light and dark themes
ci/woodpecker/push/ci Pipeline is pending
2026-12-03 10:39:48 +08:00
cflmy 822332b74d feat(mqdh): add product branding and ecosystem navigation 2026-12-03 10:17:14 +08:00
cflmy 9ccb6b38e6 Merge pull request 'fix: keep the portable launcher source and script parameter list valid' (#27) from codex/portable-fix into main
ci/woodpecker/push/ci Pipeline is pending
2026-12-03 09:52:19 +08:00
cflmy 0dd4bb5edf fix: keep the portable launcher source and script parameter list valid
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/tag/ci Pipeline failed
The merged launcher source contained broken literals from an encoding round-trip and the ZIP script kept a dangling separator after dropping the 7z option; rewrite the launcher and fix the parameter list.
2026-12-03 09:41:09 +08:00
cflmy 46cf3ec691 Merge pull request 'build: ship a formal Windows portable ZIP with a no-console launcher' (#26) from codex/windows-portable into main
ci/woodpecker/push/ci Pipeline was canceled
2026-12-03 09:40:27 +08:00
cflmy 18be7c04e7 build: ship a formal Windows portable ZIP with a no-console launcher
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline was successful
The portable artifact is MQDH-<version>-win-x64.zip: extract and double-click MQDH.exe; the thin GUI launcher installs the bundled offline runtime and opens the inherited DSH Web UI. Adds the launcher build/packaging scripts, a portable-zip release-manifest format, docs and naming test.
2026-12-03 09:25:25 +08:00
cflmy 6a1d6af109 Merge pull request 'build: distribute MQDH on Windows x86_64 (experimental)' from codex/windows-distribution
ci/woodpecker/push/ci Pipeline was successful
Windows x86_64 experimental distribution for MQDH, including a bundled offline CLI/Worker/Bundle runtime and native Windows runtime adaptation. Component CI tag pipeline #60 passed for the build commit.
2026-12-03 08:51:51 +08:00
cflmy 57a9e0332f docs: record the usable Windows MQDH build
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Offline runtime pack bootstrap, real check/call smoke and cold-install evidence for the 2026-12-03 Windows experimental build; also fix the package script variable shadowing found during packaging.
2026-12-03 01:37:06 +08:00
cflmy 0d3a9c4369 feat: bootstrap a bundled Windows runtime and run documents on win32
ci/woodpecker/tag/ci Pipeline was successful
- bundle-runtime deps: launcher points bootstrap at runtime-deps when present;
- install native Windows CLI/Worker names and platform-aware executable lookup;
- accept pc-windows-msvc offline archive names and fix workspace path containment with path.relative;
- package-windows gains -RuntimeDeps with digest verification and records bundled_runtime;
- tests/docs for the Windows offline runtime and executable names.
mqdh-win-experimental-2026-12-03
2026-12-03 00:37:54 +08:00
cflmy 54f1c090fc docs: record the experimental Windows MQDH distribution
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/push/ci Pipeline is pending
Release tag mqdh-win-experimental-2026-12-02 points at the built source commit; this post-release record carries the cold-install evidence, archive identity and boundaries.
2026-12-02 21:50:22 +08:00
cflmy 10a40b32c6 build: distribute MQDH on Windows x86_64 (experimental)
- add scripts/package-windows.ps1, scripts/install.ps1 and scripts/mqdh.cmd for a portable Windows tree with a user-level install, version pointer and launcher;
- teach the release manifest script the Windows target/platform fields and publish the Windows target in the platform table;
- cover the Windows target in platform/manifest tests and document the experimental Windows scope (unsigned, manual updates, no native CI lane).
2026-12-02 21:50:22 +08:00
cflmy 9a975e44fb docs: record the published MQDH public beta and its release chain
ci/woodpecker/push/ci Pipeline was successful
Update the canonical product status, distribution matrix and releasing guide to
the released 0.1.0-beta.1 identity (source SHA, archive digest, managed CLI
runtime), the working real-release update discovery, and the prerequisites that
made the release verifiable: enabled public Releases, same-SHA CI, evidence
dependency identity and anonymous read-back.
2026-12-02 19:47:36 +08:00
cflmy 0f63ced004 build: record the installed CLI runtime identity in app release evidence
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/tag/ci Pipeline was canceled
mqdh-v0.1.0-beta.1
2026-12-02 16:42:01 +08:00
cflmy 1bdc6cbc6f test: read the expected product version from the package manifest
ci/woodpecker/push/ci Pipeline is pending
2026-12-02 16:36:24 +08:00
cflmy 5573c7cacc release: prepare MQDH 0.1.0-beta.1 against CLI 3.0.0-rc.7
ci/woodpecker/push/ci Pipeline was canceled
Bump the product version to the public beta channel and pin the CI runtime
input to the root-accepted CLI v3.0.0-rc.7 archive digest.
2026-12-02 16:32:46 +08:00
cflmy 73e4f6e57d Merge pull request #22
ci/woodpecker/push/ci Pipeline was successful
test: real Gitea feedback submission acceptance (#16)
2026-12-01 13:43:20 +08:00
cflmy 99073e94c3 test: record a real Gitea feedback submission acceptance
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Capture one redacted app-area diagnostic in an isolated MQDH_HOME, store a real
token through the private credential file, and submit it to the private
cflmy/mqdh-feedback-e2e fixture. Record the created issue URL, duplicate
fingerprint comment path, invalid-repository 404 failure and offline queue
result. STATUS moves DIAG-03 to PASS (real Gitea + stand-in) and keeps DIAG-05
PARTIAL because the full failure-sample/attachment/offline-recovery matrix is
not run.

Token/report content are not committed; the fixture repo is private.
2026-12-01 12:09:54 +08:00
cflmy 7e2f1ac325 Merge pull request #21 from codex/issue-16-status-update
ci/woodpecker/push/ci Pipeline was successful
feat: persisted update view in mqdh status (#16)
2026-12-01 09:43:48 +08:00
cflmy 9979411e08 feat: show the persisted update view in mqdh status
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Continue app-harness#16: MdhStatus carries the persisted UpdateState and
mqdh status [--json] shows channel, last check time, availability, latest
candidate and the last update error without triggering a network check.
DISTRIBUTION distinguishes this read-only view from the explicit update check;
the CLI test asserts the empty-install values and text line.

Verified locally: typecheck 5/5, cli test 6 pass, all downstream node tests
77 pass/3 skipped. No release/tag; E09 notification/reconciliation and real
Gitea feedback E2E remain UNVERIFIED.
2026-12-01 09:24:55 +08:00
cflmy 28df81ee11 Merge pull request #20 from codex/issue-16-update-notes
ci/woodpecker/push/ci Pipeline was successful
feat: update check shows release notes and download (#16)
2026-11-30 22:21:47 +08:00
cflmy f89b2dd81e feat: show release notes and official download in update check
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Continue app-harness#16 goal 4: the application update check now displays the
trusted release metadata a user needs to decide.

- release/gitea.ts reads the trusted Gitea release body (truncated to 8 KiB)
  into the candidate alongside the already-validated manifest/asset.
- UpdateCandidate gains notes and release_url; UpdateState.latest persists both.
- mqdh update check text output adds published/download/release URL/known limits
  and release notes; JSON already carries the same fields.
- DISTRIBUTION documents the fields; RELEASING names the Gitea release body as
  the single source of release notes (no second list).
- updater.test.ts fake release carries a body and asserts notes/release_url.

Verified locally: updater tests 3/3, all downstream node tests 77 pass/3
skipped, typecheck 5/5. No release/tag; full ecosystem latest-version view and
E09 notification/reconciliation remain UNVERIFIED.
2026-11-30 21:57:22 +08:00
cflmy eceb13a70a Merge pull request #19 from codex/issue-16-status-view
ci/woodpecker/push/ci Pipeline was successful
feat: read-only mqdh status ecosystem view (#16 slice)
2026-11-30 20:44:29 +08:00
cflmy fd1d129e00 feat: add a read-only mqdh status ecosystem view
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Start the app-harness#16 version-visibility slice with `mqdh status [--json]`:
one read-only report of the application version/home/workspace, platform and
Node, ecosystem candidate/version, Bundle version/modules/digest, installed tool
versions, market/knowledge counts and the privacy constants. JSON uses the
stable schema marqdo.mqdh.status.

The launcher product-command set and HELP include status; ARCHITECTURE records
the command. The CLI test covers JSON and text output for an empty install and
asserts the honest "not installed"/false values. This is not the full latest
version/release-notes/download view from #16; that remains UNVERIFIED.

Verified locally: all downstream node tests 77 pass/3 skipped; typecheck gates
5/5 pass.
2026-11-30 20:21:33 +08:00
cflmy a1517652c2 Merge pull request #18 from codex/issue-15-entry-polish
ci/woodpecker/push/ci Pipeline was successful
docs: wrap-standard polish for the product entry (#15)
2026-11-30 20:19:26 +08:00
cflmy 3e76e3df89 docs: satisfy the wrap standard for the product entry
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
Follow up the product entry (#15 P1/P2): make docs/mqdh/index.mq.md and its
evidence one physical line per paragraph, and record the real documentation-gate
baseline. pnpm run test:docs fails on this downstream fork for pre-existing
docs/mqdh files (missing bilingual counterparts, wrap rules); the entry is not
the only offender and doc-sync remains UNVERIFIED rather than claimed PASS.

Add STATUS S11 (PASS (this repo)) for the entry itself: it exists, the docs list
points at it, its 39 relative links were checked, and upstream isolation / the
STATUS authority / security invariants are visible. The S11 note keeps the
doc-gate baseline failure explicit.
2026-11-30 19:42:50 +08:00
cflmy 6c84ad4f1d Merge pull request #17 from codex/issue-15-product-entry
ci/woodpecker/push/ci Pipeline was successful
docs: product-level AI-readable entry (#15 P1/P2)
2026-11-30 19:19:51 +08:00