Commit Graph

18 Commits

Author SHA1 Message Date
195c2eb691 refactor: убрана защита от loop (Tracker фильтрует own messages) 2026-02-24 23:41:34 +01:00
c151a69de5 refactor: убрана фильтрация system messages (перенесена в Tracker) 2026-02-24 23:40:17 +01:00
db90b64f54 feat: bootstrap context из AGENT.md и memory/ файлов
- loadBootstrapContext() загружает AGENT.md, memory/notes.md, memory/projects/*.md
- Лимит 15K символов, автотрункейт
- agentHome передаётся из router в agent options
- System prompt из agent.json сохранён как fallback
2026-02-24 22:04:29 +01:00
dea2bcaef6 feat: agent sandboxed to agentHome by default (allowedPaths) 2026-02-24 13:37:14 +01:00
4b592f367a fix: agent receives system messages only when mentioned (@slug) 2026-02-24 12:30:31 +01:00
9d757709b2 fix: ignore system messages — agent only responds to humans/agents 2026-02-24 12:29:34 +01:00
cbe3f86890 refactor: router is pure relay — no replies, no side effects
Agent sees system messages from Tracker and acts via tools.
Router only forwards message.new events to agent session.
2026-02-24 12:11:49 +01:00
64eca81f5a refactor: router has zero side effects — agent controls everything via tools
Removed: auto in_progress, auto in_review, selfAssignedTasks tracking.
Router only forwards events to agent session and posts replies.
Agent decides status changes, task flow, etc. through MCP tools.
2026-02-24 11:57:19 +01:00
e58c39dc0c fix: skip auto-processing for self-assigned tasks (taken via tool call)
When agent takes a task via take_task tool in conversation, the
task.assigned event is now skipped (no duplicate in_progress→in_review).
2026-02-24 11:45:11 +01:00
9d897621a7 fix: session_id generated at agent load (not lazy) 2026-02-24 11:19:24 +01:00
a9b2d43f84 fix: lazy session_id — generated on first agent invocation, not at startup 2026-02-24 11:18:00 +01:00
cb618a195e feat: persistent session UUID in agent.json
- session_id auto-generated on first run, saved to agent.json
- Survives agent renames (slug changes don't break session history)
- Directory mode: agent works inside its folder (agentHome = workspace)
2026-02-24 10:45:48 +01:00
a8f205609b fix: single session per agent instance
One agent = one session. Chat, tasks, tools — all share the same
context. Session ID: 'agent-{slug}' (stable across restarts).
2026-02-23 22:28:57 +01:00
b2a620185f fix: stable session IDs for chat/task context persistence
- Chat messages use 'chat-{chat_id}' session → conversation history preserved
- Task messages use 'task-{task_id}' session → task context preserved
- Previously every message created a new random session (no memory)
2026-02-23 22:25:57 +01:00
7dd39f65f6 feat: MCP-compatible tracker tools (Function Calling hybrid)
- 14 tools: tasks (7), steps (2), messages (2), projects (2), members (1)
- TypeBox schemas for parameter validation
- Injected via customTools into Pi Agent Core session
- Tools wrap TrackerClient REST methods
2026-02-23 21:51:02 +01:00
f97aa64142 fix: align with AGENT-PROTOCOL v1.0 — correct WS types, heartbeat, REST auth 2026-02-23 13:57:32 +01:00
Eugene
368b9abf69 update 2026-02-23 15:48:14 +03:00
Eugene
0525cea647 init 2026-02-21 02:41:39 +03:00