You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix training data export pipeline and TB-5 cross-repo br calls
Training exporters searched only Claude Code session logs (~/.claude/projects/)
with *.jsonl glob. Pipeline agent sessions live at ~/.local/share/dev-loop/sessions/
as *.ndjson files with a different format (single JSON array per line).
Added shared helpers in training/__init__.py:
- _default_pipeline_sessions_dir(): returns pipeline sessions path
- _collect_session_files(): searches both dirs with both extensions
- _load_session_events(): handles jsonl (one obj/line) and ndjson (array) formats
- _is_external_user(): detects user events across both formats
Updated all three exporters to use the shared helpers. Persona exporter now
reads .meta.json sidecars for authoritative persona/success data (12 examples
exported, up from 0). Fixed TB-5 cascade br calls to use source/target repo
paths instead of _DEVLOOP_ROOT for cross-repo issue operations.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments