You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a workflow author, I want xmd workflow to retain one provider-backed Workspace with the run's journal, repositories, and Agent state, so repeatable procedures resume after interruption without reconstructing intermediate filesystem history or granting Agents mutation authority.
Settled contract
PR #358 records the normative behavior in architecture.md and specs/workflow-workspace-spec.md:
xmd run uses the caller's current environment and has no restoration guarantee.
xmd workflow creates a WorkflowRun with one implicit root Workspace.
Each run owns one SQLite database containing logically separate filtered journal, versioned DOFS, Repository/Worktree metadata, and Agent-session stores.
One expansion produces one effect and one Workspace transaction.
Completed durable effects restore their results; ephemeral attachments rebuild the live Effection tree; partial replay continues against the retained frontier.
Missing authoritative Workspace state is unrecoverable rather than silently replaced.
Agents are read-only and propose mutations as constrained generated XMD.
Prompt, Push, PullRequest, and Issue are reconciled external effects rather than local transactions.
Worker Shell is included through a Deno Worker and just-bash, after the transaction spine exists.
Public lifecycle commands remain host-neutral so a future cloud host can implement them; no remote-host selector ships initially.
This is the implementation umbrella. Child issues own executable acceptance details; this body owns their dependency order and the invariants they share.
This umbrella closes when the retained Workspace lifecycle, repository/Git composition, read-only Agent path, constrained Worker Shell, and end-to-end workflow certification are complete and PR #181 describes only shipped behavior.
Intentionally excluded
A public remote-host selector or deployed XMD service.
Worker JavaScript in the initial topology.
Native subprocess execution, writable FUSE, bundled workerd, or Containers.
Automatic ingestion of arbitrary Workspace files for training.
Recovery from deleted or corrupt authoritative Workspace state.
Story
As a workflow author, I want
xmd workflowto retain one provider-backed Workspace with the run's journal, repositories, and Agent state, so repeatable procedures resume after interruption without reconstructing intermediate filesystem history or granting Agents mutation authority.Settled contract
PR #358 records the normative behavior in
architecture.mdandspecs/workflow-workspace-spec.md:xmd runuses the caller's current environment and has no restoration guarantee.xmd workflowcreates a WorkflowRun with one implicit root Workspace.just-bash, after the transaction spine exists.This is the implementation umbrella. Child issues own executable acceptance details; this body owns their dependency order and the invariants they share.
Implementation order
1. Retention and one filesystem vertical slice
workflow start/resumewith an implicit Workspace and declarative File effects.2. Repository and deterministic Git composition
Git.Switch,Git.Add, and staged-onlyGit.Commit.Git.Push.PullRequestover an explicitly pushed head.Issue.3. Agent authority and constrained execution
Agent.AddDir.4. Compose and certify the product workflow
Cross-cutting invariants
Completion
This umbrella closes when the retained Workspace lifecycle, repository/Git composition, read-only Agent path, constrained Worker Shell, and end-to-end workflow certification are complete and PR #181 describes only shipped behavior.
Intentionally excluded
workerd, or Containers.Evidence