deepseek-harness/scripts
imccyu 47399764c5 fix(release): order publication by every installed dependency section
Publish order exists to make a partial publication self-consistent: an
interrupted run should leave a prefix whose packages never point at a version
absent from the registry. It read only dependencies and optionalDependencies, so
peer declarations — how sibling harness packages reference each other, 1088 edges
in the dsh family — constrained nothing.

Peer edges now order the publication too. devDependencies still do not: a dev
dependency is absent from the published package.

Peers cannot constrain it absolutely. Sibling packages declare each other as
peers, which is what closes the two cycles here, and npm treats an unmet peer as
a warning rather than a resolution failure. Install edges therefore win: a peer
edge is dropped where the peer installs the member declaring it, or where
following it would revisit a member already being visited. One peer edge is
dropped in the dsh family and two in the vendored family; every install edge is
honoured.

A cycle among install edges stays a defect rather than something to order
around, and release:verify now reports it before the build instead of letting it
surface once pack is already writing tarballs. Install-edge acyclicity is checked
on its own graph, because a peer edge leading into an install edge otherwise
reads as a cycle where the install edges are perfectly orderable.
2026-08-14 16:10:06 +08:00
..
fixtures/translation-prompt
release fix(release): order publication by every installed dependency section 2026-08-14 16:10:06 +08:00
snapshots docs: add link to preview paper 2026-08-13 18:37:45 +08:00
agent-note-tree.ts
AGENTS.md docs: make technical prose concrete 2026-08-10 16:34:20 +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.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
build-python-release.py Adopt MIT for DSH packages 2026-08-13 13:07:24 +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.ts build(release): publish the dsh family publicly 2026-08-13 18:49:32 +08:00
ci-workflow.spec.ts ci: split failover switch into per-platform Linux and Windows variables 2026-08-13 16:54:57 +08:00
clean.spec.ts fix(clean): remove native build state (review round 3) 2026-08-06 11:11:57 +08:00
clean.ts fix(clean): remove native build state (review round 3) 2026-08-06 11:11:57 +08:00
client-bundle-css.spec.ts build: order Host and Client compilation faces 2026-08-08 04:20:39 +08:00
client-bundle-purity.spec.ts refactor: nest client manifest metadata under dsh 2026-08-10 21:11:09 +08:00
client-tsconfig.spec.ts fix: rebase 3 2026-08-13 02:29:17 +08:00
cordis-config-files.spec.ts
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
coverage-exempt.spec.ts fix(ci): review follow-ups for the coverage lane split 2026-07-31 02:55:37 +08:00
coverage-exempt.ts docs: make technical prose concrete 2026-08-10 16:34:20 +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 fix(cli): close shared config review gaps 2026-07-30 14:56:39 +08:00
demo-cordis.mjs feat(cli)!: dsh boots profiles; plugin subcommand manages them via pnpm 2026-08-06 06:29:06 +08:00
dev-web.spec.ts refactor: nest client manifest metadata under dsh 2026-08-10 21:11:09 +08:00
dev-web.ts refactor(web): remove --dev; mount the reload chain unconditionally 2026-08-11 18:01:25 +08:00
doc-budgets.manifest.json Merge remote-tracking branch 'origin/master' into worktree/schedule-conversational-after 2026-08-11 19:05:13 +08:00
doc-typecheck-paths.spec.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
doc-typecheck-paths.ts docs: make technical prose concrete 2026-08-10 16:34:20 +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 fix: ci and static 2026-08-13 01:34:55 +08:00
gen-config-catalog.ts docs: fix release smoke test failures 2026-08-13 14:20:09 +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 docs: generate each subsystem's cordis surface into its own page; delete the flat catalogs 2026-08-09 01:31:57 +08:00
gen-cordis-catalog.ts fix(session-query): rename session log export package 2026-08-13 05:02:00 +08:00
gen-cordis-inspect-catalog.ts • feat(self-modification): add dynamic Cordis plugin runtime and UI 2026-08-13 01:29:36 +08:00
gen-doc-graphs.spec.ts fix(scripts): share package-source selection to clear the jscpd clone 2026-07-30 19:57:17 +08:00
gen-doc-graphs.ts fix: test/docs 2026-08-13 01:30:49 +08:00
gen-module-graph.ts
gen-persistence-catalog.ts docs: fix release smoke test failures 2026-08-13 14:20:09 +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 refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
gen-third-party-notices.ts Adopt MIT for DSH packages 2026-08-13 13:07:24 +08:00
gen-tool-catalog.ts docs: fix release smoke test failures 2026-08-13 14:20:09 +08:00
gen-translation-brief.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
install-lefthook.mjs fix(i18n): preserve merge conflicts without runtime 2026-08-09 00:37:46 +08:00
install-lefthook.spec.ts fix: Windows-native CI findings on latest master 2026-08-13 15:16:11 +08:00
jsdoc.ts refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
lint-rule-fingerprint.spec.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
markdown.ts
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): preserve merge conflicts without runtime 2026-08-09 00:37:46 +08:00
migrate-packed-session-fixtures.ts
oxlint-contract.spec.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
package-graph.ts
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
prepare-ci-bubblewrap.sh fix(ci): tolerate platform-specific coverage and curl retries 2026-08-10 04:52:07 -07:00
project-doc-site.spec.ts fix(docs): point source links at public master 2026-08-13 21:20:28 +08:00
project-doc-site.ts fix(docs): point source links at public master 2026-08-13 21:20:28 +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
publint-all.ts
publish-npm-baseline.ts Merge remote-tracking branch 'origin/master' into feat/web-message-feedback-ui 2026-08-12 10:43:23 +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: apply repository naming contract 2026-08-13 00:54:38 +08:00
run-gates.spec.ts Adopt MIT for DSH packages 2026-08-13 13:07:24 +08:00
run-gates.ts docs: address fragment review feedback 2026-08-13 14:30:17 +08:00
run-oxlint.spec.ts
run-oxlint.ts refactor: make lint workflows Oxlint-only 2026-08-09 14:55:15 +08:00
session-fixture-layout.snapshot.ts
session-fixture-layout.spec.ts
session-fixture-layout.ts
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 fix: rebase 4 2026-08-13 02:38:16 +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: apply repository naming contract 2026-08-13 00:54:38 +08:00
test-invariants.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
translation-brief.spec.ts
translation-brief.ts docs: purge chain-of-thought leakage from prose 2026-08-09 21:10:59 +08:00
translation-pairing-git.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
translation-pairing-merge.spec.ts fix: Windows-native CI findings on latest master 2026-08-13 15:16:11 +08:00
translation-pairing-merge.ts fix: address Python release review feedback 2026-08-11 20:09:33 +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 fix: address Python release review feedback 2026-08-11 20:09:33 +08:00
translation-pairing.ts fix: address Python release review feedback 2026-08-11 20:09:33 +08:00
translation-prompt.snapshot.ts
translation-prompt.spec.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
translation-prompt.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
ts-project.ts
type-equiv.manifest.json refactor: apply repository naming contract 2026-08-13 00:54:38 +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-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.ts refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
verify-config-source-ownership.spec.ts fix(config): cover shipped bundle source ownership 2026-08-07 23:26:39 +08:00
verify-config-source-ownership.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
verify-cordis-config.spec.ts refactor(loader): tighten the disabled gate and rehome the note 2026-08-11 18:52:52 +08:00
verify-cordis-config.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
verify-doc-budgets.ts
verify-doc-refs.ts
verify-doc-site-fragments.spec.ts docs: address fragment review feedback 2026-08-13 14:30:17 +08:00
verify-doc-site-fragments.ts docs: address fragment review feedback 2026-08-13 14:30:17 +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 refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +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 chore: remove remaining SDK toolchain residue 2026-08-11 16:37:29 +08:00
verify-md-wrap.ts
verify-mermaid.ts Merge origin/master into worktree/web-plugin-config, adapting to ctx.remote.$on 2026-08-11 19:52:34 +08:00
verify-node-next-types.ts refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
verify-package-invariants.ts docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
verify-package-paths.ts chore: remove remaining SDK toolchain residue 2026-08-11 16:37:29 +08:00
verify-package-readme-limitations.ts
verify-package-readme-model-experience.ts • feat(self-modification): add dynamic Cordis plugin runtime and UI 2026-08-13 01:29:36 +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.ts
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-translation-pairing.ts fix: address Python release review feedback 2026-08-11 20:09:33 +08:00
verify-translation-prompt.ts
verify-type-equiv.ts
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 fix(test): isolate jsdom storage on Node 26 2026-07-30 21:49:33 +08:00
wine-windows-gates.sh ci: keep Wine required, add failover to native Windows, enable serial-windows standby 2026-08-11 01:48:37 +08:00