docs: fix agent.json examples to match current schema#6878
Conversation
Replace outdated node_id/edge_id with id, wrap nodes/edges under graph key, add goal section with success_criteria. Matches what load_agent_export() and NodeSpec actually expect. Fixes aden-hive#897 Co-authored-by: Jose37456 <Jose37456@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated the manual Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Description
Fix outdated agent.json examples in the developer guide that use
node_id/edge_idand a flat structure. Updated to match the currentload_agent_export()schema with propergraphwrapper,idfields, andgoalsection.Based on the approach from PR #6452 by @Jose37456.
Type of Change
Related Issues
Fixes #897
Changes Made
node_id/edge_idwithidin all agent.json examplesnodesandedgesundergraphkeygoalsection withsuccess_criteriaagentmetadata sectionload_agent_export()Testing
load_agent_export()examples/templates/Checklist
Summary by CodeRabbit