Get started with agentlint's temporal analysis features
- agentlint installed and configured
- At least one analysis session completed (for baseline data)
- (Optional) Git repository for change correlation
Temporal analysis follows the continuous improvement cycle:
BASELINE → CHANGE → OBSERVE → UNDERSTAND → REFINE → (repeat)
After running an analysis, capture a baseline snapshot:
# Via CLI
agentlint baseline --label "Initial baseline"
# The agent will also capture baselines automatically during analysisWhat's captured:
- Finding counts by severity
- Configuration metrics (tokens, lines, warnings)
- Session statistics (if EP06 data available)
- Git commit for correlation
Improve your workflow based on analysis findings:
- Update CLAUDE.md configuration
- Add missing guidance sections
- Address high-priority recommendations
After making changes:
agentlint baseline --label "Post-CLAUDE.md update"See what improved or regressed:
# Compare latest to previous
agentlint compare
# Compare specific baselines
agentlint compare --from <baseline-id> --to <baseline-id>Output includes:
- Trend indicators: ↑ improved, ↓ regressed, → stable
- Metric changes with percentages
- Warnings added/resolved
- Git commits in the date range
Once you have 3+ baselines:
agentlint trendsOutput includes:
- Trend direction for each metric
- Inflection points (when trends changed)
- Correlation with git commits
- Qualitative trend comparison (if reviews exist)
Capture context that metrics can't reveal:
# Start a qualitative review
agentlint reviewThe agent guides you through 6 dimensions:
- Perceived Friction - Where do you experience friction?
- Trust Calibration - How often do you verify AI suggestions?
- Task Fit - What tasks work well/poorly?
- Configuration Confidence - How confident in your CLAUDE.md?
- Improvement Attribution - What changes made the biggest difference?
- Workflow Satisfaction - Overall satisfaction
Each dimension uses a Likert scale (-2 to +2):
-2: Very negative-1: Negative0: Neutral+1: Positive+2: Very positive
# Monday: capture baseline after changes
agentlint baseline --label "Week $(date +%W) start"
# Friday: compare to see progress
agentlint compare
agentlint review # Capture qualitative feedback# Before making changes
agentlint baseline --label "Pre-refactor"
# Make changes to CLAUDE.md or workflow
# After changes
agentlint baseline --label "Post-refactor"
agentlint compare# After accumulating baselines
agentlint trends --after 2026-01-01
# See if qualitative matches quantitative
agentlint trends --include-qualitativeCapture a point-in-time snapshot.
// Agent tool call
store_baseline({
label: "Post-config update",
notes: "Added credential guidance section",
includeSessionMetrics: true
})Retrieve a baseline by ID or get latest.
// Get latest
query_baseline({ includeFindings: false })
// Get specific
query_baseline({ id: "550e8400-...", includeFindings: true })List available baselines with filtering.
list_baselines({
limit: 10,
after: "2026-01-01",
orderBy: "createdAt",
order: "desc"
})Compare two baselines.
calculate_delta({
fromId: "baseline-1-id",
toId: "baseline-2-id",
includeGitCommits: true
})Analyze trends across baselines.
query_trends({
minBaselines: 3,
includeQualitative: true,
includeCorrelations: true
})Start a qualitative review session.
conduct_review({
baselineId: "latest",
dimensions: ["perceivedFriction", "workflowSatisfaction"]
})Retrieve qualitative review history.
get_review_history({
afterDate: "2026-01-01",
limit: 10
})Configure in ~/.agentlint/config.json:
{
"temporal": {
"thresholds": {
"default": 0.05,
"warningCount": 1,
"tokenUsage": 0.10
}
}
}default: 5% change = significant (↑ or ↓)warningCount: 1 warning difference = significanttokenUsage: 10% change = significant for tokens
Configure reminder frequency:
{
"temporal": {
"reviewReminder": {
"enabled": true,
"frequency": "monthly",
"triggerOnMajorChanges": true
}
}
}| Data | Location |
|---|---|
| Baselines | .agentlint/baselines/*.json |
| Baseline index | .agentlint/baselines.db |
| Reviews | .agentlint/reviews/*.json |
| Tracking | .agentlint/tracking/*.json |
All data is local-first. No data is transmitted without consent.
Run an analysis and capture a baseline:
agentlint analyze
agentlint baselineNeed at least 3 baselines for trend analysis. Capture more baselines over time.
Git correlation features degrade gracefully. Baselines still work without git.
The index is rebuilt automatically from JSON files:
rm .agentlint/baselines.db
agentlint list baselines # Triggers rebuild- Explore data-model.md for entity details
- Review contracts/temporal-tools.ts for full API
- See spec.md for complete requirements