8000 feat(activity): graph changes in each entity's, namespace's and recording's activity history by adeelahmad · Pull Request #134 · adeelahmad/lense · GitHub
[go: up one dir, main page]

Skip to content

feat(activity): graph changes in each entity's, namespace's and recording's activity history - #134

Merged
adeelahmad merged 1 commit into
mainfrom
claude/graph-versioning-49x5up
Oct 4, 2026
Merged

adeelahmad merged 1 commit into
mainfrom
claude/graph-versioning-49x5up

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Description

Before: a resource's activity history showed API requests, model calls, runs and audit log entries. Changes to the entity graph (#119) only showed in Routines › History.

After: GET /api/v1/activity also lists the graph changes that touched the resource.

  • entity:<id>: every change to that entity.
  • space:<id>: the namespace's curation (analysis results left out, since they would flood it).
  • recording:<id>: what analysing that recording changed.

Each row is a change with action graph.<op>, who made it, and detail holding the version, how it was made (web, token, assistant, …) and why. Anyone who can read an entity's namespace can now read entity:<id> activity (before, only admins could). The activity panel labels these rows "Graph · Renamed · v12 · why", so the recording History tab and the namespace admin panel show them.

Motivation and Context

This finishes the last item of the graph history plan in DEVLOG.md: graph events in the activity ledger from #114. No new tables or writes. The rows are read from graph_event and merged with the ledger at read time.

Types of changes

  • Bug fix
  • New feature (non-breaking change which adds functionality)
  • Breaking change

Checklist:

  • The title is a Conventional Commit.
  • Code follows the project style; OpenAPI and client regenerated with the repo tooling.
  • Tests: tests/api/test_graph_history.py::test_graph_changes_in_activity_history. Full backend suite: 614 passed, 1 failed (the known LibreOffice conversion test). Frontend jest 679, tsc and lint pass.
  • Docs: docs/activity.md, docs/graph-history.md, CHANGELOG, DEVLOG.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DCB28xsaiCpiDKKk2JjRpe


Generated by Claude Code

…ding's activity history

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DCB28xsaiCpiDKKk2JjRpe
@adeelahmad
adeelahmad merged commit 8206cfd into main Oct 4, 2026
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0