Weekly AI strategist. Reviews logs and gives orders.
root@diet:~$ audit Report: Protein intake low this week. Order: Increase intake by 20g/day.
Sync
> health
Sync Steps, Weight, Sleep, RHR & HRV via Health Connect.
root@diet:~$ health sync Syncing... Success: Steps: 8432, Sleep: 7.2h
System Status: ONLINE
Ready to take control? Sudo privileges required.
Play Store Release Channel
No Ads (Free) • In-app purchases (Premium)
sudoFit Manual (v1.0)
Philosophy
"I am a tool. You are the operator. I will do exactly what you tell me, efficiently and privately."
1. Introduction
sudoFit is a health operating system disguised as a terminal. It removes the friction of modern UI and replaces it with the speed of raw text. You own your health data.
The Interface
Green Text: Success / Safe.
Red Text: Error / Warning.
Gray Text: Info / System Messages.
2. Nutrition (Core)
log (AI Powered)
Type what you ate in plain English. The AI estimates portion sizes and macros.
log 2 fried eggs and a slice of toast
logm (Manual Wizard)
Use when offline or for packaged foods. Follow the prompts for Calories, Protein, etc.
logm
scan (Vision)
Open the camera to analyze food visually.
scan
editm
Edit a specific log entry by its ID.
editm 5
3. Dashboard
today
View your daily heads-up display (Calories, Macros, Goal Progress).
today
stats
View trends for calories, weight, sleep, etc.
stats 7
stats weight 30
analyze (Premium)
AI-driven analysis of daily or general trends over time.
analyze 7
macros
View macronutrient intake trends.
macros
micro (Premium)
View micronutrient breakdown based on daily food intake.
micro
matrix (Pearson Heatmap)
Generate a correlation matrix comparing all health metrics to find hidden drivers.
matrix
correlate (Diagnostic Engine)
Find statistical correlations in your data (e.g., "What happens when I sleep less than 6 hours?").
correlate sleep < 6.5
sim (Predictive Simulator)
Predict how a specific food or behavior affects your next-day recovery.
sim pizza
trigger (Forensic Pulse Analysis)
Analyze raw heart rate reaction to a specific keyword.
trigger dairy
4. Bio-Metrics
Commands:step, weight, water, fast, sleep, track.
weight 70.5
water
fast start
track ibuprofen
score (Physiological Status)
Calculate a Recovery Score (0-100) based on HRV, RHR, and Sleep quality.
score
note
Log contextual variables (sickness, stress) that alter your baseline.
note High stress work day
tag
Bookmark special days to create a separate snapshot file.
tag fatigue
5. Advanced
Time Travel (@time)
Append @HH:MM to logs to backdate them.
log coffee @08:00
Piping (|) & grep
Connect commands and filter output.
history full | grep sleep : sleeplog.txt
File Management
List, read, and delete files.
ls
cat sleeplog.txt
delete sleeplog.txt
6. Shortcuts
alias
Create shortcuts for frequent foods.
alias coffee=log large black coffee
coffee
routine
Group commands together (e.g., Morning Routine).
routine define morning
run morning
config & setting
Configure goals and app features.
config set goal 2500
setting fasting off
7. Automation
remind
Schedule commands to run automatically.
remind add daily 08:00 "log water"
audit (Premium)
Weekly AI strategist. Reviews logs and gives orders. Schedule it weekly.
remind add weekly sunday 20:00 "audit"
8. File Management
Backup, restore, or export your data.
backup
restore
export
share
9. Premium
Unlimited AI: Unrestricted usage of log and scan.
Advanced Analysis: Access to analyze, audit, micro, and ask.
NOT A MEDICAL DEVICE: sudoFit is a general wellness tool. The "Physiological Status Score" and AI insights are for informational, fitness, and stress-management purposes only.
NO DIAGNOSIS: This app does not provide medical advice, diagnosis, or treatment. It is not intended to detect, monitor, or manage any disease (e.g., heart disease, clinical insomnia). Never disregard professional medical advice because of information provided by this tool. Use at your own risk.
1.1 Introduction
sudoFit ("we," "our," or "us") is a terminal-based Health Operating System. We value your privacy and believe your health data belongs to you. This policy explains how we collect, use, and protect your information, with specific transparency regarding our algorithms.
1.2 Data Collection & Purpose
We collect data solely for App Functionality and Personal Wellness Insights. We do not sell your data.
A. Physiological & Wellness Data (Sensitive)
To generate the "Physiological Status Score," our algorithm processes the following specific metrics:
Heart Rate Variability (HRV): Used to benchmark autonomic nervous system balance against your personal baseline.
Resting Heart Rate (RHR): Used to monitor cardiovascular efficiency trends.
Sleep Duration: Used to assess recovery relative to a user-defined 8-hour wellness target.
Legal Basis (Purpose Limitation): This data is processed strictly to provide personal recovery trends. We do not use this data for medical diagnosis, advertising, marketing, or underwriting.
B. User-Provided Data
Nutrition Logs: Food names, calories, and macros you manually type or scan.
Photos/Videos: Images taken via the "scan" command. These are used strictly for local or transient API-based food analysis and are not stored on our servers.
App Info: Custom aliases, routines, and user preferences.
C. Device Permissions
Activity Recognition: To count steps via the device sensor for activity tracking.
Camera: To capture food images for analysis (User initiated only).
Notifications: To send scheduled reminders you create.
1.3 Algorithmic Transparency
To ensure trust and compliance with "Safer by Design" principles, we explicitly disclose how our core algorithms work.
A. Physiological Status Score (0-100)
The score is a composite index designed to quantify lifestyle-based recovery. It uses the following weighted components:
HRV Status (50% Weight): We compare your nightly rMSSD (Root Mean Square of Successive Differences) against a 30-day moving average. Higher relative HRV improves your score.
RHR Status (30% Weight): We track deviations in your Resting Heart Rate. Significantly elevated RHR (indicating stress/strain) lowers your score.
Sleep Status (20% Weight): We measure sleep duration against an 8-hour baseline.
B. Correlation Tool (Statistical Logic)
The `correlate` command uses a Comparative Analysis method to identify lifestyle patterns. It is NOT a diagnostic tool.
Group Comparison: The algorithm compares days where a specific condition is met (e.g., "Sleep < 6h") against your normal days.
Trend Calculation: It calculates the average difference for metrics like HRV and RHR between these two groups.
Pattern Spotting: It identifies habits (e.g., "late meal") that appear frequently during specific conditions to help you understand your routine.
C. Matrix View (Relationship Heatmap)
The `matrix` command generates a general overview of how your metrics relate to each other:
Relationship Strength: We calculate the statistical link (-1.0 to +1.0) between metric pairs (e.g., Sleep vs. HRV).
Habit Drivers: We highlight areas where one habit appears to strongly influence another, helping you focus on impactful changes.
D. Trigger Reaction Tool (Pulse Check)
The `trigger` command allows you to review your body's immediate response to specific events:
Reaction Window: It looks at heart rate data from 30 minutes before to 60 minutes after a logged event (e.g., "trigger dairy").
Pulse Change: It calculates the immediate change in heart rate (bpm) to help you see how your body responds to food or activity.
Self-Quantification: This measures response, not health status. It is for personal tracking only.
E. Baseline Calculation
To ensure personalization, we do not use generic population averages. Instead, we calculate:
EWMA (Exponential Weighted Moving Average): We use an alpha factor of 0.2 to prioritize recent trends (last 7 days) while retaining 30-day context.
Standard Deviation (Z-Score): We calculate your personal "Normal Range." Your daily score is determined by how many standard deviations your current metrics fall from your own baseline (Z-Score Analysis).
1.4 Data Safety & Security
A. Encryption & Storage
Local First Architecture: Your primary database is stored locally on your device (SQLite). We do not maintain a central cloud server for your personal health records.
Encryption Standards: All physiological data is encrypted at rest using AES-256 standards. Any data transmitted to external APIs (for AI analysis) is sent via secure TLS/SSL tunnels.
B. AI Service Providers & Data Privacy
To enable automated data processing, specific information is transmitted to third-party providers (OpenRouter and Google Gemini). This processing includes:
Nutrition Data Processing: Text and images submitted via the log and scan commands for nutrient estimation.
Historical Data Analysis: Log history (7–60 days) transmitted when a user initiates the analyze, audit, or ask commands to generate personal summaries.
Data Handling: All transmissions are encrypted. Data is processed transiently and NOT used for training public models by the service providers.
We respect your rights under international privacy laws (GDPR, CCPA, PIPEDA).
Right to Access: You can view all raw data stored in the app via the `export` command.
Right to Erasure (Right to be Forgotten): You can permanently delete your data by uninstalling the app (which removes the local database) or using the `delete` command for specific entries.
Right to Withdraw Consent: You may revoke Health Connect or Camera permissions at any time via your Android System Settings.
1.6 Health Connect Limited Use Policy
Our use of information received from Health Connect will adhere to the Health Connect Permissions Policy, including the Limited Use requirements.
We explicitly affirm that we do not use Health Connect data for advertising, marketing, or use-based data mining.
1.7 Contact Us
For privacy inquiries, data deletion requests, or algorithmic questions, please contact:
By downloading, installing, or using sudoFit ("the App"), you agree to be bound by these Terms of Service ("Terms"). If you do not agree, do not use the App. These Terms constitute a binding legal agreement between you and the Developer ("we," "us").
2.2 Medical Disclaimer & Liability Release
NO MEDICAL ADVICE: The App is strictly for informational and educational purposes. It is NOT a medical device and does not offer medical advice, diagnosis, or treatment.
ASSUMPTION OF RISK: You expressly agree that your use of the App is at your sole risk. We are not responsible for any health problems that may result from training programs, dietary recommendations, or AI-generated advice found in the App.
2.3 User License & Restrictions
We grant you a limited, non-exclusive, non-transferable, revocable license to use the App for personal, non-commercial purposes. You agree NOT to:
Reverse engineer, decompile, or attempt to extract the source code.
Use the App to harass, abuse, or harm another person.
Use the App to generate spam or manipulative content.
Bypass any security restrictions or subscription paywalls.
2.4 Subscriptions & Billing
Certain features ("Premium") require a paid subscription.
Payment: Transactions are processed securely via Google Play Billing. We do not store your credit card information.
Auto-Renewal: Subscriptions automatically renew unless canceled at least 24 hours before the end of the current period.
Refunds: All refund requests are handled directly by the Google Play Store in accordance with their Refund Policy.
2.5 Generative AI Disclosures
The App uses Artificial Intelligence (AI) to generate text and analysis. You acknowledge that:
Accuracy: AI may produce inaccurate or "hallucinated" information. You must verify all outputs (e.g., calorie counts) manually.
Content: You bear full responsibility for any actions taken based on AI suggestions.
2.6 Indemnification
You agree to indemnify, defend, and hold harmless the Developer and its affiliates from any claims, liabilities, damages, and expenses (including legal fees) arising from your use of the App or violation of these Terms.
2.7 Limitation of Liability
TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL THE DEVELOPER BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, OR ANY LOSS OF PROFITS OR DATA, WHETHER INCURRED DIRECTLY OR INDIRECTLY.
2.8 Governing Law
These Terms shall be governed by the laws of the jurisdiction in which the Developer resides, without regard to its conflict of law provisions.
2.9 Changes to Terms
We reserve the right to modify these Terms at any time. We will provide notice of significant changes within the App. Continued use constitutes acceptance of the new Terms.