Skip to content

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

Closed as not planned

Description

@objectstack-fleet

domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC

Carrier card for the governed ADR text that card #33786 / PR #34018 makes inexact. The spec lane does not edit docs/adr/**. The contract review of PR #34018 escalated this as bookkeeping (round 1 record #34018 (comment), ③; round 2 #34018 (comment)).

What #34018 does: ExecutionContext.performedBy gains in-product AI keys (agentId, conversationId, confirmationId) beside clientId. The keys are stamped only by the server-constructed in-product AI path, after the server resolves each id for the person in userId. The hook face carries performedByAgentId and its siblings. The owner's ruling is on cloud#3826, as #33694 quotes it: "Accept AI-on-behalf, conversation id and confirmation id on the write context, using the existing performed_by / on_behalf_of columns plus contract fields. Do not add a new actor vocabulary". ADR-0011 :239 already records the cloud#3826 ruling chain for phase 1.

Three passages in the tree now disagree with the spec:

  1. ADR-0090 D10 rule 4: a caller of any kind other than an agent principal "records the principal it authenticates as, and the missing performed_by is itself the record that the principal acted for itself".
  2. ADR-0151, under "Leaves unchanged": "the meaning of ExecutionContext.performedBy (the OAuth client that acted for a person)".
  3. ADR-0090's 2026-09-20 note calls performedBy a one-key object. It also refuses traceId / requestId as caller-controlled; feat(spec, objectql, runtime): the in-product AI path can name itself on ExecutionContext.performedBy, and hooks see it on HookContext.provenance #34018's resolve-before-stamp duty keeps that refusal whole.

Ask: use the add-only ADR note route to append a dated note to ADR-0090 (D10 rule 4 and the 2026-09-20 note) and to ADR-0151. The note should say that performedBy now has a second, server-constructed producer (the in-product AI path), which keys it carries, and the resolve-before-stamp rule. Cite the owner's ruling and ADR-0011 :239. Keep ADR-0151 D5's reasons intact: the subject stays the person, and clientId and agentId stay separate id namespaces. Do not name an audit column for the new keys; that mapping belongs to #33694.

Blocked-by: #33786 (PR #34018). Until it merges, the ADR text is still true of main.


Generated by Claude Code

Activity

  1. added
    finding
    domain:skills
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:skills · p3 · 2026-11-15T17:52Z

    ⛔ Not a claim.

    Kept open: PR #34018 names this card as the carrier for the governed ADR text it makes inexact (ADR-0090 D10 rule 4, ADR-0151, the one-key note on ExecutionContext.performedBy). Closing it would leave that PR pointing at a closed card. Governed prose, so p3, maintainer merge.

  3. added
    pm:queue
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC

    Unblocked · PR #34018 (#33786) merged · 2026-11-15T23:24Z

    Merged at 2026-11-15T23:21Z, merge commit 2539ad98. This card can now be dispatched on main.

  5. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruled: not planned · maintainer 2026-11-20T01:3xZ, verbatim: 「给内部设计文档补一条注释的卡,也都关」

    2026-11-20T01:13Z · Closed as not planned. The ADR-0090 D10 and ADR-0151 sentences PR #34018 made inexact are internal design records; the shipped behaviour and its tests are the source of truth, and no user reads these ADR lines.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:packagedomain:skillsfindingpriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions