GLOSSARY + SOURCE INDEX

From plain-language glossary to official source

Terms create a shared language; source anchors constrain interpretation. Every explanation is pinned to an auditable snapshot.

UPSTREAM RESEARCH SNAPSHOT47f943859bef60e4160492346772ded9b24f765a2026-08-13 · 324 docs · 3746 package files
PLAIN-LANGUAGE GLOSSARY

Fifteen terms that remove reading friction

01

Harness

The context, state, tools, control, and interaction substrate that turns a model into an operating product.

02

Context

Cordis's scoped container for services, events, config, and reversible effects.

03

Effect

A plugin-owned resource plus its disposer, making setup and teardown symmetric.

04

Fiber

An async work unit with parentage, cancellation, and cleanup semantics.

05

Profile

A named product composition that selects bundles and carries user patches.

06

EpochHeader

The complete snapshot of model, tools, prompt, and limits seen by one model request.

07

Turn

A settlement unit that claims one input and may contain multiple steps.

08

Step

One model request and stream; a tool loop starts another step.

09

SessionEvent

Append-only, replayable, model-visible session truth—not the same as UI display order.

10

Surface

The model-context view projected from the log; compaction changes the surface, not history.

11

Capability seam

A replacement boundary formed by a service definition, providers, consumers, and policy consumers.

12

Tool debt

The obligation to return a matching result after a model emits a tool call.

13

Projection

An event-derived read model using watermarks to avoid duplicate or out-of-order consumption.

14

Spill

Moving oversized content out of context and leaving an opaque locator for later retrieval.

15

Provider

One implementation of a capability contract, owning its config, SDK, and resource lifecycle.

CURATED SOURCE MAP

Organized by learning layer, not dumped as a tree

Each file appears beside the question it answers best. Read the chapter, then verify the source.

01

Build the mental model

Explain the boundary between model, agent, and harness

02

Learn the composition grammar

Read why a real plugin tree can mount, replace, and unwind

03

Trace the agent spine

Explain a complete model request event by event

04

Understand safety and durability

Judge whether the system stays trustworthy under denial, crashes, cancellation, and long context

05

Scale beyond one agent

Separate state, delegation, orchestration, and long-running work

06

Build and ship extensions

Ship a capability without patching the agent loop

PRIMARY SOURCE

This project builds the bridge; upstream settles the facts

DeepSeek Harness remains in developer preview. For contract, event-name, or default changes, use the current official commit.

Learn DeepSeek Harness

An independent learning project. Explanations derive from source; upstream remains authoritative.