Commit Graph

1111 Commits

Author SHA1 Message Date
Agent Zero 610af39f75 feat(I): I-AW/I-AK — agent integration tools (start_workflow, check_workflow_status, ask_knowledge, search_knowledge), 6 tests passing 2026-08-19 00:18:07 +02:00
Agent Zero a36df3509b test(spike-i): SPIKE-I PASSED — Agent→Search→Knowledge→Workstream→Task→Approval flow verified (8 tests, all transitions work, no circular deps) 2026-08-19 00:13:43 +02:00
Agent Zero 44ec84136e fix(ARCH-F-2): migration 0127 — drop tasks_contact_id_fkey (contact_id derived from entity_id, FK redundant) 2026-08-19 00:06:05 +02:00
Agent Zero 6b9beec8cf test(spike-g): SPIKE-G PASSED — durable WorkflowRun survives worker restart (7 tests: persistent state, wait/resume, find_resumable, idempotency, lock) 2026-08-19 00:05:42 +02:00
Agent Zero c2ddf34c53 docs(reviews): Phase-Gate-Review G + H — both PASSED (6/7 each, E2E deferred to Phase I) 2026-08-19 00:02:15 +02:00
Agent Zero 9f9c38906c docs(progress): Phase H done — 22/22 tasks, deployed, 42 tests passing 2026-08-18 23:29:18 +02:00
Agent Zero e002272278 feat(H): H-GRAPH/H-EDITOR/H-BROWSE/H-ASK — frontend knowledge components (Wiki page, editor, browser, knowledge graph, ask-knowledge), i18n updates, tsc clean 2026-08-18 23:27:04 +02:00
Agent Zero 240a49321d docs(H): H-DOC — API documentation updated with Phase H Knowledge endpoints (wiki, sources, evidence, extraction, lifecycle, ask, review) 2026-08-18 23:20:20 +02:00
Agent Zero a6e593dc40 feat(H): H-EVT/H-DATA-LIFE/H-RET/H-ASK/H-REV — knowledge lifecycle (event-driven extraction, derived-data propagation, retention policy, ask-knowledge with evidence, review queue), 42 tests passing 2026-08-18 23:17:33 +02:00
Agent Zero a29dc58bcd docs(progress): Phase H in_progress — 9/22 tasks done, deployed, 31 tests passing 2026-08-18 12:04:43 +02:00
Agent Zero 70bbfe93e6 feat(H): H-EXT/H-ENT/H-AUTO/H-CONF — LLM knowledge extraction (entities, relationships, auto-create in GraphRAG, confidence scoring with review queue), 31 tests passing 2026-08-18 12:02:33 +02:00
Agent Zero e09e33e225 feat(H): H-SRC/H-CITE — knowledge source adapter (wiki/dms/mail/communication), evidence references with deep-links and workstream blocks, 23 tests passing 2026-08-18 11:59:39 +02:00
Agent Zero 396fdf3c9a feat(H): H-WIKI/H-VER/H-LINK — Wiki plugin (articles, categories, versioning, entity links), migration 0126, 9 routes, 15 tests passing
Check Cross-Plugin Imports / check (push) Has been cancelled
2026-08-18 11:55:43 +02:00
Agent Zero e50f6a601f docs(progress): Phase G done — 24/24 tasks, deployed, 43 tests passing 2026-08-18 11:14:16 +02:00
Agent Zero 59f05de621 feat(G): G-WORK/G-HUMAN-DEC/G-UI-TEMPL/G-DOC — workflow workstream, decision guard, template gallery (3 templates), API docs, 43 tests passing 2026-08-18 11:11:50 +02:00
Agent Zero 1bf776dff5 docs(progress): Phase G in_progress — ~18/24 tasks done, deployed, 30 tests passing 2026-08-18 08:36:02 +02:00
Agent Zero 9866fb2d14 feat(G): G-APPROVAL/G-MAN/G-WEB/G-LOG/G-RUN-resume — workflow routes (resume, manual trigger, webhook trigger, step history, approve/reject), 30 tests passing 2026-08-18 08:31:18 +02:00
Agent Zero db41e60042 feat(G): G-RUN/G-CTX/G-WAIT/G-HTTP/G-MAIL/G-CAL/G-DMS/G-SEARCH/G-AGENT/G-CRM/G-EVT/G-WEB — Durable WorkflowRun, 10 step handlers, resume/wait/lock/retry, SSRF protection, frontend step editor 2026-08-18 00:29:58 +02:00
Agent Zero 4ec2ac9eb5 docs(roadmap): add I-APPR-LOOP task — Agent Loop Human-in-the-Loop Approval Integration (ARCH-F-1 finding) 2026-08-18 00:19:35 +02:00
Agent Zero c90c58945a docs(arch-f): ARCH-F Architecture Review — 10 criteria checked, PASSED, 2 findings (Agent Loop approval gap, contact_id FK redundant), Phase G clearance granted 2026-08-18 00:16:46 +02:00
Agent Zero a323c706bd fix(F): Phase F test fixes — UUID handling, MissingGreenlet, contact_id FK, decompose_goal milestone, success_criteria parent propagation, conftest PermissionsPlugin imports
Check Cross-Plugin Imports / check (push) Has been cancelled
2026-08-17 23:23:40 +02:00
Agent Zero df57cd389d docs(audit): update audit-consolidated-errors.md with verified status (2026-08-17) — P0 all fixed, P1 ~32 fixed, P2 ~35 fixed + 15 intentional 2026-08-17 22:27:00 +02:00
Agent Zero 45ebbee26f fix(audit): P2 frontend any→concrete types (181→61), heroicons→lucide-react, missing type exports, toast API, Select options, TaskStatus types; P2-9 hooks.py type annotations 2026-08-17 22:24:24 +02:00
Agent Zero 40fd633917 fix(deploy): .gitignore — anchor all dir patterns to root (/logs/, /data/, /build/, /dist/, /venv/, /env/, /htmlcov/) to prevent recursive ignore of frontend source dirs 2026-08-17 20:42:56 +02:00
Agent Zero f888785b39 fix(deploy): .gitignore logs/ excluded frontend/src/pages/logs/ — Docker build failed 2026-08-17 20:33:01 +02:00
Agent Zero 680557087e feat(F): F-TEST + F-DOC + F-UI-TRIG — Phase F complete!
- F-TEST: tests/test_phase_f_agents.py (1425 lines, 45 tests, all pass) — ReAct Loop, Permissions, Approvals, Skills, Context Builder, Data Policy, Transparency, Workstream, Budget
- F-DOC: docs/api-documentation.md (Phase F endpoints), docs/plugin-development-guide.md (Agent chapter 32), docs/test-strategy.md (Phase F test conventions)
- F-UI-TRIG: trigger_dispatcher dispatches agents on ui.*/context.* events (already implemented in F-PROACTIVE)
- Bug fix: approval.py metadata reserved attribute renamed to request_metadata
- PROGRESS.md: Phase F marked done, ~155/223 tasks done (70%)
2026-08-17 19:36:42 +02:00
Agent Zero ff08ea8012 docs(progress): update Phase F status — 38/41 tasks done 2026-08-17 18:52:34 +02:00
Agent Zero a53dcc38d5 feat(F.14): Unified Task System — F-TASK-MODEL/API/AGENT/WORK/UI/MIG/GOAL/TEST
Check Cross-Plugin Imports / check (push) Has been cancelled
- F-TASK-MODEL: Extended Task model with polymorphic assignee/entity/creator, subtasks, dependencies, task_type, success_criteria, progress
- F-TASK-API: Extended task routes with polymorphic filters, subtasks, dependencies, new lifecycle
- F-TASK-AGENT: ai_tools.py (191 lines) — create_task, assign_task, update_task_status, decompose_goal tools
- F-TASK-WORK: workstream.py — task_card and goal_card blocks in communication system
- F-TASK-UI: TaskBoard.tsx, TaskDetail.tsx, GoalView.tsx frontend components
- F-TASK-MIG: Migration 0124 — new columns, data migration for contact_id/assigned_to
- F-TASK-GOAL: Progress aggregation, success criteria evaluation, parent status propagation
- F-TASK-TEST: test_unified_tasks.py (414 lines)
- i18n updates for task system
2026-08-17 18:51:22 +02:00
Agent Zero 06b281ba74 feat(F): F-PROACTIVE consolidate proactive AI — trigger_dispatcher dispatches agents on context/UI events
Check Cross-Plugin Imports / check (push) Has been cancelled
2026-08-17 18:40:41 +02:00
Agent Zero 131d761936 feat(F): F-UI-CHAT AgentChat, F-UI-LOG AgentRunLog, F-UI-MON AgentMonitor
- F-UI-CHAT: AgentChat.tsx (147 lines) — SSE streaming, extended trace toggle, dry run, cost display, stop button
- F-UI-LOG: AgentRunLog.tsx (82 lines) — timeline view, export JSON/CSV
- F-UI-MON: AgentMonitor.tsx (86 lines) — live stats, active runs, auto-refresh 5s
2026-08-17 18:34:29 +02:00
Agent Zero 8ed6d27885 feat(F): F-WORK agent_workstream + F-EMAIL/CONTACT/FOLLOW/REPORT prebuilt agents
Check Cross-Plugin Imports / check (push) Has been cancelled
- F-WORK: app/ai/agent_workstream.py (201 lines) — post_agent_message, post_agent_step, post_agent_result, post_approval_request
- F-EMAIL: prebuilt/email_triage_agent.py — E-Mail-Triage-Agent with 3 tools, max 10 steps, $0.50 budget
- F-CONTACT: prebuilt/contact_enrichment_agent.py — Contact-Enrichment-Agent with 3 tools, max 8 steps, $0.30 budget
- F-FOLLOW: prebuilt/follow_up_agent.py — Follow-up-Agent with 3 tools, max 8 steps, $0.30 budget
- F-REPORT: prebuilt/report_agent.py — Report-Agent with 2 tools, max 12 steps, $0.50 budget
- All compile checks pass
2026-08-17 18:33:45 +02:00
Agent Zero 7ed79d3c1f feat(F): F-UI-EDIT AgentEditor component + automation API client 2026-08-17 17:30:47 +02:00
Agent Zero 158feec374 feat(F): F-MEM agent_memory + frontend agent overview components
Check Cross-Plugin Imports / check (push) Has been cancelled
- F-MEM: app/ai/agent_memory.py (236 lines) — store/retrieve/search agent memory with embeddings
- Frontend: AgentDashboard.tsx (831 lines), AgentsOverview.tsx (35 lines) — agent list and dashboard
- agent_memory plugin models updated
2026-08-17 17:14:51 +02:00
Agent Zero 638e3f3e1e feat(F): F-PERM permissions, F-APPR approval, F-AIUSE metadata, F-TRANS transparency, F-DATA-POL data policy, F-OVERSIGHT decision record, F-DRY dry-run, F-AUDIT audit log
Check Cross-Plugin Imports / check (push) Has been cancelled
- F-PERM: app/ai/agent_permissions.py (230 lines) — AgentPermissionContext, resolve_agent_permissions(), filter_visible_agents(), check_agent_execute_permission(), optimistic locking
- F-APPR: app/core/approval.py (160 lines) + app/routes/approvals.py (305 lines) + migration 0123 — ApprovalRequest model, CRUD API, approve/reject/expire
- F-AIUSE: app/ai/ai_use_case.py (156 lines) — AIUseCaseMetadata Pydantic model, validate_ai_use_case()
- F-TRANS: app/ai/transparency.py (60 lines) — mark_as_ai_generated(), is_ai_participant()
- F-DATA-POL: app/ai/data_policy.py (210 lines) — enforce_data_policy() with SENSITIVE_FIELDS + provider compliance
- F-OVERSIGHT: app/ai/oversight.py (108 lines) — DecisionRecord, create_decision_record()
- F-DRY: agent_loop.py updated with dry_run parameter
- F-AUDIT: agent_loop.py updated with audit log for tool calls
- agent_routes.py: AI use case metadata endpoints added
- main.py: approval routes registered
- All Python compile checks pass
2026-08-17 16:57:50 +02:00
Agent Zero dbeadd8ab1 feat(F): F-CTX context_builder, F-STR agent_stream, F-DEF agent definition fields, F-SKILL skill_registry, F-TOOL agent_tools
Check Cross-Plugin Imports / check (push) Has been cancelled
- F-CTX: app/ai/context_builder.py (282 lines) — build_agent_context() + ReActSystemPromptBuilder
- F-STR: app/ai/agent_stream.py (155 lines) — stream_react_loop() with SSE events (step, status, done, error)
- F-DEF: AgentDefinition fields added (temperature, max_tokens, max_steps, trace_mode, skill_ids, trigger_config, ai_use_case_metadata) + migration 0122
- F-SKILL: app/ai/skill_registry.py (82 lines) — SkillDefinition + SkillRegistry singleton
- F-TOOL: app/ai/agent_tools.py (117 lines) — get_agent_tools() with permission intersection
- Skill CRUD routes: app/plugins/builtins/automation/skill_routes.py
- Tests: test_skill_registry.py (97 lines), test_agent_tools.py (219 lines)
- All Python compile checks pass, tests require PostgreSQL (infra issue, not code bug)
2026-08-17 16:40:55 +02:00
Agent Zero c760b5961c feat(F-LOOP): true ReAct loop with structured Thought/Action/Observation step tracking
Check Cross-Plugin Imports / check (push) Has been cancelled
- app/ai/agent_loop.py: ReActStep + ReActResult dataclasses, run_react_loop()
  with LLM→Tool→Observe loop, max_steps/timeout graceful stop, ErrorCategory
  retry (TRANSIENT→retry, PERMANENT→stop, PARTIAL→continue), cost accumulation,
  agent.step hook, on_step callback
- app/plugins/builtins/automation/models.py: AgentRunStep model
- alembic/versions/0121_agent_run_steps.py: migration for agent run steps table
- app/plugins/builtins/automation/agent_runner.py: refactored to use run_react_loop(),
  saves steps to DB, updates AgentRun with cost/status/duration
- tests/test_agent_loop.py: 11 tests (all passing, mocked, no DB/LLM needed)
- PROGRESS.md: Phase F started, F-LOOP marked done
2026-08-17 16:11:26 +02:00
Agent Zero da9be1e2f2 feat(B): complete remaining B-Tasks — B-SCHEMA, B-VEC-BATCH, B-VEC-TEST, B-WS-TEST
- B-SCHEMA: docs/schema-authority.md (Core→Alembic, Plugin→Plugin-Migration, Runtime→non-authoritative)
- B-VEC-BATCH: llm_embed already supports batch via litellm.aembedding (verified by test)
- B-VEC-TEST: tests/test_vector_performance.py (HNSW/IVFFlat latency, ef_search tradeoff, batch verification)
- B-WS-TEST: tests/test_ws_helpers.py already has 20+ tests (auth, origin, error, dispatch, cleanup, heartbeat, pub/sub)
- PROGRESS.md: Phase B marked done, ~114/223 tasks done
2026-08-17 16:02:17 +02:00
Agent Zero 976a0ab55d docs(progress): correct outdated B-Phase task statuses — 25 tasks were marked not_started but already implemented 2026-08-17 15:56:08 +02:00
Agent Zero 3622022482 fix(dms): add missing FileMetadataResponse import
Check Cross-Plugin Imports / check (push) Has been cancelled
2026-08-17 14:12:40 +02:00
Agent Zero 765d6d3ab4 feat(dms): fix upload response_model, add content_hash migration, storage settings tab, roadmap external storage
Check Cross-Plugin Imports / check (push) Has been cancelled
2026-08-17 14:09:00 +02:00
Agent Zero c6a727fbab fix(dms): [object Object] error - safely stringify error objects 2026-08-17 13:15:17 +02:00
Agent Zero 30c2e2d7c8 feat(ui): logs page, mein konto, remove settings/api-docs from topbar, accent hamburger, api docs in help 2026-08-17 13:07:30 +02:00
Agent Zero c3cc19da10 feat(ui): move back arrow from topbar to sidebar header on all pages 2026-08-17 12:24:04 +02:00
Agent Zero aa20aba2e7 feat(automation): own automation page with tree sidebar, separate from agents 2026-08-17 12:11:14 +02:00
Agent Zero 93a53a43f6 feat(ui): remove KI/Automation from agents sidebar, add automation to start page, remove from topbar 2026-08-17 12:03:41 +02:00
Agent Zero 7c6f33983d feat(agents): own agents page with tree sidebar in StartLayout, like settings/help 2026-08-17 11:46:08 +02:00
Agent Zero cbb17c4ddd feat(ui): clean settings duplicates, move agents to start page, remove from topbar dropdown 2026-08-17 11:39:25 +02:00
Agent Zero 81be3478ff feat(help): help page with tree navigation, 6 help articles, routes in StartLayout 2026-08-17 11:03:16 +02:00
Agent Zero d294f22e81 fix(settings): move padding to inner div to prevent button clipping 2026-08-17 10:51:14 +02:00
Agent Zero 76a1da372f fix(settings): sidebar collapses completely to 0px when hamburger toggled 2026-08-17 10:46:57 +02:00