Track Factory Droid usage#3
Draft
janburzinski wants to merge 3 commits into
Draft
Conversation
- daemon polls ~/.factory session snapshots and tracks cumulative deltas - summer droid [--dry-run] runs one poll manually / previews what would be sent - summer backfill --harness droid imports history (one record per session, stamped at last activity; live-tracked sessions excluded at gather time)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
summer droid [--dry-run]for manual polling and Droid support in historical backfillsScreen recording
https://cap.link/9ek200xkqtxwmvr
Summary by cubic
Adds live-only tracking for Factory Droid usage. The daemon polls local session snapshots and sends idempotent token deltas;
summer droidruns a one-off poll, and the dashboard labels Droid.New Features
~/.factorysessions (configurable viaFACTORY_DATA_DIR/DROID_DATA_DIR) and sends per-session token deltas; interval viaSUMMER_DROID_INTERVAL_MS(default 30s).summer droid [--dry-run]to preview/send new deltas once.claude-*→anthropic,gpt-*→openai) and billing mode fromproviderLock(apivssubscription).droidto shared types and harness provider map; dashboard label: “Droid”. Tests cover parsing and provider mapping.Migration
summer backfill --harness droiderrors). Usesummer droid --dry-runto preview.~/.factory, setFACTORY_DATA_DIRorDROID_DATA_DIR.Written for commit d3375ce. Summary will update on new commits.