deepseek-harness/scripts
imccyu 0e50fa290c fix(release): state what the echo helper does, and drop two dead claims
Three corrections from review, none of which change behaviour.

attemptStreaming promised output "as the command produces it", which
spawnSync cannot do: it returns only after the child exits, and the two
streams are echoed one after the other, so their interleaving is lost.
For an npm publish that is visible — notices go to stderr while the
`+ name@version` confirmation goes to stdout, so the confirmation prints
first. The helper is now attemptEchoed and its contract says buffered,
echoed after exit, stdout before stderr; live progress would need an
asynchronous spawn with data listeners.

The traversal comment claimed a node on the stack is a cycle only peer
edges can form, and that skipping it drops just that edge. The cycle does
carry a peer edge, because the install edges were proved acyclic a moment
earlier, but the back edge that reaches the stacked node need not be the
peer one — which is what the post-condition exists to catch, so the
comment now points at it instead of asserting an invariant the traversal
does not have.

The `if (placed.has(member.name)) return` after leaving the stack was
unreachable: a re-entrant visit returns at the top guard while the member
is on the stack, so it can never be placed by the time the recursion
unwinds.
2026-08-14 16:10:06 +08:00
..
fixtures/translation-prompt
release fix(release): state what the echo helper does, and drop two dead claims 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 fix(notes): keep archive helpers internal 2026-07-26 23:29:46 +08:00
AGENTS.md docs: make technical prose concrete 2026-08-10 16:34:20 +08:00
archived-agent-notes.spec.ts Merge remote-tracking branch 'origin/master' into worktree/archive-agent-notes-20260726 2026-07-27 00:53:07 +08:00
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 refactor(dev-infra): narrow change scope report 2026-07-28 01:02:43 +08:00
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 refactor(cordis): generate catalogs from Typert models 2026-07-29 23:55:12 +08:00
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 fix(scripts): address review findings on the gate consolidation 2026-07-27 12:02:39 +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): preserve merge conflicts without runtime 2026-08-09 00:37:46 +08:00
migrate-packed-session-fixtures.ts feat(session): default JSONL writes to packed rows 2026-07-26 23:44:52 +08:00
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 docs: deduplicate paired code-block checks 2026-07-26 02:52:48 +08:00
paired-markdown-derivatives.ts docs: deduplicate paired code-block checks 2026-07-26 02:52:48 +08:00
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 feat(dev-infra): make gate plans inspectable and replayable 2026-07-27 21:27:42 +08:00
publint-all.ts fix(scripts): address review findings on the gate consolidation 2026-07-27 12:02:39 +08:00
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 Merge remote-tracking branch 'origin/master' into worktree/archive-agent-notes-20260726 2026-07-27 00:53:07 +08:00
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 feat(release): reject a module-scope load of an optional dependency 2026-08-14 16:10:06 +08:00
run-oxlint.spec.ts refactor: centralize Oxlint worker bounds 2026-07-29 23:39:49 +08:00
run-oxlint.ts refactor: make lint workflows Oxlint-only 2026-08-09 14:55:15 +08:00
session-fixture-layout.snapshot.ts feat(session): default JSONL writes to packed rows 2026-07-26 23:44:52 +08:00
session-fixture-layout.spec.ts fix(scripts): complete fixture migration diagnostics 2026-07-27 03:54:33 +08:00
session-fixture-layout.ts fix(scripts): complete fixture migration diagnostics 2026-07-27 03:54:33 +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 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 feat(i18n): unit-mapped briefings with mechanical --apply, adopting the #684 planner mechanics 2026-07-27 02:31:07 +08:00
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 feat(release): reject a module-scope load of an optional dependency 2026-08-14 16:10:06 +08:00
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 refactor(scripts): consolidate gate scripts on mdast fences, parseArgs, and globSync 2026-07-26 23:14:28 +08:00
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 docs(notes): archive low-value decision records 2026-07-26 23:06:00 +08:00
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-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 feat(release): reject a module-scope load of an optional dependency 2026-08-14 16:10:06 +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 refactor(scripts): consolidate gate scripts on mdast fences, parseArgs, and globSync 2026-07-26 23:14:28 +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-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 fix(scripts): address review findings on the gate consolidation 2026-07-27 12:02:39 +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 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