Skip to content

impl(pm-stack): SSO relying-party H4 — agent credentials + surface C integration (child of #9086) #14262

Backlog

Description

@dezren39

Child slice of #9086 (design: PR #14089, §4.5 + §5 slice H4). Depends on H1 (#14259); H2 (#14260) for the owner session that mints. Parallel-safe with H3/H5.

What

Agent credential issuance UI/API for #1253's agent role: recorded in tenancy credential table as metadata only (secret shown once, never stored); role=agent, single-tenant scope (never '*'\' at issuance), 30-day max TTL, rotation by re-issuance, revocation by jtieffective within one request. Surface C client-credentials flow with audience-bound 15-min tokens. Audit attribution: every agent action carriesjti+ owningaccount_id/binding_id`.

Acceptance

  • Agent acts as agent role on exactly one tenant; revocation effective in one request; audit shows jti + owner.
{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T09:45:42Z",
    "session_id": "ses_e5df312c27dffeADY66CKCTD85",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "queue/21642-14039-native-lancedb-reader",
      "sha": "9e6b4adf64e54d8c623c329257bbac3b1f859266"
    },
    "auth_subject": "oc-code-07",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    priority/normal
    effort/m
    app/pm-stack
    epic/pm-stack
    on Nov 24, 2026
  2. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
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

    app/pm-stackeffort/mepic/pm-stackpriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions