Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
docs(host-context-controller): correct frontsOAuthServer docstring (R4-L7)
Diego Zacariasb06acad77752
diff --git a/host-context-controller/package-lock.json b/host-context-controller/package-lock.jsonindex f02d8db39..fd8dcd343 100644--- a/host-context-controller/package-lock.json+++ b/host-context-controller/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-host-context-controller",- "version": "0.1.250",+ "version": "0.1.251","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-host-context-controller",- "version": "0.1.250",+ "version": "0.1.251","license": "SEE LICENSE IN LICENSE","dependencies": {"@clerum/image-policy": "file:../packages/image-policy",diff --git a/host-context-controller/package.json b/host-context-controller/package.jsonindex 189a692dd..8e8a38126 100644--- a/host-context-controller/package.json+++ b/host-context-controller/package.json@@ -1,6 +1,6 @@{"name": "clerum-host-context-controller",- "version": "0.1.250",+ "version": "0.1.251","description": "Host Context Controller - provides McpServer CRDs to mcp-host via REST API","main": "dist/main.js","engines": {diff --git a/host-context-controller/src/hostReconciler.ts b/host-context-controller/src/hostReconciler.tsindex 49e5f2779..a62ebebd7 100644--- a/host-context-controller/src/hostReconciler.ts+++ b/host-context-controller/src/hostReconciler.ts@@ -665,8 +665,14 @@ export class HostReconciler {* Whether this Host fronts an enabled `auth.type: oauth` mcp-server, gating* the derive-only `oauth:user-token` runtime scope. Fails CLOSED (false) when* the cross-CRD read throws: an uncertain read must never grant the scope.- * Computed ONCE per reconcile and threaded into BOTH the mint-scope derive- * and the drift hash so the two never diverge.+ *+ * Each call is an INDEPENDENT live point-in-time read (mirrors+ * `hasChannelIngress`); the value is deliberately not cached across a+ * reconcile. Callers that need one consistent value within a unit of work+ * resolve it once and thread the same bool (see the issuance path, which+ * threads it into the mint-scope derive and the drift hash so they never+ * diverge); the deployment drift guard re-reads it on purpose to catch a+ * scope change mid-reconcile.*/private async frontsOAuthServer(host: HostCRD): Promise<boolean> {try {