Skip to content

Track Factory Droid usage#3

Draft
janburzinski wants to merge 3 commits into
useautumn:mainfrom
janburzinski:emdash/add-factory-ai-provider
Draft

Track Factory Droid usage#3
janburzinski wants to merge 3 commits into
useautumn:mainfrom
janburzinski:emdash/add-factory-ai-provider

Conversation

@janburzinski

@janburzinski janburzinski commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • track Factory Droid usage by polling local session snapshots and sending cumulative token deltas
  • add summer droid [--dry-run] for manual polling and Droid support in historical backfills
  • expose Droid across the shared harness types and dashboard, with coverage for parsing, model resolution, and backfill behavior

Screen 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 droid runs a one-off poll, and the dashboard labels Droid.

  • New Features

    • Daemon polls ~/.factory sessions (configurable via FACTORY_DATA_DIR/DROID_DATA_DIR) and sends per-session token deltas; interval via SUMMER_DROID_INTERVAL_MS (default 30s).
    • New summer droid [--dry-run] to preview/send new deltas once.
    • Model/provider inference (e.g., claude-*anthropic, gpt-*openai) and billing mode from providerLock (api vs subscription).
    • Added droid to shared types and harness provider map; dashboard label: “Droid”. Tests cover parsing and provider mapping.
  • Migration

    • No changes required. Update and run start; Droid usage is tracked automatically.
    • Backfill is not supported for Droid (summer backfill --harness droid errors). Use summer droid --dry-run to preview.
    • If your Droid data lives outside ~/.factory, set FACTORY_DATA_DIR or DROID_DATA_DIR.

Written for commit d3375ce. Summary will update on new commits.

Review in cubic

- 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)
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