Skip to content

decision: split desired config from runtime state in machine.json #58

Description

@mobileskyfi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3research / investigation — needs grounding firstarea:library-apiQuickCHR/ChrInstance public API for consumersneeds-decisionmaintainer call required before work (changes a persisted/port/API contract)

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions