Skip to content

Add trajectory importer for agent-evaluation conversation traces - #5

Merged
webpro255 merged 1 commit into
mainfrom
feature/trajectory-importer
Jul 25, 2026
Merged

Add trajectory importer for agent-evaluation conversation traces#5
webpro255 merged 1 commit into
mainfrom
feature/trajectory-importer

Conversation

@webpro255

Copy link
Copy Markdown
Owner

Reads recorded agent-eval result files (system/user/assistant/tool messages, an injections map, security/utility fields, a schema common to agent-eval harnesses) and emits neutralized PAB Trace and GroundTruth pairs. Maps roles to channels, locates each injection to set true origin and surface span, computes hop counts honestly (0-1 hop is expected, never fabricated), and redacts model, pipeline, and project identifiers by default. Authorization is derived through the same is_authorized path as the generator and harvester, so all corpus sources share one authorization logic; surprising derivations are logged for review rather than forced. New pab import-trajectories command. Episodes that cannot be safely attributed are skipped with reasons. Every emitted trace passes the origin-leak guard. 569 tests, floor gate green.

Reads recorded agent-eval result files (system/user/assistant/tool messages,
an injections map, security/utility fields, a schema common to agent-eval
harnesses) and emits neutralized PAB Trace and GroundTruth pairs. Maps roles
to channels, locates each injection to set true origin and surface span,
computes hop counts honestly (0-1 hop is expected, never fabricated), and
redacts model, pipeline, and project identifiers by default. Authorization is
derived through the same is_authorized path as the generator and harvester,
so all corpus sources share one authorization logic; surprising derivations
are logged for review rather than forced. New pab import-trajectories command.
Episodes that cannot be safely attributed are skipped with reasons. Every
emitted trace passes the origin-leak guard. 569 tests, floor gate green.
@webpro255
webpro255 merged commit 0873ed6 into main Jul 25, 2026
6 checks passed
@webpro255
webpro255 deleted the feature/trajectory-importer branch July 25, 2026 16:31
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.

1 participant