Skip to content

revert: PR #30222 (main red #30255) - #30262

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/project-thread-24iijl
Nov 5, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/project-thread-24iijl

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Bill · project thread

domain:server#2 · os-bill · session_01Utp6Cbvcmv8YWFhFJwzjKL

维护者速读

  • 改了什么: 回退 PR fix(plugin-security): every member reads and posts comments, and reads the activity history, of the records they can read #30222(490d136f):member_default 去掉 sys_comment 和 sys_activity 两行,连同它的测试和 changeset,文件恢复到合并前的原样。
  • 为什么改: 合入后 main 的 Dogfood Regression Gate (2/3) 连红两次。没装审计插件的启动里,这两个对象没有注册,克隆 member_default 被保存门以 422 拒收。按 main 红的约定先止血。
  • 风险与回滚: 只撤落地,不撤裁决:普通成员暂时回到改动前(没有评论和动态),等前向修复。这个 changeset 还没发布,所以回退不发布任何东西。
  • 先看: packages/plugins/plugin-security/src/objects/default-permission-sets.ts 的差异。
  • 两分钟验证: git diff 314ad955 HEAD -- packages/plugins/plugin-security .changeset 为空。
  • 需要您做的: 无,席位落地。

Refs #30255
Refs #30108

Clause-②: no
Metadata-protocol: none

What this does

Reverts the squash commit 490d136f (PR #30222, #30108's landing): the two member_default grants (sys_comment read, create and edit; sys_activity read), the comment block above them, the integration test file, the flipped pins in member-default-explicit-allow.test.ts and comment-reaction-own-record-floor.test.ts, and the changeset .changeset/30108-member-default-feed-grants.md.

The five paths are byte-identical to their state in 314ad955, the commit before the landing: git diff 314ad955 HEAD over them is empty. No later commit on main touched them.

#30108's ruling A stands. Only the landing is undone, and the forward fix follows in its own PR, as the seat directed.

Why main went red

Measured in run 41961254209 (797f9257), Dogfood Regression Gate (2/3), case permission-set-clone-door.dogfood.test.ts "a platform set (the lock-and-clone rule's commonest source) copies into its shipping package's pair": the clone answered 422 INVALID_METADATA with two findings, objects.sys_comment and objects.sys_activity, each "no package registers an object of that name and none is saved here".

@objectstack/verify's bootStack constructs no AuditPlugin (fact 3 of packages/cli/src/commands/serve-audit-registration.contract.test.ts), and the showcase's requires does not name audit, so neither object is registered on that boot. The save door's unknown-grant refusal (#28990, packages/metadata-protocol/src/protocol-save-door-refusals.ts) judges every grant of a new item, and a clone is a new item. The same refusal reaches any deployment that does not install @objectstack/plugin-audit, not only the dogfood boot.

The merge queue skips the dogfood shards, so the PR's own checks did not run this case.

Verification

See the seat hand-off for the local run of the dogfood case on this head.


Generated by Claude Code

…records a member can read

The platform baseline names sys_comment (read, create, edit) and
sys_activity (read). The rows stay decided by plugin-audit's
parent-record gates: a member reads and posts comments, and reads the
history, of exactly the records they can read. No delete bit, no row
policy, no export.

A real-stack pin covers a readable record, an unreadable one (row scope
and object level), an external member with and without an explicit
grant, an object with enable.feeds false, and the console feed read's
access-denied log count.

Claude-Session: https://claude.ai/code/session_01Utp6CatT2ajve5PJf1Hhzj
Co-authored-by: Claude <noreply@anthropic.com>
…ned main red

This reverts commit 490d136, the landing of
the member_default feed grants, together with its changeset. On a boot that
does not install @objectstack/plugin-audit (the verify harness's showcase),
neither object is registered, so the permission-set clone door's save refuses
a copy of member_default with 422 INVALID_METADATA on both grants. The ruling
stands; only the landing is undone, and the forward fix follows.

Claude-Session: https://claude.ai/code/session_01Utp6CatT2ajve5PJf1Hhzj
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation tests tooling labels Nov 5, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#2 · os-bill · session_01Utp6Cbvcmv8YWFhFJwzjKL

维护者速读

席位核对 — ACCEPT · domain:server#2 · head 1d7cf41e2d34c5713698633aee48aa0b2d463d9a

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 5, 2026 04:08
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

Nothing in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 1 changed package(s)), so this run has no opinion about the docs.

What this run could not see

Coarse fallback — 17 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 31260ca8e446fa4fbe94ff8fd2a9030ddfb53a9a → packageMentionDocs.

@objectstack-fleet
objectstack-fleet Bot enabled auto-merge November 5, 2026 04:08
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#2 · os-bill · session_01Utp6Cbvcmv8YWFhFJwzjKL

Changeset confirmation (route 0, #18375 ruling D): Check Changeset stays red on purpose, and skip-changeset is not applied.

Confirmed by the lane seat that owns both #30108 and #30255. Check Changeset is not a required context, so this red does not block the queue.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#2 · os-bill · session_01Utp6Cbvcmv8YWFhFJwzjKL

Check Changeset, route 0 (#18375): this PR deletes a pending release note and adds none, so the check stays red and no skip-changeset label is applied.

  • The note: .changeset/30108-member-default-feed-grants.md ('@objectstack/plugin-security': patch), added by PR fix(plugin-security): every member reads and posts comments, and reads the activity history, of the records they can read #30222 (490d136f).
  • What changed under it: the note is deleted (git diff --name-status row D), together with the change it describes, which this PR reverts. The note was never released: it is still pending on main, which is why there was a file to delete. So after this PR the pending release set no longer announces the member_default feed grants, and nothing else changes.
  • The forward fix re-lands the grants with their own changeset, after this revert merges.

Please confirm in writing here. Check Changeset is not a required context, so its red does not block the queue.

Report taken 2026-11-05T04:20Z.


Generated by Claude Code

@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 5, 2026
Merged via the queue into main with commit 119c2db Nov 5, 2026
48 of 49 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-24iijl branch November 5, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l tests tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant