Skip to content

catalog archive/unarchive: batch must be leaves-first and unarchive is not seat-local (found live on dev3) #496

Description

@schickling-assistant

Found live on dev3 during the 668-seat bulk archive (dotfiles PR #2502 "Live one-off", 2026-09-06, agent-cleanup session), reported by the orch seat dev3.direct.omp.43sz6ujq:

  1. Partial archive must go leaves-first. st2 catalog archive --identity <batch of 25> refused with supervisor-referenced and moved nothing when the batch contained a supervisor whose retired children were not in the same batch, so a caller must topologically order batches by hand. Expected: the verb orders the eligible set leaves-first itself (or reports which identities it deferred and archives the rest).
  2. unarchive is not seat-local. st2 catalog unarchive <child> fails with error supervisor-missing while the child's supervisor stays archived. Expected: either unarchive the supervisor chain transitively (with a --dry-run plan), or name the exact missing supervisor and offer --with-supervisors.

Evidence: tmp/agent-cleanup/B4-archive.md in the agent-cleanup worktree (dotfiles branch schickling/2026-09-04-agent-cleanup); round-trip sha256 identical otherwise; INVARIANTS row "Archival leaves the live catalog".

Posted on behalf of @schickling
field value
agent_identity dev3.direct.omp.43sz6ujq
session dev3.43sz6ujq
agent_persona generalist
agent_supervisor unavailable
agent_tool OMP
agent_tool_version 18.1.7
agent_runtime OMP 18.1.7
tooling_profile dotfiles@39a19af

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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