- `SessionSummary.updatedAt`'s wire doc still said "Persisted file mtime", which stopped being true for attached sessions. - The core invariant let `session/inherited` fall through the merge-extensible default. It is core-owned, so it gets an explicit case; an unbalanced seed legally places it inside an open turn, which the relation permits. - The Agent Note claimed the boundary reaches disk via `live.pending`/ `scheduleDrain`. Verified false: the constructor append precedes `enter()`, so it never publishes on `session/event` and rides the creation seed instead. Attaching is therefore a write where none happened before — recorded, since only `load()` stays a pure read. - The deferred-index proposal asserted this change documented the cold-mtime skew on `dsh-host-apiproxy`. It did not; the README entry now exists. - `firstLiveSeq`'s firehose gap runs through its own seq, not below it. - The boundary is not always at `firstLiveSeq` (the idempotence guard), so consumers scan for the last one. - `lastActivityTime` excludes by type, so a pickup time still leaks onto a synthetic closer when a boundary ends an open turn. Documented. - Pin the fork claim end-to-end: a child inherits a still-running parent's open bracket below its own boundary, while the parent has none. Fails if the write moves back to the load path. - Fix the telemetry title that contradicted its own assertions. The `/status` call site cannot be pinned the way the other two are: the command appends its own `command/run` before rendering, so the boundary is never the log tail there. Its fixture now at least renders over a boundary-bearing log.
108 lines
4.7 KiB
Plaintext
108 lines
4.7 KiB
Plaintext
terminal 92x32 buffer=normal length=38 base=6 viewport=6
|
|
lifecycle started=1 stopped=0 progress=inactive
|
|
title "Inspect session diagnostics — DSH snapshot"
|
|
cursor hidden column=7 viewportRow=31 bufferRow=37
|
|
buffer
|
|
0| " DEEPSEEK HARNESS"
|
|
style 1-8 fg=bright-magenta bold
|
|
style 10-16 bold
|
|
1| " Inspect session diagnostics"
|
|
style 1-27 dim
|
|
2| " main-session"
|
|
style 1-12 dim
|
|
3| <blank>
|
|
4| "Assistant "
|
|
style 0-8 fg=bright-magenta bold underline
|
|
5| "Session inspected. "
|
|
6| "Model wait 0.0s "
|
|
style 0-14 dim
|
|
7| <blank>
|
|
8| "You "
|
|
style 0-2 fg=bright-magenta bold underline
|
|
9| "inspect this session "
|
|
10| <blank>
|
|
11| "╭─ Session status ───────────────────────────────────────────────────────────────╮"
|
|
style 0-2 dim
|
|
style 3-16 fg=bright-magenta bold
|
|
style 17-81 dim
|
|
12| "│ Session: main-session │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 81-81 dim
|
|
13| "│ Title: Inspect session diagnostics │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 81-81 dim
|
|
14| "│ Directory: /workspace/project │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 81-81 dim
|
|
15| "│ Model: deepseek/deepseek-v4-pro (effort default; reasoning blocks shown) │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 40-79 dim
|
|
style 81-81 dim
|
|
16| "│ │"
|
|
style 0-0 dim
|
|
style 81-81 dim
|
|
17| "│ Agent: idle · 8 events · 1 turn · 1 step · 1 tool call │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 81-81 dim
|
|
18| "│ │"
|
|
style 0-0 dim
|
|
style 81-81 dim
|
|
19| "│ Tokens: 1,250 input + 340 output │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 81-81 dim
|
|
20| "│ KV cache: [███████████░░░░░] 67% hit (3,000 read + 250 write) │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 15-15 dim
|
|
style 16-26 fg=bright-magenta
|
|
style 27-32 dim
|
|
style 81-81 dim
|
|
21| "│ Context: [█████░░░░░░░░░░░] 33% used (42,000 / 128,000) │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 15-15 dim
|
|
style 16-20 fg=bright-magenta
|
|
style 21-32 dim
|
|
style 81-81 dim
|
|
22| "│ │"
|
|
style 0-0 dim
|
|
style 81-81 dim
|
|
23| "│ Created: 2026-07-22 09:10:11 UTC │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 81-81 dim
|
|
24| "│ Active: 2026-07-22 09:10:11 UTC │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 81-81 dim
|
|
25| "╰────────────────────────────────────────────────────────────────────────────────╯"
|
|
style 0-81 dim
|
|
26| <blank>
|
|
27| "System prompt "
|
|
style 0-12 fg=bright-magenta bold
|
|
28| "You are an AI agent powered by the DeepSeek Harness SDK. "
|
|
29| " "
|
|
30| "Paths prefixed with @ are files explicitly referenced by the user. Use the read tool when "
|
|
31| "their contents are needed; do not claim to have inspected a file before reading it. "
|
|
32| <blank>
|
|
33| "Registered tools "
|
|
style 0-15 fg=bright-magenta bold
|
|
34| "read, write "
|
|
35| <blank>
|
|
36| "/workspace/project (tui-staging) deepseek-v4-pro ↑1.3k ↓340 cache 67% 33% context"
|
|
style 0-17 fg=bright-magenta bold
|
|
style 18-31 dim
|
|
style 34-48 dim
|
|
style 51-71 dim
|
|
style 74-84 dim
|
|
37| " dsh > "
|
|
style 1-3 fg=bright-magenta bold
|
|
style 5-6 dim
|
|
style 7-7 inverse
|