Repository navigation
docs: propose Kubernetes execution and filesystem integration - #2152
Conversation
3726ae5 to
16e3d45
Compare
3ec280c to
adf8354
Compare
|
suggestion: I appreciate the thorough collection of options and the care taken over the security and consistency constraints. Before we choose a placement model, though, I think the doc needs more detail on the long-term direction. As written, it picks its architecture against two scenarios: interactive coding with a shell, and file-only sessions. It doesn't say which user scenarios we're designing for or how we'd weigh them. Some valuable scenarios that the repo already describes seem to change the outcome:
Both favor file access that doesn't depend on a running executor, which is the property the selected design gives up for shell sessions. Other capabilities worth weighing the options against:
I'd suggest a short, explicit process for choosing between the options:
That should make the choice of near-term implementation much easier to evaluate and defend. |
e5a545c to
4029673
Compare
Co-authored-by: Mecatl <[email protected]>
The drafts were removed from main after this branch was created. Preserve the reviewed references using immutable source links. Co-authored-by: Mecatl <[email protected]>
Co-authored-by: Mecatl <[email protected]>
…options Co-authored-by: Mecatl <[email protected]>
Co-authored-by: Mecatl <[email protected]>
Co-authored-by: Mecatl <[email protected]>
Co-authored-by: Mecatl <[email protected]>
Name the placement modes where they are first used, describe the two-component architecture without committing to executor sharing, shorten the executor-loss durability requirements, and point to the identity and grants drafts instead of restating them.
Drop the shared file-service workers: every session with file access gets a dedicated executor that serves its files and, when admitted, its commands. Update the architecture, diagram, recovery, trusted-authority, and integration-choice sections to match, and give the trusted service sole ownership of authentication, routing, and lifecycle. Remove the file-tool semantics row from the Substrate comparison. Versioned reads and conditional replacement are a Mecatl Workspace adapter concern, not a backend feature. osfs builds them on plain OS file I/O, and an adapter over Substrate's raw ReadFile/WriteFile could build them the same way. Treating this as a Substrate shortcoming invents a limitation that doesn't exist. Re-verify the env claims against fccd920ae90a and re-pin its links: the guest truncates in place on write, neither the API nor the guest authenticates callers, and the process and filesystem services can be enabled independently.
4029673 to
9f9c26b
Compare
|
@jerm-dro I think this design describes a machinery that operates at a lower level than the one you're describing. Our initial target is enabling a bunch of rather simple use cases that do not require scoped resource grants, so I won't discuss the details of it here. Also, I'm not terribly familiar with the design. Regarding your second bullet point, the answer is yes, this design doc does not specify how to get files in and out of an agent's session, because I don't believe that detail belongs here. From the perspective of the execution environment, it is very hard to tell which file was created by the agent (e.g. if the file was downloaded using Please let me know if this clarifies your doubts. |
Summary
This is a design proposal only; no runtime behavior changes.
Validation
git diff --checkpassed.task docspassed locally on the initial proposal commit; no generated-file changes.b6071737b, including strict documentation validation. The initial CI run caught references to two drafts removed from main while this branch was being prepared; those references now use immutable historical links.task lint,task test:race, offline demo) were not completed. PR remains a draft; this change is documentation-only.