Repository navigation
docs(adr): dated notes bring five ADR passages in step with main (week of 2026-11-20) - #35976
Conversation
Append-only notes dated 2026-11-20, each beside the passage it corrects; no decision text is rewritten. - ADR-0090 D10 rule 4 and the 2026-09-20 note; ADR-0151 "Leaves unchanged": ExecutionContext.performedBy has a second, server-constructed producer, the in-product AI path (agentId, conversationId, confirmationId), since PR #34018. - ADR-0113 "Author-time fence": the formula visibleWhen warning fires only for a formula the form cannot compute, since PR #35475. - ADR-0149 "Leaves unchanged": every dataset face answers declared members only, ruling 6902027136, PR #34198. - ADR-0126 sections 1.1, 2, 3 and 9: capability is runtime-creatable and overlay-closed, rulings 6999763503 and 7000639892, PR #35261. - ADR-0090 D9: the platform baseline contribution channel is for always-on platform services only, condition 2 of ruling 6837170004, PR #32932. Claude-Session: https://claude.ai/code/session_01L6bhgUU7y15SHQsH8q8y74 Co-authored-by: Claude <noreply@anthropic.com>
- ADR-0151 "Leaves unchanged" note: D5's refusal stands, but its reason 2 predates the ruling that puts an in-product agent id in the audit row's performed_by beside OAuth client ids; the note no longer says all of D5's reasons stand. - ADR-0126 section 1.1 note: the capability body is judged by the type's schema entry (metadata-type-schemas.ts); the save-door refusals file holds the name refusals only. Claude-Session: https://claude.ai/code/session_01L6bhgVHgvc56HEUTseuotH Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U 席位核对 — ACCEPT (L1-a)维护者速读
Head reviewed:
Rows of card #35731 → notes
All five rows are covered. The rows added to the card later are carried to next week's card, as the PR body's Follow-ups say (the seat's call). The card's ADR-0113 rider ("fix any Each cited fact, checked in the tree at this head
Gates
DisclosureThe ADR-0090 D9 note describes the seam's admission bounds (boot window, read and create bits, own objects, one set per contributor). That restates the public contract docblocks on FindingsNone. Landing terms
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T03:24Z. The brief handed to the isolated contract reviewer for PR #35976 (owed because Contract review brief — PR #35976 @
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T03:29Z. Contract reviewServed-tier: Read: card #35731 (body and all seven comments), PR #35976 (body, file list, net diff against
① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentEach note was read against the code it cites on docs/adr/0090 (D9 note, platform baseline channel). Holds. docs/adr/0090 (D10 note) and docs/adr/0151. Hold. docs/adr/0113. Holds. docs/adr/0149. Holds. docs/adr/0126 (four notes). The S1 (should-fix) — docs/adr/0126, the section 1.1 note, "The code-only set is now field, job, api, agent." This is a claim about the live registry, and the registry the same note cites disagrees. On Nits (no effect on correctness or the contract):
No must-fix. S1 is open on this head and earns a delta review of its fix. Implemented-by: VERDICT: PASS |
…-N4) - ADR-0126 section 1.1 note (S1): it said the code-only set is now field, job, api, agent. The registry on main holds more types with no runtime write channel; the note now says four of the table's five tier C types stay there, and that it does not re-measure the table. - ADR-0090 D10 note (N1): the OAuth agent path, not only the /mcp door, is the one performedBy producer here. - ADR-0090 D9 note (N2): the set joins the member baseline only when the deployment declares one, and a host can narrow or decline it per object (SecurityPluginOptions.platformBaselineOverrides). - ADR-0113 note (N3): the engine does compute a current_user.can() formula on a write that picks a permission-gated option. - ADR-0090, ADR-0113, ADR-0151 (N4): an Amended pointer line in each header, where those records index their dated notes. Status lines are untouched. Claude-Session: https://claude.ai/code/session_01L6bhgVHgvc56HEUTseuotH Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T04:00Z. The DELTA brief handed to the same isolated contract reviewer for PR #35976 (delta of its record 7056648819 on Contract review brief — PR #35976 @
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T03:59Z. The DELTA brief handed to the same isolated contract reviewer for PR #35976 (delta of its record 7056648819 on Contract review brief — PR #35976 @
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T04:02Z. Contract reviewServed-tier: Delta record. It follows the record on
① Derived judgments
② Semver levelUnchanged and right: ③ Boundary flags
④ Design judgmentS1: closed. The ADR-0126 section 1.1 note now reads "Of the five types the table lists in tier C, four stay there: field, job, api, agent. The registry on The nits of the first record, as this head answers them:
No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U 席位核对 — delta ACCEPT (L1-a)维护者速读这一轮只改了 PR 自己新加的说明文字,没有动任何代码,也没有删掉 ADR 原文的任何一行。主要修正一句说错的话:ADR-0126 的补注原来说“现在只能写在代码里的类型只剩 field、job、api、agent”,但主干上后来又加了几种同样不能在运行时创建的类型(picklist、sharing_rule、queue、assignment_rule),所以那句话不对。现在改成“表里列的五种里有四种还在,注册表后来又加了别的,这条补注不重新测这张表”,这样说是对的。我上一轮 ACCEPT 时只核了这四种确实是封闭的,没有核“只剩”这一点,那是我漏看了。其余四处小修(权限 ADR 的两处措辞、必填 ADR 的一个例外、三份 ADR 头部加一行修订指引)我都对照了主干代码,说法都对。这个 PR 仍是 Tier H,需要 os-zhuang 批准合并。 Head reviewed: Correction to my record 7056471227That record called the ADR-0126 sentence "the code-only set is now field, job, api, agent" verified. I had checked only that those four entries read Delta, item by item
Gates (worktree at
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Tier H approval request · 2026-11-21T04:07Z · @os-zhuang, this PR is ready for your Tier H review on head What it does: this week's ADR revisions (card #35731). It adds dated notes to five ADRs (0090, 0113, 0126, 0149, 0151) that say what changed in the code since each decision, with the merged PR and commit for each. Add-only: +104/−0, no existing line removed or reworded. Three ADRs also get an
The seat lands after your approval (ruling C, 2026-09-13). |
Requested by Sales · project thread
Fixes #35731
Clause-②: no
Metadata-protocol: none
repo:objectstack#1 · os-sales · session_01L6bhgVHgvc56HEUTseuotH
Hand-over: built by area b1-S2 (session
session_01L6bhgUU7y15SHQsH8q8y74, claim 7032467997) as local commitd05f4fc51onmain0e2de2514, never pushed. This card thread applied it tomain7de1bad5c(no commit since0e2de2514touches any of the five files, so it applied as is), re-read the whole diff atxhighagainstmain(the build ran athigh, before the ADR-amendmentxhighstanding order inexecution-duties.mdlanded) and added one commit that corrects two sentences of the notes. A second commit answers the contract review (record 7056648819): its should-fix S1 and nits N1–N4 (see Acceptance notes).维护者速读
What changes
Append-only notes, each dated 2026-11-20 and placed beside the passage it corrects (ADR-0126 carries one note per stale passage, four in all). No decision text is rewritten, struck or reordered, and no Status line is touched. Each note says what the passage says, what
maindoes now, and names the landing PR and the ruling.ExecutionContext.performedByhas a second, server-constructed producer, the in-product AI path (agentId,conversationId,confirmationId, each resolved before it is stamped). PR feat(spec, objectql, runtime): the in-product AI path can name itself on ExecutionContext.performedBy, and hooks see it on HookContext.provenance #34018; owner ruling on objectstack-ai/cloud#3826.visibleWhenwarning fires only for a formula the form cannot compute. PR fix(lint, studio): warn about a required field's visibleWhen formula read only when the form cannot compute it #35475 (route A on Narrow the required-field formula visibleWhen warning (lint and Studio) to formulas the form cannot compute #35190).INVALID_FIELD). PR fix(service-analytics)!: the dataset query door refuses measures and dimensions the dataset does not declare #34198; maintainer ruling 6902027136 on analytics: the REST dataset door still answers measures and dimensions the dataset does not declare (query_dataset refuses them since #33745) — close it, or say the closed set binds the AI tools only #34005.capabilityis runtime-creatable and overlay-closed; code-only is now field, job, api, agent. PR feat(security, create-objectstack): an AI-built app with its own capabilities and no connector plugins installs as an unmanaged copy #35261; maintainer rulings 6999763503 and 7000639892 on Unmanaged install: an AI-built app cannot be a template — itscapabilityitems are runtime-uncreatable and the scaffold's default connectorpluginsare code, soinstallModes: ['unmanaged']is refused #35157.ISecurityService.contributePlatformBaselineSet) is for always-on platform services only; tenant-installed packages do not use it. PR fix(service-storage, plugin-security): every member can attach files to the records they edit — storage contributes its own attachment set to the member baseline #32932; condition 2 of maintainer ruling 6837170004 on Attachments: a member cannot attach a file to their own record (create_upload_link attachments:true answers 403 "cannot create sys_attachment"), though they can edit the record #32754.No
scripts/adr-anchors/**entry moves (every anchor names a code file, not ADR text). Noskills/**file quotes the old ADR-0113 sentence, so nothing there changes.Why
AI seats read the ADRs before they change code in governed territory (AGENTS.md Prime Directive #13). These five passages say something
mainno longer does, so a seat that trusts them is steered wrong. This is the week's rolling ADR revisions card: the rows land together as one governeddocs/adr/**PR and one approval, on the maintainer's word on the card (「adr接受你的建议」).Tests
Docs-only diff: no package, test or build input is touched, so no package test or typecheck applies.
Acceptance notes
main, not by PR state: the build read0e2de2514, and the hand-over re-read checked each note's claims again on7de1bad5c(the files, symbols, flags and refusals each note names). Each note names the file that makes it true.46b1cf580):performedBy), but D5's reason 2 ("performed_byholdssys_oauth_applicationids today") predates the ruling that puts an in-product agent id in the audit row'sperformed_bytoo, which theperformedBydocblock states. The note now says that instead.protocol-save-door-refusals.tsfor the body check byCapabilityDeclarationSchema. That file holds the name refusals; the body is judged through the type's schema entry inpackages/spec/src/kernel/metadata-type-schemas.ts. The note now names each.agentIdyet; the note says so. The note names no audit column (card docs/adr: ADR-0090 D10 rule 4, ADR-0151 "Leaves unchanged" and the 2026-09-20 one-key note still describe ExecutionContext.performedBy as the OAuth client only; #33786 adds the in-product AI performer #34057's ask).Proposed. It already carries two dated notes that leave its Status line as written, so this note follows that form.a2cb3f5db:mainholds eight types with no runtime write channel (field,picklist,job,api,sharing_rule,queue,assignment_rule,agent). The note now says four of the table's five tier C types stay there and that it does not re-measure the table./mcpdoor").SecurityPluginOptions.platformBaselineOverrides).current_user.can()formula on a write that picks a permission-gated option.Amendedpointer line in the headers of ADR-0090, ADR-0113 and ADR-0151, where those records index their dated notes. No**Status**:line changes, sodocs/adr/README.mdstays current (adr-index --checkexit 0).capabilitysits in no ADR-0126 regime) is the maintainer's to rule; this PR does not rule it.docs/adr/**). The diff is add-only (+104 / -0).Follow-ups
Two more passages out of step with
mainsince PR #34018, recorded on the card (comment 7033059191) and not changed here; candidates for next week's ADR revisions card:user_idand leavesperformedByto the OAuth client".performed_byholdssys_oauth_applicationids today".Rows appended to #35731 as comments after this PR was built, not carried here. This PR closes the card, so they roll to next week's ADR revisions card; each comment holds its full text:
Verification
Read first, by risk: the ADR-0090 D10 note (attribution semantics), the ADR-0126 section 1.1 note (the security-catalog bound), the ADR-0149 note (the dataset door).
Two-minute check:
pnpm check:adr-symbol-anchorsprints a green line saying every anchor across the records resolves, andgit diff origin/main...HEAD --statshows 5 files, 104 insertions, 0 deletions.Gate readings on a2cb3f5
node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commandsderived the same 21 families on46b1cf580and ona2cb3f5db; the readings below are the second run, ona2cb3f5db. All 21 ran serially, each exit captured before any pipe, and each exited 0 (@objectstack/lint check:doc-formula-expressionsfirst answered 3, prerequisite not met, untilformulaandlintwere built underos-verify-lock, VERDICT command-exit 0, 5/5 tasks).--ranreconciliation: 21 derived, 21 run, 0 NOT-MEASURED (a DERIVED zero).check-governed-merges --branch: GOVERNED, Tier H, 5 of 5 pathsdocs/adr/**(--pr 35976agrees: the low-risk arm does not apply, ADR-0090 is a permission record).overlap-check:origin/mainmerges cleanly, VERDICT clean exit 0. Control-byte scan of the five files: 0 hits.Human Minimum
packages/specholds no runtime logic. (No schema touched.)pnpm lintpasses. (No formatter ran.pnpm lintwas not run locally on this Markdown-only diff; CI'sLint & Repo Gatesjudges it.)main, one pull request.skip-changeset.)packages/spectouched: its generated artifacts are regenerated and committed. (Not touched.)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgVHgvc56HEUTseuotH