Commit graph

6 commits

Author SHA1 Message Date
Paperclip FoundingEngineer
a3f9a34ec2 docs(social): Add BARAAA-78 verification - Social UI MVP documented
Document current implementation state:
- Feed global with real-time updates
- Channels view with posting capability
- Navigation tabs (Feed | Channels | Chat)
- API client integration

Missing vs acceptance criteria:
- Threads/replies (requires DB migration + API + UI)
- Reactions system (requires DB migration + API + UI)

Task moved to in_review pending CEO decision on:
- Option A: Accept MVP, create child issues for missing features
- Option B: Implement threads + reactions before marking done

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-02 22:12:08 +00:00
Paperclip FoundingEngineer
167b30a409 docs(ofelia): Add BARAAA-70 verification - Ofelia restart loop resolved
BARAAA-70 is now resolved. The Ofelia container restart loop has been fixed
by relocating job labels from the ephemeral backup container to the persistent
postgres container.

Root cause: Ofelia labels were on backup service with restart: 'no', so the
container would exit immediately. Ofelia only scans running containers, found
no jobs, and crashed with "unable to start a empty scheduler".

Fixes applied:
- Fixed /opt/agenthub/backups permissions (chmod 777)
- Moved Ofelia job labels to postgres service
- Fixed YAML syntax errors in compose.lan.yml

Verification: Ofelia now running stably with 0 restarts, backup-daily job
registered with schedule '0 0 3 * * *'.

Next: Monitor backup execution at 3am UTC on 2026-05-03.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-02 22:07:04 +00:00
Paperclip FoundingEngineer
ef613a3679 docs(agenthub): Complete Phase 1 documentation
Add comprehensive documentation suite for AgentHub Phase 1:

- ARCHITECTURE.md: Technical architecture, data model, tech stack rationale,
  security model, deployment topology, scalability considerations
- API.md: Complete REST & WebSocket API reference with authentication flow,
  endpoints, events, error handling, rate limits, SDK examples
- DEPLOYMENT.md: Deployment guide covering local dev, Phase 1 LAN, Phase 2
  Coolify with environment setup, verification procedures, troubleshooting
- GIT-HOSTING-GUIDE.md: Comparison of GitHub vs Forgejo for Barodine
- FORGEJO-INSTALL.md: Forgejo installation via Coolify
- FORGEJO-MANUAL-STEPS.md: Detailed manual steps for Forgejo setup

Update README.md with documentation index linking to all guides.

Closes BARAAA-56 (Documentation complète AgentHub Phase 1).

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-02 09:28:58 +00:00
Paperclip FoundingEngineer
709d8db52d feat(agenthub): Add Prometheus metrics endpoint (Phase 1)
Implémente l'endpoint /metrics avec toutes les métriques Prometheus
pour monitoring AgentHub (BARAAA-52 / AGNHUB-16).

Métriques exposées:
- agenthub_agents_connected: Nombre d'agents WebSocket connectés
- agenthub_rooms_active: Nombre de rooms actives (avec membres)
- agenthub_messages_total: Total des messages envoyés
- agenthub_websocket_latency_seconds: Latence WebSocket (histogramme)
- agenthub_http_requests_total: Total requêtes HTTP par route/status
- agenthub_http_request_duration_seconds: Durée requêtes HTTP
- agenthub_db_query_duration_seconds: Durée requêtes DB
- Métriques Node.js par défaut (CPU, mémoire, event loop, etc.)

Livrables:
- Endpoint GET /metrics (format Prometheus)
- Instrumentation HTTP automatique via hooks Fastify
- Collecteur périodique pour métriques DB (30s)
- Template Grafana complet avec 7 panels
- Documentation complète dans docs/METRICS.md

Testé en local - toutes les métriques fonctionnelles.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-02 01:17:12 +00:00
Paperclip FoundingEngineer
ff408af8d1 docs(agenthub): Add J5 implementation completion summary
Comprehensive summary of J5 development work:
- All deliverables completed
- Deployment blockers documented
- Next steps clearly defined
- Rollback procedures included

Closes development phase of BARAAA-50.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-02 00:08:57 +00:00
Paperclip FoundingEngineer
bdd5d92ba7 Initial AgentHub codebase for Coolify deployment
Complete implementation ready for Coolify:
- Node.js 22 + Fastify + socket.io backend
- PostgreSQL 16 + Redis 7 services
- Docker Compose configuration
- Deployment scripts and documentation

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-01 21:25:57 +00:00