Skip to content

docs(plugin-auth): boot reachability docblock and self-hosting open-posture sentence after #36312 #36355

Closed

Description

@objectstack-fleet

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

Follow-up of PR #36312 (#34971), carried from contract review 7076202877 nits N1 and N3. Prose only; no behaviour change. Filed under the maintainer's 2026-11-22 07:49Z rule that small follow-ups go to their own card.

N1. packages/plugins/plugin-auth/src/boot-sign-in-reachability.ts (docblock and boot message) still says the invitation branch is read before the posture switch and that the carve-out admits the one invited creation under every posture. After #36312 the posture rule is read first for open and on-allowlist email_domain; the verdict-level claim still holds (its pin is green), but the mechanism sentence is now imprecise. Reword the docblock and the message to match decideAudienceAdmission's order.

N3. content/docs/deployment/self-hosting.mdx: the sentence "Under open every address is admitted by the posture" omits the exception the #36312 changeset states (a social creation with an unverified address while verification is in force). Add the half-clause.

Done when: both sentences match the code at main; no test or behaviour change.

Activity

  1. added
    pm:queue
    domain:server
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server (plugin-auth boot-reachability docblock and the self-hosting doc) · pm:queue; rationale: area:data (sign-in; it had no area) · Bug · after #36312 the posture rule is read first, but the docblock, the boot message and the self-hosting sentence still describe the old order. The published sentence is wrong, which is p2 → p2 (was p3) · size XS. Linked under topic #36239.

  3. added
    priority:p2
    and removed on Nov 22, 2026
  4. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As6FyXmJyGyHNKXUkV7

    Claim: PM loop round 1
    Session: session_011y7As6FyXmJyGyHNKXUkV7
    Account: os-alice
    Branch: claude/issue-36355-auth-posture-order-prose
    Worktree: objectstack-issue-36355
    Domain: domain:server
    Seat: repo:objectstack#7
    Area: o7-data
    File surface: packages/plugins/plugin-auth/src/boot-sign-in-reachability.ts (docblock and boot message text only), content/docs/deployment/self-hosting.mdx, one .changeset file (stop on breach; explain in the report)
    Container & model: XS, mode:subagent, model: default (dispatch-gates --tier: "no path-derived mandate"), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (prose only, no behaviour change)
    Thread-read: 7076780617
    Premise: holds (origin/main: boot-sign-in-reachability.ts:41-45 still says decideAudienceAdmission short-circuits on hasPendingInvitation BEFORE the posture switch and admits under every posture; self-hosting.mdx:816 "Under open every address is admitted by the posture" has no unverified-social exception)
    Pre-claim lane: repo:objectstack#7 · o7-data — packages/plugins/plugin-auth is an o7-data path root on #35557; the doc sentence rides with the card
    Pre-claim deps: no Blocked-by and no "after #N" on the card; #36312 (the card's origin) is merged
    Prior rulings read: check-prior-rulings --card 36355: ruling lines in boot-sign-in-reachability.ts (maintainer ruling 2026-09-02 option A, sink ruling e238c79) and ⛔ lines 22, 62, 72, 184; the prose fix moves no admission semantics and must keep the line-62 rider rule
    Serial constraints cleared: open PR #36311 (auth boot retirement) and #35129 (Version Packages) also touch self-hosting.mdx — overlap-check before each push; os-verify-lock depth checked at dispatch
    Fold-or-serial: not folded — #36121 is also stale prose but a different file and package (gate ① fails)

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As6FyXmJyGyHNKXUkV7
    os-dev-report

    {
      "issue": 36355,
      "status": "done",
      "branch": "claude/issue-36355-auth-posture-order-prose",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36724",
      "session": "session_011y7As6FyXmJyGyHNKXUkV7",
      "premise_still_valid": true,
      "summary": "N1: boot-sign-in-reachability.ts docblock and the no_sign_in_account_at_boot message now state decideAudienceAdmission's order at main (posture rule first for open and on-allowlist email_domain, then the invitation branch for invite_only and off-allowlist); the verdict claim 'admitted under EVERY audience posture' is kept, the line-62 rider rule untouched. N3: self-hosting.mdx open-posture sentence gains the unverified-social-address exception (403 SELF_REGISTRATION_CLOSED while verification is in force). Same page's recovery paragraph carried the N1 imprecision ('carve-out admits that one creation under every posture') and is reworded too, inside the claimed file. Patch changeset for @objectstack/plugin-auth (message ships in dist). No logic or test change; no test pins the reworded text verbatim (the phrase lives only in a describe/it title). files_changed: 3; line_budget: 41 changed lines (+31/-10) against 50.",
      "tests": "HEAD d1105b670d. vitest run src/boot-sign-in-reachability.test.ts: Test Files 1 passed (1), Tests 51 passed (51). Under os-verify-lock: plugin-auth build && typecheck && test: VERDICT command-exit 0; Test Files 293 passed (293), Tests 6265 passed | 10 skipped (6275). Dependency closure build (plugin-auth^...): VERDICT command-exit 0. No ablation (prose only, no tested behaviour changed).",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack derived 91 families at d1105b670d; all run, exits captured before pipes: 88 exit 0, 3 exit 3 NOT MEASURED (check:skill-examples and check:dual-build-cjs-loads: PREREQUISITE NOT MET, read built output of packages outside the closure; check-plugin-teardown-shape --self-test: shallow checkout). --ran reconciliation: 91 accounted, 88 run, 3 NOT-MEASURED. check-nul-bytes: OK. overlap-check: VERDICT clean exit 0 (origin/main, #36311, #35129 merge cleanly). PR check-runs at report time: all in_progress/queued (Check Changeset, Lint jobs, Type Check jobs, Governed Surface Queue Guard, PR-body guards); not awaited.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — git push (branch); relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST issues/36724/assignees os-alice); post-stamped report comment on #36355",
      "open_questions": [],
      "deviations": "PR body: first line Fixes #36355 per os-dev, signature line second (dispatch asked signature first; os-dev wins on conflict). Commit trailers are the model-free pair per AGENTS.md rather than the harness Co-Authored-By with a model name. Self-hosting recovery paragraph reworded beyond the N3 sentence (same file, same imprecision as N1, required by the docblock's agreement rule).",
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  7. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As6FyXmJyGyHNKXUkV7

    Delivered · 2026-11-23T19:13Z · PR #36724 merged 2026-11-23T15:11Z (area self-review ACCEPT 7103888853). The boot reachability docblock and no_sign_in_account_at_boot message, and the self-hosting page, now state the admission order decideAudienceAdmission reads (posture rule first, then the invitation branch) and the unverified-social refusal under open. Prose only; no admission verdict moved. pm:dispatched is removed with this note. sweep-closed-cards --pr 36724: this card is the only one the merge closed.

  8. removed
    pm:dispatched
    on Nov 23, 2026
  9. added a commit that references this issue on Dec 1, 2026
    d24a502
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:datadomain:serverpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions