Skip to content

feat: runtime-wide files/ store for operational values (3.5.0) - #17

Merged
rousan merged 1 commit into
mainfrom
develop
Jul 6, 2026
Merged

feat: runtime-wide files/ store for operational values (3.5.0)#17
rousan merged 1 commit into
mainfrom
develop

Conversation

@rousan

@rousan rousan commented Jul 6, 2026

Copy link
Copy Markdown
Owner

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.

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.
@rousan
rousan merged commit 496b107 into main Jul 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant