deepseek-harness/scripts
Yichen Jiang c4c3c32931 fix(infra): assert alias coverage and harden the generator entry guard
Review found the CLI entry guard compared import.meta.url against a
concatenated file:// URL. That fails whenever import.meta.url encodes
something process.argv[1] does not — a repository path containing a
space, or any Windows drive path — and it fails silently: the script
exits 0 having done nothing, so verify-tsconfig-paths would pass
without checking exactly where it is needed. Running a copy from a
directory whose name contains a space reproduces it. The guard now uses
the comparison the repository's seven other generators already use.

Deleting the group wildcards also removed the fallback that resolved a
package nobody had aliased, so the generator now asserts coverage:
every workspace package with a src directory must be mapped, and
--check names any that is not. That assertion immediately found four
packages named dsh-<group>-<directory> whose siblings carry hand-written
aliases while they did not, so they reached built lib/ output through
the workspace symlink. They now carry aliases too, which takes the
resolution differences in this branch from seven to eleven.

Two comments in tsconfig.base.json still pointed at the deleted
wildcards; they now state why those aliases stay hand-written. The
package-inventory proposal recorded the wildcard collapse as current,
so both notes are cross-linked as partial supersession.
2026-08-27 19:39:21 +08:00
..
fixtures/translation-prompt test: make the product translation fixture generic 2026-08-13 13:58:03 +08:00
release chore(release): drop the unused synchronous runner 2026-08-26 13:23:41 +08:00
snapshots feat(session): reduce persistence storage size (#3048) 2026-08-26 08:01:07 +00:00
types/client-build-environment feat(client): inject public build environment 2026-08-19 18:21:26 +08:00
agent-note-tree.ts
AGENTS.md fix(client): route UI copy through locale 2026-08-23 17:31:37 +08:00
archived-agent-notes.spec.ts
archived-agent-notes.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
attribute-chunk-bytes.mjs build(web): react-free vendor list for the incremental markdown pipeline, npmPackageOf scoped guard, chunk audit script 2026-08-06 16:38:25 +08:00
build-exe-for-python-sdk-assets.spec.ts fix(python-sdk): harden profile runtime startup 2026-08-24 17:28:27 +08:00
build-exe-for-python-sdk-native-pty.spec.ts feat(python-runtime): package the Windows x64 dsh executable 2026-08-24 19:09:40 +08:00
build-exe-for-python-sdk-native-pty.ts feat(python-runtime): package the Windows x64 dsh executable 2026-08-24 19:09:40 +08:00
build-exe-for-python-sdk.spec.ts feat(python-runtime): package the Windows x64 dsh executable 2026-08-24 19:09:40 +08:00
build-exe-for-python-sdk.ts feat(python-runtime): package the Windows x64 dsh executable 2026-08-24 19:09:40 +08:00
build-python-release.py fix(python): make Windows release paths native 2026-08-24 19:09:40 +08:00
build.ts feat(client): show build version in local banner 2026-08-24 15:04:00 +08:00
change-scope.spec.ts test(windows): budget instrumented integration waits 2026-08-09 16:39:41 +08:00
change-scope.ts
check-expected-filenames.sh
check-macos-deployment-target.py fix: address Python release review feedback 2026-08-11 20:09:33 +08:00
check-vendor-manifest.sh
check-workspace-constraints.spec.ts feat(team): add experimental Agent Teams CLI profile 2026-08-26 00:13:35 +08:00
check-workspace-constraints.ts feat(session): reduce persistence storage size (#3048) 2026-08-26 08:01:07 +00:00
ci-workflow.spec.ts ci: isolate non-Windows pnpm setup per run attempt 2026-08-27 11:33:27 +08:00
clean.spec.ts feat(build): bind client artifacts to build profiles 2026-08-19 18:21:27 +08:00
clean.ts feat(build): bind client artifacts to build profiles 2026-08-19 18:21:27 +08:00
client-build-environment.client.spec.ts feat(client): show build version in local banner 2026-08-24 15:04:00 +08:00
client-build-environment.ts feat(client): show build version in local banner 2026-08-24 15:04:00 +08:00
client-bundle-css.spec.ts refactor(client): move web rendering into a dynamic plugin 2026-08-18 01:34:21 +08:00
client-bundle-purity.spec.ts feat(web): show exact per-turn token usage (#3005) 2026-08-25 19:05:52 +08:00
client-tsconfig.spec.ts fix: rebase 3 2026-08-13 02:29:17 +08:00
cordis-config-files.spec.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
cordis-config-files.ts
cordis-core-api.spec.ts docs: generate each subsystem's cordis surface into its own page; delete the flat catalogs 2026-08-09 01:31:57 +08:00
cordis-core-api.ts refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
cordis-walk.ts build(vendor): rescope the vendored Cordis packages into @deepseek-ai 2026-08-10 22:04:13 +08:00
cordis-yaml.ts fix(python-sdk): harden packaged runtime behavior 2026-08-18 14:38:42 +08:00
coverage-exempt.spec.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
coverage-exempt.ts test(webworker-runtime): keep the corpus gate as a Node import sweep 2026-08-26 12:35:05 +08:00
coverage-partitions.spec.ts test(ci): deduplicate coverage command setup 2026-08-21 11:36:57 +08:00
coverage-partitions.ts fix(build): support standalone pnpm entrypoints 2026-08-21 11:09:25 +08:00
coverage-uncovered-locations.cjs ci: print exact uncovered locations when the coverage gate fails 2026-08-06 03:18:17 +08:00
demo-code-mode.mjs refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
dev-web.spec.ts fix: sample dev web metadata at startup 2026-08-24 15:04:01 +08:00
dev-web.ts fix: sample dev web metadata at startup 2026-08-24 15:04:01 +08:00
doc-budgets.manifest.json refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
doc-standard.spec.ts docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
doc-typecheck-paths.spec.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
doc-typecheck-paths.ts refactor(client): merge React bindings into UI renderer 2026-08-18 01:34:23 +08:00
doc-typecheck.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
gen-client-catalog.spec.ts fix: ci 2026-08-13 01:33:31 +08:00
gen-client-catalog.ts docs: purge residual chain-of-thought leakage 2026-08-22 13:10:23 +08:00
gen-config-catalog.ts docs: remove implementation narration from prose 2026-08-21 22:22:23 +08:00
gen-cordis-api.ts
gen-cordis-catalog-partition.spec.ts build(vendor): rescope the vendored Cordis packages into @deepseek-ai 2026-08-10 22:04:13 +08:00
gen-cordis-catalog-record.spec.ts fix(i18n): bind localized links to active pairs 2026-08-19 02:26:57 +08:00
gen-cordis-catalog.ts fix(subagent): gate model selection with explicit allowlist 2026-08-27 12:00:02 +08:00
gen-cordis-inspect-catalog.ts Merge branch 'master' into ihsiangzhang/content-width-font-size 2026-08-25 21:27:28 +08:00
gen-doc-graphs.spec.ts
gen-doc-graphs.ts feat(api): serve settings through Remote controllers 2026-08-27 03:00:49 +08:00
gen-module-graph.ts
gen-persistence-catalog.ts Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-harness-deepseek-harness-2731 2026-08-26 10:35:38 +08:00
gen-scoped-events.ts build(vendor): rescope the vendored Cordis packages into @deepseek-ai 2026-08-10 22:04:13 +08:00
gen-third-party-notices.spec.ts fix(notices): resolve current installed dependency versions 2026-08-27 12:00:02 +08:00
gen-third-party-notices.ts fix(notices): resolve current installed dependency versions 2026-08-27 12:00:02 +08:00
gen-tool-catalog.ts fix(subagent): gate model selection with explicit allowlist 2026-08-27 12:00:02 +08:00
gen-translation-brief.ts fix(i18n): bind localized links to active pairs 2026-08-19 02:26:57 +08:00
gen-tsconfig-paths.spec.ts fix(infra): assert alias coverage and harden the generator entry guard 2026-08-27 19:39:21 +08:00
gen-tsconfig-paths.ts fix(infra): assert alias coverage and harden the generator entry guard 2026-08-27 19:39:21 +08:00
install-lefthook.mjs fix(ci): stabilize latest-master acceptance gates 2026-08-12 19:41:06 +08:00
install-lefthook.spec.ts perf(ci): parallelize coverage and web snapshots in-job 2026-08-18 21:15:20 +08:00
jsdoc.ts refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
lint-rule-fingerprint.spec.ts feat(util): mint UUIDs without crypto.randomUUID in every context 2026-08-21 20:35:34 +08:00
locale-dictionary-parity.spec.ts fix(locale): tighten parity gate and correct copy-source wording 2026-08-18 17:56:49 +08:00
markdown.ts fix(i18n): share Markdown link parsing 2026-08-18 19:37:53 +08:00
merge-translation-pairing-driver.sh fix(i18n): preserve merge conflicts without runtime 2026-08-09 00:37:46 +08:00
merge-translation-pairing.ts fix(i18n): bind localized links to active pairs 2026-08-19 02:26:57 +08:00
migrate-packed-session-fixtures.ts test: omit persistence envelopes from session snapshots 2026-08-18 18:27:01 +08:00
oxlint-contract.spec.ts test: raise the contended Windows spawn budgets to 90s 2026-08-26 17:17:47 +08:00
package-graph.spec.ts fix(client): align domain split with repository gates 2026-08-23 16:28:19 +08:00
package-graph.ts fix(client): align domain split with repository gates 2026-08-23 16:28:19 +08:00
package-invariants.spec.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
package-invariants.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
paired-markdown-derivatives.spec.ts
paired-markdown-derivatives.ts
pnpm-invocation.spec.ts fix(build): support standalone pnpm entrypoints 2026-08-21 11:09:25 +08:00
pnpm-invocation.ts fix(build): support standalone pnpm entrypoints 2026-08-21 11:09:25 +08:00
prepare-ci-bubblewrap.sh fix(sandbox): isolate bwrap PID namespace 2026-08-20 10:05:16 +08:00
project-doc-site.spec.ts fix(docs): harden build output cleanup 2026-08-26 14:33:17 +08:00
project-doc-site.ts docs(website): serve index routes at their clean-URL .md addresses 2026-08-20 22:10:35 +08:00
project-reference-faces.spec.ts build: enforce split project reference faces 2026-08-08 12:25:41 +08:00
project-reference-faces.ts build: enforce split project reference faces 2026-08-08 12:25:41 +08:00
publication-payload.spec.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
publication-payload.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
publint-all.spec.ts build(client): enforce client package boundaries 2026-08-18 01:34:53 +08:00
publint-all.ts feat(webworker): browser worker host runtime and the vfs image packer 2026-08-21 20:35:32 +08:00
publish-npm-baseline.ts feat(web,cli): open the ready Web UI by default 2026-08-19 15:42:12 +08:00
repo-files.ts
rescope-vendor.spec.ts build(vendor): add the @deepseek-ai rescope codemod, its mapping doc, and its Agent Note 2026-08-10 22:04:10 +08:00
rescope-vendor.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
run-coverage-partitions.ts perf(ci): parallelize coverage and web snapshots in-job 2026-08-18 21:15:20 +08:00
run-gates.spec.ts fix(ci): bound Windows process contention 2026-08-26 14:24:24 +08:00
run-gates.ts perf(infra): map each workspace package to an explicit path alias 2026-08-27 17:26:52 +08:00
run-oxlint.spec.ts fix(client): align domain split with repository gates 2026-08-23 16:28:19 +08:00
run-oxlint.ts fix(client): align domain split with repository gates 2026-08-23 16:28:19 +08:00
run-web-snapshots.ts fix(build): support standalone pnpm entrypoints 2026-08-21 11:09:25 +08:00
session-fixture-layout.spec.ts feat(session): reduce persistence storage size (#3048) 2026-08-26 08:01:07 +00:00
session-fixture-layout.ts feat(session): reduce persistence storage size (#3048) 2026-08-26 08:01:07 +00:00
session-snapshot-corpus.corpus.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
slot-walk.ts • feat(self-modification): add dynamic Cordis plugin runtime and UI 2026-08-13 01:29:36 +08:00
smoke-python-runtime.py test(python): share advanced runtime profile patch 2026-08-25 12:21:51 +08:00
test-fixture-cleanup.ts fix(scripts): widen fixture-cleanup EPERM retry window 2026-08-13 15:16:12 +08:00
test-invariants.spec.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
test-invariants.ts refactor(attachment): normalize image storage API 2026-08-21 15:06:24 +08:00
translation-brief.spec.ts fix(i18n): align translation briefing link rules 2026-08-19 03:01:11 +08:00
translation-brief.ts fix(i18n): align translation briefing link rules 2026-08-19 03:01:11 +08:00
translation-links.spec.ts test(i18n): model reserved paths portably 2026-08-19 04:08:47 +08:00
translation-links.ts fix(i18n): encode exact link paths safely 2026-08-19 03:56:17 +08:00
translation-pairing-git.ts docs: remove implementation narration from prose 2026-08-21 22:22:23 +08:00
translation-pairing-merge.spec.ts fix(i18n): resolve merge and Markdown edge cases 2026-08-19 03:47:00 +08:00
translation-pairing-merge.ts fix(i18n): resolve merge and Markdown edge cases 2026-08-19 03:47:00 +08:00
translation-pairing-record.ts feat(i18n): compose pairing records during merges 2026-08-08 21:11:59 +08:00
translation-pairing.manifest.json docs: complete Chinese proofreading and generated reference pairing 2026-08-09 11:02:16 +08:00
translation-pairing.spec.ts docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
translation-pairing.ts feat(python-runtime): package the dsh CLI and profile assets 2026-08-24 17:28:26 +08:00
translation-prompt.expected.spec.ts fix(test): use expected-output naming 2026-08-24 21:37:14 +08:00
translation-prompt.spec.ts fix(i18n): bind localized links to active pairs 2026-08-19 02:26:57 +08:00
translation-prompt.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
ts-project.ts feat(release): reject a module-scope load of an optional dependency 2026-08-14 16:10:06 +08:00
type-equiv.manifest.json feat(api): serve settings through Remote controllers 2026-08-27 03:00:49 +08:00
verify-agent-note-classification.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
verify-agent-note-format.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
verify-application-entrypoints.spec.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
verify-application-entrypoints.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
verify-archived-agent-notes.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
verify-built-package-invariants.mjs
verify-built-package-invariants.spec.ts
verify-client-domain-graph.spec.ts fix(client): tighten UI ownership boundaries 2026-08-18 01:34:25 +08:00
verify-client-domain-graph.ts fix(client): tighten UI ownership boundaries 2026-08-18 01:34:25 +08:00
verify-client-packages.spec.ts fix(client): validate exact external specifiers 2026-08-23 23:54:03 +08:00
verify-client-packages.ts fix(client): validate exact external specifiers 2026-08-23 23:54:03 +08:00
verify-client-ui-i18n.spec.ts fix(client): address localization review findings 2026-08-23 21:22:41 +08:00
verify-client-ui-i18n.ts fix(client): address localization review findings 2026-08-23 21:22:41 +08:00
verify-config-source-ownership.spec.ts feat(subagent): make Claude Code provider directly installable 2026-08-14 16:05:48 +08:00
verify-config-source-ownership.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
verify-cordis-config.spec.ts fix(test): declare Loader fixture dependencies 2026-08-24 22:02:44 +08:00
verify-cordis-config.ts fix(test): declare Loader fixture dependencies 2026-08-24 22:02:44 +08:00
verify-doc-budgets.ts
verify-doc-refs.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
verify-doc-site-fragments.spec.ts docs(website): serve every page as raw Markdown with an llms.txt index 2026-08-20 22:10:15 +08:00
verify-doc-site-fragments.ts docs(website): serve index routes at their clean-URL .md addresses 2026-08-20 22:10:35 +08:00
verify-dsh-package-licenses.spec.ts Adopt MIT for DSH packages 2026-08-13 13:07:24 +08:00
verify-dsh-package-licenses.ts Adopt MIT for DSH packages 2026-08-13 13:07:24 +08:00
verify-export-jsdoc.ts docs: remove implementation narration from prose 2026-08-21 22:22:23 +08:00
verify-md-links.spec.ts fix(doc-gates): review findings — GitHub-slugger parity and the surviving old-rule prose 2026-08-09 10:56:43 +08:00
verify-md-links.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
verify-md-wrap.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
verify-mermaid.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
verify-node-next-types.ts refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
verify-optional-dependency-imports.spec.ts feat(release): reject a module-scope load of an optional dependency 2026-08-14 16:10:06 +08:00
verify-optional-dependency-imports.ts docs: remove implementation narration from prose 2026-08-21 22:22:23 +08:00
verify-package-invariants.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
verify-package-paths.ts refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
verify-package-readme-limitations.ts
verify-package-readme-model-experience.ts feat(api): serve settings through Remote controllers 2026-08-27 03:00:49 +08:00
verify-public-repository-links.spec.ts docs: replace nonexistent repository references 2026-08-11 12:35:38 +08:00
verify-public-repository-links.ts docs: replace nonexistent repository references 2026-08-11 12:35:38 +08:00
verify-runtime-closure.spec.ts feat(python-runtime): package the Windows x64 dsh executable 2026-08-24 19:09:40 +08:00
verify-runtime-closure.ts feat(python-runtime): package the Windows x64 dsh executable 2026-08-24 19:09:40 +08:00
verify-skill-invocation-metadata.spec.ts fix(skill): enforce manual invocation policy 2026-08-10 18:04:26 +08:00
verify-skill-invocation-metadata.ts fix(skill): enforce manual invocation policy 2026-08-10 18:04:26 +08:00
verify-subsystem-pages.spec.ts test(docs): use a block cleanup callback 2026-08-23 16:02:32 +08:00
verify-subsystem-pages.ts docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
verify-translation-pairing.ts fix(i18n): bind localized links to active pairs 2026-08-19 02:26:57 +08:00
verify-translation-prompt.ts test: decouple the translation prompt snapshot from live documents 2026-08-13 13:07:57 +08:00
verify-type-equiv.ts docs: synchronize controller transport documentation 2026-08-23 16:16:04 +08:00
verify-vendored-links.ts fix(review): label host-preparation failures and gate vendored lockfile links 2026-08-02 01:25:01 +08:00
vitest-environment.compat.spec.ts
wine-windows-gates.sh fix(ci): give Wine Host compiler sufficient heap 2026-08-23 01:48:35 +08:00