gc_project_registry
Manage and query the canonical project registry: list, fetch, create, or update project records, sync from the registry config file, and list registered git repos to keep project metadata consistent.
Instructions
Canonical project registry for Grand Central. Actions:
list: list all registered projects
get: fetch one project by id
upsert: create or update one project (supports partial payloads; metadata is merged)
sync: sync projects from ~/.config/gc/registry.toml into the registry DB
repos: list registered git repos
Use this as the source of truth for project metadata such as repo paths, canonical docs, related projects, and strategy-sync metadata. Prefer this over maintaining sidecar maps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Project id for action=get or action=upsert | |
| name | No | Human-readable project name for action=upsert | |
| path | No | Primary repo/worktree path for action=upsert | |
| tags | No | Project tags | |
| notes | No | Operator notes | |
| ports | No | Named ports map | |
| stack | No | Tech stack summary | |
| action | Yes | Project registry action | |
| branch | No | Default or canonical branch | |
| domain | No | Primary domain | |
| source | No | Source tag for upsert | |
| status | No | Project status | |
| domains | No | Associated domains | |
| commands | No | Useful commands | |
| data_dir | No | Primary data directory, if applicable | |
| metadata | No | Additional metadata; merged into existing metadata_json | |
| repo_url | No | Repo remote URL | |
| key_files | No | Key file paths | |
| binary_path | No | Binary path, if applicable | |
| description | No | Project description | |
| canonical_path | No | Canonical path when path is a worktree or alias | |
| last_synced_at | No | ISO timestamp override | |
| launchd_service | No | launchd service name, if applicable | |
| related_projects | No | Related project ids |