Skip to content

PointSav Documentation

The engineering library for the PointSav platform — operating systems and services for regulated businesses that own their data, their AI, and their record-keeping outright. Where the monorepo holds the code, this wiki holds the reasoning: architecture, services, security, and the governance commitments that bind future development.

Configure the Doorman gateway

Prerequisites

  • The slm-doorman-server binary (or the slm-doorman systemd unit) available on the deployment host
  • The local SLM model binary present at the path Tier A expects (see local-slm.service)
  • A terminal session on the host where Doorman will run
  • Network access to a Yo-Yo GCE endpoint, if Tier B burst compute is wanted (optional)
  • API keys for Anthropic, Gemini, or OpenAI, if Tier C external fallback is wanted (optional)

Purpose

The Doorman gateway routes inference and audit-proxy requests to one of three tiers: Tier A (a local small model), Tier B (Yo-Yo GCE burst compute, optional), or Tier C (external vendor APIs, optional). Doorman is configured entirely through environment variables — there is no configuration file. A Doorman with only Tier A configured is a complete, valid deployment ("community-tier mode"); Tiers B and C are additive, not required.

Procedure

  1. Set the bind address. Doorman listens on SLM_BIND_ADDR (default 127.0.0.1:9080 — loopback only; put a TLS-terminating reverse proxy in front for anything beyond same-host traffic).

  2. Set the Tier A (local) endpoint and model. SLM_LOCAL_ENDPOINT must match the address local-slm.service binds to (default http://127.0.0.1:8080). SLM_LOCAL_MODEL must match the model filename that service loaded at boot (for example Olmo-3-1125-7B-Think-Q4_K_M.gguf). These two variables are the only ones required for Doorman to start and serve requests.

  3. Optional: set the Tier B (Yo-Yo) variables. Leave every SLM_YOYO_* variable empty or unset to stay in community-tier mode (Tier A only) — Doorman boots cleanly either way. To enable Tier B, set at minimum SLM_YOYO_ENDPOINT (the Yo-Yo GCE inference URL) and SLM_YOYO_BEARER (a static bearer token for the dev/staging path; a real GCP Workload Identity deployment replaces this with a provider-specific token). SLM_YOYO_MODEL names the model served at that endpoint.

  4. Optional: set the Tier C (external) variables. Each provider (SLM_TIER_C_ANTHROPIC_*, SLM_TIER_C_GEMINI_*, SLM_TIER_C_OPENAI_*) needs its own endpoint, API key, and per-million-token input/output rates. Any provider left unset stays disabled; the audit-proxy route (POST /v1/audit/proxy) returns 503 with an explanatory "unconfigured" message until at least one is set — this is correct, expected behavior, not an error state.

  5. Place the populated variables in an EnvironmentFile (for example /etc/local-doorman/local-doorman.env) and point the systemd unit's EnvironmentFile= directive at it, or add the values as inline Environment= lines in a unit drop-in. Values in the EnvironmentFile take precedence over any inline Environment= lines already in the unit.

  6. Start the service:

    sudo systemctl start slm-doorman
    

Expected outcome

Doorman starts and begins accepting requests on SLM_BIND_ADDR, regardless of whether Tier B or Tier C are configured. GET /healthz returns 200 immediately as a liveness check. GET /readyz returns readiness plus tier state once Doorman has finished building its internal router.

Verification

Check readiness and tier state:

curl http://127.0.0.1:9080/readyz

A healthy Tier-A-only ("community-tier") response includes:

{
  "tier_a": true,
  "tier_b": false,
  "tier_c": false,
  "has_local": true,
  "has_yoyo": false,
  "has_external": false,
  "ai_available": true
}

tier_a/tier_b/tier_c (and their has_local/has_yoyo/has_external equivalents) are booleans, not a circuit-state string — a tier reads true once its dependency is reachable, false otherwise. ai_available is true whenever any one tier is up. Tier B additionally exposes its own circuit-breaker detail at GET /v1/status/yoyo (Yo-Yo node circuit states) — a Tier-B request that hits an open Yo-Yo circuit falls back to Tier A automatically rather than failing.

Confirm routing, not just readiness, by submitting a real request:

curl -X POST http://127.0.0.1:9080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"messages":[{"role":"user","content":"Say hello in one word."}]}'

Rollback

Stop the service and remove or comment out the variables you changed:

sudo systemctl stop slm-doorman

Tier B and Tier C are additive and independently disable-able — clearing SLM_YOYO_ENDPOINT or a SLM_TIER_C_* provider's key returns Doorman to community-tier mode on the next restart without affecting Tier A.

Next steps

See also

Cite this record: /wiki/configure-doorman — revision 00e05a15, last updated 4 August 2026.

Important Information

Corporate structure. PointSav Digital Systems ("PointSav") is currently a trade name of Woodfine Capital Projects Inc. ("Woodfine"), planned to become a wholly-owned Woodfine subsidiary upon incorporation. PointSav does not itself offer, sell, or solicit any security. Any securities offering associated with Woodfine's real-property direct-hold solutions is made exclusively by Woodfine, and only by means of the applicable Private Placement Memorandum.

No investment advice. This wiki's content is provided for engineering, operational, research, and development purposes. Nothing on this wiki constitutes investment advice or a solicitation to invest in any Woodfine partnership or direct-hold solution.

Intellectual property. The PointSav name, trade name, wordmark, and marks, together with all current and future PointSav- and Totebox-branded products, services, and offerings — and the software, source code, documentation, design system, and all related materials — are proprietary to Woodfine and its affiliates, except for components identified as open source. No rights are granted except as expressly set out in a written license or agreement. The full trademark notice appears in the footer of every page on this site.

Open source components. Portions of the platform are made available under permissive open-source licenses identified in the accompanying repository. Use of those components is governed by their respective license terms.

No warranty; informational use. Content on this wiki is provided for general informational purposes only and does not constitute a representation, warranty, or commitment with respect to product functionality, availability, pricing, or roadmap. Some articles describe planned or intended features, capabilities, and milestones — language such as "planned," "intended," "targeted," "may," and "expected" marks this forward-looking content, which is subject to change and does not constitute a commitment regarding future performance.

Confidentiality. Where an article describes an operational or deployment detail that is not intended for public disclosure, that article is not published on this wiki. Content here is general-purpose engineering documentation, not customer-specific configuration.

Jurisdiction. Woodfine Capital Projects Inc. is organized in British Columbia, Canada. References to the Sovereign Data Foundation on this wiki describe a planned or intended initiative only, not a current equity holder or active governance body.

Changes to this notice. PointSav may update this notice from time to time; the version posted on this page governs.

Not a filing system. This wiki is not a securities filing system, an electronic disclosure repository, or a substitute for SEDAR+ or any other regulatory filing system. Formal securities filings are made through the applicable regulatory filing system, not through this wiki.

Full disclaimer. This notice supplements, and does not replace, the full Disclaimers article. In the event of any conflict, the full Disclaimers article governs.

Read the full disclaimer →