Skip to content

docs(ops): dormant services documentation refresh - #792

Merged
POWERFULMOVES merged 9 commits into
mainfrom
docs/dormant-services-ops-refresh
Mar 4, 2026
Merged

POWERFULMOVES merged 9 commits into
mainfrom
docs/dormant-services-ops-refresh

Conversation

@POWERFULMOVES

@POWERFULMOVES POWERFULMOVES commented Mar 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add Model Management section to MAKE_TARGETS.md documenting up-model-management, down-model-management, and health-dormant targets (PR fix(make): harden dormant model-management lifecycle targets #791)
  • Add bringup-layered documentation showing model-management layer in the deterministic bring-up sequence
  • Register port 8200 (GPU Orchestrator) and port 8074 (Transcribe Backend) in PORT_REGISTRY.md
  • Add health endpoint docs for model-registry, gpu-orchestrator, and transcribe-backend to SERVICE_HEALTH_ENDPOINTS.md
  • Add full catalog entries for all three formerly-dormant services to services-catalog.md with ports, APIs, NATS subjects, dependencies, and compose profiles

Closes documentation gaps from PRs #787-790 (dormant service activation) and PR #791 (Makefile lifecycle hardening).

Test plan

  • Verify no duplicate ports in PORT_REGISTRY.md (grep -E '^\| [0-9]+' | awk -F'|' '{print $2}' | sort | uniq -d)
  • Verify no broken relative links in updated docs
  • Cross-reference NATS subjects against .claude/context/nats-subjects.md
  • Confirm bringup-layered layer ordering matches actual Makefile

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Added docs for Model Registry, GPU Orchestrator, and Transcribe Backend: health endpoints, ports, compose profiles, quick‑reference links, and a port‑collision note for the VPN server.
  • New Features
    • Added model-management operational targets and a layered bring‑up workflow; introduced health-dormant checks, expanded showtime verification outputs and tuning knobs, and new smoke/verification targets.

hunnibear and others added 4 commits March 4, 2026 11:52
Add new Model Management section documenting up-model-management,
down-model-management, and health-dormant targets introduced in PR #791.
Update Preflight section to document bringup-layered now including the
model-management layer between minimal and workers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…RY.md

Register port 8200 (GPU Orchestrator) and port 8074 (Transcribe Backend)
in the Core Services tier. Update the 8200-8999 range example to include
GPU Orchestrator alongside Archon.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Document health endpoints, additional APIs, NATS subjects, and
availability notes for model-registry (8110), gpu-orchestrator (8200),
and transcribe-backend (8074).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…nd to services-catalog

Add full catalog entries for the three formerly-dormant services activated
in PRs #787-791. Includes ports, APIs, NATS subjects, dependencies,
compose profiles, and lifecycle notes. Updates Quick Reference health
endpoint listing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: ae7efd2e-4c3f-446e-ba8e-6c10b0d49677

📥 Commits

Reviewing files that changed from the base of the PR and between b7fb8d1 and c86a2fa.

📒 Files selected for processing (1)
  • pmoves/docs/operations/MAKE_TARGETS.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • pmoves/docs/operations/MAKE_TARGETS.md

📝 Walkthrough

Walkthrough

Added three services (Model Registry, GPU Orchestrator, Transcribe Backend) to docs and orchestration: ports, health endpoints, NATS topics, compose profiles, port-collision note; added Model Management Make targets and layered bring-up ordering plus showtime verification targets.

Changes

Cohort / File(s) Summary
Service Catalog
\.claude/context/services-catalog.md
Added Model Registry, GPU Orchestrator, and Transcribe Backend entries with ports, APIs, NATS topics, dependencies, Docker images, compose profiles, lifecycle notes, and port-collision remark for port 8110.
Make targets & orchestration
pmoves/docs/operations/MAKE_TARGETS.md
Added Model Management targets (up-model-management, down-model-management, health-dormant), bringup-layered ordering (inserts model-management layer), and expanded showtime / artifact generation targets and tuning knobs.
Ports & Health docs
pmoves/docs/operations/PORT_REGISTRY.md, pmoves/docs/operations/SERVICE_HEALTH_ENDPOINTS.md
Registered GPU Orchestrator (8200) and Transcribe Backend (8074); documented health endpoints, NATS subjects, and quick-reference health links for the three services; updated orchestration services row.

Sequence Diagram(s)

sequenceDiagram
  participant Dev as Developer/Make
  participant Orch as docker-compose (Orchestration)
  participant Docker as Docker Engine
  participant MR as Model Registry
  participant GPU as GPU Orchestrator
  participant Workers as Workers
  participant Agents as Agents
  participant Monitor as Monitoring
  rect rgba(100,149,237,0.5)
    Dev->>Orch: make bringup-layered
    Orch->>Docker: start minimal services
    Orch->>Docker: start model-management (MR, GPU)
    Docker->>GPU: detect NVIDIA runtime (optional)
    Docker->>MR: expose /health
    Docker->>GPU: expose /health, /metrics
    Orch->>Docker: wait/check health-dormant statuses
    Orch->>Docker: start Workers
    Orch->>Docker: start Agents
    Orch->>Monitor: start monitoring
    Orch->>Dev: emit showtime artifacts (links, JSON)
  end
Loading

Estimated Code Review Effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Poem

🐰
I hopped through docs and launched a tray,
Registry, GPU, and transcribe at play.
Ports settled in, health pings softly sing,
Make hums the tune — containers take wing.
A tiny hop, a tidy log — joy in spring.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: documentation refresh for dormant services operations.
Description check ✅ Passed The description covers required sections (Summary with detailed bullets, Test plan with verification steps) but lacks the Testing section execution results and Required Checks completion status.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/dormant-services-ops-refresh

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (1)
pmoves/docs/operations/SERVICE_HEALTH_ENDPOINTS.md (1)

45-63: Clarify Docker health-status behavior for GPU Orchestrator and Transcribe Backend.

Since these services currently expose HTTP health endpoints but lack compose healthcheck blocks, add a short note to prevent confusion when operators see running instead of healthy in container status outputs.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pmoves/docs/operations/SERVICE_HEALTH_ENDPOINTS.md` around lines 45 - 63, Add
a short clarifying note under both "GPU Orchestrator" and "Transcribe Backend"
explaining that although each service exposes an HTTP health endpoint (health
path `/healthz`), the Docker Compose files do not include a `healthcheck` block,
so `docker ps` may show the container as "running" rather than "healthy";
reference the service names ("GPU Orchestrator", "Transcribe Backend") and the
health path `/healthz`, and suggest either adding a Compose `healthcheck` or
noting that operators should query the HTTP endpoint directly to verify health.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.claude/context/services-catalog.md:
- Around line 124-138: The Model Registry entry currently lists "Ports: 8110"
which collides with the BoTZ VPN MCP Server also documented as 8110; either
change the Model Registry port to a non-conflicting value (update the "Ports:
8110" line and any Compose/service config associated with the Model Registry) or
add an explicit conflict note clarifying profile separation (mentioning that
Model Registry uses compose profile "orchestration" and should not be exposed
when BoTZ VPN MCP Server is active) so operators know which service owns 8110;
update the "Ports: 8110" line or add a sentence like "Port 8110 collides with
BoTZ VPN MCP Server — ensure only one profile exposes this port or change one
service's port" and ensure any referenced NATS/Compose profile info remains
consistent with the change.

In `@pmoves/docs/operations/MAKE_TARGETS.md`:
- Line 28: Update the GPU-detection command in MAKE_TARGETS.md to match the
Makefile: replace the documented `docker info --format '{{json .Runtimes}}' |
grep nvidia` with the exact command used in the implementation `docker info
--format '{{json .Runtimes}}' | grep -qi nvidia` so the docs and the Makefile
(the GPU detection logic) stay in sync.

In `@pmoves/docs/operations/PORT_REGISTRY.md`:
- Line 15: The table row currently reads "8200-8999 | Orchestration Services |
GPU Orchestrator 8200, Archon 8181" but Archon 8181 falls outside the 8200-8999
range; update that row so the example matches the range by either replacing
"Archon 8181" with an in-range instance (e.g., "Archon 8281" or another
identifier between 8200–8999) or change the displayed range to include 8181 (for
example "8100-8999") so the example and range are consistent.

---

Nitpick comments:
In `@pmoves/docs/operations/SERVICE_HEALTH_ENDPOINTS.md`:
- Around line 45-63: Add a short clarifying note under both "GPU Orchestrator"
and "Transcribe Backend" explaining that although each service exposes an HTTP
health endpoint (health path `/healthz`), the Docker Compose files do not
include a `healthcheck` block, so `docker ps` may show the container as
"running" rather than "healthy"; reference the service names ("GPU
Orchestrator", "Transcribe Backend") and the health path `/healthz`, and suggest
either adding a Compose `healthcheck` or noting that operators should query the
HTTP endpoint directly to verify health.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a845e662-a979-48ee-89de-bce9eb2ab598

📥 Commits

Reviewing files that changed from the base of the PR and between 03cead9 and 8134e18.

📒 Files selected for processing (4)
  • .claude/context/services-catalog.md
  • pmoves/docs/operations/MAKE_TARGETS.md
  • pmoves/docs/operations/PORT_REGISTRY.md
  • pmoves/docs/operations/SERVICE_HEALTH_ENDPOINTS.md

Comment thread .claude/context/services-catalog.md
Comment thread pmoves/docs/operations/MAKE_TARGETS.md Outdated
Comment thread pmoves/docs/operations/PORT_REGISTRY.md Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@pmoves/docs/operations/MAKE_TARGETS.md`:
- Around line 265-268: Update the documentation for the make target
bringup-layered to avoid claiming readiness gating; change the wording that
currently says the model-management layer "ensures model-registry and
(optionally) gpu-orchestrator are ready before dependent workers start" to
something like "starts model-registry and (optionally) gpu-orchestrator before
workers" to match the Makefile behavior (the make target bringup-layered simply
runs up-model-management then up-workers sequentially without health checks or
polling), and ensure any “Model management ready” wording is removed or
rephrased to reflect that docker compose up -d only starts services and does not
wait for actual service readiness.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5a6915a1-ac69-4fc5-bed8-75a2c35bf8dd

📥 Commits

Reviewing files that changed from the base of the PR and between 8134e18 and a721023.

📒 Files selected for processing (3)
  • .claude/context/services-catalog.md
  • pmoves/docs/operations/MAKE_TARGETS.md
  • pmoves/docs/operations/PORT_REGISTRY.md

Comment thread pmoves/docs/operations/MAKE_TARGETS.md

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@pmoves/docs/operations/MAKE_TARGETS.md`:
- Line 36: Update the documentation line that currently reads "Reports
per-service: `healthy` / `running` (no healthcheck) / `starting` / `FAIL` /
`SKIP`" to reflect the actual output of the make target; change it to state that
make health-dormant emits `OK` / `STARTING` / `FAIL` / `SKIP`, and note that
both `healthy` and `running` map to `OK` so operators won’t confuse the expected
output when matching smokes or runbooks. Target the text mentioning `make
health-dormant` / the "Reports per-service" status list and replace the labels
and mapping explanation accordingly.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 09c9f929-89ae-41a9-9140-f3af729a575c

📥 Commits

Reviewing files that changed from the base of the PR and between a721023 and b7fb8d1.

📒 Files selected for processing (1)
  • pmoves/docs/operations/MAKE_TARGETS.md

Comment thread pmoves/docs/operations/MAKE_TARGETS.md Outdated
@POWERFULMOVES
POWERFULMOVES merged commit 5f4f7fe into main Mar 4, 2026
6 checks passed
@POWERFULMOVES
POWERFULMOVES deleted the docs/dormant-services-ops-refresh branch March 4, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants