feat: publish repository classification projections

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a053ff-1d6f-7fe2-ac1c-a6eb40a42a0c
This commit is contained in:
tegwick 2026-09-01 00:48:32 +02:00
parent 90e8d78ad3
commit 54271a2261
8 changed files with 1327 additions and 1 deletions

View file

@ -1,13 +1,15 @@
# Repo Manager — local developer targets (RMGR-ADR-001)
UV ?= $(shell command -v uv 2>/dev/null || if [ -x "$$HOME/.local/bin/uv" ]; then printf "%s" "$$HOME/.local/bin/uv"; else printf "%s" "uv"; fi)
.PHONY: help install test lint cli-version
.PHONY: help install test lint cli-version publisher-run publisher-snapshot
help:
@echo "Repo Manager targets:"
@echo " make install # uv sync / editable install"
@echo " make test # pytest"
@echo " make cli-version # rmgr --version"
@echo " make publisher-run # serve the read-only port.repo publisher"
@echo " make publisher-snapshot REGISTRY=... CURSOR_SECRET=..."
@echo " (api/db/migrate land with first runtime slice)"
install:
@ -21,3 +23,10 @@ lint:
cli-version:
$(UV) run rmgr --version
publisher-run:
$(UV) run rmgr publisher api --host $${HOST:-127.0.0.1} --port $${PORT:-8020}
publisher-snapshot:
@test -n "$(REGISTRY)" && test -n "$(CURSOR_SECRET)"
$(UV) run rmgr publisher snapshot --registry "$(REGISTRY)" --cursor-secret "$(CURSOR_SECRET)"