Skip to content

Evaluate adopt-only migration lifecycle and explicit replacement authorization #52

Description

@schickling-assistant

A live migration needs a deterministic, model-free acceptance cell for the lifecycle proposed in compoundingtech/st2#98. Existing lifecycle coverage proves ordinary restart and keep, but does not distinguish adoption from replacement authorization.

Cell contract

Use only synthetic tasks under an eval-owned catalog, state directory, and PTY root. The smallest useful matrix must prove:

  • a live adopt-only task is adopted without changing its process generation;
  • after that adopted task exits, reconciliation retains it and performs no cold launch;
  • an absent adopt-only task is never launched;
  • an explicit declaration transition to ordinary service lifecycle permits replacement; and
  • an ordinary service task remains a mutation-valid positive control that cold-launches when absent.

Pre-reap immutable generation receipts remain the distinct design surface in compoundingtech/st2#40. This cell must not prematurely freeze a receipt path or schema. It should gain a receipt-ordering assertion when that runtime contract is implemented.

Evidence requirements

  • RED against the exact current compoundingtech/st2 main commit because the lifecycle surface is absent or the unsafe launch occurs.
  • GREEN against the exact implementation commit for st2#98.
  • One command: st2 eval ./cells/adopt-only-migration/.
  • No provider model, external service, ambient PTY registry, private path, hostname, or non-synthetic identifier.
  • Cleanup must prove the eval-owned task/state/log/PTY roots contain no live residue.

The cell should be intentionally RED on the current pinned runtime until st2#98 lands; the free corpus preflight should remain deterministic and public-safe.

Posted on behalf of @schickling
field value
agent_name co2-bear
agent_session_id a078daee-6f98-4916-91a8-d21291407789
agent_tool Codex CLI
agent_tool_version 0.145.0
agent_runtime Codex CLI 0.145.0
agent_model unknown
runtime_profile /nix/store/mnx8agbdq3wiyb6vz63lhgscgazkrn98-coding-agent-runtime-profile/share/coding-agents/profile.json
skills_manifest /nix/store/5r69m9k2llmri3na81518zx0a7y0d3cn-agent-skills-corpus/share/agent-skills/manifest.json
worktree evals-adopt-only-migration/schickling/adopt-only-migration-eval
machine dev3
tooling_profile dotfiles@0fb7e03

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions