Script receivers 5/6: forward-only file contract for hosts without a file system #516
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Slice 6 of Design:
docs/design/SCRIPT-RECEIVERS.md(branchdocs/script-receivers). Part of the script-receivers epic.Forward-only file contract for hosts without a file system (section 8). Client side (Forgejo view) is orion/infra#2329 on git.dmb.zone, not this repo.
Scope
experimental.files: the server reads no disk.torbscript/wantFiles(server -> client notification):{files, directories}, only forward from held text.torbscript/files(client -> server notification):{files: [{path, text} | {path, missing}], directories: [{path, entries}]}, treated as a file change.Acceptance
tests/lsp/session with no disk opensconfig.trbof config-dsl (mapped), answers the wants and gets typed hover; an unmapped script opened the same way stays untyped (notMatched).docs/tooling/torb-lsp.md.Amended 2026-10-26 (owner): the
scriptsmapping is optional; unmapped scripts stay valid and are typed by inference from literalSandbox.loadcalls, else untyped (SCRIPT-RECEIVERS.md sections 1, 5, 6).Design PR: #519 · Epic: #518
[loop:torbscript] intake: in scope (author orion, label loop), no duplicate, no collision with a design record (SCRIPT-RECEIVERS.md section 8 landed via #519), no owner question. Part of epic #518; builds on the slices 2-4 (#513 in review). next: refine