]> git.giacomolli.uk - onechat/commit
Name and order the view code
authorAnderson A. Giacomolli <agiacomolli@gmail.com>
Sat, 7 Nov 2026 16:45:37 +0000 (13:45 -0300)
committerAnderson A. Giacomolli <agiacomolli@gmail.com>
Sat, 7 Nov 2026 16:45:37 +0000 (13:45 -0300)
commit7b6d0a81e0f3c8e33b1b76d5ecbc5bdb25a87249
tree4fe07f547d9e73d4448dd9a11a2eb067cf0f11cd
parent6d96a69d33eb634f61f809001aca19ae57113180
Name and order the view code

Every package-level name of the view starts with view: its size limits,
the pending mark, the saved state ViewState, and the interface
ViewNodeReader. The layout of the view messages in the turn requests is
in view_layout.go, as ViewLayout. The limits chatHigh and compactionHigh
read as limits of the chat and of the compactor, but they are limits of
the two views.

The declarations of the view files follow the order of the go-code
skill. The behavior does not change.

Issue: 947bddb
memory.go
memory_test.go
replay_test.go
tools.go
turn.go
turn_test.go
view.go
view_layout.go [moved from layout.go with 74% similarity]
view_layout_test.go [moved from layout_test.go with 88% similarity]
view_test.go