Skip to content

Add Factory droid trace support#7

Merged
armand0e merged 9 commits into
TeichAI:mainfrom
cfahlgren1:droid-trace-support
Jun 11, 2026
Merged

Add Factory droid trace support#7
armand0e merged 9 commits into
TeichAI:mainfrom
cfahlgren1:droid-trace-support

Conversation

@cfahlgren1

@cfahlgren1 cfahlgren1 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Adds Factory droid CLI sessions as a supported trace source. Session JSONL files from ~/.factory/sessions/... are now detected and converted directly into training examples, alongside the existing codex / claude_code / pi / openclaw / hermes sources.

Detection

A droid trace is identified by its first event: type == "session_start" with a string cwd and a non-null version. The check sits after codex and before pi in _detect_trace_type, so there is no collision with the other formats (openclaw uses type == "session", codex uses session_meta).

@armand0e
armand0e merged commit 7926e18 into TeichAI:main Jun 11, 2026
3 checks passed
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.

2 participants