deepseek-harness/docs/subsystems
2026-08-11 22:33:12 +08:00
..
approval.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
approval.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
approval.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
attachment.i18n.yaml fix(apiproxy): cancel attachment reads during export 2026-08-11 17:52:24 +08:00
attachment.md fix(apiproxy): cancel attachment reads during export 2026-08-11 17:52:24 +08:00
attachment.zh.md fix(apiproxy): cancel attachment reads during export 2026-08-11 17:52:24 +08:00
bash.i18n.yaml Merge origin/master into worktree/web-plugin-config 2026-08-11 18:27:53 +08:00
bash.md Merge origin/master into worktree/web-plugin-config 2026-08-11 18:27:53 +08:00
bash.zh.md Merge origin/master into worktree/web-plugin-config 2026-08-11 18:27:53 +08:00
client-modules.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
client-modules.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
client-modules.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
code-runtime.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
code-runtime.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
code-runtime.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
commands.i18n.yaml docs: state the Host-face rule for the browser e2e and settle the follow-ups 2026-08-11 19:25:41 +08:00
commands.md docs: state the Host-face rule for the browser e2e and settle the follow-ups 2026-08-11 19:25:41 +08:00
commands.zh.md docs: state the Host-face rule for the browser e2e and settle the follow-ups 2026-08-11 19:25:41 +08:00
compaction.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
compaction.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
compaction.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
core.i18n.yaml Merge origin/master into worktree/web-plugin-config, adapting to ctx.remote.$on 2026-08-11 19:52:34 +08:00
core.md Merge origin/master into worktree/web-plugin-config, adapting to ctx.remote.$on 2026-08-11 19:52:34 +08:00
core.zh.md Merge origin/master into worktree/web-plugin-config, adapting to ctx.remote.$on 2026-08-11 19:52:34 +08:00
credentials.i18n.yaml docs: state the Host-face rule for the browser e2e and settle the follow-ups 2026-08-11 19:25:41 +08:00
credentials.md docs: state the Host-face rule for the browser e2e and settle the follow-ups 2026-08-11 19:25:41 +08:00
credentials.zh.md docs: state the Host-face rule for the browser e2e and settle the follow-ups 2026-08-11 19:25:41 +08:00
feedback.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
feedback.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
feedback.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
filesystem.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
filesystem.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
filesystem.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
goal.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
goal.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
goal.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
http-server.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
http-server.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
http-server.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
invariants.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
invariants.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
invariants.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
llm-streaming.i18n.yaml feat(llm): send DeepSeek user identity header 2026-08-11 21:01:36 +08:00
llm-streaming.md feat(llm): send DeepSeek user identity header 2026-08-11 21:01:36 +08:00
llm-streaming.zh.md feat(llm): send DeepSeek user identity header 2026-08-11 21:01:36 +08:00
lsp.i18n.yaml docs: purge chain-of-thought leakage from prose 2026-08-09 21:10:59 +08:00
lsp.md docs: purge chain-of-thought leakage from prose 2026-08-09 21:10:59 +08:00
lsp.zh.md docs: purge chain-of-thought leakage from prose 2026-08-09 21:10:59 +08:00
permission.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
permission.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
permission.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
persistence.i18n.yaml Merge remote-tracking branch 'origin/master' into worktree/pr2177-export-fixes-20260811 2026-08-11 16:18:28 +08:00
persistence.md Merge remote-tracking branch 'origin/master' into worktree/pr2177-export-fixes-20260811 2026-08-11 16:18:28 +08:00
persistence.zh.md Merge remote-tracking branch 'origin/master' into worktree/pr2177-export-fixes-20260811 2026-08-11 16:18:28 +08:00
plan.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
plan.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
plan.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
pty.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
pty.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
pty.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
README.i18n.yaml Merge remote-tracking branch 'origin/master' into worktree/schedule-conversational-after 2026-08-11 19:05:13 +08:00
README.md Merge remote-tracking branch 'origin/master' into worktree/schedule-conversational-after 2026-08-11 19:05:13 +08:00
README.zh.md Merge remote-tracking branch 'origin/master' into worktree/schedule-conversational-after 2026-08-11 19:05:13 +08:00
sandbox.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
sandbox.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
sandbox.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
schedule.i18n.yaml docs(schedule): document bounded fixed-rate reminders 2026-08-09 23:11:45 +08:00
schedule.md docs(schedule): document bounded fixed-rate reminders 2026-08-09 23:11:45 +08:00
schedule.zh.md docs(schedule): document bounded fixed-rate reminders 2026-08-09 23:11:45 +08:00
scope.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
scope.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
scope.zh.md docs: rename core-data-structures/ to subsystems/ 2026-08-09 01:27:09 +08:00
session-projection.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session-projection.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session-projection.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session-query.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session-query.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session-query.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session-reference.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session-reference.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session-reference.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session-title.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session-title.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session-title.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
session.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
settings.i18n.yaml docs: state the Host-face rule for the browser e2e and settle the follow-ups 2026-08-11 19:25:41 +08:00
settings.md docs: state the Host-face rule for the browser e2e and settle the follow-ups 2026-08-11 19:25:41 +08:00
settings.zh.md docs: state the Host-face rule for the browser e2e and settle the follow-ups 2026-08-11 19:25:41 +08:00
skills.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
skills.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
skills.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
spill.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
spill.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
spill.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
storage.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
storage.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
storage.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
subagent.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
subagent.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
subagent.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
subprocess.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
subprocess.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
subprocess.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
system-prompt.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
system-prompt.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
system-prompt.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
tasks.i18n.yaml feat(tasks): wake an idle owner when a background task completes 2026-08-11 19:36:49 +08:00
tasks.md feat(tasks): wake an idle owner when a background task completes 2026-08-11 19:36:49 +08:00
tasks.zh.md feat(tasks): wake an idle owner when a background task completes 2026-08-11 19:36:49 +08:00
telemetry.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
telemetry.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
telemetry.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
token-meter.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
token-meter.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
token-meter.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
tools.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
tools.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
tools.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
typert.i18n.yaml docs: state the Host-face rule for the browser e2e and settle the follow-ups 2026-08-11 19:25:41 +08:00
typert.md docs: state the Host-face rule for the browser e2e and settle the follow-ups 2026-08-11 19:25:41 +08:00
typert.zh.md docs: state the Host-face rule for the browser e2e and settle the follow-ups 2026-08-11 19:25:41 +08:00
user-interaction.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
user-interaction.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
user-interaction.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
web.i18n.yaml refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
web.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
web.zh.md refactor: replace overloaded surface terminology 2026-08-11 15:23:05 +08:00
workflow.i18n.yaml Merge commit '5427cbcc19cfd1ce9f3af1ae22207852cc5740fa' into codex/workflow-runs-chat-node-f6 2026-08-11 18:09:43 +08:00
workflow.md Merge commit '5427cbcc19cfd1ce9f3af1ae22207852cc5740fa' into codex/workflow-runs-chat-node-f6 2026-08-11 18:09:43 +08:00
workflow.zh.md Merge commit '5427cbcc19cfd1ce9f3af1ae22207852cc5740fa' into codex/workflow-runs-chat-node-f6 2026-08-11 18:09:43 +08:00
workspace.i18n.yaml Merge remote-tracking branch 'origin/master' into xtr/sidebar-workspace-controls 2026-08-11 15:59:40 +08:00
workspace.md Merge remote-tracking branch 'origin/master' into xtr/sidebar-workspace-controls 2026-08-11 15:59:40 +08:00
workspace.zh.md Merge remote-tracking branch 'origin/master' into xtr/sidebar-workspace-controls 2026-08-11 15:59:40 +08:00

Subsystems

English | 中文

One page per subsystem of the DeepSeek Harness: what it is, the data structures it moves, and — where a ctx service or event scope backs it — a generated Cordis API section carrying its service and event reference. The folder complements architecture.md, which describes behavior across subsystems (the service map, the session/turn/step lifecycle, the event taxonomy); each page here is the reference for one subsystem's vocabulary and wiring.

Page Owns
core.md how packages/core controls the agent loop: the package-by-package loop description, agent creation and ownership (AgentHandle), the Agent handle's delivery/cancellation/interception contracts, and the repo-wide type patterns (…Map → derived-union, branded ids)
llm-streaming.md the packages/llm conversation types — Message/ContentBlock, the assembled model request, the StreamChunk wire protocol and adapter contract, BlockAssembler, and the LlmAdapter provider contract
token-meter.md immutable scalar and positional replay measurements with consumed-log revisions
scope.md scoped registration identity, dispatch carriers, and the owned Scope context
typert.md Remote invocation descriptors, lookup/Context declarations, TypeRT registries, and the Host Gateway/Client API boundaries
goal.md persisted goal identity, lifecycle snapshots, activation, change records, and round attribution
schedule.md Session-local reminder records, durable transitions, active views, and ordinary-conversation delivery
commands.md the human-command registry service: definitions, adapter discovery, direct invocation, results, and parsing views
session.md the full SessionEventMap variant catalog, TurnTrigger/TurnEndReason, deriveMessages(), execution enclosure, and standalone events
persistence.md the durability seam: SessionPersistence, JSONL + SQLite backends, session/flush, crash recovery, SessionHeader
settings.md the user-settings seam: SettingsNamespace registration, layered resolution (defaults → composition base → user document), owner scopes, hot commits
credentials.md the credential seam: CredentialRef references (never values) in configuration, per-operation resolution, UI-safe CredentialInfo, provider source layers
session-query.md logical records, bounded exact-event reads, relationship traces, semantic filters/documents, and full-text result pages
feedback.md lifecycle-bound per-message feedback records, optimistic versions, sidecar persistence, and the Host Remote contract
session-title.md durable title snapshots, cited source-message seqs, and the asynchronous provider contract
session-reference.md structured cross-session references: SessionReferenceInput/Candidate, prepared message contexts, the stable error taxonomy
system-prompt.md per-assembly context, tool-provider results, prompt sections, and cooperative assembly
tools.md ToolDefinition full fields, the schema DSL, ToolExecution/ToolResult, tool-presentation UI types, and the guarded execution pipeline
user-interaction.md the UI-backed human question/answer seam: AskUserQuestionRequest, answer/options vocabulary, provider API, error taxonomy
approval.md the one-shot user-approval seam: ApprovalRequest, ApprovalOutcome, per-session policy, audit events, and answerer contracts
attachment.md durable image identity and metadata, validation inputs, verified reads, and the AttachmentStore seam
bash.md the bash executor seam: BashExecRequest/Spec, BashRunResult, background BashProcess handles
subprocess.md the subprocess seam: fully-explicit SubprocessSpawnSpec, offset-based output readers, unclassified SubprocessOutcome, and the managed DSH_* environment vocabulary
pty.md persistent terminal ids, backend/session contracts, send readiness, bounded reads, and owner-visible snapshots
sandbox.md per-session policy resolution and the process-confinement seam: file-effect modes, execution/provider policies, ConfinedArgv, enforcement and fail-closed errors
code-runtime.md the code-execution seam: CodeRunRequest/Result, binding namespaces, captured logs, the CodeRunFailure taxonomy
filesystem.md the filesystem seam: FsTarget, read/write/edit outcomes, observed-file state, FsErrorCode
lsp.md the LSP navigation seam: LspQueryRequest/Result, LspProvider/Service, four operations, LspError
skills.md the skill service: discovery priority, SkillSummary/SkillDefinition, session-prefix catalog, model-facing skill loading
compaction.md the compaction seam: the compact/* session events, CompactionResult, the CompactService interface
subagent.md the subagent seam: the named-provider registry, SubagentStartRequest/Result/Run, the start-time-vs-runtime capability split
web.md the web access seam: WebSearchRequest/Result, WebFetchRequest/Result, WebFetchBody, provider availability, WebError
spill.md the spill storage seam: SaveTextSpill, SpillOwner/SpillSource, SpillRef, the branded SpillLocator
workflow.md the workflow seam: WorkflowStartRequest, WorkflowMeta, WorkflowRun/Result, the workflow/* event payloads, WorkflowError fatality
tasks.md the background-task runtime: branded TaskIds, the producer contract, consumer views, and ctx.tasks service behavior
permission.md the permission-preset layer: PresetSpec/PresetOption, the derived custom state, the log-only permission/preset event
plan.md plan mode: the log-only plan/mode state, pending-selection flush, PlanModeConfig, the exit_plan_mode review arc
invariants.md the runtime-invariant registry: selection Config, InvariantInstaller/InvariantFailure, the empty-companion contract
http-server.md the HTTP carrier: WebRouteKind/WebRoute, match order, the claimable fallback seat, index taps
storage.md the storage subsystem: the backend contract (StorageBackend), StorageForms, DomainSpec/Domain, domain/changed
workspace.md the workspace registry: Workspace/WorkspaceId, registration and resolution, the session cwd relationship
client-modules.md the web plugin table: dsh.client declarations, WebBootGraph wire composition, the bundle route and index tap
session-projection.md the projection seam: SessionProjectionMap, the pure ProjectionDefinition unit, ProjectionSnapshot's consistent cut, the change feed
telemetry.md the outbound session-reporting capability seam: TelemetryRecord/TelemetrySeverity, the TelemetryBackend contract, and the telemetry/record redact waterfall

Type declarations and their JSDoc on these pages are source-equivalent and drift-checked by pnpm run verify-type-equiv (see development.md). Ordinary blocks preserve complete declarations; public-api blocks preserve body-stripped public class declarations. Cordis services and events use each page's generated Cordis API section.