Skip to content

feat(agent): node identity metadata on trajectory samples - #5

Open
jingshenghang wants to merge 1 commit into
refactor_trajectory_managerfrom
trajectory_agent_metadata
Open

feat(agent): node identity metadata on trajectory samples#5
jingshenghang wants to merge 1 commit into
refactor_trajectory_managerfrom
trajectory_agent_metadata

Conversation

@jingshenghang

Copy link
Copy Markdown
Owner

Add per-sid node_id numbering to every routing-tree node and classify each generated assistant node's identity (origin main/sub_agent, is_compact_start, caller_node_ids, match_kind) from prompt content, surfaced under sample.metadata['identity']. Detection is content-based: sub-agent origin from the system prompt, compact-start from the summary prefix, caller linkage by Agent/Task tool-call prompt match (exact, then relaxed).

Add per-sid node_id numbering to every routing-tree node and classify each
generated assistant node's identity (origin main/sub_agent, is_compact_start,
caller_node_ids, match_kind) from prompt content, surfaced under
sample.metadata['identity']. Detection is content-based: sub-agent origin from
the system prompt, compact-start from the summary prefix, caller linkage by
Agent/Task tool-call prompt match (exact, then relaxed).
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