feat(cli): make kontext start local-first#140
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Greptile SummaryThis PR makes
Confidence Score: 4/5This is close, but the local shutdown path should be fixed before merging.
Important Files Changed
Reviews (3): Last reviewed commit: "feat(cli): make kontext start local-firs..." | Re-trigger Greptile |
e7fb567 to
248c427
Compare
|
Architecture note for this PR: This PR intentionally makes The key architecture change is the new That extra abstraction is here so Follow-up cleanup I would scope separately:
|
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
248c427 to
43ae9c9
Compare
43ae9c9 to
5090a85
Compare
a7bd779 to
26d41da
Compare
f6914b4 to
4caf6d3
Compare
26d41da to
b26c752
Compare
4caf6d3 to
3a62281
Compare
b26c752 to
6941687
Compare
3a62281 to
b4606cd
Compare
6941687 to
54656a7
Compare
b4606cd to
6aadd7e
Compare
54656a7 to
6ff29d2
Compare
6aadd7e to
04b895b
Compare
6dd7d64 to
ea7d78e
Compare
d72c0c8 to
f793aca
Compare
ea7d78e to
a4125e2
Compare
f793aca to
7568187
Compare
a4125e2 to
3c105cb
Compare
Merge activity
|
7568187 to
9886b8d
Compare

Summary
kontext startlaunch the local runtime by default, with local dashboard and wrapper-owned hook socket setup.runtimehostboundary for local runtime hosting: DB/store setup, embedded model activation, session dir/socket lifecycle, dashboard binding, and session close.kontext start --managed, and prevents localKONTEXT_MODEfrom leaking into managed hook behavior.Reviewer follow-up
os.Executable()failures now stop both local and managed settings generation.Verification
go test ./cmd/kontext ./internal/run ./internal/runtimehost ./internal/guard/modelsnapshotgo test ./...go test -race ./...go vet ./...buf generateif protobuf or generated code changedRelease notes