تخطَّ إلى المحتوى
kazma.
EN نجمة 7 ابدأ الآن

خارطة الطريق (القديمة)

ملاحظة: هذه الصفحة أرشيف تاريخي لإنجازات خارطة الطريق. للوضع الحالي انظر خارطة الطريق والمستقبل. أسماء الميزات وروابط Issues تُترك بالإنجليزية كما في GitHub.

Last updated: July 10, 2026
Version: 0.4.0
Status: All originally planned features shipped ✅ + deep audit remediation ✅ + GitHub OAuth integration ✅ + full Arabic i18n ✅
Tests: ~3,544 root + ~118 package + ~216 TUI
i18n: ~926 keys (EN + AR)


🟢 منجز — كل الميزات المخططة شُحنت

Section titled “🟢 منجز — كل الميزات المخططة شُحنت”
#الميزةالجهدالأثرالسبرنت
#1Web search tool (DuckDuckGo)2 days🔥🔥🔥Sprint 1
#2URL content extractor1 day🔥🔥🔥Sprint 1
#3Typing indicators2 days🔥🔥Sprint 1
#4Slash commands1 day🔥🔥Sprint 1
#5Markdown rendering1 day🔥🔥Sprint 1
#6Tool output truncation2 days🔥🔥🔥Sprint 2
#7File read/write tools3 days🔥🔥🔥Sprint 2
#8Automatic retry with backoff2 days🔥🔥🔥Sprint 2
#9Conversation summarization3 days🔥🔥🔥Sprint 3
#10Inline Python REPL4 days🔥🔥🔥Sprint 3
#11Image generation tool2 days🔥🔥Sprint 3
#12Agent personality templates1 day🔥🔥Sprint 4
#13Rate limit user feedback1 day🔥🔥Sprint 4
#14Emoji reactions1 day🔥Sprint 4
#15Quick reply buttons2 days🔥🔥Sprint 4
#16Graceful error messages1 day🔥🔥Sprint 4
#17Session export1 day🔥Sprint 4
#18Knowledge graph context2-3 weeks🔥🔥🔥Sprint 5
#19Time travel replay1-2 weeks🔥🔥Sprint 5
#20IDE integration (MCP server)4-6 weeks🔥🔥🔥Sprint 6
#21Voice/multimodal support3-4 weeks🔥🔥Sprint 6

🆕 v0.4.0 — تكامل GitHub + تدويل عربي + تدقيق أمني (يوليو 2026)

Section titled “🆕 v0.4.0 — تكامل GitHub + تدويل عربي + تدقيق أمني (يوليو 2026)”
الميزةالوصفالحالة
GitHub OAuth IntegrationRead-only OAuth flow (no PAT in .env); GitHubClient (REST + GraphQL + pagination); 7 read endpoints (pulls, issues, commits, workflows, branches, releases); repo picker with clone; activity timeline with filter chips; unified workspace✅ Done
Full Arabic i18n~926 translation keys (EN + AR); JS-side t() for Alpine expressions; all templates wired (workspace, agents, swarm, settings, skills, mcp, dashboard); Calibri font; RTL font sizing✅ Done
Deep Security Audit~40 bugs found and fixed: async HITL auto-approve, adapter access control (Discord/Slack), semantic-cache cross-user leak, delegation auth bypass, autoscaler race, SQLite WAL pragmas (14 stores), model registry lock, checkpoint timeout✅ Done
Unified WorkspaceAll 3 cards (Project Files, Git Status, GitHub Telemetry) follow one active repo atomically; filesystem autocomplete✅ Done

🆕 Additional Features (Not in Original Plan)

Section titled “🆕 Additional Features (Not in Original Plan)”
الميزةالوصفالحالة
FTS5 MemorySQLite full-text search with BM25 ranking✅ Done
Swarm ManagerUnified in-process + distributed worker orchestration✅ Done
Web UI Rebuild12-tab settings, Alpine.js, provider management✅ Done
Provider Integration9 built-in providers with model discovery✅ Done
Settings PersistenceSQLite config_store for all settings✅ Done
Voice TranscriptionTelegram voice message STT✅ Done
Vision AnalysisImage analysis via LLM vision✅ Done
Role PresetsSwarm worker role presets (orchestrator, backend, frontend, etc.)✅ Done
Bug Fixes13 audit bugs fixed (RBAC, cron, schema, KG, etc.)✅ Done
Chaos Testing FrameworkFailure injection engine with 10 predefined experiments✅ Done (Sprint 19)
Config Migration UIRuntime DB schema migration management✅ Done (Sprint 19)
Load Testing InfrastructureLocust + k6 test suites with CI integration✅ Done (Sprint 19)
Adapter ExtractionClean platform output abstraction (swarm_output.py)✅ Done (Sprint 19)
WebSocket → SSE HITLFull HITL support via Server-Sent Events✅ Done (Sprint 19)

🔧 Architecture Remediation (Sprint 8 — June 2026)

Section titled “🔧 Architecture Remediation (Sprint 8 — June 2026)”
الميزةالوصفالحالة
P0 Bug Fixes5 P0 correctness bugs fixed (agent_handler race, Windows code_exec crash, global session messages, config write race, session store deletion)✅ Done
Dead Code Removal6 dead modules deleted (consumer, dispatcher, recovery, checkpoint, stubs, compact_node)✅ Done
UnifiedToolExecutor3 tool registries consolidated onto UnifiedToolExecutor✅ Done
Service FacadeZero private attribute access from UI; service layer facade✅ Done
Unified Session StoresMerged session stores into a single coherent store layer✅ Done
HITL Approval UIInline approve/deny panel for tiered tool-safety gates✅ Done
Session History LoadingBrowse and load prior conversations✅ Done
Agents PageDedicated agent inspection/control page✅ Done
UI Bug FixesTelemetry dedup, toast null-ref, cost breaker type, swarm logs, init error surfacing✅ Done
Cross-Platform Hardeningsetup.ps1, portable paths, PowerShell completion, env var overrides✅ Done
RTL / Arabic CompletionCairo font, i18n system (150+ translations, 71 CSS selectors)✅ Done

🎨 UI Bug Fixes (Sprint 9 — June 2026)

Section titled “🎨 UI Bug Fixes (Sprint 9 — June 2026)”
الميزةالوصفالحالة
Dark Mode Dropdown FixWCAG-compliant dropdown contrast in dark theme✅ Done
Model Selection PipelineChat-model selector, provider switch on save, SSE passthrough, API key validation✅ Done
Bilingual Language SystemEN/AR toggle, cookie middleware, shared Jinja2Templates, complete i18n✅ Done

Sprint 1 (Week 1): ██████████ 5/5 tasks ✅
Sprint 2 (Week 2): ██████████ 3/3 tasks ✅
Sprint 3 (Week 3): ██████████ 3/3 tasks ✅
Sprint 4 (Week 4): ██████████ 6/6 tasks ✅
Sprint 5 (Month 2): ██████████ 2/2 tasks ✅
Sprint 6 (Month 3): ██████████ 2/2 tasks ✅
Sprint 7 (June 2026): ██████████ Web UI rebuild + memory ✅
Sprint 8 (June 2026): ██████████ Architecture remediation ✅
Sprint 9 (June 2026): ██████████ UI bug fixes + bilingual ✅
Sprint 10 (June 2026):██████████ Model picker + tool-call fallback ✅
Sprint 11 (June 2026):██████████ Swarm pro-grade overhaul (Phase 1-4) ✅
Sprint 12 (June 2026):██████████ Swarm output routing + bugs ✅
Sprint 13 (June 2026):██████████ Active Tasks + test fixes ✅
Sprint 14 (July 2026):██████████ HITL gates (all platforms) + test isolation ✅
Sprint 15 (July 2026):██████████ ConfigStore atomicity + MCP auth/HITL ✅
Sprint 16 (July 2026):██████████ Skill checksums + task cancel/retry ✅
Sprint 17 (July 2026):██████████ Config reconciliation + engine refactor ✅

Overall: 21/21 original features shipped ✅ + 8 remediation sprints complete ✅

Section titled “Overall: 21/21 original features shipped ✅ + 8 remediation sprints complete ✅”

🔜 Remediation Audit — Completed Items (Sprints 14–17)

Section titled “🔜 Remediation Audit — Completed Items (Sprints 14–17)”

The following items were identified by the post-remediation weak-points audit and completed in Sprints 14-17.

PriorityItemStatus
P0HITL Approval Gates — Wire HITL into WebUI + all gateway adapter paths (Web, Telegram, Discord, Slack). Fail-closed danger-tool gating with graph interrupt() + swarm bus + MCP classification.✅ Done
P0Test Isolation Fix — Root-caused 36 failing tests. Fixed KAZMA_SECRET env leak (23 failures), handoff cycle detection, workspace singleton pollution. 36→3 failures.✅ Done
P0Hub API Auth — Rewrote hub/api.py to read X-Kazma-Secret with hmac.compare_digest.✅ Done
P0Route Gating — Added auth middleware to /api/sessions, /api/mcp/servers, /api/approve, /api/system/*.✅ Done
P0Docker Bind Fix — Dockerfile CMD changed to --host 0.0.0.0.✅ Done
P1SSRF Validation — Added URL validation to discover/MCP endpoints.✅ Done
P1Active Tasks Tab — In-flight task tracking, non-blocking dispatch, live polling.✅ Done
P1MCP Auth + HITL — Per-server auth (bearer tokens), trust levels, MCP tool classification + HITL gate.✅ Done
P1ConfigStore Atomicity — WAL journaling, busy_timeout, batch transactions, process-wide singleton, YAML→SQLite reconciliation.✅ Done
P1Skill Checksums — Fail-closed verification, HMAC-SHA256 signatures, kazma hub sign CLI.✅ Done
P2Circuit Breaker Badges — Live per-worker ⚡ breaker state in swarm panel.✅ Done
P2Per-Worker Start/Stop — Individual worker lifecycle control (API + UI).✅ Done
P2Task Cancel/Retry — Cancel running tasks, retry failed tasks from UI.✅ Done
P2Docs Accuracy — Test count, Slack description, README feature descriptions updated.✅ Done
P2Config Reconciliation — YAML auto-seeds SQLite on startup, non-clobbering.✅ Done
P2Engine Refactor — 1,878→1,573 lines. 3 modules extracted (ReliabilityRegistry, WorkerPhonebook, CheckpointManager).✅ Done
PriorityItemEffortStatus
P2Unify routing algorithms (merge 3 implementations)M✅ Done
P2Semantic routing (embeddings-based capability matching)L✅ Done
P2Visual pipeline editor (drag-and-drop DAG)XL

LabelMeaning
sprint-1 through sprint-9Which sprint the feature belongs to
quick-winHigh impact, low effort (1-2 days)
high-impactMajor user value
polishUX improvement
competitiveCatch up to market leaders
toolNew agent tool
gatewayGateway/adapter feature
memoryMemory/context feature
coreCore framework feature
P0 / P1 / P2Remediation priority (critical / high / medium)