Skip to content

Add PRD for export command#2

Merged
milldr merged 3 commits intomainfrom
prd-export-command
Feb 12, 2026
Merged

Add PRD for export command#2
milldr merged 3 commits intomainfrom
prd-export-command

Conversation

@milldr
Copy link
Copy Markdown
Owner

@milldr milldr commented Feb 12, 2026

Summary

  • New PRD at docs/prds/06-command-export.md for the crono export command
  • Uses Cronometer's HTTP export API directly — no Kernel/browser automation needed
  • Supports three export types: nutrition, exercises, biometrics
  • Plain text default output, with --csv and --json options
  • Documents the full auth flow (anticsrf → form login → GWT authenticate → nonce → export)
  • GWT magic values hardcoded with config/env overrides for when Cronometer deploys updates
  • Migration path to replace Kernel-based diary/weight commands long-term

Test plan

  • Review PRD for completeness and accuracy

@milldr milldr merged commit 24eaa5b into main Feb 12, 2026
3 checks passed
@milldr milldr deleted the prd-export-command branch February 12, 2026 20:50
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