---
name: reassign-pm
description: Take over a project's Paseo PM role, retain its assigned workers, and archive the previous PM after verification.
title: reassign-pm
canonical_url: https://skilld.dev/gh/enjoyoer/loadout/reassign-pm
last_updated: 2026-11-21T03:15:40.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [agents/openai.yaml](https://skilld.dev/api/skills-raw/enjoyoer/loadout/reassign-pm/agents/openai.yaml), [references/native-relocation.md](https://skilld.dev/api/skills-raw/enjoyoer/loadout/reassign-pm/references/native-relocation.md).
>
> If the user asked to install this Skill, run `npx skilld install enjoyoer/loadout/reassign-pm`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/reassign-pm`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/enjoyoer/loadout/reassign-pm) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/reassign-pm`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/reassign-pm --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/reassign-pm --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Reassign PM

The current agent (`$PASEO_AGENT_ID`) becomes the project's PM. Use supported Paseo tools or CLI/API operations. Reassignment authorizes archiving the previous PM, not its workspace or unrelated agents.

1. **Discover and select automatically.** Inspect self and list agents across all workspaces, including dormant and archived PMs. With CLI, use `paseo ls --global --all --json`, then inspect full candidate IDs with `paseo inspect <id> --json`; use supported API snapshots for labels and workspace/project metadata omitted by CLI inspect. A cwd filter or recent-only result cannot prove absence. Confirm persisted archive state explicitly; an `idle` snapshot without an archive flag does not prove the agent is unarchived. Exclude `$PASEO_AGENT_ID` from every old-PM candidate set, even when self inherited `role=pm/project` labels from a copied chat.

   Resolve evidence in this order:

   - **Source.** Inspect an explicit owner old PM ID first; if that record cannot be verified, report the failed lookup and stop before mutation. When no explicit ID is supplied, identify the source of this fork/copy from available supported provenance or supplied old-chat context. Verify the full ID against a real PM record and its project; for a context header naming a title/directory, corroborate against the record and saved activity. Arbitrary IDs mentioned in historical transcripts, self's inherited labels, and a matching title alone are not source proof. Unverifiable provenance does not outrank eligible candidates.
   - **Project.** Use the supplied project first, then the verified source PM's project, then workspace/project metadata and existing path equivalence; the current directory basename is the fallback. Expand home paths and compare realpaths where available. Missing paths, conflicting project evidence, or differing labels remain unresolved evidence. Report that evidence and stop before mutation when it prevents confirming a single project; never invent another project target.
   - **Previous PM.** Eligible candidates are confirmed same-project, unarchived `role=pm` records other than self. Select the verified explicit owner old PM ID if eligible, otherwise the verified source PM if eligible, otherwise the candidate with greatest persisted `createdAt`. Compare parsed creation timestamps, then order equal timestamps by full ID ascending with a stable ordinal comparison. `updatedAt`, activity, quota, status, list position, and relative display times do not determine recency. Missing or invalid creation timestamps that prevent ranking require an evidence report before mutation. An archived source supplies context but does not override an eligible unarchived PM. If complete discovery finds no eligible candidate, continue without an archive.

   Announce the selected full ID, project, and evidence (explicit owner ID, verified source, or creation timestamp and tie ordering), or announce that complete discovery found none. Multiple confirmed same-project PM matches invoke this selection rule, not a question asking the owner to choose. Keep the other confirmed candidates for label cleanup in step 5.
2. **Read before waking.** Resume from root `STATUS.html` and `LESSONS.md` with `repo-lessons`, and inspect the selected old PM's saved activity plus verified source context when different or archived. Request a live handoff only for information unavailable there and when the old PM has capacity. Exhausted quota never requires a live handoff and must not block an otherwise verified takeover. Preserve unrelated checkout changes.
3. **Inventory retained agents.** Identify workers and watchers from actual parent relationships, explicit workstream assignments, and saved activity. Sharing a cwd is insufficient. Record each retained agent's Paseo ID, workspace ID, provider/native session ID, exact model, mode/thinking/features, role labels, cwd, and lifecycle state. Include assigned agents in other workspaces; leave unrelated agents alone. Completed workers stay in place by default without a retention question; include them only when the owner explicitly requested it. Read each provider's model catalog and copy IDs verbatim, including Claude `[1m]` suffixes and OpenCode provider prefixes. Do not replace a model with a similar one when its ID is unavailable.
4. **Prepare placement.** Rename self's workspace to the basename of its directory. Retained agents already there need no move. For others, use a supported relocation operation only after checking it preserves the recorded identities, native history, settings, roles, and usable cwd. A parent label changes ownership, not workspace membership. Do not create replacement sessions, filesystem aliases, or edit daemon storage. If the installed version cannot safely relocate an agent, report the concrete native dependency in [references/native-relocation.md](https://skilld.dev/api/skills-raw/enjoyoer/loadout/reassign-pm/references/native-relocation.md) and stop before role transfer or final archive. Do not archive workers merely to try importing them elsewhere.
5. **Transfer and verify.** Move retained agents to self's workspace and transfer their ownership through the supported parent operation; preserve unrelated labels. A parent label does not move Paseo's finish notification: it stays bound to the agent that launched or last prompted the worker. For each retained worker that is running, send it a short prompt from self with `send_agent_prompt` and `notifyOnFinish: true`, asking it to report to self when done; do not interrupt a mid-task worker with new instructions. For a retained worker that already finished after the old PM stopped reading, read its last output with `paseo agent logs <id> --tail <n>` and act on it; its report went to the old PM. Set self's name to `<Project> PM`, its `role=pm` and `project` labels, and its exact catalog model ID, preserving its other settings. Self takes only `role=pm` and `project` from the old PM: never copy opt-out labels (for example `noresume`, `noarchive`, or any other plugin opt-out) onto self, and remove any self already inherited; retained agents keep their own labels. The default PM profile is the PM model in OPC's [model map](../opc/references/routing.md#pms) unless the owner named another; report the profile set. Carry the PM files: Loadout's Pi launcher (`personal-skills/scripts/pi/launch.mjs`) gives each agent its own `PI_CODING_AGENT_DIR` at `<pi root>/agents/<agent id>/`, where `<pi root>` is the directory holding the `launch.mjs` named in the host's Paseo `pi` provider command, and creates a fresh dir for a new agent without copying the PM addendum `APPEND_SYSTEM.md` or the per-agent overlays `settings.overlay.json` (for example a PM's `skillsExclude`) and `models.overlay.json`. If the selected old PM ran on Pi on self's host, handle each of those three files its agent dir holds the same way: copy it unchanged into self's agent dir, building both paths with the host's native path API (Windows root included), and verify the SHA-256 hashes match; if self's dir already holds a different one, do not overwrite it and report the conflict. Never copy any other file from the old dir (sessions, `mcp.json`, `settings.json`, `models.json`, auth). If self is not on Pi, report each as not carried. A carried file takes effect when self's Pi process next starts or resumes. Inspect self and every retained agent: verify destination workspace, parent ownership, finish notification re-armed for running workers, unchanged Paseo/native IDs and history, catalog model, settings, roles, no opt-out labels on self, each of `APPEND_SYSTEM.md`, `settings.overlay.json` and `models.overlay.json` carried with a matching hash or reported absent or not carried, usable cwd, and unarchived state. On a failed check, stop before label retirement or archiving and report any partial changes within the resolved project.

   After replacement and retained-agent verification, re-query globally and retire only stale `role=pm` assignments on other confirmed same-project candidates beyond self and the selected old PM, using supported label updates. In 0.10.2, `paseo agent update <id> --label 'role='` clears PM membership with an empty string; the public update schema does not accept null deletion. Verify that `role` no longer equals `pm`. Preserve their other labels, sessions, history, settings, lifecycle state, and workspaces. Announce the affected IDs and verify each label change and preservation. Leave unconfirmed candidates untouched and report unresolved evidence; a failed cleanup blocks the final archive. Duplicate labels alone do not require an owner selection question or authorize archiving those other agents.
6. **Archive last.** Only after those checks, archive the selected old PM. Re-query globally: exactly one unarchived `role=pm/project=<name>` match must be self, and retained agents must remain unarchived in self's workspace. Archive the old workspace only when the owner explicitly requested it: re-inventory every remaining agent and terminal, verify retained agents are absent, and confirm the cascade is within that request. Never archive the replacement workspace. Local checkout files and native history must survive; stop if removing a managed worktree would violate that requirement.

Update the owned root memory under its local commit/ignore policy. Report the new PM ID/model, PM addendum and overlay status, selected old PM ID and evidence, archived PM ID, stale PM label removals, retained-agent placement, any workspace archive, and unresolved dependencies. Then continue the assigned work.

## Installed provenance limits

Observed in Paseo 0.10.2: protocol `messages.js` defines `agent.fork_context.request` with `agentId`, optional `boundaryCursor`/`boundaryMessageId`, and `requestId`. The response contains the requested `agentId`, attachment, item count, boundary, and error; client `daemon-client.js` method `buildAgentForkContext` retrieves that source history. This generates context for the requested agent, not a child-to-source lookup. Server `agent/activity-curator.js` generates an attachment whose `Source agent:` is a title and `Source directory:` is a cwd, not a full PM ID. Protocol `AgentSnapshotPayloadSchema` has no persisted fork-source field, and the CLI has no fork-context command. Use provenance actually available in the current fork or supplied context and corroborate it; otherwise use creation-time selection. Recheck the installed protocol/client and CLI surface when versions change rather than inventing metadata fields.
