THE ARCHITECT'S VIEW

One portfolio.
Two connected flows.

See how a visitor gets an answer—and how a code change becomes a release. The same system, viewed from runtime and delivery.

Runtime & routing External model Delivery & verification
SYSTEM ARCHITECTUREOpen full-size diagram ↗
Visitor browser to HTTPS Nginx, website or protected chatbot, then OpenAI. Below: Forgejo source to Mac runner, image registry and VPS controller, with checks before promotion.

On a small screen, swipe across the map or open the full-size diagram. The explanations below describe the same flows.

01 / REQUEST PLANE

Serve the visitor.

  1. Browser → HTTPS. A visitor opens the public domain.
  2. Nginx → correct service. Normal pages go to the website container. Chatbot paths go to the backend.
  3. Backend → model. Input and request limits are checked before the model call. The API key stays on the server.
  4. Answer → browser. The widget renders plain text. It cannot execute server commands.
Learn the chatbot flow ↗
02 / DELIVERY PLANE

Release a change.

  1. PR → tests. Validation runs before a change is merged.
  2. Main → images. The Mac runner builds Linux AMD64 images for the VPS and publishes them by digest.
  3. Manifest → controller. Restricted SSH submits approved image identifiers to the server.
  4. Candidate → promotion. The new pair must pass before Nginx changes routing. The prior pair is retained.
Learn safe promotion ↗
BOUNDARIES THAT MATTER

What each part is allowed to do.

The browser

Can send a question and read a response. Never receives the model key or deployment key.

The Mac runner

Executes trusted jobs in its container setup. Holds the scoped registry and deployment credentials only where the job needs them.

The VPS

Serves traffic, retains quota data and the runtime model key, and verifies a candidate before promotion.

The model provider

Receives the question and approved portfolio facts. It has no server tools, Docker access or deployment authority.

CURRENT VERIFICATION

Working runtime.
Delivery being completed.

Public website and chatbot: verified. Tests, image publication and private pulls: verified. The initial candidate was blocked by a release-file permission issue. The fix is tested; production promotion and the live rollback drill remain pending.

See milestone evidence