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.
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.
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.
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.
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
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.
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.
- 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
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.
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.
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.
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.
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.
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.
- 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.
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.
- 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).
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.
Replace the fixed component candidate enumeration with a user-configurable
market projection over Gitea topics and local directories. Install verified
payloads into a user-level capability store, require explicit activation and
scope enablement before a model can see them, and gate project import through
the published CLI add/lock commands. Update the ecosystem catalog, bootstrap
default tool installation, and status evidence.
The tag-only package lane cannot rely on an upstream git remote. Record the\ntested DSH baseline in packages/marqdo/harness/package.json and let the release\nmanifest/evidence fall back to it, so a clean clone still produces a complete\nmanifest. UPSTREAM.md documents the single record and update rule.
The browser API client in src/web/assets.ts must use fetch; the gate now only rejects Node-side product sources that bypass src/network. CI passes end-to-end with real Release install and Bootstrap.
Implements the four follow-up design issues for MQDH:\n\n- network: one policy/proxy/mirror/offline/audit client for product egress\n- bootstrap: first-run state machine, default Tools, real smoke, doctor/repair\n- diagnostics: local redacted reports and explicit Gitea issue submission\n- distribution: release manifest, user install tree, update/rollback, installer\n\nThe product CLI exposes bootstrap/doctor/repair/report/update/network and the\n/mqdh workbench renders the same services. Marqdo runtime artifacts remain\ndownloaded from trusted releases; unsupported platforms and unrun gates stay\nUNVERIFIED in docs/mqdh/STATUS.md.
Rename the downstream identity consistently: MQDH_HOME and MQDH_* env
vars, @marqdo/mqdh-harness, @marqdo/mqdh-bundle, the mqdh profile and
launcher, /mqdh routes, marqdo.mqdh.* schemas, docs/mqdh, CI variables and
all user-facing prose. Product name remains Marqdo Harness; command is
mqdh. No behavior change; 29 tests and the host typecheck pass.
Part of marqdo#25.
Implement the downstream product in `packages/marqdo`:
- `@marqdo/mdh-harness`: application home layout, atomic writes, locks,
bounded fixed-argv processes, safe tar extraction, Observation 1 and
ValueWire validation;
- trusted Gitea release discovery, SHA-256/platform/Bundle verification,
transactional environment install, rollback and cleanup, CLI Tool changes;
- private knowledge collections with strict import policy, the official
`marqdo-knowledge` compile/query adapter and a disclosed locator fallback;
- Analysis 3 parsing, approved run/call execution, evidence and staleness;
- the six model operations (find/read/check/program/ecosystem/knowledge_search);
- the `/mdh` workbench over the existing web server with a same-origin fence;
- `mdh` launcher, CI/package/upstream scripts and a Woodpecker pipeline.
Tests: 28 node:test cases (27 PASS, one network-gated install test also PASS
with MDH_TEST_INSTALL=1). Product install/workbench evidence is recorded in
docs/mdh/evidence.
Part of marqdo#25 (MDH-03..MDH-08).
Mount the recommendation plugins in Web and Desktop and expose their skill
switch in General settings. Record card decisions as Session events and
replay decisions from older plugin records. Use English for the two skill
catalogs and retire the optional recommendations bundle.
Co-authored-by: Dudu-0223 <fsyo0223@gmail.com>
node-24-build can run on the self-hosted pool while the benchmarks stay on
hosted Linux; the phase jobs now load the restored Node-API addon and rebuild
it on their runner if it fails. The report spec cleans its directories with
onTestFinished, which also removes a clone the duplication gate reported.
node-24-bench becomes a two-entry matrix that restores the node-24-build
output, bundles only the benchmark workers, and runs one suite phase per idle
runner: phase first holds the corpus cases and phase last the serial files
listed in SERIAL_BENCH_FILES. Each phase uploads its results.jsonl and the
measuring environment; node-24-bench-report renders one benchmark-report on a
small runner under Node type stripping and stays out of all-checks-passed.
* ci: split coverage across two file shards and merge on a small report job
Coverage runs as a three-lane matrix: two instrumented file shards that deal
path-sorted test files in snake order (DSH_COVERAGE_SHARD) and the
uninstrumented heavy suites. Each shard uploads its blobs, file list, and
durations; node-24-coverage-report re-lists the inventory, checks the shards
partition it, merges the blobs with thresholds on a 2-vCPU runner, and alone
saves the duration history. Only the report job joins all-checks-passed.
* ci: run the coverage heavy suites on the first shard and split shards by file size
The exempt heavy suites finished in about a minute on a dedicated 16-vCPU
runner, so they join shard 1 with the coverage lane's usual worker split.
Shards now deal files largest first by byte size instead of by path order,
so the heaviest suites no longer land on one shard. The coordinator repeats
each failed partition and its Vitest FAIL lines after all partitions finish,
and run-gates.spec clears DSH_COVERAGE_SHARD inherited from the CI shard.
* ci: give the coverage merge a 4 GB heap on the small report runner
Merging both shards' blobs exhausted Node's default heap of about 2 GB on
the 2-vCPU report runner (run 44664262449).
* ci: merge coverage shards on an 8-vCPU runner
The merge took 154s on the 2-vCPU report runner against ~30s on the former
16-vCPU lane (run 44667701311).
* ci: address review on the coverage shards
- Shards record their checkout root, and the merge rewrites that prefix in
blobs from another checkout so one source file never merges as two.
- Shard blob uploads overwrite on a re-run of the same workflow run.
- The coverage report lane joins the runner-temp and compile-cache lane
lists in ci-workflow.spec.
- The failover runbook states the self-hosted shard and exempt workers.
* ci: address the second coverage-shard review and leftover lane cleanup
- The cross-checkout blob rewrite spec builds roots and paths with join(),
so it holds on Windows, where the rewrite prefix ends in a backslash.
- The failover runbook names the current coverage, build, consumer, and web
snapshot checks instead of the former single-job names.
- node-24-build and node-24-consumers drop env variables that none of their
gates read.
Move the right Sidebar drag diagnostic into the required serial browser
benchmark inventory. It budgets the elements Chromium restyles during a
drag that leaves the content width unchanged, as a dimensionless multiple
of the page's elements, and replays recorded before/after samples as its
negative control. Also type the registered-property entries in the
end-reserve style test.
Refs #8856
* ci: build once and fan web snapshots out across weighted shards
* ci: stamp restored build output with the extraction time
Build-time mtimes shifted past the clock made HMR treat freshly loaded
lib/ modules as changed and reload a plugin context while it was still
loading (plugin-manager-mcp headless snapshot).
* ci(web): run the longest web snapshot files as round-robin test slices
* ci: address review on the build-once fan-out
Add verify-css-selectors to the hygiene gates. It rejects a subject
compound without a class, id, attribute or type key that matches through
:not(), :empty or :has(); a universal selector that names no class, id
or attribute anywhere; and :has() outside the subject compound. Chromium
evaluates such rules on every restyled element or invalidates whole
subtrees. Class-scoped forms such as '.card *' and '.list > :first-child'
are accepted, and the listed base stylesheets are exempt from the subject
rules.
Existing occurrences are recorded in scripts/css-selectors.baseline.json;
new ones fail and retired ones must be pruned. Rewrite existing selectors
where the matched elements stay the same, and document the rule in the
Web styling reference.
* refactor(session): move Session log validation into a module
Move header, seed-event envelope, and inherited-cut validation out of the
Session constructor into validation.ts without changing check order or error
text. Export needsInheritedSeedMarker for the fork marker rule the
constructor applies.
* feat(session): validate a Session log without constructing a Session
validateSessionLog composes the header, seed-event, surface, and
inherited-cut checks of Session construction in the same order. Omitting
eventState matches Session.create; an event state matches
Session.fromRestore.
* refactor: validate stored Session logs with validateSessionLog
The chat importer, session-query readSession, the format catalog, and JSONL
generation verification constructed a discarded Session only to validate a
log. They now call validateSessionLog with the same mode, inherited count,
and message interpreters.
* refactor(session): extract buildSessionHeader
Move new-Session header construction out of SessionStore.prepare into the
exported buildSessionHeader and name its input SessionHeaderMeta.
Automatic ids and duplicate checks stay in prepare.
* refactor(session): move header and fork error helpers out of the session index
Move buildSessionHeader into validation.ts and SessionForkError with
SessionForkErrorCode into fork.ts so later modules can import them without
importing index.ts. index.ts re-exports both under the same names. Complete
the JSDoc of the exported validation helpers.
* refactor(session): extract checkSessionLog from the Session constructor
Move header validation, seed acceptance with surface admission, and the inherited-cut check into checkSessionLog in validation.ts, keeping the constructor's order and errors. The Session constructor and validateSessionLog call it.
* test(session): cover Session log validation and construction helpers
Cover validateSessionLog against Session.create and Session.fromRestore in
every event state, buildSessionHeader, needsInheritedSeedMarker,
Session.readEvents range semantics, and the fork subpath export of
SessionForkError.
* docs(session): document Session log validation
Document validateSessionLog, buildSessionHeader, needsInheritedSeedMarker,
Session.readEvents, and the SessionForkError subpath export in the package
README. Align the Session and CreateSessionOptions type blocks, add
SessionHeaderMeta, regenerate the Cordis, event graph, and persistence
catalogs, and update the plugin entry, unknown-cast, and package dependency
registries.
---------
Co-authored-by: imccyu <cc.yu@deepseek.com>