DeepSeek Harness

DeepSeek Harness: Experimental Records vs Events

· 7 min read · 中文版

DeepSeek Harness documents experimental plugin records separately from shared Session persistence events: the experimental records are ignorable, log-only, and outside the known-event set and schema compatibility history. Both catalogs describe current source, but they make different promises.

DeepSeek Harness: why are there two catalogs?

The experimental plugin record catalog lists current-source PluginRecordMap declarations owned by experimental packages. It says these records are ignorable and log-only, stay outside the known-event set, persistence schema fingerprints, and compatibility history, and are retained on a best-effort basis during format migration. Payload annotations link to the owning source; referenced types are not expanded there.

The Session persistence event catalog instead covers declared persistent Session events in the repository, their source declarations and resolved types, logical and physical headers, envelopes, and merged SessionEventMap declarations. It links experimental records to the separate catalog. It also says external plugin types require their own declarations and are outside its coverage.

Choose the relevant catalog, inspect its source and compatibility boundary, then test the reader

AspectExperimental plugin recordsSession event catalog
DeclarationPluginRecordMap in experimental packagesRepository Session declarations and merged SessionEventMap
DisplayPayload annotation links to owning sourceDeclarations and resolved referenced types
CompatibilityOutside known-event set, fingerprint and historyDeclared types participate in the documented fingerprint and history process
MigrationBest-effort retentionConsult format reference and compatibility history for the relevant format

Calling the second catalog stable should not be read as a guarantee that every behavior is frozen forever. It is the shared event reference with a documented compatibility process; the catalog itself describes the boundaries of that process. The experimental catalog makes a narrower statement, particularly for retained records across migration.

DeepSeek Harness: what concrete records are listed?

At the cited catalog snapshot, two records belong to @deepseek-ai/dsh-experimental-translator. plugin:translator/request retains provider-independent translation input before dispatch. plugin:translator/result retains a successful translation before it is returned to the consumer. Their annotations point to TranslationRequestRecord and TranslationResultRecord in the owning source.

The list is a current-source reference, not a guarantee that the translator is enabled in a particular deployment or that every request produces a result record. A failed translation should not be assumed to have the successful-result record. Inspect the source linked by the catalog for the payload type appropriate to the installed version; the experimental table does not expand all referenced types.

The two entries are useful for interpreting the distinction between a log and conversational history. They describe translation input and output retained by an experimental plugin. The catalog labels them log-only. The Session catalog separately says surface events produce model history and log-only events do not. Thus a retained record should not automatically be treated as a message that the model saw or as proof of a completed downstream action.

DeepSeek Harness: what does the Session event reference contain?

The Session catalog describes an event envelope with type, seq, time, data, optional ignorable, and conditional surfaceOp or sourceEventSeqs. The exact fields and resolved types for an event must be read in its entry; an envelope overview is not a license to assume that every optional field appears on every record. The catalog distinguishes logical and physical headers as well as the event declarations.

Its machine-readable catalog includes normalized reachable types and SHA-256 digests. A root digest covers referenced types. The documentation notes that comments, source positions, aliases, erased brands, readonly markers, and semantically neutral field or union/intersection reordering do not change a digest; tuple order, property names, value types, and optionality do. An unchanged digest does not mean the catalog text or source location cannot change.

The format reference covers historical Session formats and the change record uses snapshots to establish exact type transitions. These checks concern declared type structure. The catalog explicitly says opaque payload internals and behavior changes that leave types unchanged are outside their scope. A matching fingerprint is evidence about the described type shape, not a complete behavioral compatibility test.

DeepSeek Harness: how should a reader investigate a record?

  1. Identify the installed version, record type, and owning plugin. Treat a copied log as potentially sensitive and remove private payloads before sharing.
  2. Look for the type in the experimental catalog and the Session catalog. If it belongs to an external plugin, consult that plugin's own declaration; absence from the repository catalog is not proof that no such type exists.
  3. For an experimental record, follow its payload annotation to the owning source. Note its log-only and ignorable status and the best-effort migration limit.
  4. For a shared Session event, inspect the declaration, resolved types, relevant envelope, format reference, and change history. Check optional fields rather than assuming a particular record contains them.
  5. Test the actual reader against representative data and the version being upgraded. Include the handling of unknown or missing experimental records where relevant; do not infer preservation solely from their appearance in the catalog.

The catalog says pnpm run gen-persistence-catalog regenerates both language pairs and associated artifacts, and pnpm run verify-persistence-catalog checks generated files. These are source-repository maintenance commands, not instructions to run them in a production data directory. A documentation listing is not a migration operation and does not modify an existing session log.

DeepSeek Harness: what are the limits and safety boundaries?

Experimental records can contain translation input or results, so consider their sensitivity when inspecting or retaining logs. The cited catalog does not promise redaction, indefinite retention, or recovery after migration. Best-effort preservation is weaker than a guarantee that every experimental record survives. A consumer needing an essential durable contract must verify the relevant supported storage and migration behavior separately.

Likewise, a schema fingerprint is not a security review, and a record's ignorable designation does not establish that every reader can silently discard any unknown data without consequences. Follow the actual format and reader contract. Test upgrades on appropriate copies of data and preserve a recovery path according to the deployment's procedures. The sources do not establish a universal lossless migration guarantee for experimental records or behavioral compatibility for unchanged schemas.

DeepSeek Harness: what do the terms mean?

  • PluginRecordMap: declarations for plugin-owned records, including the experimental records listed in the separate catalog.
  • SessionEventMap: merged declarations represented in the shared Session event reference.
  • Log-only: a record that does not itself produce model history under the catalog's distinction.
  • Fingerprint: a digest of normalized declared type structure, including referenced types.
  • Best effort: migration attempts to retain the experimental records without a guarantee of lossless preservation.

Frequently asked questions

Are experimental records included in schema fingerprints?

The experimental catalog says they remain outside the known-event set and fingerprints.

Does a log-only record produce model history?

The Session catalog distinguishes log-only records from surface events that produce model history.

Does a matching digest prove unchanged behavior?

No. Behavior changes without type changes are outside the documented structural checks.

Sources

Every claim in this article was checked against the sources below. Community discussions are user reports, not official behavior.

  1. Experimental Persistence Catalog
  2. Persistence Catalog

This is an independent community article, not official DeepSeek documentation. Listing a plugin in the registry is not a security review.

← Back to all articles

DeepSeek Harness: Experimental Records vs Events