|
10 | 10 | · **Amended** (2026-10-17, ruling of record 6228728551 on #23960, letter B) — D12 names three kinds of administrator, tenant-level, organization-level and delegated: an organization administrator (`organization_admin` / `organization_admin_no_bypass` for the organization, not a platform administrator) creates and removes `sys_user_position` / `sys_user_permission_set` rows for that organization's members when every set the row distributes has no `*` wildcard superuser bit, no `adminScope` and only `scope: 'org'` capabilities; `admin_full_access`, platform sets, `organization_admin` itself and every delegated set stay outside, and organization-administrator status is conferred by membership grade only. Strict containment and the `everyone` / `guest` anchors are unchanged. See the note under D12. |
11 | 11 | · **Amended** (2026-10-31, ruling of record 6545950368 on #28367, go as shaped) — D10 gains rule 5, the **agent forward credential**: an `api` action's in-process forward carries the agent principal in a credential the server mints itself, bound to that one forward, single-use, short-lived and unreachable out of process, never the caller's token or key and never a human session. Two cells of the credential-kind × target-door table flip from "refuse by name" to "accept with a forward credential" (an OAuth-connected agent at an identity route and at a platform route), and a scope-family rule bounds every target outside MCP. See the amendment under D10. |
12 | 12 | · **Amended** (2026-11-08, [ADR-0151](./0151-ai-service-account-a-headless-agent-is-a-registered-principal-of-its-own.md), proposed, adopted by its merge) — D10 gains a second provenance for an agent principal: a registered **AI service account**, a `sys_user` row of kind `agent` that is its own authorization subject. It holds its own grants under rule 2's ceiling, enforced at evaluation, and authenticates with its own API keys; rule 1's intersection does not apply because it acts for nobody; rule 4 records it as `user_id` and leaves `performedBy` to the OAuth client. The 2026-09-16 note stands: a person's key stays that person's credential. See the note under D10. |
| 13 | +· **Amended** (2026-11-20, [#35731](https://github.com/objectstack-ai/objectstack/issues/35731)) — dated notes under D9 (the platform baseline contribution channel is for always-on platform services only) and under D10 (`performedBy` has a second producer, the in-product AI path). D9 and D10 are left as written. |
13 | 14 | **Deciders**: ObjectStack Protocol Architects |
14 | 15 | **Builds on**: [ADR-0049](./0049-no-unenforced-security-properties.md) (enforce-or-remove), |
15 | 16 | [ADR-0056](./0056-permission-model-landing-verification.md) (permission-model landing verification), |
@@ -399,9 +400,10 @@ package-owned sets: |
399 | 400 | > (`packages/spec/src/contracts/security-service.ts`, implemented in |
400 | 401 | > `packages/plugins/plugin-security/src/platform-baseline-sets.ts`). Through it a platform service |
401 | 402 | > contributes one permission set of its own, which joins the member baseline every signed-in member |
402 | | -> holds through the `everyone` anchor (D5); `member_default` is not written. Condition 2 of that |
403 | | -> ruling is this sentence: **it is a channel for always-on platform services; tenant-installed |
404 | | -> packages do not use it**. A tenant-installed package still suggests a default set for an |
| 403 | +> holds through the `everyone` anchor (D5), when the deployment declares one, and which a host can |
| 404 | +> narrow or decline per object (`SecurityPluginOptions.platformBaselineOverrides`); |
| 405 | +> `member_default` is not written. Condition 2 of that ruling is this sentence: **it is a channel |
| 406 | +> for always-on platform services; tenant-installed packages do not use it**. A tenant-installed package still suggests a default set for an |
405 | 407 | > administrator to accept. The seam admits a set only during boot (it closes at |
406 | 408 | > `kernel:bootstrapped`), only on objects the contributor itself registers, and only the read and |
407 | 409 | > create bits, one set per contributor; it refuses a wildcard, every other bit and a row policy, |
@@ -539,7 +541,7 @@ alias tax on every API. |
539 | 541 | > the three keys to hooks as `HookContext.provenance.performedByAgentId`, |
540 | 542 | > `performedByConversationId` and `performedByConfirmationId` |
541 | 543 | > (`packages/objectql/src/engine-execution-plumbing.ts`). No code in this repository stamps |
542 | | -> `agentId` today; the `/mcp` door is still the one producer here. |
| 544 | +> `agentId` today; the OAuth agent path is still the one producer here. |
543 | 545 | > Ruling: the account owner on objectstack-ai/cloud#3826 (「3826 照建议(征询版)」): AI acting on |
544 | 546 | > behalf of a person, the conversation id and the confirmation id ride the write context through |
545 | 547 | > the existing `performed_by` / `on_behalf_of` pair, with no new actor vocabulary; ADR-0011's |
|
0 commit comments