Overview
Artifact Miner implements consent-gated data processing with four privacy levels. You control whether analysis uses local-only processing, local LLM assistance, or cloud-based AI services.Consent Levels
Choose the consent level that matches your privacy and feature requirements:none
No data processingAnalysis is disabled. Use this to review consent options before proceeding.
local
Local processing onlyDeterministic analysis using file patterns, Git statistics, and repository metrics. No LLM integration.
- File type detection
- Framework identification
- Git commit analysis
- User contribution metrics
local-llm
Local LLM processingUses locally-hosted Ollama models for AI-powered summaries and insights. Data never leaves your machine.
- All features from
local - AI-generated project summaries
- Natural language insights
- Requires Ollama installation
cloud
Cloud LLM processingUses OpenAI API for advanced AI summaries. Code snippets and commit messages are sent to OpenAI.
- All features from
local-llm - More sophisticated summaries
- Better contextual understanding
- Requires OpenAI API key
Setting Your Consent Level
Consent is stored in the database and persists across sessions. You can change it at any time.
Data Handling by Consent Level
Local Processing (local)
When you select local consent, the system performs:
- Language detection: Analyzes file extensions and content patterns
- Framework identification: Detects dependencies in
package.json,requirements.txt, etc. - Git statistics: Counts commits, analyzes commit frequency, calculates contribution percentages
- Health scoring: Evaluates repository quality metrics (commit activity, documentation, testing)
- Skill extraction: Maps detected languages and frameworks to skill categories
Local LLM Integration (local-llm)
With local-llm, the system additionally:
- Generates natural language summaries of your contributions
- Creates project descriptions from Git history
- Produces insights about collaboration patterns
.env file contains:
Cloud LLM Integration (cloud)
With cloud consent, the system uses OpenAI’s GPT models for:
- Enhanced project summaries with better context understanding
- More sophisticated skill proficiency estimation
- Advanced insight generation
Privacy Considerations
What Data is Processed?
Depending on your consent level, the system may process:| Data Type | local | local-llm | cloud |
|---|---|---|---|
| File paths and names | ✓ | ✓ | ✓ |
| Git commit metadata | ✓ | ✓ | ✓ |
| User email (from Git) | ✓ | ✓ | ✓ |
| Code additions (diffs) | ✓ | ✓ | ✓ |
| Sent to external LLM | ✗ | ✗ | ✓ |
| Leaves your machine | ✗ | ✗ | ✓ |
User Email Collection
Before analysis, you must provide your email address (matching your Git commit author email):- Filter your contributions from collaborative repositories
- Calculate your commit percentage
- Attribute skills and evidence to your work
Your email is stored locally in the SQLite database and never transmitted externally (unless you use
cloud consent, in which case it may appear in Git commit metadata sent to OpenAI).Switching Between LLM Providers
The system automatically selects the LLM provider based on your consent level:Configuration Questions
Beyond consent, the system collects answers to configuration questions:API Reference
GET /consent
Retrieve current consent state. Returns:PUT /consent
Update consent level. Request Body:GET /questions
List all configuration questions. Returns: Array of question objects withid, key, question_text, required, and answer_type
POST /answers
Submit answers to configuration questions. Request Body:Next Steps
After configuring consent:- Upload projects - Submit ZIP files for analysis
- Analyze repositories - Extract intelligence from your code
- Generate outputs - Create portfolio artifacts