Commit Graph

30 Commits

Author SHA1 Message Date
modimihir07 e003688658 v0.3.0: Event-driven scheduler, error dashboard, persistent memory, PWA
Phase 1 — Event-Driven Scheduler:
- Rewrote scheduler/scheduler.py with file watcher + cron engine
- Job auto-reload on file changes via watchdog-style polling
- Execution history tracking (data/scheduler-history.json)
- Webhook receiver endpoint: POST /api/webhook
- Scheduler events endpoint: GET /api/scheduler/events
- Manual job trigger: POST /api/scheduler/trigger/{id}
- Generic catch-all webhook: POST /api/webhook/generic
- Scheduler auto-starts with server via lifespan hooks

Phase 2 — Error Dashboard + Circuit Breaker:
- Error tracking endpoints: GET/POST/DELETE /api/errors
- Circuit breaker pattern: /api/circuit-breaker (trip/reset)
- New dashboard/pages/errors.js — error log + circuit breaker status
- Error categories: agent, skill, api, system, general
- Global error count badge in sidebar
- Circuit breaker auto-recovery (half-open after 300s)

Phase 3 — Persistent Memory + Auto-Skill-Generator:
- brain/memory_search.py — SQLite FTS5 full-text search module
- Indexes brain/*.md, skills/*/*.md, brain/journal/*.md
- Entity extraction (persons, emails, URLs, acronyms, IPs)
- Search endpoint: GET /api/memory/search?q=
- Reindex endpoint: POST /api/memory/reindex
- Entity listing: GET /api/memory/entities
- Auto-skill-generator: POST /api/skills/generate (NL → SKILL.md)

Phase 4 — Mobile PWA:
- manifest.json at /manifest.json
- Service worker at /sw.js (offline fallback)
- Bottom navigation bar for mobile (<768px)
- PWA meta tags (theme-color, apple-mobile-web-app)
- Mobile responsive CSS (grid collapse, touch targets, safe-area)
- Service worker registration in index.html
- Input font-size 16px on touch devices (prevents iOS zoom)
2026-06-29 14:08:57 +05:30
modimihir07 a30162d114 Security audit fixes: path traversal, XSS, info disclosure, missing headers
CRITICAL fixes:
- Path traversal prevention in brain/backup/skill/file endpoints
- Unsafe tar extraction with safe_extractall() path validation

HIGH fixes:
- XSS: encodeURIComponent for onclick handlers in skills/memory/prompts/standards/backups
- XSS: escapeHtml() for user-controlled text in cost/plugins/settings/audit/dashboard
- XSS: safe class name mapping in setup-wizard (attribute injection)
- Security headers middleware (CSP, HSTS, X-Frame-Options, X-Content-Type-Options)
- CORS restricted to localhost:8080
- Settings API keys masked before returning to client
- Session replay content limited to 2000 chars + path validation

MEDIUM fixes:
- Chat message length limit (10000 chars)
- Input validation on brain/skill/backup file names (reject .. and /)
2026-06-29 13:57:44 +05:30
modimihir07 d9b1b0d9fd Update Hermes MEMORY.md with v0.2.0 features: 68 features, 58 endpoints, 20 pages 2026-06-05 16:39:43 +05:30
modimihir07 14584fc55e Sanitize personal information from repo files
Remove: email, full name, education level, location, career goals,
personal project references (AgriAssist, EROS, Java OOP, SEM-2),
budget figures, Telegram/Discord channel details, system username paths

Keep only: public project names (CloudMart, Agentic OS), GitHub
username attribution, LICENSE copyright (required by MIT), and
standard open-source README attribution
2026-06-05 16:38:47 +05:30
modimihir07 1586633904 Update README and AGENTS.md for v0.2.0 features 2026-06-05 15:36:03 +05:30
modimihir07 717ec85607 v0.2.0: 7 new features + UI modernization
New features:
- Kanban Board: Visual task management with drag-and-drop, filter, priority, block/unblock
- Goals: Project targets with progress tracking, auto-sync to brain/active-projects.md
- Journal: Daily entries stored as brain/journal/YYYY-MM-DD.md with search
- Agent Health: Real-time monitoring of 3 agents (opencode/hermes/gemini)
- Smart Router: Keyword-based task routing with confidence scoring
- Learning Analytics: Skill evaluation scores and performance trends
- Session Replay: Browse and replay past opencode sessions

Technical changes:
- 30 new API endpoints across all 7 features
- api.patch() method added for PATCH support
- UI modernization: glass morphism cards, gradients, glow effects, skeleton loaders, empty states
- New CSS section (v0.2.0) with kanban board, goal cards, journal entries, agent health cards, smart router suggestions, chart cards, session messages
- 7 new sidebar nav items under Workflow and Monitoring sections
- All changes are additive (zero breaking changes to existing 13 pages / 28 endpoints)
- Full smoke test verified: every endpoint returns correct data
2026-06-05 15:22:40 +05:30
modimihir07 846803500c Restore accidentally deleted agents/hermes/MEMORY.md 2026-05-20 20:19:23 +05:30
modimihir07 38d8a095d6 SEO: add hyphenated 'agentic-os' to title, meta, OG, Twitter, H1, JSON-LD, and README for dual keyword ranking 2026-05-20 20:18:47 +05:30
modimihir07 66a204e218 Fix skill execution: wire run_skill to actually invoke agent, show results in modal 2026-05-18 11:22:34 +05:30
Mihir Modi 5629136dd4
Fix formatting and alignment in README architecture section 2026-05-18 02:24:59 +05:30
modimihir07 27eea83e84 Remove linkedin-post.md 2026-05-18 02:17:11 +05:30
modimihir07 01cfa93093 Fix SVG color typo, add grep guard to install.sh for duplicate .gitignore entries 2026-05-18 02:15:24 +05:30
modimihir07 68bdb11e8d Add LinkedIn post draft and architecture diagram SVG 2026-05-18 02:11:57 +05:30
modimihir07 f7b13f3772 Security & polish: untrack settings.json, fix CORS, remove broken og:image, replace console.error with toast 2026-05-18 01:32:24 +05:30
modimihir07 348e9ce6d7 Add MIT LICENSE file 2026-05-18 01:24:51 +05:30
modimihir07 cb293992fa Clean up: remove devto-article.md, social-posts.md (working drafts from launch) 2026-05-18 01:21:10 +05:30
modimihir07 67b9aef4fc Add .nojekyll for better GitHub Pages compatibility 2026-05-18 01:04:24 +05:30
modimihir07 e4bffb57d4 Fix sitemap (remove github.com URLs), add robots.txt 2026-05-18 01:03:39 +05:30
modimihir07 863a24b2ed Add Google Search Console verification file 2026-05-18 00:59:03 +05:30
modimihir07 3e1868ee8c Add dev.to article badge + published URL to README and Pages 2026-05-18 00:33:15 +05:30
modimihir07 cda9c75d8e Add GitHub Pages landing page, sitemap.xml, dev.to article draft, social posts 2026-05-17 23:56:57 +05:30
modimihir07 2b3083308f v1.2.0: opencode JSON mode, 180s Hermes timeout, client AbortController, SEO README, badge/CSS fixes, prompt clipboard fix 2026-05-17 23:43:18 +05:30
modimihir07 828a6ab38a Production polish: logo, favicon, sidebar, UI, chat order, perf cache
- New Agentic OS logo: SVG hexagon with gradient (replaces unicode)
- Modern sidebar toggle: SVG chevron with 180° rotation animation
- Favicon: proper SVG favicon returning 200 with browser icon
- Agent status cache (15s TTL) eliminates slow subprocess on every status call
- Chat moved to top of sidebar nav (Primary section, before Dashboard)
- Reorganized sidebar: Primary > Agents > Management > System sections
- Glassmorphism card effects with gradient overlays
- Stat values with gradient text, enhanced stat icons with glow
- Button micro-interactions: scale, shadow, gradient overlay on hover
- Table polish: better row transitions, border-spacing
- Chat sidebar: active agent indicator, hover animations
- Gradient logo text matching SVG accent
- All 13 pages verified 200, zero console errors
2026-05-17 16:32:26 +05:30
modimihir07 4bbc3bd826 Restore daily-standup job that was accidentally deleted 2026-05-17 16:13:39 +05:30
modimihir07 18fdb6b478 Add AI Chat interface + sidebar toggle fix + production polish
- New Chat page with 3-agent terminal interface (opencode/hermes/gemini)
- Chat sidebar with agent selection, status indicators, quick prompts
- Message bubbles with typing indicator animation
- Full chat history persistence via /api/chat endpoint
- Agent CLI execution with timeout fallback messaging
- Sidebar toggle: minimize ◀ / maximize ▶ with dynamic icon
- Collapsed sidebar: centered icons, tighter padding, cleaner alignment
- Fixed chat agent execution for interactive CLIs (non-blocking)
- Added /api/chat and /api/chat/history API endpoints
- All 13 dashboard pages serving 200
2026-05-17 16:13:23 +05:30
modimihir07 ab1dc3d228 Fix: page script 404 due to relative path, sidebar collapsed alignment, add favicon
- Fixed app.js: changed page script path from 'pages/' to '/dashboard/pages/'
- Fixed collapsed sidebar: icon alignment, cleaner padding, centered footer
- Removed inverted media query logic for responsive sidebar
- Added favicon endpoint to suppress 404
- Renamed cost-analytics.js to cost.js to match hash routing
2026-05-17 15:56:30 +05:30
modimihir07 43c3413bca Complete dashboard revamp: modern glassmorphism UI, all 12 pages functional
- Complete CSS redesign with glassmorphism, gradients, animations
- All 12 SPA pages rewritten with working forms, modals, charts
- Fixed server.py static file serving for dashboard assets
- Enhanced utils: modal system, toast with icons, skeletons
- Dashboard: stat cards, agent status, activity feed, quick run
- Skills: grid/list views, filter, detail with performance chart
- Memory: browse/edit brain files inline
- Scheduler: CRUD jobs with cron input
- Audit: filterable log viewer
- Cost: Chart.js agent/time charts, test recording, free-tier alerts
- Plugins: registry browser with install flow
- Backups: create/restore with confirmation dialog
- Prompts: card grid with preview, copy-to-clipboard
- Standards: index + detail cards, pattern discovery
- Settings: agent toggle, API keys, free-tier limits, dark mode
- Setup Wizard: 4-step guided configuration
2026-05-17 15:48:54 +05:30
modimihir07 0c08c0c9fb Fix AGENTS.md directory listing: skill-detail.js merged into skills.js 2026-05-17 15:31:08 +05:30
modimihir07 b3561fa5cd Add missing score-history.json files to all 15 skills 2026-05-17 15:24:45 +05:30
modimihir07 73efe0f7e4 Initial commit: Agentic OS v1.0.0
- AGENTS.md single source of truth with 51+10 features
- FastAPI backend with 20+ REST endpoints
- 15 skills with self-improvement (eval + learnings)
- Web SPA dashboard with 12 pages
- Agent configs for opencode, Hermes, Gemini CLI
- APScheduler, plugin registry, standards system
- 10 prompt templates, cost analytics, backup/restore
2026-05-17 15:23:44 +05:30