157 lines
9.4 KiB
Markdown
157 lines
9.4 KiB
Markdown
# 📋 GyanDoot v2.0 Kanban Board
|
|
|
|
> **Notion Board:** https://notion.so/37c745a147148192889bcdd372179318
|
|
> **Database ID:** `37c745a1-4714-8192-889b-cdd372179318`
|
|
> **Created:** 2026-06-11
|
|
> **Owner:** Hermes Agent (Notion Integration: hermes_agents)
|
|
|
|
## Priority Legend
|
|
|
|
| Priority | Meaning |
|
|
|----------|---------|
|
|
| **P0 — Critical** | Must-have for MVP. Blocks other modules. |
|
|
| **P1 — High** | Core feature. Needed for v2.0 release. |
|
|
| **P2 — Medium** | Important but can be iterated post-v2.0. |
|
|
| **P3 — Low** | Nice-to-have. Future enhancement. |
|
|
|
|
---
|
|
|
|
## 📊 Board Overview
|
|
|
|
| # | Task | Status | Priority | Module | Tags |
|
|
|---|------|--------|----------|--------|------|
|
|
| 1 | Agent Loop — Conversation & Tool Execution | 🔴 To Do | P0 | gyandoot-agent | Maya, Kapil |
|
|
| 2 | Providers — Unified LLM API Layer | 🔴 To Do | P0 | gyandoot-providers | Kapil, Hermes |
|
|
| 3 | Memory / MemPalace — Persistent Transcripts & Search | 🔴 To Do | P0 | gyandoot-memory | Maya |
|
|
| 4 | Gateway — Session Lifecycle & Delivery Router | 🔴 To Do | P0 | gyandoot-gateway | Maya, Kapil |
|
|
| 5 | Configuration — Config Loader & Path Handling | 🔴 To Do | P0 | gyandoot-core | Hermes |
|
|
| 6 | Platform Adapters — Telegram, Discord, Webhook, CLI TUI | 🟡 To Do | P1 | gyandoot-platform | Kapil, Dhruv |
|
|
| 7 | Security — Credential Vault, Sanitizer, Threat Detector | 🟡 To Do | P1 | gyandoot-security | Hermes, Aarav |
|
|
| 8 | Sub-Agent System — Isolated Workers & Manager | 🟡 To Do | P1 | gyandoot-subagents | Hermes |
|
|
| 9 | Skills System — Discovery, Templates, Bundles, Hub | 🟡 To Do | P1 | gyandoot-skills | Maya, Kapil |
|
|
| 10 | Profile Manager — Self-Contained Profiles | 🟡 To Do | P1 | gyandoot-profile | Kapil, Hermes |
|
|
| 11 | CLI / UX — Clap Commands & Interactive Setup | 🟡 To Do | P1 | gyandoot-cli | Kapil |
|
|
| 12 | Document Registry — Notion-Based Document Management | 🔵 In Progress | P1 | doc-registry | Maya, Hermes |
|
|
| 13 | Kanban System — Task Decomposer & Swarm Orchestrator | 🟢 To Do | P2 | gyandoot-kanban | Hermes |
|
|
| 14 | Installation & Distribution — CI Pipeline & Cross-Compilation | 🟢 To Do | P2 | distribution | Aarav, Dhruv |
|
|
| 15 | Document Generation — LaTeX Proposals & PDF | 🟢 To Do | P2 | documentation | Maya, Ritika |
|
|
| 16 | 🦊 **Browser Module — Camofox Anti-Detection Browsing** | 🟢 **Done** | **P0** | **gyandoot-browser** | **Maya** |
|
|
|
|
---
|
|
|
|
## 📦 Module Details
|
|
|
|
### 1. `gyandoot-agent` — Agent Loop (P0)
|
|
**Files:** `src/loop.rs`, `src/tool_exec.rs`, `src/retry.rs`, `src/context.rs`, `src/identity.rs`
|
|
**Deps:** gyandoot-providers, gyandoot-security
|
|
**Description:** Core conversation loop with streaming support, tool execution engine, retry logic with error classification, context compression, and identity management. The heart of GyanDoot.
|
|
|
|
### 2. `gyandoot-providers` — Unified LLM API Layer (P0)
|
|
**Files:** `src/lib.rs`, `src/openai.rs`, `src/anthropic.rs`, `src/ollama.rs`, `src/gemini.rs`, `src/deepseek.rs`, `src/openrouter.rs`
|
|
**Deps:** gyandoot-core
|
|
**Description:** OpenAI-compatible, Anthropic, Ollama (local), Google Gemini, DeepSeek, OpenRouter providers. Unified trait with streaming SSE parser, auto-detect merge_system/no_tools for local models.
|
|
|
|
### 3. `gyandoot-memory` — Memory / MemPalace (P0)
|
|
**Files:** `src/lib.rs`, `src/identity.rs`, `src/transcript.rs`, `src/digest.rs`, `src/search.rs`
|
|
**Deps:** gyandoot-security
|
|
**Description:** L0/L1 identity persistence, append-only day-level transcript files, session digest with drawer pattern, search capability across historical conversations.
|
|
|
|
### 4. `gyandoot-platform` — Platform Adapters (P1)
|
|
**Files:** `src/telegram.rs`, `src/discord.rs`, `src/webhook.rs`, `src/cli.rs`
|
|
**Deps:** gyandoot-gateway
|
|
**Description:** Telegram adapter (polling + sendMessage/sendDocument), Discord adapter (gateway websocket + async), Webhook adapter (Flask-like HTTP), CLI TUI with banner system.
|
|
|
|
### 5. `gyandoot-security` — Security (P1)
|
|
**Files:** `src/vault.rs`, `src/sanitizer.rs`, `src/threat_detector.rs`, `src/path_sec.rs`, `src/audit.rs`
|
|
**Deps:** None
|
|
**Description:** Fernet-encrypted credential vault, input sanitizer (PII redaction), threat detector (prompt injection/jailbreak patterns), path security (traversal prevention), SHA-256 audit log.
|
|
|
|
### 6. `gyandoot-kanban` — Kanban System (P2)
|
|
**Files:** `src/decomposer.rs`, `src/orchestrator.rs`, `src/diagnostics.rs`
|
|
**Deps:** gyandoot-subagents
|
|
**Description:** TaskDecomposer (auto-split large tasks via LLM), SwarmOrchestrator (multi-board parallel execution), KanbanDiagnostics (health scoring, bottleneck detection).
|
|
|
|
### 7. `gyandoot-subagents` — Sub-Agent System (P1)
|
|
**Files:** `src/worker.rs`, `src/manager.rs`, `src/lifecycle.rs`
|
|
**Deps:** gyandoot-security, gyandoot-skills
|
|
**Description:** SubAgentWorker (isolated per-task with tool filtering + workdir), SubAgentManager (ThreadPoolExecutor-like, max 3 concurrent), lifecycle management.
|
|
|
|
### 8. `gyandoot-skills` — Skills System (P1)
|
|
**Files:** `src/discovery.rs`, `src/preprocessor.rs`, `src/invocation.rs`, `src/bundle.rs`, `src/hub.rs`
|
|
**Deps:** gyandoot-core
|
|
**Description:** Discovery (filesystem scanning), Preprocessor (template resolution), Invocation engine, Bundles (YAML manifest), Hub (download/install with trust levels).
|
|
|
|
### 9. `gyandoot-profile` — Profile Manager (P1)
|
|
**Files:** `src/config.rs`, `src/profile.rs`, `src/commands.rs`
|
|
**Deps:** gyandoot-core
|
|
**Description:** Self-contained per-profile config.yaml, active_profile symlink marker, profile CRUD CLI commands, per-profile gateway isolation with separate skill/plugin/memory dirs.
|
|
|
|
### 10. `gyandoot-gateway` — Gateway (P0)
|
|
**Files:** `src/registry.rs`, `src/session.rs`, `src/router.rs`, `src/runner.rs`, `src/acl.rs`
|
|
**Deps:** gyandoot-platform, gyandoot-agent, gyandoot-security
|
|
**Description:** PlatformRegistry (adapter factory), GatewaySession (SQLite session lifecycle), DeliveryRouter (target string parser), GatewayRunner (main event loop), 3-gate ACL (threats, allowed_users, allowed_channels).
|
|
|
|
### 11. `gyandoot-cli` — CLI / UX (P1)
|
|
**Files:** `src/main.rs`, `src/commands/`, `src/banner.rs`, `src/wizard.rs`
|
|
**Deps:** gyandoot-profile, gyandoot-gateway
|
|
**Description:** clap-based CLI with 17+ subcommands (doctor, status, debug, secrets, backup, profile, gateway), banner system (primary ASCII + fallback box), interactive setup wizard.
|
|
|
|
### 12. `gyandoot-core` — Configuration (P0)
|
|
**Files:** `src/config.rs`, `src/paths.rs`, `src/defaults.rs`
|
|
**Deps:** None
|
|
**Description:** Config loading chain (env vars > profile > default), cross-platform path handling (Path.home()), default config with sensible values, serde-based deserialization.
|
|
|
|
### 13. `distribution` — Installation & Distribution (P2)
|
|
**Files:** `scripts/install.sh`, `.github/workflows/release.yml`, `scripts/install.ps1`
|
|
**Deps:** gyandoot-core, gyandoot-cli
|
|
**Description:** Install script (cross-platform: curl|sh, brew tap, winget), CI release pipeline (GitHub Actions), cross-compilation matrix (x86_64/aarch64 for Linux/macOS/Windows).
|
|
|
|
### 14. `documentation` — Document Generation (P2)
|
|
**Files:** `src/latex.rs`, `src/pdf.rs`, `templates/`
|
|
**Deps:** doc-registry
|
|
**Description:** LaTeX-based proposals, PDF generation module for GyanDoot's client proposal system, template rendering with variables.
|
|
|
|
### 15. `doc-registry` — Document Registry (P1 — In Progress ✅)
|
|
**Files:** `src/registry.rs`, `src/sync.rs`, `src/templates.rs`
|
|
**Deps:** None
|
|
**Description:** Notion-based document management with GYN-{DEPT}-{CLASS}-{NNNN} format. Integration with existing Document Registry database for client proposals.
|
|
|
|
### 16. 🦊 `gyandoot-browser` — Camofox Browser Integration (P0) ✅ DONE
|
|
**Files:** `crates/gyandoot-browser/src/{client,macros,session,snapshot}.rs`, `crates/gyandoot-agent/src/browser_tools.rs` \
|
|
**Deps:** gyandoot-core, reqwest, camofox-browser \
|
|
**Description:** Anti-detection browsing via camofox-browser. REST client with 14 search macros, accessibility snapshots, stable element refs. Agent tools: web_search, web_browse.
|
|
**Status: ✅ Deployed at localhost:9377. Rust crate compiled and integrated.**
|
|
|
|
---
|
|
|
|
## 🧩 Dependency Graph (Topological)
|
|
|
|
```
|
|
gyandoot-core ──────┬──── gyandoot-providers ────┬── gyandoot-agent ──┬── gyandoot-gateway
|
|
│ │ │
|
|
├──── gyandoot-skills ────────┘ │
|
|
│ │
|
|
└──── gyandoot-profile ────── gyandoot-cli ────────┘
|
|
|
|
gyandoot-security ──┬── gyandoot-memory
|
|
├── gyandoot-subagents
|
|
└── gyandoot-gateway
|
|
|
|
gyandoot-subagents ──┬── gyandoot-kanban
|
|
└── gyandoot-skills (invocation)
|
|
|
|
gyandoot-platform ───── gyandoot-gateway
|
|
```
|
|
|
|
---
|
|
|
|
## 👥 Team Assignments
|
|
|
|
| Person | Assigned Tasks |
|
|
|--------|---------------|
|
|
| **Maya** | Agent Loop, Memory, Skills, Gateway, Document Registry, Document Generation |
|
|
| **Kapil** | Agent Loop, Providers, Platform, Skills, Profile, CLI, Gateway |
|
|
| **Hermes** | Providers, Security, Kanban, Sub-Agent, Profile, Config, Document Registry |
|
|
| **Aarav** | Security, Distribution |
|
|
| **Dhruv** | Platform, Distribution |
|
|
| **Ritika** | Document Generation | |