summaryrefslogtreecommitdiffstats
path: root/CONTEXT.md
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-15 02:54:21 +0100
committersalmonik <salmonik@tuta.io>2026-11-15 02:54:21 +0100
commit7175543e00caa9ce35487fa7f8b1b479c1ba00a2 (patch)
tree10f89f85ca35d6ac7515bbe88518255788d6dc22 /CONTEXT.md
downloadagent686-7175543e00caa9ce35487fa7f8b1b479c1ba00a2.tar.gz
agent686-7175543e00caa9ce35487fa7f8b1b479c1ba00a2.zip
M0: streaming provider, SSE decoder, mock provider, i686 build gate
Diffstat (limited to 'CONTEXT.md')
-rw-r--r--CONTEXT.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/CONTEXT.md b/CONTEXT.md
new file mode 100644
index 0000000..e48cb1a
--- /dev/null
+++ b/CONTEXT.md
@@ -0,0 +1,30 @@
1# Context
2
3## Language
4
5**Provider** — a service that serves models over HTTP, with its own credential and
6request/response shape. v1 supports exactly one: **OpenCode Go** (called
7`opencode-go` in OpenCode's vocabulary), an OpenAI-compatible gateway.
8
9**Model** — a model id served by a provider, e.g. `deepseek-v4.1-flash`. A model
10is not a provider, and not a config profile. The same model may be reachable
11through more than one wire protocol.
12
13**Session** — one conversation, identified by an id that is stable for the life of
14that conversation and survives the process exiting. Continuing a session reuses
15its id; starting a new conversation gets a new one. A session is not a run, not a
16process, and not a file.
17
18**Turn** — one user message plus every step the agent takes until the model
19answers without tool calls. A turn is the unit of interruption: aborting a turn
20leaves the session and its history intact.
21
22**Step** — one request/response cycle with the model within a turn. A turn is one
23or more steps.
24
25**Tool call** — the model asking the harness to run one tool with arguments. A
26tool call that fails, is denied, or produces no output is still a completed tool
27call; its outcome is returned to the model as a result, not raised as an error.
28
29**Approval** — the human's permission for a tool call to run. An approval is
30scoped to a session, not to a turn: once granted, it holds until the session ends.