The decision
Whether to split desired config (cpu / mem / packages / networks) from runtime
state (pid / status / lastStartedAt) in machine.json.
Options
- Split into two shapes/files — clean separation; needs a field-split + migration.
- Keep a single shape, tag fields — lighter, less clean.
- Status quo.
Recommended default
Split, with a field-split + migration sketch — clarifies what is user-owned vs. derived.
Rationale in the DESIGN.md config note.
What it changes
The persisted machine.json schema and the public API that reads it. Needs a
migration for existing machines.
Done-when
Direction recorded; if "split", a Task with the migration sketch is filed; else closed.
The decision
Whether to split desired config (cpu / mem / packages / networks) from runtime
state (pid / status / lastStartedAt) in
machine.json.Options
Recommended default
Split, with a field-split + migration sketch — clarifies what is user-owned vs. derived.
Rationale in the
DESIGN.mdconfig note.What it changes
The persisted
machine.jsonschema and the public API that reads it. Needs amigration for existing machines.
Done-when
Direction recorded; if "split", a Task with the migration sketch is filed; else closed.