Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

feat: Remote registry support and Realizar integration #2

Description

@noahgift

Summary

Add remote registry support and Realizar integration for unified model serving.

Spec: ../realizar/docs/specifications/local-global-slm-apr-llm-single-story-spec.md

Deliverables

Registry Backends

  • Local SQLite registry (existing)
  • Remote S3 backend (s3://bucket/prefix)
  • Remote GCS backend (gs://bucket/prefix)
  • Hybrid mode (local cache + remote source)

URI Scheme

pacha://model-name:version          # Explicit version
pacha://model-name:latest           # Latest version
pacha://model-name@sha256:abc123    # Content-addressed
pacha://model-name:production       # Stage alias

API Extensions

// Local registry (existing)
let registry = pacha::Registry::local("~/.realizar/models")?;

// Remote registry (NEW)
let registry = pacha::Registry::remote("s3://company-models")?;

// Hybrid (NEW)
let registry = pacha::Registry::hybrid(local, remote)?;

// Stage promotion (NEW)
registry.promote("my-model:1.0.0", Stage::Production)?;

CLI Commands

pacha push model.gguf --name my-model --version 1.0.0
pacha pull pacha://my-model:latest
pacha list [--remote]
pacha promote my-model:1.0.0 --stage production
pacha verify pacha://my-model:production

Model Lifecycle States

[Registered] → [Staged] → [Production] → [Deprecated]

Dependencies

Toyota Way Alignment

  • Kanban: Explicit lifecycle states
  • Jidoka: BLAKE3 verification, Ed25519 signing
  • Genchi Genbutsu: Model lineage tracking

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions