Repository navigation
Preserve task report navigation and add session usage diagnostics - #40
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reports opened from a task's Findings tab now return to that task with Findings selected. Original reports, unified cases, case members and duplicate suggestions preserve the task origin, while inherited access context remains separate and read-only. Task tabs follow the URL across fresh loads and browser history, preserving unrelated query parameters.
Lightweight LLM usage now records the transcript session even when body recording is disabled. The authenticated
GET /api/llm/usageendpoint provides task-scoped, optionally session-filtered metadata with bounded pagination and a consistent count/page snapshot. Existing aggregates, retained accounting and archive v4 compatibility are preserved; operator documentation describes historical unknown sessions and archive limits.Sources: adapted from RuoJi6/ARTEX PR43, head
0a327328, author RuoJi6, and lin9527ya/BLADE0067b820, author lin9527ya. Exact AGPL-3.0 licenses and source ancestry were verified. Intelligence-search, compaction and cold-start calculations are outside these adaptations.Validation: complete race suites for
db,serverandllmrecagainst separate fresh PostgreSQL 16 databases; 230 frontend tests; static production UI build; 17 current-app browser checks against real isolated task/finding/case data. Independent reviews cover navigation origin/access separation, actual Handler JWT/Basic authentication, migration, pagination, canceled real Norma calls and old/new archive fields. Local Node is 24.15; CI verifies Node 22. No model or security-target calls were made.