39ebd8f745
- `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.
121 lines
4.2 KiB
Plaintext
121 lines
4.2 KiB
Plaintext
terminal 56x36 buffer=normal length=44 base=8 viewport=8
|
|
lifecycle started=1 stopped=0 progress=inactive
|
|
title "Inspect session diagnostics — DSH snapshot"
|
|
cursor hidden column=7 viewportRow=35 bufferRow=43
|
|
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-55 dim
|
|
12| "│ Session: main-session │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 55-55 dim
|
|
13| "│ Title: Inspect session diagnostics │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 55-55 dim
|
|
14| "│ Directory: /workspace/project │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 55-55 dim
|
|
15| "│ Model: deepseek/deepseek-v4-pro (effort │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 40-55 dim
|
|
16| "│ default; reasoning blocks shown) │"
|
|
style 0-0 dim
|
|
style 15-46 dim
|
|
style 55-55 dim
|
|
17| "│ │"
|
|
style 0-0 dim
|
|
style 55-55 dim
|
|
18| "│ Agent: idle · 8 events · 1 turn · 1 step · 1 │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 55-55 dim
|
|
19| "│ tool call │"
|
|
style 0-0 dim
|
|
style 55-55 dim
|
|
20| "│ │"
|
|
style 0-0 dim
|
|
style 55-55 dim
|
|
21| "│ Tokens: 1,250 input + 340 output │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 55-55 dim
|
|
22| "│ KV cache: [███████████░░░░░] 67% hit (3,000 read │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 15-15 dim
|
|
style 16-26 fg=bright-magenta
|
|
style 27-32 dim
|
|
style 55-55 dim
|
|
23| "│ + 250 write) │"
|
|
style 0-0 dim
|
|
style 55-55 dim
|
|
24| "│ Context: [█████░░░░░░░░░░░] 33% used (42,000 / │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 15-15 dim
|
|
style 16-20 fg=bright-magenta
|
|
style 21-32 dim
|
|
style 55-55 dim
|
|
25| "│ 128,000) │"
|
|
style 0-0 dim
|
|
style 55-55 dim
|
|
26| "│ │"
|
|
style 0-0 dim
|
|
style 55-55 dim
|
|
27| "│ Created: 2026-07-22 09:10:11 UTC │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 55-55 dim
|
|
28| "│ Active: 2026-07-22 09:10:11 UTC │"
|
|
style 0-0 dim
|
|
style 3-12 dim
|
|
style 55-55 dim
|
|
29| "╰──────────────────────────────────────────────────────╯"
|
|
style 0-55 dim
|
|
30| <blank>
|
|
31| "System prompt "
|
|
style 0-12 fg=bright-magenta bold
|
|
32| "You are an AI agent powered by the DeepSeek Harness SDK."
|
|
33| " "
|
|
34| "Paths prefixed with @ are files explicitly referenced by"
|
|
35| "the user. Use the read tool when their contents are "
|
|
36| "needed; do not claim to have inspected a file before "
|
|
37| "reading it. "
|
|
38| <blank>
|
|
39| "Registered tools "
|
|
style 0-15 fg=bright-magenta bold
|
|
40| "read, write "
|
|
41| <blank>
|
|
42| "/workspace/project (tui-staging) deepseek-v4-pro ↑1.3k"
|
|
style 0-17 fg=bright-magenta bold
|
|
style 18-31 dim
|
|
style 34-48 dim
|
|
style 51-55 dim
|
|
43| " dsh > "
|
|
style 1-3 fg=bright-magenta bold
|
|
style 5-6 dim
|
|
style 7-7 inverse
|