Conversation
Add <runtime>/files/, a free-form store for operational values any work session can read: credentials, cluster names, usernames, API keys and tokens, endpoints, and other key-value meta a task needs to operate (a Playwright login, an authenticated API call, an ssh target). Created empty by mx init and backfilled by mx sync. mx only guarantees the directory exists and never reads, writes, or validates its contents, so the layout is the agent's to choose. It stays distinct from context/ (indexed knowledge) and from a work's own works/<work>/files/ (per-work artifacts), and it is local only (mx never commits or transmits it). core: runtimeFilesDir, created in initRuntime and backfilled in syncRuntime. tests: 3 new cases (107 total). docs: new Files store section in the runtime CLAUDE.md template and runtime-model, plus layout and init/sync updates across the docs and both READMEs. version 3.4.0 to 3.5.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds /files/, a runtime-wide free-form store for operational values any work session can read: credentials, cluster names, usernames, API keys and tokens, endpoints, and other key-value meta a task needs to actually operate (a Playwright login, an authenticated API call, an ssh target).
It is created empty by mx init and backfilled by mx sync. mx only guarantees the directory exists and never reads, writes, or validates its contents, so the layout is the agent's to choose. It stays distinct from context/ (indexed knowledge, "how the system works") versus files/ (the raw values you plug in), and from a work's own works//files/ (per-work artifacts) versus the runtime store shared by every work. It is local only: mx never commits or transmits it.
Runtime stays v3, no migration. Existing runtimes get files/ on the next mx sync. typecheck, lint, tests (107), and build all pass.