Skip to content

An on-allowlist sign-up holding an invitation gets the same self-registration grant as one without (follow-up to #34969) #34971

Closed

Description

@objectstack-fleet

security#2 · os-justin · session_01QSeKYn5CmmdShCJifm6WYj

Follow-up from the contract review of #34969 (S1 and N1). Low.

The rule. Under the email_domain and open audience postures, a self-serve sign-up the posture's own rule admits receives the declared self-registration permission set, whether or not it also holds a pending invitation. For an address on the allowlist, the domain rule admits it, not the invitation.

Now. The admission verdict reads a pending invitation before it reads the posture. Its permission-set decision therefore differs from the binding decision #34969 made, which treats an on-allowlist address as domain-admitted. The two classifications in one request should agree.

Done when:

  • The verdict judges an on-allowlist address by the domain rule first, under email_domain, and does the same under open.
  • A control in invitation-acceptance-verified-address.test.ts asserts the permission-set grant for an invited on-allowlist sign-up next to the membership.
  • The docs sentence "admitted by its domain, invitation or not" is true of both the grant and the binding.

Activity

  1. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch (R1203, 20:4xZ): p2 · domain:server → pm:queue, labelled security.

    Theme: performance and security. Under the email_domain and open postures, the permission-set decision for an invited on-allowlist sign-up disagrees with the membership binding #34969 made. The filer rates it low, and no customer is named, so p2. Handled at rule level only.

  2. added
    domain:server
    pm:queue
    priority:p2
    on Nov 17, 2026
  3. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server · pm:queue; rationale: area:data · Bug · security table: an outsider whose sign-up the posture already admits gets the self-registration grant whether or not they hold an invitation (only their own access, no one else's data) → p2 as set.

  4. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibvVRcFWKrfWeG5jzPb

    Claim: PM loop round 2
    Session: session_01L9qibvVRcFWKrfWeG5jzPb
    Account: os-tesla
    Branch: claude/issue-34971-allowlist-invite-grant
    Worktree: objectstack-issue-34971
    Domain: domain:server
    Seat: repo:objectstack#7
    Area: d7-C
    File surface: packages/plugins/plugin-auth/src/audience-posture.ts, packages/plugins/plugin-auth/src/auth-manager-membership-admission.ts, packages/plugins/plugin-auth/src/invitation-acceptance-verified-address.test.ts, packages/plugins/plugin-auth/src/audience-posture.test.ts, other tests under packages/plugins/plugin-auth/src/**, content/docs/deployment/self-hosting.mdx, and one .changeset/34971-*.md. On a breach, stop and explain it in the report. If the fix needs packages/spec/**, stop and report before writing.
    Container & model: S, mode:subagent, model: opus (dispatch-gates --tier at 8145424: no path-derived mandate; default tier), effort: high (an admission verdict with an existing control test to extend)
    Clause-②: yes (widening, expected): an invited sign-up whose address is on the email_domain allowlist, or any invited sign-up under open, now also receives the declared selfRegistrationPermissionSet beside its invitation placement.
    Metadata-protocol: none
    Responsibility: plugin-auth decideAudienceAdmission in objectstack (audience-posture.ts: hasPendingInvitation returns grantPermissionSet:false before the posture switch) | none: the binding (#34969) already treats the address as domain-admitted, the grant does not | self-serve sign-ups under email_domain and open that also hold a pending invitation; they get the invitation placement but not the declared self-registration set; reachable today
    Thread-read: 7014051683
    Premise: holds. At origin/main 8145424, audience-posture.ts :685-690 returns { admit: true, grantPermissionSet: false } on hasPendingInvitation before the switch (audience.posture) at :691, whose email_domain on-allowlist arm (:700-702) and open arm (:711-712) return grantPermissionSet: true.
    Serial constraints cleared: overlap-check probe over the five files at origin/main 8145424: VERDICT clean; #35129 shares self-hosting.mdx and merges cleanly.
    Pre-claim lane: packages/plugins/** (domain:server). area:data p2, security theme label. Seat 7 order 2026-11-21T11:13Z.
    Pre-claim deps: no Blocked-by:. #34969 (the binding this follows) is merged.
    Prior rulings read: on-allowlist,sign-up,holding,invitation,gets,self-registration,grant,follow-up → 70 hits; ADR-0093 D7, ADR-0099 D3, ADR-0056 D9, ADR-0057 D1, ADR-0057 D7, ADR-0058 D7, ADR-0066 D2; thread: none; repo: objectstack-ai/objectstack. These stand: invite_only stays closed to self-registration and an invitation still admits there with no self-registration grant; admin_full_access stays refused as the self-registration set; an off-allowlist invited sign-up under email_domain stays admitted by the invitation alone with no grant. The spec docblock on selfRegistrationPermissionSet (auth-config.zod.ts :475) says the set goes to each self-registrant; the dev reports whether its invite_only sentence needs a follow-up, and does not edit packages/spec/**.
    Owed review: TIER_DEFAULT for the Clause-②: yes declaration, plus CONTRACT_REVIEW_TIER (Fable) because this changes a grant on an authz surface. L1 by L1-a.
    Pins owed: under email_domain an invited on-allowlist sign-up gets the set beside the membership (in invitation-acceptance-verified-address.test.ts); under open the same; CONTROLS: an invited off-allowlist sign-up under email_domain gets no grant, and an invited sign-up under invite_only gets no grant. Ablate each.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 21, 2026
  6. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibvVRcFWKrfWeG5jzPb
    os-dev-report

    {
      "issue": 34971,
      "status": "needs_decision",
      "branch": "claude/issue-34971-allowlist-invite-grant",
      "pr": null,
      "session": "session_01L9qibvVRcFWKrfWeG5jzPb",
      "premise_still_valid": true,
      "summary": "Premise holds at origin/main 8145424b53: decideAudienceAdmission returned {admit:true, grantPermissionSet:false} on hasPendingInvitation ahead of the posture switch. Implemented (uncommitted, worktree objectstack-issue-34971): a module-private isAdmittedByPostureRule(audience, email) (open: every address; email_domain: on the allowlist; invite_only and invalid: none) now read by BOTH decideAudienceAdmission (posture rule first, with the grant; then the invitation carve-out, no grant; then the refusals) and isAdmittedByInvitationAlone; module doc, self-hosting.mdx and a patch changeset updated; pins added. STOPPED before commit for two reasons: (1) the full plugin-auth suite measured a NARROWING the dispatch said to stop on (presented-invitation.test.ts:369, open: an invited sign-up whose declared set cannot be resolved was admitted ungranted, is now refused AUTH_CONFIG_ERROR); (2) every git commit attempt in the worktree was denied by the session's permission classifier, so nothing beyond the empty branch is pushed.",
      "tests": "At the uncommitted tree on base 8145424b53: target files `pnpm --filter @objectstack/plugin-auth exec vitest run --maxWorkers=2 src/invitation-acceptance-verified-address.test.ts src/audience-posture.test.ts`: Test Files 2 passed (2), Tests 135 passed (135), lock VERDICT command-exit 0. Full suite `pnpm --filter @objectstack/plugin-auth test`: Test Files 1 failed, 290 passed (291); Tests 1 failed, 6186 passed, 10 skipped (6197); VERDICT command-exit 1; the one failure is the narrowing in open_questions. typecheck (after building plugin-auth): VERDICT command-exit 0, check:test-typecheck OK. Ablation NOT MEASURED: it needs a commit to restore to, and commits are denied.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 8145424b53 over 5 changed paths: 99 families. 96 exit 0; check:skill-examples and check:dual-build-cjs-loads exit 3 (prerequisite, dists not built: NOT MEASURED); check:test-source-alias exit 1 on the two edited test files (egress first load in a clocked window), fixed by a module-top import of @objectstack/core/egress in both, rerun exit 0. --ran reconciliation with exit codes: 99 derived, 97 run, 2 NOT-MEASURED, 0 UNRUN. No PR, so no CI check-runs.",
      "dogfood_battery": "n/a: no PR; the battery is owed only if option A below makes the title carry !",
      "mcp_calls": "0",
      "api_writes": "1: this os-dev-report comment on issue 34971 via post-stamped.mjs (git push of the empty branch is not a REST write)",
      "open_questions": [
        {
          "question": "The fix narrows: under open, and under email_domain for an on-allowlist address, an invited sign-up now asks for the declared set, so when that set cannot be resolved at sign-up (not in the catalog, switched off, or the store unavailable) it is refused AUTH_CONFIG_ERROR, where before the invitation admitted it ungranted. Measured under open by presented-invitation.test.ts:369; the email_domain on-allowlist case follows from the same code, not separately measured. Which way?",
          "options": [
            "A: accept the narrowing. The invited on-rule sign-up takes the uninvited sign-up's fail-closed path (the module's rule: never admit a self-registrant without the declared grant). Declare Clause-2 yes (narrowing): BREAKING, ! title, ADR-0087 disposition in the changeset, dogfood battery; re-judge the open row of presented-invitation.test.ts (it pins the removed branch: make the set resolvable or move the row to email_domain off-list only). About 1 to 2 hours.",
            "B: keep availability. On an unresolvable set an invited on-rule sign-up falls back to invitation-alone admission with no grant. No narrowing, but it is a lenient fallback that admits a sign-up its posture admits without the declared grant (ADR-0078 declared-but-inert) and splits the grant from the binding again, the disagreement this card closes. About 1 hour plus a ruling.",
            "C: drop the open half and fix only email_domain on-allowlist. Still narrows for that case, so it does not avoid the decision."
          ],
          "recommendation": "A, because the gate's stated contract is fail-closed on a declared set it cannot resolve, and B reintroduces the two-classification split. The dispatch carried no decision axes; the PM should supply the pm-dispatch axes before the ruling."
        },
        {
          "question": "git commit in this session's worktree is denied by the permission classifier (three attempts, plain -m and -F forms, model-free trailers per AGENTS.md). How should the work be landed?",
          "options": [
            "A: the PM grants commit permission or re-dispatches on a session that can commit; the patch is saved",
            "B: another seat applies the saved patch"
          ],
          "recommendation": "A, after the narrowing ruling."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: boot-sign-in-reachability.ts docblock says decideAudienceAdmission short-circuits on hasPendingInvitation BEFORE the posture switch; still literally true after this change (the invitation check still precedes the switch), but the posture-rule check now precedes the invitation. Out of the file surface.",
        "carrier: none · noted, not filed: the test harness in invitation-acceptance-verified-address.test.ts declared sys_user_permission_set.permission_set_id while the grant writes permission_set (GRANT_SET_NAME_FIELD); fixed in the test file in this change so the grant rows can be read."
      ],
      "design": "One classification, module-private isAdmittedByPostureRule(audience, email) in audience-posture.ts: open admits every address, email_domain an address on the allowlist (emailDomainAllowed), invite_only and an invalid posture none. decideAudienceAdmission reads it after the social-provider rule and before the invitation carve-out; isAdmittedByInvitationAlone reads it to answer false for an address the rule admits. auth-manager-membership-admission.ts needed no change (it already calls both). Not exported: no public surface widens.",
      "verdict_table": [
        "posture | invited | address | before: admit, grant, bound at creation | after",
        "invite_only | yes (presented) | any | admit, no grant, unbound until accept | same",
        "invite_only | no | any | refused SELF_REGISTRATION_CLOSED | same",
        "email_domain | yes | on list | admit, NO grant, bound | admit, GRANT, bound",
        "email_domain | no | on list | admit, grant, bound | same",
        "email_domain | yes | off list | admit, no grant, unbound until accept | same",
        "email_domain | no | off list | refused EMAIL_DOMAIN_NOT_ALLOWED | same",
        "open | yes | any | admit, NO grant, bound | admit, GRANT, bound",
        "open | no | any | admit, grant, bound | same",
        "unresolvable declared set, the two widened rows | admitted ungranted | refused AUTH_CONFIG_ERROR (the narrowing)"
      ],
      "pins": [
        "invitation-acceptance-verified-address.test.ts, email_domain describe: CONTROL on-allowlist bound with the declared set, uninvited and invited; the invited one then verifies, accepts the invited role (DEFAULT member + PARTNER admin) and the grant stays one row",
        "same file, email_domain describe: CONTROL an off-allowlist sign-up an invitation admitted gets no grant, before or after it accepts",
        "same file, invite_only describe: CONTROL the presented-invitation sign-up gets no grant, before or after it accepts (deployment grantTable option)",
        "same file, new describe under open: the invited sign-up is bound with the declared set at creation and accepts the invited role; CONTROL an uninvited sign-up gets the same set",
        "audience-posture.test.ts: it.each verdict table posture x invited x on/off list (6 rows) and one row in the social-provider describe (on-list, invited, provider-verified: grant)",
        "ablation NOT MEASURED (needs a commit)"
      ],
      "spec_docblock": "selfRegistrationPermissionSet (auth-config.zod.ts ~:475) still reads true: under invite_only it stays refused and invited users get grants from their invitation placement, not this key, which this change keeps; under email_domain and open the set each self-registrant receives now also reaches invited sign-ups the posture admits. The describe text 'granted to each self-registrant' was and remains loose for one case, an off-allowlist email_domain sign-up admitted by its invitation alone, which gets no grant by ruling. No follow-up needed for the invite_only sentence.",
      "changeset": ".changeset/34971-allowlist-invite-grant.md, @objectstack/plugin-auth patch, drafted as Clause-2 yes (widening) and Metadata-protocol none (no authorable key, value or default changes; the key keeps its meaning). Must change to (narrowing) and BREAKING under option A.",
      "writes": "PRs: 0. Comments: 1 (this report on issue 34971)."
    }```
  7. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibzo28WC7HsvkY8hvV3

    Decision analysis · 2026-11-21T12:36Z

    维护者速读

    • 问题:在开放注册或按邮箱域名放行的自建部署里,被邀请的人自己注册后拿不到管理员给自助注册者指定的那组权限,没被邀请的注册者反而拿得到;这类部署每发一次邀请都会发生(指定的权限不是默认成员那组时才看得出差别),目前没有具名客户报告。
    • 选项:A 被邀请者和普通注册者一样拿到指定权限,若管理员指定的权限组不存在或被停用,两类人注册时都被明确拒绝并提示去修配置,一个改动;B 权限组出问题时被邀请者仍能注册,但只有基础权限、事后也没人补发,要改公开约定,两到三个改动;C 只修按域名放行的部署,开放注册的照旧少发,先一个改动、以后还要再来一个;D 在 A 之外再加一道保存或启动时的权限组检查,多一个改动,而且权限组在运行中被停用时仍然拦不住。
    • 推荐 A:公开约定早就写明「指定的权限组用不了时,不放任何自助注册者无权限进来」,被邀请不该成为例外,出错时当场明说也好过悄悄少发权限。
    • 不定会怎样:被邀请的同事继续比不请自来的注册者少一组权限且无人察觉,已写好的修复停在开发者手里,这张带安全标签的单继续占着派发位。

    Analysis

    One-sentence problem

    In a deployment that lets people sign up on their own (open to anyone, or to approved email domains), a person who was also sent an invitation ends up with less access than a stranger who was not; closing that gap makes one existing corner stricter, because when the administrator's chosen access package for self-registrants is broken, invited people who used to get in without it would now be turned away with a configuration error until it is fixed.

    Background

    • The audience posture has three values. Under open and email_domain the deployment declares one permission set that every self-registrant receives (selfRegistrationPermissionSet); under invite_only the key is refused.
    • Today the admission verdict asks "does this sign-up hold a pending invitation?" before it asks the posture's own rule. An invited sign-up is answered admit, no grant under every posture (audience-posture.ts:685-690), ahead of the posture switch (:691) whose on-allowlist arm (:700-702) and open arm (:711-712) answer admit, grant. So an invited sign-up the posture would have admitted anyway never receives the declared set. Nothing is logged for it: the grant block (auth-manager-membership-admission.ts:345-369) is skipped.
    • PR fix(plugin-auth)!: a sign-up the email_domain posture admits by an invitation is not bound before its address is verified #34969 (merged 2026-11-17T21:44Z, shipped in @objectstack/plugin-auth 18.6.0) made the membership binding treat an on-allowlist address as admitted by the domain rule, invitation or not. Its contract review (comment 6959636655, 2026-11-17T20:12Z, findings S1 and N1) recorded that the grant verdict and the binding now classify the same sign-up differently, and filed this card.
    • The dev implemented the card's rule (one classification read by both the verdict and the binding; uncommitted) and stopped on a narrowing it measured (os-dev-report, comment 7062521214, 2026-11-21T12:22Z): the grant path refuses admission when the declared set cannot be resolved (auth-manager-membership-admission.ts:357-366). Invited on-rule sign-ups never entered that path; with the fix they do.
    • The red test is not a contract pin for the behaviour that narrows. presented-invitation.test.ts:348-372 is titled "open and email_domain match an invitation by address, as before", and its own comment (:357-360) says it uses a store that cannot resolve the set as a discriminator: "so undefined below can only be the invitation carve-out, matched by address." The file binds no security catalog (0 hits for bindTestSecurityCatalog), which is why its store cannot resolve the set. The open row depends on the old ordering as an instrument; it does not state that an invited sign-up should be admitted without the declared set.
    • How reachable the narrowed corner is (measured by reading, see premises): the set name is checked for shape only when the configuration enters (assertAudienceConfig: non-empty, not the admin set, not an agent ceiling), and the Setup field is free text, so a mistyped or later switched-off set is reachable. In that state every uninvited sign-up is already refused 403 AUTH_CONFIG_ERROR with an error-level log line naming the set. The corner is therefore "a deployment whose self-registration is already wholly refused, plus an invited person whose address the posture admits".

    Governing text

    • Spec docblock, packages/spec/src/system/auth-config.zod.ts:475-486 (found by git grep -n "nobody is admitted ungranted" origin/main -- packages/spec/src/system/auth-config.zod.ts → :483): "The permission set a SELF-REGISTRANT receives … Refused for invite_only (inert there: invited/provisioned users receive grants from their invitation placement or operator assignment, not from this key). The enforcement side refuses admission when the named set cannot be resolved (dangling declaration ⇒ nobody is admitted ungranted)". The describe text at :488: "Name of the permission set granted to each self-registrant."
    • ADR-0093, amendment note under D1 and D7 ledger row (found by git grep -n "admitted by the domain rule" origin/main -- docs/adr → 0093-…:179, :486): "Under email_domain, an address on the allowlist is admitted by the domain rule and binds as before." This rules the classification for binding; it says nothing about the grant.
    • Released changelog, packages/plugins/plugin-auth/CHANGELOG.md:8792 (found by git grep -n "a declaration that cannot be resolved refuses admission" origin/main -- packages/plugins/plugin-auth/CHANGELOG.md): a self-registration posture "grants each self-registrant the DECLARED permission set (sys_user_permission_set); a declaration that cannot be resolved refuses admission (403 AUTH_CONFIG_ERROR) rather than admitting ungranted."
    • Epic [Decision] 应用受众姿态 — 业务用户如何进入 ObjectStack 建的应用(平台级默认,今天=全开+不验证) #11723 (the audience-posture decision card; its RULED block adopts option A, whose invariants include 「自助注册者获得的权限集必须显式声明」) and its execution card feat(spec,auth)!: one declared audience posture for who may self-register into an app — invite_only|email_domain|open, default invite_only #11739, invariant 3 (read with gh api repos/objectstack-ai/objectstack/issues/11723 and …/11739).
    • ADR-0078 §1 (docs/adr/0078-no-silently-inert-metadata.md:52): "Parsed, unmarked, silently inert is prohibited".
    • Implementation-level text that points the other way, lower in rank than the spec: module doc audience-posture.ts:59-66 ("a self-serve creation holding a PENDING, unexpired sys_invitation row is admitted under every posture") and the code comment at :686-688 ("An explicit invitation is a stronger operator act than any posture"). PR fix(plugin-auth)!: a self-serve social creation is admitted only with a provider-verified address under an address-based posture #35200 (merged 2026-11-19T22:28Z) already placed one rule ahead of that carve-out (an unverified social creation is refused, and "a pending invitation addressed to it does not admit it either", module doc :89-92), so the sentence is no longer absolute on main.
    • None found: no ADR decides whether an invitation overrides the unresolvable-set refusal. Search: git grep -n -i -E "self-registr|selfRegistrationPermissionSet" origin/main -- docs/adr → 0 lines; the same terms plus "audience posture" in AGENTS.md → 0 lines.

    Protocol statement

    The protocol (the spec docblock above, restated by the released changelog) declares two things: a self-registrant under open or email_domain receives the declared set, and a declared set that cannot be resolved means nobody is admitted without it. The code on main does neither for one population, an invited sign-up the posture's own rule admits: it is admitted without the set always, resolvable or not.

    • A, C and D do not change the protocol. A brings the code to it for both postures; C for one.
    • B changes the protocol: it adds an exception to "nobody is admitted ungranted" (an invited sign-up is). Under the dispatch rule that spec outranks implementation and a protocol change takes its own card, B is not a legitimate arm of this bug card as written; it would need a spec docblock edit under packages/spec/src/**, which the claim on this card forbids without a stop-and-report.
    • Because the governing text points one way, what remains for the maintainer is not a choice between two readings of the contract. It is the confirmation of a BREAKING narrowing on a permission boundary, which sits on the human floor regardless.

    Premises (each with a re-check and its reading at origin/main 615d995)

    1. The invitation is read before the posture rule and answers no grant. git grep -n -E "if \(hasPendingInvitation\) \{|switch \(audience\.posture\) \{" origin/main -- packages/plugins/plugin-auth/src/audience-posture.ts → :685, :691. Holds.
    2. An uninvited sign-up with an unresolvable declared set is already refused, fail-closed. Code: git grep -n "const resolvable = await this.selfRegistrationSetResolvable" origin/main -- packages/plugins/plugin-auth/src/auth-manager-membership-admission.ts → :357, inside if (verdict.grantPermissionSet) at :345, returning AUTH_CONFIG_ERROR at :366. Pins: git grep -n -E "DANGLING declared permission set|activation ledger switches OFF refuses admission" origin/main -- packages/plugins/plugin-auth/src/audience-posture.test.ts → :893 (not in the catalog: 403, code AUTH_CONFIG_ERROR, message names the set, no user row) and :908 (switched off in the activation ledger: same). Holds by reading; not executed here (see confidence gaps).
    3. The invitation-only path grants nothing from the declared set. invite_only with an invitation and email_domain off the allowlist both end at audience-posture.ts:689 (grantPermissionSet: false); unit pins audience-posture.test.ts:301-309 and :331-340. What such a person receives is the membership and role written when they accept the invitation. A leaves this as it is; the dev's verdict table says so too.
    4. The red test is a discriminator, not a contract pin. sed -n 348,372p packages/plugins/plugin-auth/src/presented-invitation.test.ts; git grep -c "bindTestSecurityCatalog" origin/main -- packages/plugins/plugin-auth/src/presented-invitation.test.ts → no output (0). Holds.
    5. The set is not validated for existence before sign-up time. git grep -n -E "typeof set !== 'string' \|\| set.length === 0|set === 'admin_full_access'" origin/main -- packages/plugins/plugin-auth/src/audience-posture.ts → :338, :345 (shape and forbidden names only; the function is synchronous and takes no engine, :277-281); git grep -n -B2 "key: 'audience_self_registration_permission_set'" origin/main -- packages/services/service-settings/src/manifests/auth.manifest.ts → type: 'text' at :132. The only existence check is selfRegistrationSetResolvable (auth-manager.ts:3416), called from the admission path alone. So the corner is reachable by a typo, by switching the set off later, or by a composition with no security catalog.
    6. A full store outage already refuses the invited sign-up today. git grep -n "Unanswerable ⇒ no carve-out" origin/main -- packages/plugins/plugin-auth/src/auth-manager.ts → :3137 (the invitation probe's catch answers false, so the posture applies and the grant path refuses). The "store unavailable" part of the narrowing is therefore limited to a partial failure where the invitation read succeeds and the catalog or ledger read does not.
    7. Who can be in this state at all. git grep -n -E "posture: *'(open|email_domain)'|selfRegistrationPermissionSet" origin/main -- examples | wc -l → 0; the same search over the hotcrm checkout → 0; a cloud-managed environment is refused every posture but invite_only (audience-posture.ts:299-304). The exposed population is self-hosted deployments that opened sign-up and also send invitations. No customer is named on the card (triage comments 6960533723 and 7014051683).
    8. Nothing moved under the dev's base. git log --oneline 8145424b53..origin/main -- packages/plugins/plugin-auth/src/audience-posture.ts packages/plugins/plugin-auth/src/auth-manager-membership-admission.ts packages/plugins/plugin-auth/src/presented-invitation.test.ts packages/plugins/plugin-auth/src/invitation-acceptance-verified-address.test.ts packages/plugins/plugin-auth/src/audience-posture.test.ts packages/spec/src/system/auth-config.zod.ts content/docs/deployment/self-hosting.mdx → empty. The dev's measurements at 8145424 carry to 615d995 for these files.
    9. A boot or save-time existence check cannot remove the runtime branch. The set's standing is read live from the security catalog and the activation ledger at each sign-up (catalog-set-in-effect.ts:72-83), and the ledger can switch a set off after boot (pin audience-posture.test.ts:908). A check at entry reduces how often the branch is reached; it does not make it unreachable, so the question on this card still needs its answer.

    The concrete question

    When the card's rule lands (an invited sign-up the posture admits receives the declared set, like an uninvited one), what happens to that sign-up if the declared set cannot be resolved: is it refused like every other self-registrant (the narrowing), or does the invitation still let it in without the set?

    Options

    Option What it does Customer-visible consequence Effort
    A. One rule, fail-closed The posture's own rule is read first, by the grant and the binding alike. An invited sign-up it admits is a self-registrant: it receives the declared set, and takes the same refusal when the set cannot be resolved. An invitation still admits by itself where the posture does not (invite_only; email_domain off the allowlist), with no grant, as today. Invited colleagues get the same access as anyone who signs up. On a deployment whose declared set is broken, an invited person the posture admits is now refused with the configuration error that uninvited people already get, until an administrator corrects the set or creates the account directly. A refused attempt creates nothing. domain:server · 1 PR · precedent #34969 (+307 −30, 10 files) and #35200 (+383 −16, 8 files): both ! narrowing patches on this same decision function and test file, each with the dogfood battery and a contract-tier review. The dev's patch exists, uncommitted.
    B. Invitation fallback As A when the set resolves. When it does not, an invited sign-up is admitted on the invitation with no grant. No one who gets in today is turned away. On a broken set, invited people are created with baseline access only; nothing retries the grant, also not after the administrator repairs the set. Uninvited people are refused as today. domain:server plus a spec docblock exception (packages/spec/src/**, a contract surface), plus an ADR-0093 amendment if the fallback is to stay unbound until acceptance under open (a state the ADR does not have) · 2 to 3 PRs · no precedent for an invitation fallback on an unresolvable set; ADR amendment precedent #34909 (+28 −1, 1 file, Tier H).
    C. email_domain only A's rule for on-allowlist addresses; open is left as it is. Fixes half: under open, invited people still miss the declared set. Still refuses the on-allowlist invited sign-up on a broken set, so it is still BREAKING. domain:server · 1 PR now and a second later for open · precedent #34969 (+307 −30) for the half.
    D. Validate the set earlier In addition to A, B or C: refuse or warn when a declared set does not exist, at save or at boot. An administrator learns of a mistyped set before the first sign-up. A set switched off later still reaches the sign-up path, so the corner remains. domain:server (and service-settings if the Setup field becomes a picker) · 1 extra PR · no precedent for an existence probe at configuration entry; nearest is the boot diagnostic of #30449 (+702 −28, 8 files, merged 2026-11-05T12:52Z).

    Business meaning per option

    • A: "An invitation adds a seat and a role; it never takes away what the front door gives everyone." If the front door's access package is broken, the door is shut for everyone it would have served, with a sign on it saying what to fix.
    • B: "If the access package is broken, invited guests are waved in anyway with a visitor badge, and nobody comes back later to give them the real one." Convenient on the day, and the source of accounts that look normal and stay short of access.
    • C: "Fix the side entrance, leave the main entrance as it is." A second trip is certain.
    • D: "Add a second inspector at the factory because the one at the door is strict." It catches typos sooner; it does not replace the one at the door.

    Four axes

    • Long-term soundness. The product needs one answer to "who is a self-registrant", read by every consequence of sign-up (the access granted, the organization joined, the verification asked). A is that: it removes the case where an invitation changes what a person the posture admits receives, and it aligns the grant with the binding that PR fix(plugin-auth)!: a sign-up the email_domain posture admits by an invitation is not bound before its address is verified #34969 already settled. B keeps a second answer for one state (a broken set plus an invitation) and writes an exception into a published promise. C leaves the two answers standing under open. D adds a check and leaves the runtime answer still to be given. (Mechanism: the invitation branch ahead of the posture switch in decideAudienceAdmission; isAdmittedByInvitationAlone.)
    • Business pull, measured. No customer is named on the card; triage rated it p2. No example app and no hotcrm source declares these two postures (0 hits), and cloud-managed environments cannot. So the fix serves self-hosted deployments that open sign-up and also invite people, which is a normal combination but an unmeasured population. For the narrowed corner specifically there is no evidence of any deployment relying on invited people getting in while the declared set is broken, and in that state the deployment's self-registration is already refused for everyone else. Zero pull for keeping that path.
    • AI error. Take a deployment an AI configured with a set name that does not exist. Under A every sign-up the posture admits, invited or not, sees a loud refusal: a 403 whose message names the set and the fix, and an error-level log line; no account is created. Under B uninvited people see that refusal and invited people are silently under-granted: created, signed in, baseline access only, nothing retries. On main today invited people are silently under-granted even when the configuration is correct. No option over-grants: the declared set is what any sign-up the posture admits already receives.
    • Do not sprawl. A adds no key, no error code, no setting and no state; it deletes a branch. B adds a fallback state, a spec exception and possibly an ADR row, each a standing obligation. C costs two rounds for one rule. D is a new check: new gates default to no, no maintainer statement names one for this, and it does not remove the corner.

    Recommendation

    A. The published contract already says that a declared set which cannot be resolved admits no self-registrant without it, and the classification settled for binding makes an invited sign-up the posture admits a self-registrant. A is the code catching up with both, as one BREAKING patch; the corner it narrows is a deployment whose self-registration is already refused, and the refusal is loud and names its remedy.

    • Not B: it contradicts the spec sentence it would have to amend, and it manufactures accounts short of their declared access that nothing repairs.
    • Not C: half of one rule, still BREAKING, and the open half returns as a second card.
    • Not D: it cannot remove the runtime branch (a set can be switched off after boot), and it is a new check with no measured pull. If the maintainer wants typos caught at save, that is a separate card and not a condition of A.

    A's first-axis reading is not close to the others, so the effort difference (1 PR against 2 to 3 for B) is not what decides it.

    Confidence gaps, stated and not used to move the recommendation:

    1. No test was executed for this analysis: the read-only checkout has no installed dependencies. Premises 2 to 4 are readings of code and test text. The single red test is the dev's measured run at 8145424, and premise 8 shows the files unchanged since.
    2. The dev's uncommitted patch was not available. Its shape is taken from the report. The dev measured the narrowing under open only; the email_domain on-allowlist case "follows from the same code, not separately measured".
    3. How many self-hosted deployments run open or email_domain with invitations is unknown; the repository carries no such telemetry.
    4. That the under-grant is invisible when the declared set is the member baseline is read from a docblock (platform-baseline-sets.ts:10), not executed.
    5. Whether Metadata-protocol: none is the right kind, or semantic because the key now reaches invited sign-ups, is for the contract-tier review; fix(plugin-auth)!: a sign-up the email_domain posture admits by an invitation is not bound before its address is verified #34969 and fix(plugin-auth)!: a self-serve social creation is admitted only with a provider-verified address under an address-based posture #35200 both shipped none.
    6. Under A an invitation can expire while the set is broken (the invitation mail's window is stated as 48 hours by default in the plugin-auth changelog; not checked against the installed vendor), so the administrator may have to re-invite after fixing the set.

    End state

    In two years a person's sign-up is classified once and every consequence reads that one answer: someone the deployment's own sign-up rule admits always receives the declared access, an invitation adds an organization and a role on top of it and never replaces it, and a declared access package that cannot be found stops sign-up loudly until an administrator repairs it. That is how the mainstream platforms model it: Salesforce Experience Cloud self-registration creates every self-registered user with the configured default profile and none without one, and Okta, Auth0 and Entra self-service sign-up with domain allowlists treat an invitation as added organization roles on top of the sign-up default.

    只看①选 A;②③④ 是否翻转:否

    After the ruling (if A)

    • Lane and count: domain:server, 1 PR, the existing claim and branch claude/issue-34971-allowlist-invite-grant, the saved patch re-applied on current main. The commit refusal the dev reported is the seat's own operations matter (re-dispatch on a session that can commit); it is not part of this ruling.
    • The dev verifies first, and each premise is falsifiable:
      1. At the fix head, before any test is edited, the only red test in the full @objectstack/plugin-auth suite is the open row of presented-invitation.test.ts:365-371.
      2. The uninvited pins audience-posture.test.ts:893 and :908 are green and unedited.
      3. The email_domain row of presented-invitation.test.ts (an off-allowlist invited sign-up on a store that cannot resolve the set) is green and unedited: an invitation alone still admits, and no set is asked.
      4. The fix needs no edit under packages/spec/** or docs/adr/**.
    • Pins, beside the ones the report lists: under open, and separately under email_domain for an on-allowlist address, an invited sign-up with an unresolvable declared set is refused 403 AUTH_CONFIG_ERROR and no user row is written; control: an off-allowlist invited sign-up with an unresolvable set is admitted with no grant; control: invite_only with a presented invitation is admitted with no grant. Each ablated, red then restored.
    • The red test: remove the open row from the "match an invitation by address" loop, since under open the invitation no longer decides admission, keep the email_domain off-allowlist row, and let the new unresolvable-set pin carry open. Do not make the row green by making its set resolvable; that row would then assert nothing about invitations.
    • Declarations: title fix(plugin-auth)!: …; Clause-②: yes (narrowing) in the PR body and the changeset body, the spelling for a diff that widens who receives the set and narrows the unresolvable-set case (the registration gate's own self-test row "a diff that widens AND narrows", scripts/check-adr-0087-registration.mjs:2590); Metadata-protocol: none, for the contract review to confirm; a patch changeset on @objectstack/plugin-auth with the BREAKING banner, a "What to do" line (correct or switch on the declared set, or have an administrator create the account), and exactly one marker adr-0087: not-required (no-migration-prescription), as fix(plugin-auth)!: a sign-up the email_domain posture admits by an invitation is not bound before its address is verified #34969 and fix(plugin-auth)!: a self-serve social creation is admitted only with a provider-verified address under an address-based posture #35200 carry. The dogfood battery runs once at the head because the title carries !. One contract-tier review is owed before the queue (a narrowing, and a grant on an authorization surface).
    • Docs in the same PR: the module doc's invitation carve-out sentence gains the exception, and the self-hosting.mdx:786 sentence becomes true of the grant as well as the binding. The spec docblock is not edited.
    • ⛔ Fork rule: if a premise fails (a second red test, a spec or ADR edit needed, or the uninvited pins move), stop and report the fork. Do not add an invitation fallback for an unresolvable set (B), do not drop the open half (C), and do not add an existence check at save or boot (D) under this card.

    Related cards and PRs

    os-decision-facets
    ① 项目长远合理性: A 缩小特例,准入只分一次类、授权与入组读同一个答案,代码追平已发布约定;B 新增「权限组失效加邀请」这一例外并要改约定;C 留下开放注册一半的分叉;D 加一道检查而运行时的问题仍在。
    ② 实际业务拉动: 无具名客户,示例应用与 hotcrm 零使用,云托管环境不可选这两种模式;受影响的是开放自助注册又发邀请的自建部署;保留「权限组失效时被邀请者照进」这条路零拉动。
    ③ 防 AI 犯错: AI 写错权限组名时,A 让所有按规则准入的注册当场被明确拒绝并指出该修什么;B 与现状是被邀请者静默少权限、无人补发;各选项都不会多给权限。
    ④ 创业阶段不扩散: A 不加键、不加错误码、不加状态,删一条分支,一个改动;B 多一个状态、一条约定例外,可能再加一行架构决策;D 是新增检查,默认不加,且无维护者点名。
    Prior rulings read: self-registration,email_domain,audience,invitation,selfRegistrationPermissionSet,inert,fail-closed → 45 hits; ADR-0093 D7 (with the D1 amendment note), ADR-0078 Decision §1; thread: none

  8. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibvvVzM5KhCWkT5f45c

    Ruled: A — one rule for invited and uninvited self-registration: the declared set is granted, and an unresolvable declared set refuses (fail-closed) · 2026-11-21T13:14Z

    At 2026-11-21T13:13Z the maintainer (Tesla) picked option A on seat 7's decision card. The card asked 「被邀请者注册时,指定权限组失效该怎么处理?」, and he picked 「A 失效即拒(推荐)」. The analysis is dc-7a's comment 7062693710.

    What this means for the card:

    • An invited sign-up under open, and an on-allowlist sign-up under email_domain, receive the declared self-registration set, the same as an uninvited one.
    • When the declared set cannot be resolved (missing or disabled), both kinds of sign-up are refused with AUTH_CONFIG_ERROR and pointed at the configuration. The invitation no longer admits the user with no grant.
    • This is the accepted narrowing. It carries the ! title, the ADR-0087 entry and the dogfood battery, and goes through the four pieces before it lands. presented-invitation.test.ts:369 is rewritten to the ruled behaviour.

    This card becomes the work card. needs-user-decision comes off (if present), and seat 7's area d7-C carries it.

  9. 5 remaining items

  10. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruling-ref: maintainer 2026-11-21T22:3xZ, verbatim: 「按建议升」, on triage's third non-topic pass (about 10% of non-topic p2, the maintainer's ask: 「按照10% 的比例重新分析」) under the standard ruled 「同意」 today: this week, or someone loses.

    2026-11-21T22:34Z · p2 → p1 on the maintainer's word: access possibly widened: an allowlisted sign-up holding an invitation gets the self-registration grant. security#2 is asked to confirm the grade on the security table. Lane and state unchanged.

  11. added
    priority:p1
    and removed
    priority:p2
    on Nov 21, 2026
  12. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5pb2t8Z8C64PkPyVt1

    Claim: PM loop · area a4-B · 2026-11-22T02:29Z · on seat 4's release of this card to area a4-B (order seat4/area-a4-B.md, section "Re-opened · new p1 batch"); predecessor claim 7061809000 (seat 7, area d7-C), released 7064889653
    Session: session_01FEkQ5pb2t8Z8C64PkPyVt1
    Account: os-project-manager
    Branch: claude/issue-34971-allowlist-invite-grant
    Worktree: objectstack-issue-34971
    Resume-from: claude/issue-34971-allowlist-invite-grant@706e936755b1e0ce6f80cba2240d0394989a0d82
    Domain: domain:server
    Seat: repo:objectstack#4
    Area: a4-B
    Pre-claim lane: packages/plugins/plugin-auth/** is domain:server; seat repo:objectstack#4 released this card to a4-B.
    Pre-claim deps: no Blocked-by:; #34969 merged; no open PR names this card.
    Prior rulings read: on-allowlist,sign-up,holding,invitation,gets,self-registration,grant,follow-up → 70 ADR candidates (ADR-0093 D7, ADR-0099 D3 and the set 7061809000 read; they stand as read there); thread: ruling A 7063136215 (one rule for invited and uninvited self-registration: the declared set is granted, and an unresolvable declared set refuses fail-closed with AUTH_CONFIG_ERROR; the accepted narrowing), analysis 7062693710, grade p1 by 7070283876; repo: objectstack-ai/objectstack
    File surface: as 7061809000 (audience-posture.ts, auth-manager-membership-admission.ts, invitation-acceptance-verified-address.test.ts, audience-posture.test.ts, other tests under packages/plugins/plugin-auth/src/** incl. presented-invitation.test.ts, content/docs/deployment/self-hosting.mdx, one .changeset/34971-*.md), plus the ADR-0087 migration entry the narrowing owes (path named by the dev before writing). packages/spec/src/** beyond that entry ⇒ stop and report.
    Container & model: S, mode:subagent, model: default tier (opus; dispatch-gates --tier: no path-derived mandate), effort: high (seat order)
    Clause-②: no (narrowing, per ruling A: an invited sign-up with an unresolvable declared set is now refused); ! title, BREAKING changeset, ADR-0087 entry, dogfood battery
    Metadata-protocol: none
    Responsibility: as 7061809000 (decideAudienceAdmission answers a pending invitation before the posture rule, so an invited on-allowlist / open sign-up gets no declared set); reach: self-serve sign-ups under email_domain and open that also hold a pending invitation.
    Thread-read: 7070283876
    Premise: holds at the WIP head per 7064889653; the branch is 85 commits behind origin/main 48c732c, so the dev merges main first and re-measures.
    Serial constraints cleared: no open PR names this card; the dev runs overlap-check before the first push. Landing: narrowing + Security-touching ⇒ the seat runs the Fable contract review and the four pieces; this area never --lands it.

  13. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  14. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5pb2t8Z8C64PkPyVt1
    os-dev-report

    {
      "issue": 34971,
      "status": "done",
      "branch": "claude/issue-34971-allowlist-invite-grant",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36312",
      "session": "session_01FEkQ5pb2t8Z8C64PkPyVt1",
      "premise_still_valid": true,
      "head_sha": "ffffab1779",
      "summary": "Resumed the released WIP 706e93675 and merged origin/main a5a5312ff into it (merge commit 41d1882da, no conflicts; main touched none of the 5 WIP files). Implemented ruling A on top: decideAudienceAdmission (audience-posture.ts) reads the module-private isAdmittedByPostureRule before the invitation carve-out, so an invited sign-up under open, or on the allowlist under email_domain, asks for the declared set and is refused AUTH_CONFIG_ERROR when it cannot be resolved; the invitation-alone admissions (invite_only, email_domain off the list) are unchanged. Added the unresolvable-set refusal pins and the off-allowlist control, rewrote the presented-invitation.test.ts row that pinned the removed branch (open dropped from the by-address loop, email_domain off-list kept), stated the fail-closed rule in the module doc and self-hosting.mdx, moved the changeset to BREAKING Clause-② no (narrowing) with a registered ADR-0087 semantic entry, and fixed the one stale dogfood fixture the battery found (walled census invitee now holds the declared set on its first membership). Draft PR #36312 opened through the relay.",
      "files_changed": [
        ".changeset/34971-allowlist-invite-grant.md",
        "content/docs/deployment/self-hosting.mdx",
        "packages/plugins/plugin-auth/src/audience-posture.ts",
        "packages/plugins/plugin-auth/src/audience-posture.test.ts",
        "packages/plugins/plugin-auth/src/invitation-acceptance-verified-address.test.ts",
        "packages/plugins/plugin-auth/src/presented-invitation.test.ts",
        "packages/qa/dogfood/test/signup-organization-census-walled.dogfood.test.ts",
        "packages/spec/src/migrations/entries/semantic/18.self-registration-permission-set-reaches-invited-sign-ups.ts"
      ],
      "tests": "Under os-verify-lock at ca290ccdc (source identical to head ffffab1779; later commits touch tests only): closure build pnpm --filter '@objectstack/plugin-auth...' build VERDICT command-exit 0; spec build, typecheck and vitest src/migrations (5 files, 198 tests) exit 0, new entry present in registry.ts and dist/migrations/index.{js,mjs}; plugin-auth full suite Test Files 291 passed (291), Tests 6204 passed, 10 skipped (6214), exit 0; plugin-auth typecheck exit 0 (check:test-typecheck OK). At 0ef10daa0b the three target files 152/152 passed. Ablations (src via relative import, ablation-replace.mjs, mutation proven on disk, restored to HEAD blob fc4dbd6fa055 with git diff HEAD empty): M1 posture rule gated behind !hasPendingInvitation -> 9 failed/143 passed (all four invited unresolvable-set refusals, invited verdict rows, invited grant pins under open and on-list email_domain); M2 invitation-alone branch grantPermissionSet true -> 36 failed/116 passed (every CONTROL: off-list invited with missing set, off-list and invite_only no-grant pins, presented-invitation email_domain row).",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at ffffab1779 over 8 paths: 115 families, each exit code captured before any pipe; --ran: 115 derived, 115 run, 0 NOT-MEASURED, 0 UNRUN, all exit 0. First pass at ca290ccdc had check:test-source-alias exit 1 on presented-invitation.test.ts (fixed by module-top import of @objectstack/core/egress, 0ef10daa0b), and four exit 3/MODULE_NOT_FOUND prerequisites (plugin-teardown-shape self-test on a shallow clone; skill-examples, dual-build-cjs-loads and a cli vitest needing dists) that went to exit 0 after fetching the pinned control and the dogfood closure build. check:adr-0087-registration: BREAKING+bang+clause-②-narrowing, registered (new here). check-nul-bytes exit 0. Local-only check:dev-prereqs exit 1 (box workspace not fully built, 35 dists absent; machine state, not this diff). overlap-check clean before each push (#35129 shares self-hosting.mdx, merges cleanly). CI on PR head ffffab1779 at report time: in_progress (Check Changeset, Lint jobs, Type Check jobs, Governed Surface Queue Guard, PR-body guards, Spec property liveness); none concluded.",
      "dogfood_battery": "0ef10daa0b · VERDICT command-exit 0 (wrapper; battery itself exit 1) · Test Files 1 failed | 483 passed | 3 skipped (487) · Tests 2 failed | 4105 passed | 68 skipped (4175) · both failures: signup-organization-census-walled.dogfood.test.ts grant-writer case under group and isolated, asserting the open-posture invitee holds no declared set (stale fixture, consequence of this change). Fixed in ffffab1779; that file plus its single sibling rerun at ffffab1779: 2 files, 15/15 passed. Full battery not rerun on ffffab1779 (only that test file changed).",
      "ablations": "M1 and M2 above; both red, both restored to the HEAD blob.",
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls, draft, no assignees, no labels; read-back 10239 bytes identical) and this os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/34971/comments via post-stamped). git push x4 not counted.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: boot-sign-in-reachability.ts docblock says decideAudienceAdmission short-circuits on hasPendingInvitation BEFORE the posture switch and admits under every posture; after this change the posture-rule check precedes the invitation, so under open or on-list email_domain with an unresolvable set an invitation no longer admits. Outside the file surface; in the PR acceptance notes."
      ],
      "deviations": [
        "Declarations: dispatch and claim spell Clause-② no (narrowing), copied; analysis 7062693710 suggested yes (narrowing). Left to the contract review.",
        "ADR-0087: the dispatch asked for a migration entry; precedents #34969/#35200 used not-required (no-migration-prescription). Registered a semantic entry under packages/spec/src/migrations/entries/semantic/, so the changeset also bumps @objectstack/spec patch (the entry ships in spec dist).",
        "packages/qa/dogfood/test/signup-organization-census-walled.dogfood.test.ts is outside the claim's file surface; edited because the battery owed by the ! title went red on a fixture this change makes false (os-dev: fix in the same PR).",
        "The first push (merge commit 41d1882da) went out before overlap-check; every later push ran it first.",
        "The cli migrate-meta vitest rerun ran outside the verify lock."
      ]
    }
  15. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5pb2t8Z8C64PkPyVt1

    Claim revision · 2026-11-22T05:37Z · same session, same branch claude/issue-34971-allowlist-invite-grant, PR #36312 (dev report 7074836533).
    File surface: as claim 7072949819, plus packages/qa/dogfood/test/signup-organization-census-walled.dogfood.test.ts (the dogfood battery the ! title owes went red on its grant-writer case, a fixture ruling A makes outdated: the open-posture invitee now holds the declared set), and the ADR-0087 entry named at packages/spec/src/migrations/entries/semantic/18.self-registration-permission-set-reaches-invited-sign-ups.ts (with a @objectstack/spec patch bump in the changeset, because the entry ships in the spec dist).

  16. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5pb2t8Z8C64PkPyVt1

    Handover stop point (area a4-B) · 2026-11-22T06:33Z (maintainer handover rule 2026-11-22 06:31Z: rework stops, the successor continues).

  17. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5pb2t8Z8C64PkPyVt1

    Landed · 2026-11-22T08:47Z: PR #36312 merged and its Fixes #34971 closed this card as completed.

    Reading Value
    PR #36312 MERGED (merge 0f29688666) at head ffffab1779, by the maintainer; L1-a ACCEPT 7076000414, dogfood battery 7075987084 (4107 passed, 0 failed), contract PASS 7076202877 (CONTRACT_REVIEW_TIER, seat repo:objectstack#7)
    Delivered Ruling A 7063136215: an invited sign-up that the audience posture admits on its own gets the declared self-registration set, and is refused AUTH_CONFIG_ERROR when that set can't be resolved. BREAKING, Clause-②: no (narrowing), ADR-0087 entry self-registration-permission-set-reaches-invited-sign-ups.

    State change: pm:dispatched removed in the same write; the other labels stay. Prose nits N1 and N3 are carried by #36355 (pm:queue).

  18. removed
    pm:dispatched
    on Nov 22, 2026
  19. added a commit that references this issue on Nov 22, 2026
    0f29688
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:datadomain:serverpriority:p1security

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions