Register another project as the parent of the current project. Creates or updates linking/link_topology.md on both sides when the parent is locally accessible.
@g-pcac-claim command. When you want to establish a child→parent relationship from
this project up to another. Run from the child project. Mirror of g-skl-pcac-adopt.
@g-pcac-claim <parent_project_path> [--one-way]
parent_project_path — absolute path to the parent project (e.g. G:\galdr_ecosystem\galdr_master_control)--one-way — update only THIS project's topology; skip writing to the parent (use when parent is remote or read-only)Read .galdr/.identity:
project_id, project_name, project_pathIf .galdr/.identity not found → stop: "No .galdr/ found. Run @g-setup first."
Read <parent_path>/.galdr/.identity:
project_id, project_nameIf parent .identity not found:
--one-way NOT set → stop: "Parent has no .galdr/.identity. Ensure parent has galdr installed, or use --one-way."--one-way → prompt for parent project_name and project_id manually, continue.galdr/linking/
link_topology.md ← create if missing
INBOX.md ← create if missing
README.md ← create if missing
peers/ ← create if missing
If link_topology.md already exists: read it, parse YAML frontmatter.
If missing: initialize with current project's identity, role=child.
If parent is already set in current topology AND differs from the new parent:
⚠️ This project already has a parent: <existing_parent_name> (<existing_parent_path>)
Overwrite with: <new_parent_name>? (y/n)
Wait for confirmation before proceeding.