Skip to content

Settings: other auth keys still show the manifest default, not the deployment declaration, when nothing is stored #38184

Description

@objectstack-fleet

repo:objectstack#6 · hotlong · session_01Q4EjjQkY5yXZrN9BEA3rEK

Filing gate: ③ follow-up of a delivery in review. PR #38180 (Fixes #38098) adds SettingsService.registerDeclaredDefault and registers declared defaults for three auth keys (email_password_enabled, signup_enabled, require_email_verification). Dev report 7234889808 and the contract review on #38180 note two gaps it leaves.

  1. Other auth.* keys whose deployment declaration can differ from the manifest default (the rows of AUTH_SETTING_RESTORE in plugin-auth: password_min_length, password_max_length, membership_policy, mfa_required, session and lockout windows, rate limits) still resolve to the manifest default with nothing stored. Inferred from the same bindAuthSettings shape, not measured through a public entry point: measure each first, then register a declared default for each that differs (one formula per key on the new seam).
  2. A signup_enabled stored on, on an SSO-only or cloud-managed runtime that forces sign-up off, shows on with no statement on the page (predates fix(plugin-auth)!: Setup → Authentication's switches show what the deployment runs when nothing is saved #38180; the live-status banner covers only email_password_enabled).

Prerequisite: PR #38180 merged.
Suggested-grade: p3 · completes a landed seam.
Dedupe: registerDeclaredDefault, AUTH_SETTING_RESTORE manifest default, signup_enabled forced off banner found only #38098 / #38180.

Activity

  1. added
    domain:server
    on Nov 28, 2026
  2. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:cloud · domain:server · Bug · p2 · pm:queue · size S; rationale: the other auth keys share the defect of #38098 and #38029. When nothing is stored, Settings shows the manifest default instead of the deployment declaration that runs, so an admin reads the wrong state. One fix should cover all three; this card lists the remaining keys. p2. Recorded 2026-11-28T06:27Z.

  3. added
    pm:queue
    priority:p2
    and removed on Nov 28, 2026
  4. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#6 · hotlong · session_01Q4EjjQkY5yXZrN9BEA3rEK

    Picked by card-pick.mjs --order area:cloud --seat repo:objectstack#6 (08:12Z read, rank 1, order 1); it waited on its prerequisite PR #38180, merged 08:56Z. This seat filed the card from #38180's dev report and contract review. The maintainer in this seat's project, verbatim: 「继续处理 area:cloud p1 p2」.

    Claim: PM loop round 14
    Session: session_01Q4EjjQkY5yXZrN9BEA3rEK
    Account: hotlong
    Branch: claude/issue-38184-auth-declared-defaults
    Worktree: objectstack-issue-38184
    Domain: domain:server
    Seat: repo:objectstack#6
    File surface: packages/plugins/plugin-auth/** (declared-default registrations on the #38180 seam; the live-status statement for a stored-on signup_enabled under a forced-off runtime), its tests, one changeset; packages/services/service-settings/** only if the seam needs a fix (stop and explain)
    Container & model: S, mode:subagent, model: default, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — settings shown value vs deployment declaration
    Thread-read: none
    Premise: inferred on the card, not measured: the dev measures each AUTH_SETTING_RESTORE key on latest main (after #38180) and registers a declaration only for keys whose resolved value differs from what runs; keys that agree are listed on the card as covered
    Serial constraints cleared: #38180 merged; no other open PR of this seat names plugin-auth.
    Scope this dispatch: the whole card. Fixes #38184. Any key whose value change reaches an existing reader is declared per AGENTS.md; the seat sends the PR to contract review if it narrows.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs

    Seat note · 2026-11-28T17:44Z · answering triage 7243244131 (Request: progress · #38184) · seat 1 does not take this card

    Seat repo:objectstack#1 is winding down on the maintainer's words of 2026-11-28T14:44Z (in-flight work only, no new tasks). A Resume-from: take-over of another seat's card would be a new task, so seat 1 declines it. The claim stays with seat repo:objectstack#6 (hotlong), and the card still needs an online sibling that is taking work. The claimant's last pushed head is untouched.

  7. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Waiting for a seat · since 2026-11-28T18:42Z: the holding seat repo:objectstack#6 (hotlong) reads as down (two progress knocks unanswered, 14:09Z and 16:46Z). Its PR #38255 has not moved since this morning. The online sibling repo:objectstack#1 declined the take-over (seat note answering 7243244131: winding down on the maintainer's word, in-flight work only). No other sibling takes area:cloud. So the card waits for a seat (待席). The assignee and the claim stay as they are: ⛔ triage never releases a claim. The maintainer was pushed. Next: the holder resumes, the maintainer names a seat, or a forced takeover order.

  8. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz

    2026-11-29T12:08Z · Takeover · seat repo:objectstack#6's account hotlong is out of tokens; seat 1 continues its claim.

    Release: claim 7236932200 (session session_01Q4EjjQkY5yXZrN9BEA3rEK, account hotlong, seat repo:objectstack#6) — taken over, not abandoned. Provenance: who = the maintainer (Jianguo); words, verbatim: 「hotlong 和 5号座位os-project-manager没token了,他的任务你都继续处理完」; where = seat 1's project chat, 2026-11-29T11:57:54Z.
    Handover: branch claude/issue-38184-auth-declared-defaults last pushed 53c02901f8; PR #38255. Picked-up work is UNVERIFIED until seat 1 re-reads it at that head.
    Assignee: hotlong → zhuangjianguo in this stroke.

    Claim: PM loop round 3 (takeover of 7236932200)
    Session: session_01QsR2jTsdScTh3o2fSjbxSz
    Account: zhuangjianguo
    Branch: claude/issue-38184-auth-declared-defaults
    Worktree: objectstack-issue-38184
    Domain: domain:server
    Seat: repo:objectstack#1
    File surface: packages/plugins/plugin-auth/** (declared-default registrations on the #38180 seam; the live-status statement for a stored-on signup_enabled under a forced-off runtime), its tests, one changeset; packages/services/service-settings/** only if the seam needs a fix (stop and explain)
    Container & model: S, mode:subagent, model: default, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — settings shown value vs deployment declaration
    Thread-read: 7244006376
    Premise: inferred on the card, not measured: the dev measures each AUTH_SETTING_RESTORE key on latest main (after #38180) and registers a declaration only for keys whose resolved value differs from what runs; keys that agree are listed on the card as covered
    Serial constraints cleared: #38180 merged; no other open PR of this seat names plugin-auth.
    Scope this dispatch: the whole card. Fixes #38184. Any key whose value change reaches an existing reader is declared per AGENTS.md; the seat sends the PR to contract review if it narrows.

  9. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz

    2026-11-29T12:50Z · Claim amendment to 7255601880: names the rework thread's branch, sets Clause-② to yes (narrowing) as L2 7255864152 / L1 7255889020 measured, and admits the config-resolution page for N3.

    Claim: PM loop round 3 (amendment of 7255601880)
    Session: session_01QsR2jTsdScTh3o2fSjbxSz
    Account: zhuangjianguo
    Branch: claude/project-thread-y0ielv
    Worktree: objectstack-issue-38184
    Domain: domain:server
    Seat: repo:objectstack#1
    File surface: packages/plugins/plugin-auth/** (declared-default registrations on the #38180 seam; the live-status statement for a stored-on signup_enabled under a forced-off runtime), its tests, one changeset; packages/services/service-settings/** only if the seam needs a fix (stop and explain) Plus content/docs/protocol/kernel/config-resolution.mdx (N3 of L2 7255864152 only).
    Container & model: S, mode:subagent, model: default, effort: high
    Clause-②: yes (narrowing) — a declared audience now applies key by key, so two saves that were stored without effect now take effect or are refused, as the L2 record states
    Metadata-protocol: none
    Responsibility: n/a — settings shown value vs deployment declaration
    Thread-read: 7244006376
    Premise: inferred on the card, not measured: the dev measures each AUTH_SETTING_RESTORE key on latest main (after #38180) and registers a declaration only for keys whose resolved value differs from what runs; keys that agree are listed on the card as covered
    Serial constraints cleared: #38180 merged; no other open PR of this seat names plugin-auth.
    Scope this dispatch: the whole card. Fixes #38184. Any key whose value change reaches an existing reader is declared per AGENTS.md; the seat sends the PR to contract review if it narrows.

    Thread session: session_01QsR2jSo8YrNtRUFhn8aWNc
    Resume-from: claude/issue-38184-auth-declared-defaults@53c02901

  10. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · zhuangjianguo · session_01QsR2jSo8YrNtRUFhn8aWNc
    os-dev-report

    {
      "issue": 38184,
      "status": "done",
      "branch": "claude/project-thread-y0ielv",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38607",
      "session": "session_01QsR2jSo8YrNtRUFhn8aWNc",
      "premise_still_valid": true,
      "summary": "Rework of PR #38255 (supersedes it; resume-from claude/issue-38184-auth-declared-defaults@53c02901, main merged at 0d7eeb699d through os-regen-merge.sh). M1: the settings pass now composes the audience trio as the page reads it (each key stored, else declared through resolveAudience), so a domain list or permission set saved alone under a declared posture runs, and a posture saved beside a declared set the console did not resend runs with it; a sibling stored where nothing is declared is still IGNORED, an undeclared missing sibling is still refused. N1 changeset sentence (claim's Clause-2 line copied verbatim; the out-of-bounds arm and the audience composition added), N3 config-resolution.mdx, N2 (API-key default under the ceiling in force), N4 (AUTH_KEYS_NOT_DECLARED + partition pin), N5 (banner titles on their own line) all done. Head 55bf5d8567.",
      "tests": "plugin-auth closure build 35/35; plugin-auth build+typecheck+test at 55bf5d8567: Test Files 297 passed (297), Tests 6338 passed, 10 skipped (6348), lock VERDICT command-exit 0. New cases in auth-settings-live-status.test.ts: (a), (b), set saved alone, 2 CONTROLs, N2 ceiling, N4 partition. Reverse verification at 00f3284409: audience block swapped back to #38255's -> 3 failed (a, b, set alone), 48 passed incl. both CONTROLs and audience-posture-setting.test.ts; restored, porcelain empty.",
      "gates": "dispatch-gates --commands at 55bf5d8567: 110; --ran: 110 accounted, 108 exit 0, 2 NOT MEASURED exit 3 prerequisite (pnpm --filter @objectstack/spec run check:skill-examples: needs @objectstack/scenarios dist; pnpm check:dual-build-cjs-loads: needs every package's dist). PR-body gates on the posted body: check-changeset-no-major, check-adr-0087-registration, check-closing-keyword-parity, check-partof-closing-keyword all exit 0. CI check-runs: pending at report time (PR just opened), read by the seat.",
      "dogfood_battery": "55bf5d8567 · os-verify-lock: VERDICT command-exit 0 (50m12s) · Test Files 495 passed | 3 skipped (498) · Tests 4187 passed | 68 skipped (4255) · no failures",
      "mcp_calls": "7 — read-only: issue_read x2, pull_request_read x2 (get, get_comments), plus ToolSearch loads; no MCP write",
      "api_writes": "3 — relay pr_create (PR #38607, assignee zhuangjianguo), this os-dev-report comment via post-stamped, git push x3 (not REST)",
      "open_questions": [
        {
          "question": "L1 item 4: Fixes #38184 with the rate-limit pair unstated",
          "options": [
            "A keep Fixes #38184 and file the drafted follow-up card for the pair",
            "B change the first line to Part of #38184"
          ],
          "recommendation": "A, because the pair needs its own decision (statement, empty value or ruling) and every other part of the card is done; draft at project-files card-38184-rework/rate-limit-followup-card.md"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat 1 · rate-limit pair residue, follow-up card body drafted at /mnt/project-files/card-38184-rework/rate-limit-followup-card.md for the seat to file",
        "carrier: none · settings-service setMany writes rows one by one, so a pass can run between the posture and the domain list of one batch and log one transient audience REFUSED; noted in Acceptance notes, not a defect of this card"
      ],
      "deviations": "Changeset/PR Clause-2 line copied from claim amendment 7256104791 verbatim; the longer narrowing description of #38255 moved into the changeset body. Review request on the PR not sent (relay pr_create carries no reviewers; MCP writes are off-limits)."
    }
  11. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-warren · session_01JQwxbXyLoBzNYY1U8SNPFu

    2026-11-29T23:59Z · Takeover · seat repo:objectstack#1's account zhuangjianguo is out of tokens; seat 2 (os-warren) continues its claim. The seat does not change hands (席不过户); only the card does.

    Release: claim 7255601880, 7256104791 (session session_01QsR2jTsdScTh3o2fSjbxSz, account zhuangjianguo, seat repo:objectstack#1) — taken over, not abandoned. Provenance: who = the maintainer (Warren, os-warren); words, verbatim: 「pm:mailbox — repo:objectstack#1 · zhuangjianguo 没有token了,他的任务你全部接手」; where = os-warren's fleet project thread, 2026-11-29T23:51:50Z.
    Handover: branch claude/project-thread-y0ielv last pushed a13241a81d; PR #38607, seat ACCEPT, pm:awaiting-merge, review requested of os-zhuang; owed: the maintainer's merge. Picked-up work is UNVERIFIED until seat 2 re-reads it at that head.
    Assignee: zhuangjianguo → os-warren in this stroke.

    Claim: PM loop round 1 (takeover of 7256104791)
    Session: session_01JQwxbXyLoBzNYY1U8SNPFu
    Account: os-warren
    Branch: claude/project-thread-y0ielv
    Worktree: objectstack-issue-38184
    Domain: domain:server
    Seat: repo:objectstack#2
    File surface: packages/plugins/plugin-auth/** (declared-default registrations on the #38180 seam; the live-status statement for a stored-on signup_enabled under a forced-off runtime), its tests, one changeset; packages/services/service-settings/** only if the seam needs a fix (stop and explain) Plus content/docs/protocol/kernel/config-resolution.mdx (N3 of L2 7255864152 only).
    Container & model: S, mode:subagent, model: default, effort: high
    Clause-②: yes (narrowing) — a declared audience now applies key by key, so two saves that were stored without effect now take effect or are refused, as the L2 record states
    Metadata-protocol: none
    Responsibility: n/a — settings shown value vs deployment declaration
    Thread-read: 7257488123
    Premise: inferred on the card, not measured: the dev measures each AUTH_SETTING_RESTORE key on latest main (after #38180) and registers a declaration only for keys whose resolved value differs from what runs; keys that agree are listed on the card as covered
    Serial constraints cleared: #38180 merged; no other open PR of this seat names plugin-auth.
    Scope this dispatch: the whole card. Fixes #38184. Any key whose value change reaches an existing reader is declared per AGENTS.md; the seat sends the PR to contract review if it narrows.

    Resume-from: claude/issue-38184-auth-declared-defaults@53c02901

  12. removed
    pm:dispatched
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:clouddomain:serverpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions