Skip to content

Commit 4612ebf

Browse files
ersinkocclaude
andcommitted
πŸ“ docs: update test counts and CLAUDE.md after BG Agent removal
Test count dropped from 26,750+ to 26,500+ after removing ~256 background agent tests. Gateway test files: 394 β†’ 388. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent bf28e55 commit 4612ebf

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

β€ŽCLAUDE.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ packages/
2222
- **User Extensions**: Native tool bundles (JS code, triggers, services) in `packages/gateway/src/services/extension-service.ts`. DB table: `user_extensions`. API: `/extensions`
2323
- **Skills (AgentSkills.io)**: Open standard SKILL.md format for agent instructions. Parser: `packages/gateway/src/services/agentskills-parser.ts`. Format field: `'ownpilot' | 'agentskills'`
2424
- **Edge/IoT**: MQTT broker (Mosquitto) integration for edge device management. Types: `packages/core/src/edge/`. Service: `packages/gateway/src/services/edge-service.ts`. Routes: `/api/v1/edge`
25-
- **Test framework**: Vitest across all packages. 26,750+ tests total (gateway: 16,550+; core: 9,714; cli: 340; ui: 141). 550 test files
25+
- **Test framework**: Vitest across all packages. 26,500+ tests total (gateway: 16,294+; core: 9,714; cli: 340; ui: 141). 549 test files
2626
- **Analytics Page**: `packages/ui/src/pages/AnalyticsPage.tsx` β€” recharts-powered dashboard at `/analytics`. 6 KPI cards, cost/token area+bar charts, provider donut, agent distribution bar, claw mode/state donuts, task/habit radial gauges, daily requests line chart, claw runtime summary grid, personal data overview. Period toggle (7d/30d). Uses `costsApi.usage()`, `costsApi.getBreakdown()`, `clawsApi.stats()`, `summaryApi.get()` + agent list endpoints
2727
- **Autonomous Agent Runners**: Shared utilities in `packages/gateway/src/services/agent-runner-utils.ts` β€” `createConfiguredAgent()`, `registerAllToolSources()`, `resolveProviderAndModel()`, `executeAgentPipeline()`, `calculateExecutionCost()`, `createToolCallCollector()`, `resolveToolFilter()`, `createCancellationPromise()`
2828
- **Habit Tracking**: 8 AI tools in `packages/gateway/src/tools/habit-tools.ts`, DB repo in `db/repositories/habits.ts` (645 lines), REST API in `routes/productivity.ts`, HabitsPage UI with streak heatmap

β€Žwebsite/src/components/home/Architecture.tsxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const packages = [
2424
{
2525
name: '@ownpilot/gateway',
2626
size: '~76K LOC',
27-
files: '394 test files',
27+
files: '388 test files',
2828
color: 'border-blue-500/30 bg-blue-500/5',
2929
badge: 'bg-blue-500/10 text-blue-500',
3030
description:

β€Žwebsite/src/components/home/Hero.tsxβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ docker compose --profile postgres up -d
1818
const stats = [
1919
{ value: '250+', label: 'Built-in Tools' },
2020
{ value: '104', label: 'AI Providers' },
21-
{ value: '26.7K+', label: 'Tests' },
21+
{ value: '26.5K+', label: 'Tests' },
2222
{ value: 'MIT', label: 'License' },
2323
];
2424

@@ -292,7 +292,7 @@ export function Hero() {
292292
className="absolute -bottom-4 -left-4 bg-[var(--color-surface)] border border-[var(--color-border)] rounded-xl px-3 py-2 shadow-lg"
293293
>
294294
<div className="text-xs text-[var(--color-text-muted)]">Test coverage</div>
295-
<div className="text-sm font-bold text-emerald-500">26,750+ tests</div>
295+
<div className="text-sm font-bold text-emerald-500">26,500+ tests</div>
296296
</motion.div>
297297
</motion.div>
298298
</div>

β€Žwebsite/src/pages/docs/IntroductionPage.tsxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export function IntroductionPage() {
100100
</tr>
101101
<tr>
102102
<td>Test Suite</td>
103-
<td>26,750+ tests, 550+ files</td>
103+
<td>26,500+ tests, 549+ files</td>
104104
</tr>
105105
<tr>
106106
<td>Codebase</td>

0 commit comments

Comments
Β (0)