Skip to content

Agent provenance: emit Agent Trace records and a compliance export #374

Closed

Description

@currentbits

From the EU AI Act research: Article 50 transparency duties are live since Aug 2026, and the deployer's documentation gap ('which shipped code was AI-generated, by which model, with what human review?') has no good artifact today. Cursor published the open Agent Trace spec (CC BY 4.0, Jan 2026): line-level AI-vs-human attribution committed into the repo.

Solenta is uniquely positioned: it knows which agent/model/thread produced every commit. Emit .agent-trace.jsonl per commit/PR (contributor type, model id, link to the thread, line ranges from the worktree diff), label AI-authored commits/PRs, and add a compliance export (per-repo, per-date-range: attribution + recorded review gates + audit trail). Open question from the tooling around the spec: attribution survival across rebase/cherry-pick — git notes or refs are the fallback storage. Do not invent a competing spec; adopt Agent Trace.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 17, 2026
  2. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Deep-dive detail (RFC 8693 delegation claims): every recorded agent action should carry both the delegating user (sub) and the agent identity (act) as separate fields — the schema the identity industry standardized on. Cheap to adopt now, painful to retrofit.

  3. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Research note (reproducible-environments round): pin the agents themselves in the provenance record — every thread/commit should record agent CLI name + exact version ('ran with claude-code 2.x, codex 0.144.0') so replays, best-of-N comparisons, and Agent Trace entries are reproducible and bisectable.

  4. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Research note (high-stakes verticals, clinical sign-off pattern): record explicit attestation events — 'reviewed by X at time T against diff D' — so a merge/PR has a named human attestation, not just a checkpoint snapshot. Cheap mechanic, big audit value.

  5. added
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Oct 9, 2026
  6. currentbits commented on Oct 9, 2026

    @currentbits
    OwnerAuthor

    Closing as not planned in the 2026-10-09 board cleanup (#1532). Speculative idea with no work and no tie to the current roadmap. Reopen if it becomes a priority.

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

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions