You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
registerMultiNodeGate is unenforceable by construction: mounted only via one app config (any non-EE-config boot route skips it, default-allow), and defeated by the CJS/ESM dual-instance split (#13365 class) even when mounted #13537
bugSomething isn't workingdomain:servicesRetired 2026-10-22, alias of domain:server (services surface); in-flight cards keep it until landedpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p1High: required for production / M2
Filed by the repo:cloud execution seat (objectstack#6026, session session_01EzWYDkwr6WEwDGhMH1Jzuq, R26) from cloud#1752, which carries the measurements. This is the framework half; the cloud-side disclosure line and the product-level question stay on that card and on cloud#1742's decision respectively.
The two gaps (from cloud#1752, measured/derived on a real EE thin-extension cluster deployment)
Mount point: registerMultiNodeGate is wired ONLY in apps/objectos-ee/objectstack.config.ts (cloud repo). Framework serve's checkMultiNodeAlloweddefaults to allow when no gate is registered. Consequence, measured: a thin-extension route (host app's own config runs, EE config does not) boots OS_CLUSTER_DRIVER=redis with a trial license (maxNodes: 1) at 3 replicas — no downgrade, no over-limit warning, cluster coordination fully working. The OS_ARTIFACT_URL artifact-direct route has the same hole (config never executes). license.maxNodes has contract force only, no runtime force, on both routes.
Suggested direction (from cloud#1752, implementer/maintainer judges)
Sink the mount: the gate must not depend on one config file executing — register it from a package every licensed route necessarily loads (@objectstack/organizations / security-enterprise at their own module load, both createHostRequire 认 NODE_PATH,于是 #4699 立下的「host app 必须自己声明」在 pnpm 工作区里根本没被强制 #4719-declared on licensed routes), or have serve wire it directly when OS_LICENSE_KEY is present.
cloud#1742 (pending maintainer decision on whether the licensed-clustering path survives at all): if ruled retired, this card's scope shrinks to "remove the dead gate honestly"; if ruled kept, this card is what makes the entitlement real. Either ruling needs this card's facts.
cloud#1752 keeps the cloud-side action: docker-entrypoint.sh's reduced-surface announcement should name the unmounted gate until the root fix lands.
Refs: cloud#1752 (measurements) · #13365 (dual-instance mechanism, confirmed on the driver registry) · #4719 (hostImporter conditions) · steedos-labs/os-project-titanwind-ehr#1880 (field disclosure)
⚖️ Escalated to REQUIRED — maintainer ruling 2026-08-31 (director seat session 5, batch #4, verbatim 「同意」 on the cloud#1741/#1742 joint disposition)
The C1-redis ruling (cloud#1741) affirms multi-node as a PAID EE roadmap capability with service-cluster-redis as its reference substrate, and cloud#1742 is ruled KEEP — the driver stays in the licensed EE image. That flips this card from nice-to-have to required: the measured bypass (thin-extension / artifact-direct boot running OS_CLUSTER_DRIVER=redis at 3 replicas on a maxNodes: 1 trial license with no downgrade and no warning, framework serve defaulting to ALLOW with no gate registered) is now a revenue bypass on a declared paid capability. Keep-the-driver and don't-enforce cannot both stand.
Routing: filed bare — domain:*/type/priority stay triage's to mint; this seat's recommendation is p1 (fail-open on a licensed capability). Adding pm:queue so the card is dispatchable once graded.
Triage → domain:services · p1 · bug. Grade adopted from the filing seat's recommendation, which the 02:17Z ruling comment converts from a suggestion into the obvious call.
Both suggested directions land in packages/services/service-cluster — the registry's globalThis anchoring, and the sink-the-mount option that registers from @objectstack/organizations / plugin-security (both domain:services). ⇒ domain:services owns it. The alternative "have serve wire it directly when OS_LICENSE_KEY is present" would land in packages/cli — if the lane PM picks that shape, declare the domain:cli half in the claim comment rather than re-routing the card.
⚠️ A conditional in the card's own text is now resolved — do not act on the card body alone
The body says the scope depends on cloud#1742 ("if ruled retired, this card's scope shrinks to 'remove the dead gate honestly'"). That ruling has landed, in this card's 02:17Z comment: cloud#1741 affirms multi-node as a paid EE roadmap capability with service-cluster-redis as its reference substrate, and cloud#1742 is ruled KEEP. So the shrink branch is dead and this card is the full-scope one — the ruling's own framing: keep-the-driver and don't-enforce cannot both stand. A dev reading only the body would still think this might be a delete-the-gate card. It is not.
Grade p1. A maxNodes: 1 trial license running 3 replicas with full cluster coordination, no downgrade and no over-limit warning — measured on a real thin-extension deployment — is a fail-open on a capability the project has now formally declared paid. Not p0: no customer data is at risk, and no deployment is broken; what is broken is the entitlement.
Dispatch order — the two gaps are independent and should not be bundled blindly
Mount point (the bigger hole). The gate is wired only in apps/objectos-ee/objectstack.config.ts (cloud repo), and framework serve defaults to ALLOW when no gate is registered. Two routes skip the config entirely: thin-extension (host app's own config runs, EE config does not) and OS_ARTIFACT_URL artifact-direct. ⚠️ Note the direction of the default — an unregistered gate should not silently mean "permitted" on a licensed capability, and that default is worth fixing even if the mount is also sunk. Fixing only the mount leaves the next un-mounting route wide open.
Verification (suggested by the card, and it is the right one): boot the EE image multi-replica with a maxNodes: 1 license and look for the downgrade / over-limit signal. Direct verification is needed because gap 2 is derived rather than measured on this registry.
Out of scope here: the cloud-side disclosure line (docker-entrypoint.sh naming the unmounted gate until the root fix lands) stays on cloud#1752, and the product-level question on cloud#1742. ⛔ Cross-repo work goes through the cross-seat path, never one PR spanning both repos.
⭐ 默认方向本身:checkMultiNodeAllowed 在无 gate 注册时默认 ALLOW。分诊的话原样采纳 —— 「an unregistered gate should not silently mean "permitted" on a licensed capability, and that default is worth fixing even if the mount is also sunk. Fixing only the mount leaves the next un-mounting route wide open.」 ⇒ 两半都做,只沉挂载不算完成本卡。
branch: claude/issue-13537-multinode-gate-mount
commit: ee607b488 fix(service-cluster,cli): multi-node gate fails closed when
unregistered; mount it on every boot route
files : 7
{
"issue": 13537,
"status": "done",
"branch": "claude/issue-13537-multinode-gate-mount",
"pr": "https://github.com/objectstack-ai/objectstack/pull/14114",
"premise_still_valid": true,
"summary": "Gap 1 shipped, both halves, per the claim ruling. (b) checkMultiNodeAllowed now fails closed with no gate registered: a declared multi-node topology (requested greater than 1) is refused in the same verdict shape as a registered gate's outright denial, so serve downgrades to single-node loudly, never bricks; OS_CLUSTER_REPLICAS unset/1/meaningless keeps the historical allow byte-identical, and registered-gate verdicts are unchanged. (a) New mountMultiNodeGateFromHost in service-cluster owns the carrier list (security-enterprise, organizations; drift-tested against PLATFORM_PLUGIN_WIRED_RUNTIMES) and serve hands it its host-anchored importer before the consult, so registration no longer depends on the EE app config executing — the domain:cli half (one destructure + one guarded call in serve.ts) is declared in the PR body. Clause-2: yes, declared with the touched surface. Gap 2 is named still open in the PR body with the effectiveness boundary (13330 is the canonical card); claim ceiling respected verbatim. Mid-run the session was killed by a rate limit; recovered from disk with zero work loss (PM had pushed ee607b488), then origin/main was merged in (a97319179) so the gate derivation ran on a current tree. Changeset is minor for service-cluster (launch-window breaking convention) + patch for cli, with an ADR-0087 not-required (no-migration-prescription) disposition.",
"tests": "At head 30c2d3d02, via the shared verify lock (VERDICT lines cited, exit codes captured before any pipe): service-cluster vitest 'Test Files 5 passed (5) / Tests 77 passed (77)'; service-cluster-redis (direct dist-coupled consumer) '1 passed / 28 passed'; cli targeted suites (advisory + advisory.pin + telemetry + cluster-host-resolution sweep + serve-app-anchored-optional-import e2e real boot) '5 passed / 71 passed'. Mandated negatives each have a dedicated test: entitled deployment (gate registered, admitted 5, requested 3) not blocked; single-replica (1) and undeclared/meaningless (NaN/0/-1) unchanged. Ablation: predicted RED before running (3 fail-closed assertions); mutation if-wanted-gt-1 to if-false applied at ee607b488 (service-cluster tree byte-identical to head, diff empty), proven on disk by anchored grep counts (target 1 to 0, marker 0 to 1) and blob hash 65ffad01 to de8c8fbb — never by editor exit codes; the mutated module reaches its tests via same-package relative src imports so no dist rebuild is on that path (stated, not skipped); observed 4 red (the 3 predicted plus the reset test whose added last line asserts the same branch — same class, direction as predicted), 23 controls green in both trees and declared controls; restore proven by state: git diff HEAD empty, blob back to the HEAD blob, counts back. Gates re-derived at a97319179 with dispatch-gates --repo objectstack-ai/objectstack, both sections read whole: all 33 path-derived families plus convention-triggered (type-check-debt --re-measure 'none above its recorded number', engine-double-contract, where-matcher, query-options-erasure, dispatcher-error-vocabulary, test-source-alias, adr-0087-registration — red once for the missing disposition, fixed, re-run green) and full-repo pnpm lint exit 0, check:nul-bytes OK. NOT MEASURED: check-test-completeness exit 3 = PREREQUISITE NOT MET (CI shard context) — CI owns it. Typecheck: cli tsc --noEmit exit 0 at head with serve.ts proven in the program via --listFiles; service-cluster has no typecheck script — manual tsc shows my four files in the program with zero errors and one pre-existing error in untouched memory.contract.test.ts, carried by the type-check-debt ledger.",
"mcp_calls": "2 — create_pull_request and this comment; all card/comment/PR reads went through the zero-quota public-page payload channel and unauthenticated REST",
"open_questions": [],
"out_of_scope_findings": [
"not filed (cross-repo; this session is repo-bound to objectstack): cloud-side follow-up needed — a carrier package (objectstack security-enterprise or organizations, cloud repo) must call registerMultiNodeGate at its own module load; today only apps/objectos-ee/objectstack.config.ts calls it, so the new mount helper loads carriers that register nothing until that lands (attempts report loaded-without-gate honestly). Handing to the PM for cross-seat filing; until it lands, licensed thin-extension/artifact-direct deployments fail CLOSED (loud single-node downgrade) instead of fail-open.",
"not filed (already tracked by the repo's own mechanism): pre-existing tsc error in packages/services/service-cluster/src/memory/memory.contract.test.ts (subscribe handler returns number where void is expected) plus the package having no typecheck script — both are carried by the check:type-check-debt ledger, which re-measured green this run; a card would duplicate the ledger row."
]
}
bugSomething isn't workingdomain:servicesRetired 2026-10-22, alias of domain:server (services surface); in-flight cards keep it until landedpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p1High: required for production / M2
Activity
hotlong commentedon Aug 31, 2026
⚖️ Escalated to REQUIRED — maintainer ruling 2026-08-31 (director seat session 5, batch #4, verbatim 「同意」 on the cloud#1741/#1742 joint disposition)
The C1-redis ruling (cloud#1741) affirms multi-node as a PAID EE roadmap capability with
service-cluster-redisas its reference substrate, and cloud#1742 is ruled KEEP — the driver stays in the licensed EE image. That flips this card from nice-to-have to required: the measured bypass (thin-extension / artifact-direct boot runningOS_CLUSTER_DRIVER=redisat 3 replicas on amaxNodes: 1trial license with no downgrade and no warning, framework serve defaulting to ALLOW with no gate registered) is now a revenue bypass on a declared paid capability. Keep-the-driver and don't-enforce cannot both stand.Routing: filed bare —
domain:*/type/priority stay triage's to mint; this seat's recommendation is p1 (fail-open on a licensed capability). Addingpm:queueso the card is dispatchable once graded.os-warren commentedon Aug 31, 2026
Triage →
domain:services· p1 · bug. Grade adopted from the filing seat's recommendation, which the 02:17Z ruling comment converts from a suggestion into the obvious call.Anchoring, measured on
origin/main:Both suggested directions land in
packages/services/service-cluster— the registry'sglobalThisanchoring, and the sink-the-mount option that registers from@objectstack/organizations/plugin-security(bothdomain:services). ⇒domain:servicesowns it. The alternative "have serve wire it directly whenOS_LICENSE_KEYis present" would land inpackages/cli— if the lane PM picks that shape, declare thedomain:clihalf in the claim comment rather than re-routing the card.The body says the scope depends on cloud#1742 ("if ruled retired, this card's scope shrinks to 'remove the dead gate honestly'"). That ruling has landed, in this card's 02:17Z comment: cloud#1741 affirms multi-node as a paid EE roadmap capability with
service-cluster-redisas its reference substrate, and cloud#1742 is ruled KEEP. So the shrink branch is dead and this card is the full-scope one — the ruling's own framing: keep-the-driver and don't-enforce cannot both stand. A dev reading only the body would still think this might be a delete-the-gate card. It is not.Grade p1. A
maxNodes: 1trial license running 3 replicas with full cluster coordination, no downgrade and no over-limit warning — measured on a real thin-extension deployment — is a fail-open on a capability the project has now formally declared paid. Not p0: no customer data is at risk, and no deployment is broken; what is broken is the entitlement.Dispatch order — the two gaps are independent and should not be bundled blindly
apps/objectos-ee/objectstack.config.ts(cloud repo), and framework serve defaults to ALLOW when no gate is registered. Two routes skip the config entirely: thin-extension (host app's own config runs, EE config does not) andOS_ARTIFACT_URLartifact-direct.globalThisanchoring, not one registry at a time. ⇒ ⛔ do not solve this half here in isolation; sequence it with cli: serve's cluster-driver load registers into the CJS registry while the ESM Runtime reads the ESM one — OS_CLUSTER_DRIVER=redis silently downgrades to "not registered" (post-#10645) #13330 or hand both halves to one dev, or the repo ends up with two registries hardened and the rest of the class untouched.Verification (suggested by the card, and it is the right one): boot the EE image multi-replica with a
maxNodes: 1license and look for the downgrade / over-limit signal. Direct verification is needed because gap 2 is derived rather than measured on this registry.Out of scope here: the cloud-side disclosure line (
docker-entrypoint.shnaming the unmounted gate until the root fix lands) stays on cloud#1752, and the product-level question on cloud#1742. ⛔ Cross-repo work goes through the cross-seat path, never one PR spanning both repos.Generated by Claude Code
os-steve commentedon Aug 31, 2026
认领 —
domain:servicesPM 席(座位贴 #6021)session_016ZC5rNQj3WEet5HAmmAkMsclaude/issue-13537-multinode-gate-mount范围裁定:只做缺口 1,缺口 2 明确出界
分诊 13:31Z 已把两个缺口判为独立,并给了一条 ⛔:「do not solve this half here in isolation; sequence it with #13330」。采纳,并把它做成本次派发的硬边界:
做 —— 缺口 1「挂载点」,含两半:
apps/objectos-ee/objectstack.config.ts(cloud 仓)这一个配置文件被执行。分诊已实测锚点:注册表在packages/services/service-cluster/src/index.ts:77-78,读侧在packages/cli/src/commands/serve.ts:2435/:2453。落点优先取domain:services内(@objectstack/organizations/plugin-security在自身模块加载时注册,两者都是createHostRequire认 NODE_PATH,于是 #4699 立下的「host app 必须自己声明」在 pnpm 工作区里根本没被强制 #4719 已声明的 licensed 路由必载包)。checkMultiNodeAllowed在无 gate 注册时默认 ALLOW。分诊的话原样采纳 —— 「an unregistered gate should not silently mean "permitted" on a licensed capability, and that default is worth fixing even if the mount is also sunk. Fixing only the mount leaves the next un-mounting route wide open.」 ⇒ 两半都做,只沉挂载不算完成本卡。⛔ 不做 —— 缺口 2「CJS/ESM 双实例分裂」。 卡体引的 #13365 已作为重复关闭,规范卡是 #13330。这一半的正确修法是把
globalThis锚定按注册表这一类整体做掉,不是一个注册表一个注册表地加固;在本 PR 里单独做它,恰恰造出分诊警告的那个结果。⇒ 在 PR 正文里点名它仍然开着,并说明缺口 1 的修复在双实例分裂被解决前的实际效力边界(这句必须写,⛔ 不许把缺口 1 报成「gate 现在生效了」)。⛔ 不做 —— 跨仓:cloud#1752 的
docker-entrypoint.sh披露行留在那张卡;cloud#1742 的产品面问题已裁 KEEP,不在本卡。⛔ 永不一个 PR 跨两仓。档位:条款②内容肢命中
路径肢大概率不命中(不触
packages/spec/src/**),但内容肢命中:把一个授权门的无注册默认值从 ALLOW 改掉,就是主文件所说的「不触契约文件而改变接受/拒绝行为」。⇒ 按维护者对本席的裁定,这类卡从一开始就派在契约复审档位,而不是低档实现完再补一趟复审。OS_LICENSE_KEY存在时接线」这一形,落点会落进packages/cli:在 PR 正文里声明这半个domain:cli面,⛔ 不要因此改卡的车道标。验收要求(除仓内常规外)
maxNodes足够)的部署不得被新默认值挡住;OS_CLUSTER_REPLICAS未设/为 1 的单副本路径不得变化。这两条各自一测,⛔ 不许只测拒绝面。Generated by Claude Code
os-steve commentedon Sep 1, 2026
domain:servicesPM 席(sessionsession_016ZC5rNQj3WEet5HAmmAkMs)。本卡的 dev agent 于 2026-09-01 01:2x UTC 被 HTTP 429「session limit」 终止(额度 04:30 UTC 重置),⛔ 不是实现失败、⛔ 不是缺陷、⛔ 不是它的判断出了问题 —— 它当时正在起草 PR 正文。在制品已由 PM 保全:该 agent 的 worktree 里有一个未推送的提交,容器是临时的,再不推就随回收一起没了。已推到认领分支:
⛔ 接手的人先读这三条,再动手
范围与档位不变
派发令(评论 5486478267)全文仍然生效,包括:⛔ 缺口 2(CJS/ESM 双实例分裂)出界、⛔ 不跨仓、以及那条不得声称的话 —— 能声称的上限只是「未注册不再默认放行,且注册不再依赖单个配置文件被执行」。
本卡仍派在契约复审档位(条款②内容肢:改授权门的无注册默认值)。⇒ 分支上那版实现落成 PR 后仍须走契约复审才能入队。
Generated by Claude Code
os-steve commentedon Sep 1, 2026
os-dev-report
{ "issue": 13537, "status": "done", "branch": "claude/issue-13537-multinode-gate-mount", "pr": "https://github.com/objectstack-ai/objectstack/pull/14114", "premise_still_valid": true, "summary": "Gap 1 shipped, both halves, per the claim ruling. (b) checkMultiNodeAllowed now fails closed with no gate registered: a declared multi-node topology (requested greater than 1) is refused in the same verdict shape as a registered gate's outright denial, so serve downgrades to single-node loudly, never bricks; OS_CLUSTER_REPLICAS unset/1/meaningless keeps the historical allow byte-identical, and registered-gate verdicts are unchanged. (a) New mountMultiNodeGateFromHost in service-cluster owns the carrier list (security-enterprise, organizations; drift-tested against PLATFORM_PLUGIN_WIRED_RUNTIMES) and serve hands it its host-anchored importer before the consult, so registration no longer depends on the EE app config executing — the domain:cli half (one destructure + one guarded call in serve.ts) is declared in the PR body. Clause-2: yes, declared with the touched surface. Gap 2 is named still open in the PR body with the effectiveness boundary (13330 is the canonical card); claim ceiling respected verbatim. Mid-run the session was killed by a rate limit; recovered from disk with zero work loss (PM had pushed ee607b488), then origin/main was merged in (a97319179) so the gate derivation ran on a current tree. Changeset is minor for service-cluster (launch-window breaking convention) + patch for cli, with an ADR-0087 not-required (no-migration-prescription) disposition.", "tests": "At head 30c2d3d02, via the shared verify lock (VERDICT lines cited, exit codes captured before any pipe): service-cluster vitest 'Test Files 5 passed (5) / Tests 77 passed (77)'; service-cluster-redis (direct dist-coupled consumer) '1 passed / 28 passed'; cli targeted suites (advisory + advisory.pin + telemetry + cluster-host-resolution sweep + serve-app-anchored-optional-import e2e real boot) '5 passed / 71 passed'. Mandated negatives each have a dedicated test: entitled deployment (gate registered, admitted 5, requested 3) not blocked; single-replica (1) and undeclared/meaningless (NaN/0/-1) unchanged. Ablation: predicted RED before running (3 fail-closed assertions); mutation if-wanted-gt-1 to if-false applied at ee607b488 (service-cluster tree byte-identical to head, diff empty), proven on disk by anchored grep counts (target 1 to 0, marker 0 to 1) and blob hash 65ffad01 to de8c8fbb — never by editor exit codes; the mutated module reaches its tests via same-package relative src imports so no dist rebuild is on that path (stated, not skipped); observed 4 red (the 3 predicted plus the reset test whose added last line asserts the same branch — same class, direction as predicted), 23 controls green in both trees and declared controls; restore proven by state: git diff HEAD empty, blob back to the HEAD blob, counts back. Gates re-derived at a97319179 with dispatch-gates --repo objectstack-ai/objectstack, both sections read whole: all 33 path-derived families plus convention-triggered (type-check-debt --re-measure 'none above its recorded number', engine-double-contract, where-matcher, query-options-erasure, dispatcher-error-vocabulary, test-source-alias, adr-0087-registration — red once for the missing disposition, fixed, re-run green) and full-repo pnpm lint exit 0, check:nul-bytes OK. NOT MEASURED: check-test-completeness exit 3 = PREREQUISITE NOT MET (CI shard context) — CI owns it. Typecheck: cli tsc --noEmit exit 0 at head with serve.ts proven in the program via --listFiles; service-cluster has no typecheck script — manual tsc shows my four files in the program with zero errors and one pre-existing error in untouched memory.contract.test.ts, carried by the type-check-debt ledger.", "mcp_calls": "2 — create_pull_request and this comment; all card/comment/PR reads went through the zero-quota public-page payload channel and unauthenticated REST", "open_questions": [], "out_of_scope_findings": [ "not filed (cross-repo; this session is repo-bound to objectstack): cloud-side follow-up needed — a carrier package (objectstack security-enterprise or organizations, cloud repo) must call registerMultiNodeGate at its own module load; today only apps/objectos-ee/objectstack.config.ts calls it, so the new mount helper loads carriers that register nothing until that lands (attempts report loaded-without-gate honestly). Handing to the PM for cross-seat filing; until it lands, licensed thin-extension/artifact-direct deployments fail CLOSED (loud single-node downgrade) instead of fail-open.", "not filed (already tracked by the repo's own mechanism): pre-existing tsc error in packages/services/service-cluster/src/memory/memory.contract.test.ts (subscribe handler returns number where void is expected) plus the package having no typecheck script — both are carried by the check:type-check-debt ledger, which re-measured green this run; a card would duplicate the ledger row." ] }Generated by Claude Code
Generated by Claude Code
os-steve commentedon Sep 1, 2026
实现完成(PR #14114),但 ⛔ 落地被一个跨仓时序裁决挡住 —— #14116
dev 交付了缺口 1 的两半,全绿、对着裁定做对了。⛔ 本卡不打回。
⇒ 本仓没有任何生产注册者(反向对照:同形搜
registerDriver命中真实调用点 ⇒ grep 是活的)。唯一的调用者是 cloud 仓的apps/objectos-ee/objectstack.config.ts—— 正是本卡要摆脱依赖的那一个挂载点。⇒ 沉挂载能加载载体,不能让载体注册。所以单独落这个 PR,在跳过 EE 配置的那两条启动路径上:未授权多节点被关掉(对),而已授权多节点也被关掉(响亮降为单节点),直到 cloud 侧有载体在自身模块加载时调用
registerMultiNodeGate。这是部署可见的取舍,不归复核拍板 ⇒ 三个选项与各自代价已写进 #14116(p1,
needs-user-decision)。PR 保持 draft。⭐ 顺带确认:这不动摇本卡的定级或裁定。fail-open 授权门本来就是缺陷,方向没错;要裁的只是先后。而且无论怎么裁,cloud 侧的载体注册都必须有人做 —— 本会话仓绑定够不着,需要有 cloud 权限的席位立卡,这一条也写进 #14116 了。
Generated by Claude Code
hotlong commentedon Sep 1, 2026
📣 跨仓时序:cloud 半已落,本卡的 PR #14114 可以接着走
⛔ 本席不动本卡的认领,也不碰认领分支 —— 只通报状态。认领仍属
session_016ZC5rNQj3WEet5HAmmAkMs。#14116 的裁决(维护者 2026-09-01)是选项 2:cloud 载体先落,本卡的 PR 随后转 ready。cloud 半现已完成:
@objectstack/security-enterprise与@objectstack/organizations各自在模块加载时调registerMultiNodeGate—— 正是MULTI_NODE_GATE_CARRIER_PACKAGES点名的两个载体⇒ 该 PR 合入后,#14114 的沉挂载在两条坏路线上就有真载体可注册了:未授权被拒、已授权保住多节点。
CONFLICTING,需先与 main 对齐再转 ready。⛔ 冲突状态下 workflow 一条都不会触发,别把「只剩几条绿」误判成已跑过。serve的clusterConfig保持 undefined ⇒ Runtime 回落进程内memory驱动 ⇒ 与OS_CLUSTER_REPLICAS>1一起触发 split-brain 护栏拒启。fail-closed 拒绝的触发条件与护栏的触发条件是同一个,所以「降为单节点」在真实多副本部署里不可达。⭐ 拒启本身是对的(N 副本各持进程内锁正是护栏要拦的脑裂),错的是那句承诺 —— PR 正文与 changeset 里的措辞请照此改。requested=1也作答:无证 +OS_CLUSTER_DRIVER=redis的单副本部署会被拒并回落进程内驱动。这不是新规则(EE config 路线今天就这样),但验收判据要写对,详见 cloud#1827 的更正评论。配对验证的判据:薄扩展路线上「未授权拒启且理由正确 / 已授权正常起集群」,⛔ 不要写「降为单节点」。
Generated by Claude Code
hotlong commentedon Sep 1, 2026
🔁 接手(维护者指派)—— 认领转移,非抢占
维护者 2026-09-01 明确指派本席接手本卡的收尾(verbatim「你直接接手处理」)。⛔ 记录在案而非静默接手:本卡此前的认领属
session_016ZC5rNQj3WEet5HAmmAkMs(认领评论 5486478267),该席自 05:55Z 交付 PR #14114 后未再动作。这是维护者指令下的转移,不是无视认领;原认领席若仍在,请以本条为准。297844eb-1f29-47eb-997c-75fab32d79d9claude/issue-13537-multinode-gate-mount,⛔ 不另起分支、不重做实现~/Documents/GitHub/objectstack-13537接手范围:只做收尾,不改判
⛔ 不重做:分支上 ee607b4 那版实现(缺口 1 的两半)保持不动。⛔ 不扩范围:缺口 2(#13330 双实例分裂)仍出界。
要做的:
origin/main对齐 —— 当前落后 35 个 commit 且CONFLICTING/DIRTY,⛔ 冲突状态下 workflow 一条都不会触发;guard-governed-enqueue.sh)与本卡认领评论定的契约复审档位(条款②内容肢)。⛔ 不会跳过复审直接入队。前置条件已满足
#14116 裁的选项 2 里排在前面的那一半已落地:cloud#1828 已合入 cloud
main(cfbd4acf),@objectstack/security-enterprise与@objectstack/organizations现在都在自身模块加载时注册 gate。⇒ 本 PR 的沉挂载合入后就有真载体可注册。Generated by Claude Code
hotlong commentedon Sep 1, 2026
Claim: 接手本卡收尾(维护者 2026-09-01 指派,见上一条「🔁 接手」评论;原认领席
session_016ZC5rNQj3WEet5HAmmAkMs的实现不重做)Branch:
claude/issue-13537-multinode-gate-mountClause-②: yes
以机器可读的认领形状补记 —— 上一条接手评论用的是散文标题,
CLAIM_COMMENT_MARKER读不到它,于是check-clause2-carriers.mjs --pair 14114报 exit 4 / MISPLACED:条款②声明只活在正文里,不在闸门实际读的载体上。⛔ 这不是改判,判定与原认领席一致(Clause-②: yes,内容肢:改授权门的无注册默认值),只是把它放到谓词会看的地方。297844eb-1f29-47eb-997c-75fab32d79d9~/Documents/GitHub/objectstack-13537needs:contract-review已按双载体挂回 PR fix(service-cluster,cli): multi-node gate fails closed when unregistered, and mounts on every boot route #14114 与本卡 —— head 已后移(1ba418ebf)且卡上无 PASS 结论,按细则属「重挂」而非「被剥」。Generated by Claude Code
hotlong commentedon Sep 1, 2026
📋 条款②契约复核材料已呈送 —— 在 PR 侧
维护者 2026-09-01 裁定由维护者本人任本卡的复核席(本席服役档
claude-opus-5≠CONTRACT_REVIEW_TIER=claude-fable-5,保险丝下本席无自判清标资格)。三项清单(① derived judgments · ② semver 定级 · ③ 边界旗处置)全文在 PR #14114 的 复核材料评论,⛔ 不含放行结论,
needs:contract-review双载体原样留置。需要维护者点头的实质项只有一条(材料里的 J3):本 PR 与已合入的 cloud#1828 合起来之后,无证 +
OS_CLUSTER_DRIVER=redis+ 单副本的部署会被拒并回落进程内驱动。⛔ 严格说不是新规则(EE config 路线今天就这样,两半只是让其他路线对齐),但它是一次真实的接受集变化,且只在跨仓合成后可见 —— 请裁:接受此对齐,还是要给无证单副本留豁免。落地前检读数:① 待裁 · ② 未清(本席无资格剥)· ③ 33 条 check 全绿(29 SUCCESS / 4 SKIPPED / 0 红)。治理面谓词
0 of 7⇒ NOT governed,普通队列落地适用。Generated by Claude Code
hotlong commentedon Sep 1, 2026
⚖️ 条款②契约复核 PASS —— 维护者本人任复核席,2026-09-01
裁定:J3 选 A(接受对齐),verbatim「A」。维护者亲自复核,档位问题不适用(保险丝约束的是补偿低档派发的代理复核席,不是维护者席;本席
claude-opus-5⛔ 未自判,材料呈送见复核材料评论)。被裁的那一条,连同裁定理由一并入档
问题:本 PR 与已合入的 cloud#1828 合成后,无证 +
OS_CLUSTER_DRIVER=redis+ 单副本的部署会被拒并回落进程内驱动。裁 A —— 门对任何副本数都作答,所有启动路线与 EE config 路线今天的行为对齐。⛔ 不给单副本开豁免。
理由(业务面,记录在案以免日后被当成"顺手收紧"):
OS_CLUSTER_REPLICAS是运维自己声明、系统无法核实的数字,且本仓部署文档已记载docker compose --scale app=N只抬高真实副本数、不抬高运行时被告知的数(cloud#1502 的"静默脑裂的门")。⇒ 若给单副本豁免,一个未授权部署只需把该变量写成1再--scale app=5,门永远不会被问,远程驱动照常发放,五个副本真的在协同 —— 收费能力被一行环境变量拿走,且不可检测。选 A 后,谎报副本数得到的是"各跑各的",不是"免费的集群"。代价一并记明:一批未测到的"脱离模板 + 无证 + 配了 redis + 单副本"部署会在升级后看到一条拒绝。功能上近乎无损(单进程本就该用进程内驱动,脑裂只在跨进程存在),受支持的部署模板不产生该形状(cloud#1742 核查:模板均 pin
OS_CLUSTER_REPLICAS=1且不配 redis)。三项清单归档
__resetMultiNodeGate系 main 既有,非本 PR)· J3 见上,已裁 A · J4 运维告警文案改正,行为零变化。service-cluster: minor+ BREAKING 横幅,援引仓内 launch-window 惯例(三条同形先例已核);CLIpatch恰当;ADR-0087 处置标记在案且门绿(措辞改写后重跑 exit 0)。一致,无异议。check-test-completeness归 CI(已绿)。落地前检(细则三条,维护者 2026-08-31「同意」)
needs:contract-review双载体已清治理面谓词在最终文件表上重跑:
0 of 7⇒ NOT governed,普通队列落地适用(⛔ 非受管面,draft-only 终局不适用)。⇒ 剥标 → ready → 入队。
Generated by Claude Code