diff --git a/docs/adr/0090-permission-model-v2-concept-convergence.md b/docs/adr/0090-permission-model-v2-concept-convergence.md index 6080e65911a..0f0106ad106 100644 --- a/docs/adr/0090-permission-model-v2-concept-convergence.md +++ b/docs/adr/0090-permission-model-v2-concept-convergence.md @@ -10,6 +10,7 @@ · **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. · **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. · **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. +· **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. **Deciders**: ObjectStack Protocol Architects **Builds on**: [ADR-0049](./0049-no-unenforced-security-properties.md) (enforce-or-remove), [ADR-0056](./0056-permission-model-landing-verification.md) (permission-model landing verification), @@ -391,6 +392,25 @@ package-owned sets: - The D5 install-time suggestion generalizes: a package may suggest bindings to `everyone` **or** `guest`; the admin confirms each individually. +> **Note (2026-11-20, #35731) — the platform baseline contribution channel is for always-on +> platform services only.** D9 refuses builtin permission sets that packages write into, and a +> package reaches `everyone` only by a suggestion the admin confirms (the bullet above). PR #32932 +> (`fd637471`, #32754) added one narrower channel, on the maintainer's ruling 6837170004 on +> #32754 (letter B): `ISecurityService.contributePlatformBaselineSet(contributor, set)` +> (`packages/spec/src/contracts/security-service.ts`, implemented in +> `packages/plugins/plugin-security/src/platform-baseline-sets.ts`). Through it a platform service +> contributes one permission set of its own, which joins the member baseline every signed-in member +> holds through the `everyone` anchor (D5), when the deployment declares one, and which a host can +> narrow or decline per object (`SecurityPluginOptions.platformBaselineOverrides`); +> `member_default` is not written. Condition 2 of that ruling is this sentence: **it is a channel +> for always-on platform services; tenant-installed packages do not use it**. A tenant-installed package still suggests a default set for an +> administrator to accept. The seam admits a set only during boot (it closes at +> `kernel:bootstrapped`), only on objects the contributor itself registers, and only the read and +> create bits, one set per contributor; it refuses a wildcard, every other bit and a row policy, +> and logs each admission and refusal. Its one contributor on `main` is the storage service's +> attachment set (`packages/services/service-storage/src/attachment-member-grant.ts`). D9 is left +> as written; read it with this note. + ### D10 — Principal taxonomy; agents act on intersected authority > **Status (2026-07):** the P1 ctx *shape* shipped pre-launch as written below; the agent @@ -502,6 +522,32 @@ alias tax on every API. > a sibling can be added without re-shaping a shipped field; it reserves the room, ⛔ not the name. > Ruling: director seat, batch #195 item 2, maintainer 「同意」 2026-09-20 — letter **C**. +> **Note (2026-11-20, #35731) — `performedBy` has a second producer: the in-product AI path.** +> Rule 4 above says a caller of any kind other than an agent principal records the principal it +> authenticates as, with the missing `performed_by` as the record that it acted for itself, and +> the 2026-09-20 status note calls `performedBy` a one-key object. Both matched `main` until +> PR #34018 (`2539ad98`, #33786). Since then +> `packages/spec/src/kernel/execution-context.zod.ts#performedBy` names two server-side +> producers, each in its own key. The `/mcp` OAuth door sets `clientId`, as before +> (`packages/core/src/security/assemble-execution-context.ts#entryFields`). The +> server-constructed in-product AI path, which writes AS the signed-in person (`principalKind` +> stays `'human'`, no `onBehalfOf`, the person's own grants), sets `agentId`, with +> `conversationId` and, when the person confirmed the call, `confirmationId`. A present +> `performedBy` names `clientId` or `agentId`, or is refused at parse. That producer stamps an +> id only after the server resolved it in its own store for the person in `userId` (the agent +> it actually ran, a conversation that person owns, a pending item that person's approval +> decided), so the refusal of caller-controlled ids above (`traceId`, `requestId`) stays whole; +> the room for a run id stays reserved, and `conversationId` is not that id. The engine copies +> the three keys to hooks as `HookContext.provenance.performedByAgentId`, +> `performedByConversationId` and `performedByConfirmationId` +> (`packages/objectql/src/engine-execution-plumbing.ts`). No code in this repository stamps +> `agentId` today; the OAuth agent path is still the one producer here. +> Ruling: the account owner on objectstack-ai/cloud#3826 (「3826 照建议(征询版)」): AI acting on +> behalf of a person, the conversation id and the confirmation id ride the write context through +> the existing `performed_by` / `on_behalf_of` pair, with no new actor vocabulary; ADR-0011's +> 2026-11-15 amendment note records the same ruling chain for phase 1. Rule 4 and the 2026-09-20 +> note are left as written; read them with this note. + #### Amendment (2026-10-31, #28367) — the agent forward credential (rule 5) [ruled] **What this decides.** How an agent principal crosses an `api` action's in-process forward. A diff --git a/docs/adr/0113-required-write-contract-vs-column-constraint.md b/docs/adr/0113-required-write-contract-vs-column-constraint.md index 11633b8914e..ecd005af678 100644 --- a/docs/adr/0113-required-write-contract-vs-column-constraint.md +++ b/docs/adr/0113-required-write-contract-vs-column-constraint.md @@ -2,6 +2,7 @@ **Status**: Accepted (2026-07-30) — Q1/Q2/Q3 adjudicated same day (uniform semantics; `storage.notNull` spelling; the non-regression invariant unifies `required` and `requiredWhen`). **P0 implemented**: spec knob + parse-seam exclusivity, record-validator null-out rejection, rule-validator non-regression, driver DDL + drift rewired, `field-required-notnull-explicit` conversion. P1 (Console required-marker from the write contract) and P2 (criteria_json flip) follow. **Amended (2026-11-17)** — D1 and D5: a field that declares `required: true` together with its own `visibleWhen` is required **when shown** (maintainer ruling A on #34905, recorded in comment 6956761249). See [Amendment — required when shown](#amendment-2026-11-17--required-when-shown). +**Amended (2026-11-20)** — the author-time fence: a dated note ([#35731](https://github.com/objectstack-ai/objectstack/issues/35731)) records that the formula warning fires only for a formula the form cannot compute (PR #35475). The paragraph is left as written. **Deciders**: ObjectStack Protocol Architects **Builds on**: [ADR-0049](./0049-no-unenforced-security-properties.md) (enforce-or-remove), [ADR-0078](./0078-no-silently-inert-metadata.md) (no silently inert metadata), the #3896/#3929 sharing-criteria case study, `driver-sql/schema-drift.ts` (the drift classifier whose `destructive` class this ADR exists to route around) **Consumers**: `@objectstack/spec` (`FieldSchema`), `@objectstack/objectql` (`validation/record-validator.ts`), `@objectstack/driver-sql` (`sql-driver.ts` column DDL, `schema-drift.ts`), `@objectstack/lint`, objectui form renderers (the required marker) @@ -384,6 +385,25 @@ is not a parse refusal like the Q1 rider, because the protocol-17 `field-required-notnull-explicit` conversion stamped `storage.notNull` onto every older `required` field; for those fields this amendment changes nothing on create. +> **Note (2026-11-20, #35731) — the formula warning fires only for a formula the form cannot +> compute.** The paragraph above warns on a `required` field's `visibleWhen` that reads any +> `formula` field. Since PR #35475 (`7702f091`, #35190) the lint rule +> (`packages/lint/src/required-visible-when-formula-issue.ts`) and the Studio field-inspector +> advisory (`requiredVisibleWhenReference.ts`, the same verdict) warn only when a formula the +> predicate reads is one the form cannot compute, because the form now computes the object's +> formulas over the record being edited (`planObjectFormulas`) and judges the value the server +> judges. Two arms still warn, each with its own message: a formula that reads through a +> reference, calls `label()` or calls `current_user.can()`, or reads such a formula at any depth, +> which the write path cannot compute either, so the predicate counts as shown and the field stays +> required (the engine does compute a `current_user.can()` formula on a write that picks a +> permission-gated option, so that verdict can differ between writes); and a formula that reads +> `os`, or reads such a formula, which the server computes and may waive while the form keeps the +> field required. A formula the form can +> compute draws nothing, and so do a formula that reads the acting user and one served without its +> expression. The other two warnings (a read through a reference field, and `storage.notNull`) are +> unchanged. Still a warning, never a refusal. The paragraph is left as written; read its formula +> warning with this note. + **Not in scope.** Only the object field's own `visibleWhen`. A field group's `visibleWhen`, a form view's field or section predicate, a hidden tab and static `hidden` are not read: the validator does not consume view metadata (ruled on diff --git a/docs/adr/0126-packaged-metadata-customization-model.md b/docs/adr/0126-packaged-metadata-customization-model.md index 519b8fc4782..d288459b2c5 100644 --- a/docs/adr/0126-packaged-metadata-customization-model.md +++ b/docs/adr/0126-packaged-metadata-customization-model.md @@ -87,6 +87,25 @@ them into three tiers by flags × item provenance (`packages/metadata-protocol/s | **B — runtime-create only** | object, hook, seed, mapping, page, app, action, dataset, flow, datasource, external_catalog, doc, book, permission, position, tool, skill | **not customized at all** — writes against the packaged item answer 403 `NOT_OVERRIDABLE`; only brand-new sibling items can be authored | | **C — code-only** | field, job, api, capability, agent | nothing — no runtime write channel exists | +> **Note (2026-11-20, #35731) — `capability` is no longer code-only.** The table above, measured +> when this record was written, puts `capability` in tier C, with no runtime write channel; §2, +> §3 and §9 repeat it. Since PR #35261 (`6ffa816e`, part of #35157) `capability` is +> runtime-creatable and overlay-closed: its `DEFAULT_METADATA_TYPE_REGISTRY` entry +> (`packages/spec/src/kernel/metadata-plugin.zod.ts`) reads `allowRuntimeCreate: true`, +> `allowEnvironmentOverlay: false` and `supportsOverlay: false`, the tier-B posture. A brand-new +> capability can be saved in the environment, and a packaged declaration cannot be re-declared or +> re-scoped there. The save door judges the body by `CapabilityDeclarationSchema` (422, the type's +> entry in `packages/spec/src/kernel/metadata-type-schemas.ts`), and refuses a platform capability +> name and a name another holder already declares before anything is stored +> (`packages/metadata-protocol/src/protocol-save-door-refusals.ts`). An unmanaged copy (ADR-0131 +> D6) copies an app's capabilities and renames them with the copy when it takes a new namespace +> (`packages/metadata-protocol/src/package-namespace-rename.ts`). Ruled by the maintainer on +> #35157: option A, record 6999763503 (「同意」), and the bound of record 7000639892 +> (「接受现有边界」). Of the five types the table lists in tier C, four stay there: field, job, +> api, agent. The registry on `main` holds more types with no runtime write channel, admitted +> after the survey this table records; this note does not re-measure the table, which is left as +> written. + Three real mechanisms operate across those tiers, each invented separately: - **Org overlay** (ADR-0005): tier A only. Per-org rows for any other type are **phantom writes** @@ -160,6 +179,12 @@ the artifact are live at once, or when a customization is wrong?** disable switch** — the same posture as `job`. The registry flags are untouched: authoring a brand-new sibling hook stays open, exactly as today. + > **Note (2026-11-20, #35731).** `capability` has left this list: since PR #35261 (`6ffa816e`) + > it is runtime-creatable and overlay-closed, on the maintainer's ruling 6999763503 on #35157 + > (option A, with the bound of record 7000639892). Customizing a packaged capability is still + > not possible; a new one can be authored in the environment. See the note under §1.1. The + > bullet is left as written. + A **new metadata type** (or newly admitted dynamic kind) must declare its regime at admission, in its registry-entry comment, using this rule. A customization mechanism that fits none of the three regimes is not a gap in this ADR — it is a signal the mechanism is wrong (Prime Directive @@ -179,6 +204,12 @@ From the survey's per-type table; classes are the survey's measurements, not asp | **outside** | field, job, api, capability, agent (code-only) · **hook** (amendment ruling 1 — package code maintaining the package's own invariants; no ledger row, no disable switch; sibling authoring open as today) · seed, external_catalog (one-shot / derived — nothing durable to customize) · datasource (origin-gated: code-defined read-only, runtime-created free) | Recorded so their absence from the regimes reads as decided, not overlooked. | | **unassigned, deliberately** | page, dataset, doc, book, mapping | Presentational/content tier-B types with no measured customization pull beyond re-authoring a sibling. Today's posture (locked base + free sibling authoring) stands. First real pull picks a regime **by the D1 rule** — likely O via the ADR-0005 admission pair (page/dataset/book) — and does so in an ADR-0005 revision, not ad hoc. | +> **Note (2026-11-20, #35731).** The **outside** row above lists `capability` as code-only. +> Since PR #35261 (`6ffa816e`) it is runtime-creatable and overlay-closed (ruling 6999763503 on +> #35157, option A, with the bound of record 7000639892): a packaged declaration stays locked, and +> a new capability can be authored in the environment. The ruling assigned it no regime, and +> this note assigns none. See the note under §1.1. The row is left as written. + Two clarifications the survey forces: - **Managed extension fields** (`plugin-auth/src/managed-extension-fields.ts`) are **not** a @@ -495,6 +526,10 @@ callers first, or don't), and preserves "packaged code calls what it names". clone's references stay pointed at what the original pointed at, and the surface tells the admin so). - Reopening any code-only type (field, job, api, capability, agent). + > **Note (2026-11-20, #35731).** For `capability` this item was reopened: the maintainer's + > ruling 6999763503 on #35157 (option A, 「同意」) made it runtime-creatable, overlay stays + > closed, and PR #35261 (`6ffa816e`) implements it. The other four code-only types stay as this + > item says. See the note under §1.1. The item is left as written. - Any edit to `packages/spec` for the ledger itself (it is a platform object; §4). ## 10. Consequences diff --git a/docs/adr/0149-ai-answers-business-questions-through-the-dataset-semantic-layer.md b/docs/adr/0149-ai-answers-business-questions-through-the-dataset-semantic-layer.md index 81044b0ff31..8a44d15c6dc 100644 --- a/docs/adr/0149-ai-answers-business-questions-through-the-dataset-semantic-layer.md +++ b/docs/adr/0149-ai-answers-business-questions-through-the-dataset-semantic-layer.md @@ -7,6 +7,7 @@ - **Builds on**: [ADR-0021](./0021-analytics-dataset-semantic-layer.md) (the `dataset` semantic layer this record gives the AI; its D-A compiles a dataset to the Cube runtime, its D-C puts RLS inside the runtime, and its Correction of 2026-05-31, re-measured here: of its three unexecuted keys two are since retired and one executes), [ADR-0071](./0071-dataset-semantic-layer-depth.md) (multi-hop `include`, the only cross-object reach a dataset has), [ADR-0049](./0049-no-unenforced-security-properties.md) (enforce-or-remove — every key below names its reader; the `apiEnabled` exposure door every dataset face asks), [ADR-0011](./0011-actions-as-ai-tools.md) (the AI acts through declared tools, not through raw access), [ADR-0090](./0090-permission-model-v2-concept-convergence.md) D10 (an agent acts on intersected authority; a narrowed read arrives with the narrowing stated), [ADR-0100](./0100-credential-field-channels.md) (`internal` fields are refused on every analytics face), [ADR-0037](./0037-live-canvas-draft-preview.md) (the preview face of `queryDataset`), [ADR-0139](./0139-engine-internal-semi-join-leaf-readable-parent-ids.md) D1 and D3 (the engine-internal ReadableIds leaf, and the driver's compile-it-or-refuse rule the native face follows by declining), [ADR-0112](./0112-error-code-vocabulary-and-ledger.md) (the refusal envelope the tools answer in), [ADR-0078](./0078-no-silently-inert-metadata.md) (why a key with no reader is refused rather than parsed clean). - **Amends**: nothing in `docs/adr/`. It retires two spec prescriptions — the `description` guidance entries on `DatasetDimensionSchema` / `DatasetMeasureSchema` and `DATASET_MEMBER_NO_DESCRIPTION` in the translation schema — under [M1](#m1--where-the-ai-facing-text-of-a-measure-or-dimension-lives), ruled A; child card 1 carries the retirement. Those prescriptions were written when a member description had no reader (ADR-0078); the reader this record adds is what changes the answer, not the rule. - **Leaves unchanged**: the dataset author surface except the four keys in D1 (`object`, `include`, `filter`, `field`, `aggregate`, `derived`, `duration`, `polarity`, `format`, `protection`, `overrides` all as they are); every existing analytics face and its gate chain (`/analytics/query`, `/analytics/sql`, `/analytics/dataset/query`, the dashboard and report renderers); the Cube layer (`CubeSchema`, `getMeta`); the existing MCP object tools (`list_objects`, `describe_object`, `query_records`, `get_record`, `aggregate_records`) and their OAuth scope mapping; what the ADR-0021 Correction's three keys have since become on `QuerySchema` (`joins` and `windowFunctions` retired, `having` executed engine-side) — nothing here reads, revives or widens any of them. + > **Note (2026-11-20, #35731) — every dataset face answers declared members only.** The bullet above lists `/analytics/dataset/query` and its gate chain as unchanged. By the maintainer's ruling 6902027136 on #34005 (「REST 也拒绝(收紧)」), PR #34198 (`898655a9`) changed it: a dataset selection names only the measures and dimensions its dataset declares. The one rule is `undeclaredSelectionMembers` (`packages/services/service-analytics/src/dataset-declared-members.ts`), asked inside `IAnalyticsService.queryDataset` (`packages/services/service-analytics/src/analytics-service.ts#answerDataset`) after the dataset compiles and before anything is read, so it reaches every face that calls it: the REST door, single and batch (`packages/rest/src/analytics-routes.ts`), `query_dataset` (which also asks it itself, `dataset-tools.ts`), the MCP bridges on both transports, the dashboard and report renderers that read through the REST door, and the publish build probes (`packages/metadata-protocol/src/build-probes.ts`). A member the dataset does not declare, in `measures`, `dimensions` or a `timeDimensions` entry, is refused with 400 `INVALID_FIELD`; a spelling qualified by the dataset's name is not a declared name. An inline dataset (a Studio draft) is judged against its own declaration. The other entries hold as written: `/analytics/query` (the cube door, which keeps its ad-hoc members), `/analytics/sql`, the Cube layer and the MCP object tools are unchanged. The bullet is left as written; read its `/analytics/dataset/query` entry with this note. - **Consumers**: `@objectstack/spec` (the four keys, their aliases, guidance and validation; the two tools' input/output schemas; the translation-group keys; the liveness ledger rows), `@objectstack/service-analytics` (the compiler writes member descriptions onto the Cube; one module builds the dataset catalogue, matches terms, and runs `query_dataset` through `IAnalyticsService.queryDataset`), `@objectstack/mcp` + `@objectstack/runtime` (the bridge seams and the registration of the two tools under `data:read`, on both transports), `objectstack-ai/cloud` (service-ai's tool registry registers the same two definitions; 问数's planner applies the selection rule; `ask-accuracy` gains the business-term set — cloud#3825 item 3), `examples/app-crm` and `objectstack-ai/hotcrm` (their shipped datasets gain synonyms and descriptions, as the first authored vocabulary). --- diff --git a/docs/adr/0151-ai-service-account-a-headless-agent-is-a-registered-principal-of-its-own.md b/docs/adr/0151-ai-service-account-a-headless-agent-is-a-registered-principal-of-its-own.md index d8976223751..52aa5e42bec 100644 --- a/docs/adr/0151-ai-service-account-a-headless-agent-is-a-registered-principal-of-its-own.md +++ b/docs/adr/0151-ai-service-account-a-headless-agent-is-a-registered-principal-of-its-own.md @@ -6,9 +6,11 @@ - **Builds on**: [ADR-0090](./0090-permission-model-v2-concept-convergence.md) D10 (the principal taxonomy, agent rules 1–5, the 2026-09-16 note that an API key is its owner's credential, and the 2026-09-20 status note that reserves `performedBy` room for a run id), [ADR-0118](./0118-non-user-actor-contract.md) (the non-user actor contract: D1 null for the system, D2 absence is never system, D5 no actor-kind column, D6 no polymorphic actor), [ADR-0092](./0092-sys-user-profile-field-delegation.md) (the identity-table write guard), [ADR-0093](./0093-tenancy-mode-and-membership-lifecycle.md) D7 (the service-account exemption it deferred), [ADR-0135](./0135-identity-and-access-architecture.md) D2/D4 (user populations and how a row is marked), [ADR-0101](./0101-mcp-stdio-principal-admission.md) (an API key is the stdio principal), [ADR-0108](./0108-membership-grade-is-not-a-capability-channel.md) (membership grade is not a capability channel). - **Amends**: ADR-0090 D10 — a second provenance for an agent principal, an agent that is its own authorization subject, and the reading of rule 4 for it (see [D5](#d5--attribution-the-account-is-the-subject-so-its-id-is-the-name-on-the-row)). ADR-0093 D7 — the deferred service-account row: the marker now exists, and an account is exempt from the membership reconciler (see [D1](#d1--an-ai-service-account-is-a-sys_user-row-of-kind-agent)). - **Leaves unchanged**: the 2026-09-16 note (a person's API key is that person's credential, never an agent); rule 5 and its credential-kind × target-door table; ADR-0118 D1, D2, D5 and D6; the meaning of `ExecutionContext.performedBy` (the OAuth client that acted for a person) and the room it reserves; the OAuth agent path end to end; ADR-0073's automation principal, which stays a separate identity. + > **Note (2026-11-20, #35731) — `performedBy` has a second producer.** The bullet above gives the meaning of `ExecutionContext.performedBy` as the OAuth client that acted for a person. Since PR #34018 (`2539ad98`, #33786) `packages/spec/src/kernel/execution-context.zod.ts#performedBy` names a second, server-constructed producer: the in-product AI path, acting for the signed-in person, sets `agentId`, with `conversationId` and, when the person confirmed the call, `confirmationId`, each stamped only after the server resolved it for that person. The `/mcp` OAuth door still sets `clientId`. See ADR-0090's note of this date under D10. D5's refusal stands: an AI service account still carries no `performedBy`, and the in-product AI writes AS the person, so the subject stays the person in `userId`, with no `onBehalfOf`. On the envelope `clientId` and `agentId` are separate keys, but the audit row's `performed_by` now holds both kinds of id, by the ruling below; D5's reason 2 predates it, and the `performedBy` docblock says how a reader tells the two apart. The room reserved for a run id is unchanged. Ruling: the account owner on objectstack-ai/cloud#3826 (「3826 照建议(征询版)」), no new actor vocabulary. The bullet and the Status line are left as written. - **Consumers**: `@objectstack/platform-objects` (two `sys_user` columns), `@objectstack/plugin-auth` (the registration, key and lifecycle doors; the session and credential refusal), `@objectstack/core` (key admission carries the kind; the shared assembler stamps the principal), `@objectstack/plugin-security` (the agent ceiling at evaluation and at assignment), `@objectstack/plugin-audit` and `@objectstack/spec` (the hook surface, O4), and in `objectstack-ai/cloud` the licence layer and the console (cloud ADR-0116 D7, cloud#3886, cloud#3820). - **Amended** (2026-11-10, [#32060](https://github.com/objectstack-ai/objectstack/issues/32060)): a dated note under [What builds on this](#what-builds-on-this) records what O3 and O4 shipped. The status line above is left as it is. - **Amended** (2026-11-15, [#33689](https://github.com/objectstack-ai/objectstack/issues/33689)): a dated note under [D3](#d3--its-authority-its-own-grants-under-the-agent-ceiling) records that rule 3 holds unchanged under the amended action-confirmation contract. The status line above is left as it is. +- **Amended** (2026-11-20, [#35731](https://github.com/objectstack-ai/objectstack/issues/35731)): a dated note under **Leaves unchanged** records the second producer of `performedBy`, the in-product AI path. The status line above is left as it is. ---