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
objectql: the bare-name refusal still explains itself with the old one-name-per-deployment rule for the four types that now hold one name per namespace #33507
Filing gate: found by the #31699 card thread while it fixed PR #33431's dogfood pins. An administrator whose install is refused reads a reason that is no longer true, and so cannot tell what to rename. ⛔ Not a claim; triage sets the lane and grade.
What happens today
bareNameReason in packages/objectql/src/bare-name-one-holder.ts (around line 621) builds the sentence every bare-name refusal and boot warning carries. For every type it says the type "holds one name per deployment … with no package to tell two definitions apart, so with two holders every caller is served the same one, chosen by registration order."
That is still true for the types that have not narrowed. Flow (#31696), webhook (#32577), email template (#32214) and, once #33431 lands, connector now hold one name per namespace, and two holders are refused naming both rather than served by registration order. A co-owner refused for one of these four types (for example, a second package of alpha's namespace declaring alpha's connector name) is given the old reason. This predates #33431; main has said it for the flow since #31696.
What this card would build
Give the four namespace-scoped types (NAMESPACE_SCOPED_BARE_NAME_TYPES) a reason that states their rule: one holder per namespace; another namespace may ship the name; a bare name two holders share is refused naming both.
Keep today's sentence for the types still held one per deployment.
Pin the sentence for one narrowed type and one unnarrowed type. Move any dogfood or unit pin that quotes the old text.
For the four types that now hold one name per namespace, the bare-name refusal still explains itself with the old one-name-per-deployment rule. That is refusal copy: it is wrong, but the refusal still fires correctly, so p3. bare-name-one-holder.ts sits with the objectql holders (E2). It lands with or after PR #33431 (connector).
Claim: server area-lease mode (#33751 §2), area S3 lease E2, p3 free-slot fill (maintainer rule: p3 fills a free slot; no p1/p2 claimable in E2/E2b now) · fold #33507 + #33670 (lead #33507) · executed by an os-dev sub-agent (mode:subagent) · posted at 2026-11-15T11:33Z
Session: session_01QsR2jTEivi2wogPpeo3xd5
Account: zhuangjianguo
Branch: claude/area-E2-33507
Worktree: objectstack-issue-33507
Domain: domain:server
Seat: domain:server#5
File surface: packages/objectql/src/bare-name-one-holder.ts (bareNameReason), packages/objectql/src/hook-binder.ts (comment near the clashing-function bind), tests and dogfood pins that quote the changed text, a changeset (stop on breach; explain in the report)
Container & model: S, mode:subagent, model: default (no path-derived mandate; dispatch-gates --tier at bd96ec9c), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack objectql: refusal and comment text describe a rule the code no longer applies | none | administrators reading a bare-name refusal or boot warning
Thread-read: 6886111063
Premise: holds
Serial constraints cleared: packages/objectql/src/registry.ts is hot (p2 PR #33621 os-elon-musk, p1 #33282 area S5): not edited; PR #33703 (objectql engine/hook-wrappers): not edited
Fold: #33670 rides on this branch (its item 1 only).
{
"issue": 33507,
"status": "done",
"branch": "claude/area-E2-33507",
"pr": "https://github.com/objectstack-ai/objectstack/pull/33902",
"head": "f1706ea92",
"session": "session_01QsR2jTEivi2wogPpeo3xd5",
"premise_still_valid": true,
"summary": "#33507: bareNameReason (packages/objectql/src/bare-name-one-holder.ts) branches on isNamespaceScopedBareNameType. A narrowed type is told its rule (one holder per namespace, another namespace may ship the name, a bare name two holders share is refused naming both); a type not yet narrowed keeps today's per-deployment sentence; a mixed list gets one sentence per rule. Measured on origin/main 1e65a389e: NAMESPACE_SCOPED_BARE_NAME_TYPES holds all 13 covered types (connector included), so no real type reaches the per-deployment sentence today and the unnarrowed pin is simulated (vi.doMock of @objectstack/core reading tool as unnarrowed). Three unit pins moved; no dogfood pin quotes the reason. #33670 item 1: hook-binder.ts function-bind comment now says the rule is narrowed, claimBareNameFunctions throws after the seal, and bindAppArtifactHandlers catches it per owner group at error, leaving the group unbound (comment only). Item 2 (registry.ts) untouched; PR says Part of #33670. Two commits, one per card, plus one merge of origin/main.",
"tests": "objectql full suite at fe90b7362: Test Files 596 passed (596), Tests 13138 passed (13138), exit 0. objectql typecheck exit 0 at fe90b7362 and f1706ea92. Merged head f1706ea92: 4 bare-name files + hook-binder.test.ts, Test Files 5 passed, Tests 366 passed. cloud-connection marketplace-install-local-bare-name-conflict.test.ts 11 passed. Ablation via scripts/ablation-replace.mjs (objectql tests import ./bare-name-one-holder.js from src, no dist path): the two filter lines changed to narrowed=[] / perDeployment=listed (the old sentence back): mutation landed anchor 1->0, Tests 5 failed | 245 passed, e.g. expected 'A flow holds one name per deployment:…' to be 'A flow holds one name per namespace: …'; restore blob == HEAD f94389afc112, git diff HEAD empty. A first ablation emptied both lists (returned '' rather than the old sentence). It went red too, but it did not test the intended mutation and is not counted.",
"gates": "dispatch-gates --ran at fe90b7362 (derivation identical at f1706ea92): 67 derived, 66 run with exit codes recorded, all exit 0, 0 NOT-MEASURED, 1 UNRUN: pnpm check:dual-build-cjs-loads (left to CI). comment-mask-corpus, query-options-erasure, dts-closure, lean-entry-closure first hit a 300s timeout or exit 3 (no dist yet) and were re-run to exit 0; type-check-debt ran under the lock, exit 0. pnpm lint exit 0. Re-run on f1706ea92, each exit 0: durability-log-level, issue-citations (both), doc-authoring, test-source-alias, cross-package-test-inputs, type-check-coverage, changeset-no-major, adr-0087-registration, empty-changeset, nul-bytes, registry-log-declared. PR body gates (changeset-no-major, adr-0087-registration, closing-keyword-parity, partof-closing-keyword) exit 0. PR check-runs: in_progress at report time (not awaited). mergeable_state blocked (draft, checks pending).",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 — fleet-write pr_create (PR #33902, via the relay, workflow_dispatch run 43721007661); post-stamped os-dev-report comment on #33507. git push is not counted.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: #33670 item 2 · registry.ts bareNameColdBootWarning still says a further package is refused at install, which is not true for a function. Noted, not filed.",
"carrier: none · CONSUMER_CLAUSE in bare-name-one-holder.ts is now read only by the per-deployment branch, which no covered type reaches on main. Noted in Acceptance notes.",
"carrier: none · the new sentence's 'another namespace may ship the same name' does not name the bundle-addition exception (isBundleAdditionPair, refused across namespaces). Noted in Acceptance notes."
],
"deviations": [
"Ruling 'pin the sentence for one unnarrowed type': no unnarrowed covered type exists on origin/main (all 13 are in NAMESPACE_SCOPED_BARE_NAME_TYPES). The pin is simulated with vi.doMock on a fresh module copy in registry-bare-name-one-holder-ai-family.test.ts.",
"dev-common asks for the tests of direct dependents. objectql has 38 direct dependents. git grep finds no package outside objectql that quotes the reason, so only cloud-connection's bare-name test was spot-run. The rest are left to CI's Test Core (declared narrowing).",
"Narrowed-type sentence drops the per-type consumer clause: those clauses describe one-per-name serving, which no longer holds for a narrowed type.",
"Commit trailers use the model-free `Co-Authored-By: Claude` trailer per dev-common/AGENTS.md, not the harness's model-named form."
],
"files_changed": [
".changeset/33507-bare-name-reason-namespace.md",
"packages/objectql/src/bare-name-one-holder.ts",
"packages/objectql/src/hook-binder.ts",
"packages/objectql/src/registry-bare-name-one-holder-ai-family.test.ts",
"packages/objectql/src/registry-bare-name-one-holder-flow-family.test.ts",
"packages/objectql/src/registry-bare-name-one-holder-request-family.test.ts"
],
"line_budget": "141 changed lines (+110 / -31) vs the 3000 human-merge threshold; no skills/** touched",
"loose_ends": [
"#33670 item 2 (registry.ts bareNameColdBootWarning, type-accurate wording for function) waits until registry.ts is free (PR #33621, #33282)."
]
}
Delta for PR #33902: review-a (comment 6895373233) must-fix 1, route (a). New head 828426777.
{
"issue": 33507,
"status": "done",
"pr": "https://github.com/objectstack-ai/objectstack/pull/33902",
"head": "828426777",
"delta": "bare-name-one-holder.ts only (registry.ts untouched). crossNamespaceExceptionClauses(type) reads PLATFORM_REQUESTED_BARE_NAMES_BY_TYPE (via isPackageScopedType, as bareNameHoldersMeet does) and ITEM_KEY_DISCRIMINATORS (the isBundleAdditionPair types). For a listed narrowed type with either exception (today email_template only), the sentence says 'may ship the same name, save the exceptions below' and adds 'For an email template, whatever the namespaces: a name the platform requests by its bare spelling (the eight auth.* names) keeps one holder per deployment and a package that depends on the name's holder (which does not depend on it back) and ships the name only in locales the holder does not ship is refused as an addition to the holder's email template.'",
"pins": "flow-family: the cross-namespace auth.password_reset refusal and the bundle addition's package-door refusal each assert the qualified claim and their exception clause",
"ablations": "platform-requested clause removed: 1 failed | 86 passed, restored blob == HEAD e72188996ac0, git diff HEAD empty. Bundle-addition clause removed: 1 failed | 86 passed, restored the same way.",
"tests": "at 828426777: closure build exit 0; 4 bare-name files + hook-binder.test.ts: Test Files 5 passed, Tests 366 passed; objectql typecheck exit 0; pnpm lint exit 0",
"gates": "67 derived; 65 run locally, all exit 0 (check:type-check-debt under the lock, exit 0); check:dual-build-cjs-loads left to CI",
"ci": "f1706ea92 TypeScript Type Check red = aggregator reading lane typecheck-workspace 'cancelled' ('The operation was canceled.' 13:59:03Z, 13 s after the 828426777 push started new runs at 13:58:50Z): the superseded run was cancelled, not a defect in this diff. At 828426777: 35 success, 18 skipped, 0 failed; TypeScript Type Check, all four Type Check lanes, Test Core 1-8, Lint & Repo Gates and Build Core all success; Check Changeset and PR-body guards re-running after the body patch",
"pr_body": "issue_patch on #33902 via the relay (run 43729777292), 9778 bytes stored identical, 'Update at 828426777' section added, signed trailer last",
"api_writes": "2 this round: issue_patch #33902, this comment",
"mcp_calls": 0,
"security_findings": "none"
}
Activity
objectstack-fleet commentedon Nov 14, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:server·lease:E2· p3 ·pm:queue· 2026-11-14T23:46Z⛔ Not a claim.
For the four types that now hold one name per namespace, the bare-name refusal still explains itself with the old one-name-per-deployment rule. That is refusal copy: it is wrong, but the refusal still fires correctly, so p3.
bare-name-one-holder.tssits with the objectql holders (E2). It lands with or after PR #33431 (connector).objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5
Claim: server area-lease mode (#33751 §2), area S3 lease E2, p3 free-slot fill (maintainer rule: p3 fills a free slot; no p1/p2 claimable in E2/E2b now) · fold #33507 + #33670 (lead #33507) · executed by an
os-devsub-agent (mode:subagent) · posted at 2026-11-15T11:33ZSession:
session_01QsR2jTEivi2wogPpeo3xd5Account:
zhuangjianguoBranch:
claude/area-E2-33507Worktree:
objectstack-issue-33507Domain:
domain:serverSeat:
domain:server#5File surface:
packages/objectql/src/bare-name-one-holder.ts(bareNameReason),packages/objectql/src/hook-binder.ts(comment near the clashing-function bind), tests and dogfood pins that quote the changed text, a changeset (stop on breach; explain in the report)Container & model:
S,mode:subagent,model: default (no path-derived mandate; dispatch-gates --tier at bd96ec9c),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility:
objectstack objectql: refusal and comment text describe a rule the code no longer applies | none | administrators reading a bare-name refusal or boot warningThread-read: 6886111063
Premise: holds
Serial constraints cleared:
packages/objectql/src/registry.tsis hot (p2 PR #33621 os-elon-musk, p1 #33282 area S5): not edited; PR #33703 (objectql engine/hook-wrappers): not editedFold: #33670 rides on this branch (its item 1 only).
Generated by Claude Code
objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5
os-dev-report
{ "issue": 33507, "status": "done", "branch": "claude/area-E2-33507", "pr": "https://github.com/objectstack-ai/objectstack/pull/33902", "head": "f1706ea92", "session": "session_01QsR2jTEivi2wogPpeo3xd5", "premise_still_valid": true, "summary": "#33507: bareNameReason (packages/objectql/src/bare-name-one-holder.ts) branches on isNamespaceScopedBareNameType. A narrowed type is told its rule (one holder per namespace, another namespace may ship the name, a bare name two holders share is refused naming both); a type not yet narrowed keeps today's per-deployment sentence; a mixed list gets one sentence per rule. Measured on origin/main 1e65a389e: NAMESPACE_SCOPED_BARE_NAME_TYPES holds all 13 covered types (connector included), so no real type reaches the per-deployment sentence today and the unnarrowed pin is simulated (vi.doMock of @objectstack/core reading tool as unnarrowed). Three unit pins moved; no dogfood pin quotes the reason. #33670 item 1: hook-binder.ts function-bind comment now says the rule is narrowed, claimBareNameFunctions throws after the seal, and bindAppArtifactHandlers catches it per owner group at error, leaving the group unbound (comment only). Item 2 (registry.ts) untouched; PR says Part of #33670. Two commits, one per card, plus one merge of origin/main.", "tests": "objectql full suite at fe90b7362: Test Files 596 passed (596), Tests 13138 passed (13138), exit 0. objectql typecheck exit 0 at fe90b7362 and f1706ea92. Merged head f1706ea92: 4 bare-name files + hook-binder.test.ts, Test Files 5 passed, Tests 366 passed. cloud-connection marketplace-install-local-bare-name-conflict.test.ts 11 passed. Ablation via scripts/ablation-replace.mjs (objectql tests import ./bare-name-one-holder.js from src, no dist path): the two filter lines changed to narrowed=[] / perDeployment=listed (the old sentence back): mutation landed anchor 1->0, Tests 5 failed | 245 passed, e.g. expected 'A flow holds one name per deployment:…' to be 'A flow holds one name per namespace: …'; restore blob == HEAD f94389afc112, git diff HEAD empty. A first ablation emptied both lists (returned '' rather than the old sentence). It went red too, but it did not test the intended mutation and is not counted.", "gates": "dispatch-gates --ran at fe90b7362 (derivation identical at f1706ea92): 67 derived, 66 run with exit codes recorded, all exit 0, 0 NOT-MEASURED, 1 UNRUN: pnpm check:dual-build-cjs-loads (left to CI). comment-mask-corpus, query-options-erasure, dts-closure, lean-entry-closure first hit a 300s timeout or exit 3 (no dist yet) and were re-run to exit 0; type-check-debt ran under the lock, exit 0. pnpm lint exit 0. Re-run on f1706ea92, each exit 0: durability-log-level, issue-citations (both), doc-authoring, test-source-alias, cross-package-test-inputs, type-check-coverage, changeset-no-major, adr-0087-registration, empty-changeset, nul-bytes, registry-log-declared. PR body gates (changeset-no-major, adr-0087-registration, closing-keyword-parity, partof-closing-keyword) exit 0. PR check-runs: in_progress at report time (not awaited). mergeable_state blocked (draft, checks pending).", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 — fleet-write pr_create (PR #33902, via the relay, workflow_dispatch run 43721007661); post-stamped os-dev-report comment on #33507. git push is not counted.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: #33670 item 2 · registry.ts bareNameColdBootWarning still says a further package is refused at install, which is not true for a function. Noted, not filed.", "carrier: none · CONSUMER_CLAUSE in bare-name-one-holder.ts is now read only by the per-deployment branch, which no covered type reaches on main. Noted in Acceptance notes.", "carrier: none · the new sentence's 'another namespace may ship the same name' does not name the bundle-addition exception (isBundleAdditionPair, refused across namespaces). Noted in Acceptance notes." ], "deviations": [ "Ruling 'pin the sentence for one unnarrowed type': no unnarrowed covered type exists on origin/main (all 13 are in NAMESPACE_SCOPED_BARE_NAME_TYPES). The pin is simulated with vi.doMock on a fresh module copy in registry-bare-name-one-holder-ai-family.test.ts.", "dev-common asks for the tests of direct dependents. objectql has 38 direct dependents. git grep finds no package outside objectql that quotes the reason, so only cloud-connection's bare-name test was spot-run. The rest are left to CI's Test Core (declared narrowing).", "Narrowed-type sentence drops the per-type consumer clause: those clauses describe one-per-name serving, which no longer holds for a narrowed type.", "Commit trailers use the model-free `Co-Authored-By: Claude` trailer per dev-common/AGENTS.md, not the harness's model-named form." ], "files_changed": [ ".changeset/33507-bare-name-reason-namespace.md", "packages/objectql/src/bare-name-one-holder.ts", "packages/objectql/src/hook-binder.ts", "packages/objectql/src/registry-bare-name-one-holder-ai-family.test.ts", "packages/objectql/src/registry-bare-name-one-holder-flow-family.test.ts", "packages/objectql/src/registry-bare-name-one-holder-request-family.test.ts" ], "line_budget": "141 changed lines (+110 / -31) vs the 3000 human-merge threshold; no skills/** touched", "loose_ends": [ "#33670 item 2 (registry.ts bareNameColdBootWarning, type-accurate wording for function) waits until registry.ts is free (PR #33621, #33282)." ] }objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5
os-dev-report
Delta for PR #33902: review-a (comment 6895373233) must-fix 1, route (a). New head
828426777.{ "issue": 33507, "status": "done", "pr": "https://github.com/objectstack-ai/objectstack/pull/33902", "head": "828426777", "delta": "bare-name-one-holder.ts only (registry.ts untouched). crossNamespaceExceptionClauses(type) reads PLATFORM_REQUESTED_BARE_NAMES_BY_TYPE (via isPackageScopedType, as bareNameHoldersMeet does) and ITEM_KEY_DISCRIMINATORS (the isBundleAdditionPair types). For a listed narrowed type with either exception (today email_template only), the sentence says 'may ship the same name, save the exceptions below' and adds 'For an email template, whatever the namespaces: a name the platform requests by its bare spelling (the eight auth.* names) keeps one holder per deployment and a package that depends on the name's holder (which does not depend on it back) and ships the name only in locales the holder does not ship is refused as an addition to the holder's email template.'", "pins": "flow-family: the cross-namespace auth.password_reset refusal and the bundle addition's package-door refusal each assert the qualified claim and their exception clause", "ablations": "platform-requested clause removed: 1 failed | 86 passed, restored blob == HEAD e72188996ac0, git diff HEAD empty. Bundle-addition clause removed: 1 failed | 86 passed, restored the same way.", "tests": "at 828426777: closure build exit 0; 4 bare-name files + hook-binder.test.ts: Test Files 5 passed, Tests 366 passed; objectql typecheck exit 0; pnpm lint exit 0", "gates": "67 derived; 65 run locally, all exit 0 (check:type-check-debt under the lock, exit 0); check:dual-build-cjs-loads left to CI", "ci": "f1706ea92 TypeScript Type Check red = aggregator reading lane typecheck-workspace 'cancelled' ('The operation was canceled.' 13:59:03Z, 13 s after the 828426777 push started new runs at 13:58:50Z): the superseded run was cancelled, not a defect in this diff. At 828426777: 35 success, 18 skipped, 0 failed; TypeScript Type Check, all four Type Check lanes, Test Core 1-8, Lint & Repo Gates and Build Core all success; Check Changeset and PR-body guards re-running after the body patch", "pr_body": "issue_patch on #33902 via the relay (run 43729777292), 9778 bytes stored identical, 'Update at 828426777' section added, signed trailer last", "api_writes": "2 this round: issue_patch #33902, this comment", "mcp_calls": 0, "security_findings": "none" }qa(checklist): re-point bare-name-one-holder-refusal to a namespace-l…
fix(objectql): the bare-name refusal states the namespace rule for a …