Menu
popagent
publicLatest change 52d0ea54b801ea610cbf7def763cfcec95ba82da - Fix delegated subagent context ending on a dangling assistant message by AkurAI Build
# Changelog All notable released changes to Popagent are documented here. ## [1.0.43] - 2026-08-16 ### Fixed - Delegated subagent context (`messageFilter` in `src/hook-lifecycle.ts`) no longer ends on a dangling assistant-role message. The prior naive `messages.slice(-N)` tail slice could end on an unresolved assistant turn (e.g. a tool-use call cut off mid-window), which strict Claude-family models reject as invalid assistant-message prefill (`[400]: This model does not support assistant message prefill. The conversation must end with a user message.`). This recurred in production for `no-think/cc/claude-sonnet-5` delegation runs, including the founder-report task's delegation to a company staff persona. ## [1.0.42] - 2026-08-16 ### Changed - Task-run transcript now labels an `agent-communication` send call as "Delegated to `<agent-id>`" with its delivery outcome (`woken`, `delivered`, `queued`, `failed`) instead of a generic tool name, so a live specialist delegation is visible in the task detail modal instead of reading like an ordinary tool call. ## [1.0.41] - 2026-08-16 ### Added - `./popagent tasks-attention [workspace]` lists every task in the Needs attention bucket (`failed`, `cancelled`, `dead-letter`) without hand-filtering the full task collection. - `./popagent task-requeue <task-id> [model]` resubmits a terminal task's original workspace and prompt as a fresh queued task once its cause is fixed, since automatic remediation-task creation only fires on a settled `failed` transition and never on `cancelled` tasks. ## [1.0.40] - 2026-08-16 ### Fixed - Enabled bounded conversation history instead of disabling message memory entirely. - Released workspace sandboxes, LSP handles, and browser processes on shutdown via `mastra.shutdown()` and explicit runtime teardown instead of leaking them across restarts and repository updates. - Replaced raw task and evolution-signal UUIDs in the channel and autonomy cards with a human-readable timestamp and resolved workspace name. - Moved specialist agent profiles, self-update/build-maintenance models, and the seeded runtime default model off a rate-limited route onto Sonnet 5. ### Changed - Centralized every isolated agent-clone call site behind one documented internal-API boundary in `agent.ts`. ## [1.0.39] - 2026-08-16 ### Added - Added deterministic agent configuration health through `GET /api/agents/health` and `popagent agent-health`. - Added workspace-contained local code context, symbol relationship, and change-impact tools backed by pinned Tree-sitter, BM25, vector, and call-graph indexing, with matching workspace APIs and `popagent` CLI commands. ### Changed - Removed duplicated generic `*-practice` skills while preserving domain-specific skills and company-persona delegation. ## [1.0.38] - 2026-08-16 ### Fixed - Prevented participant replies from waking acknowledgement loops and preserved successful task outcomes when a participant returns no reply text. - Removed BifrOSt Navigator from default agent capabilities so ordinary browsing uses the contained headless browser unless an operator explicitly opts in. ### Changed - Compacted overview task actions into per-card menus, made task titles open run details, and added relative activity times with exact timestamps on hover. ## [1.0.37] - 2026-08-16 ### Fixed - Kept the autonomous workflow mounted during background refreshes so its phase rail and evidence no longer blink every two seconds. - Stopped cancelled structured-output phases from retrying an aborted stream and hid legacy abort-time JSON parse errors from cancelled phase details. ### Changed - Simplified active task cards to show the responsible agent and a clear working state without internal progress text or step counts. - Standardized every primary page on one full-width responsive gutter instead of page-specific width caps and padding. ## [1.0.36] - 2026-08-16 ### Changed - Replaced wall-clock triggering for autonomous system work with continuous idle-time execution. User-created schedules remain time-based. - Stopped unchanged workflow-history polling from reloading the selected phase every two seconds, and reduced the history header to a compact Runs control. ## [1.0.35] - 2026-08-16 ### Changed - Made Schedules a global view with execution-workspace labels and removed the workspace selector's hidden filtering behavior. - Removed the overview's promotional agent-architecture copy so task status and actions begin at the top of the page. ## [1.0.34] - 2026-08-16 ### Fixed - Prevented autonomous research from failing when model-generated evidence exceeds its persisted boundary, and made upstream response-header timeouts retryable instead of leaving remediation tasks in Needs attention. ## [1.0.33] - 2026-08-16 ### Fixed - Removed the duplicate department directory and repeated generated remit copy from Company; each staff agent now appears once in the portfolio. ## [1.0.32] - 2026-08-16 ### Added - Made every Company staff member an executable specialist agent with a role-specific, database-backed skill, contained workspace and browser access, editable runtime settings, and orchestrator delegation. ## [1.0.31] - 2026-08-16 ### Changed - Merged Agent settings into Company as a responsive team portfolio with substantially larger staff portraits, human roles, agent remits, clear availability, editable capabilities, and the wider department roster. ## [1.0.30] - 2026-08-16 ### Fixed - Added governed workflow skills for all three AkurAI Build specialists and aligned every seeded specialist model with `codex/gpt-5.6-luna-medium`. - Removed workspace, browser, and secret tools when a persisted role lacks the corresponding access class. ## [1.0.29] - 2026-08-16 ### Fixed - Moved system-owned self-update and Build-maintenance execution from the Titan-local Ornith route to `codex/gpt-5.6-luna-medium`. ## [1.0.28] - 2026-08-16 ### Fixed - Replaced repetitive raw task-tool messages in `#general` with one live, structured work card showing the objective, status, model, progress, steps, attempts, output, and errors while preserving human agent handoffs. ## [1.0.27] - 2026-08-16 ### Fixed - Addressed agent messages now wake the recipient's own task-scoped Mastra run, wait for its settlement, and persist replies under the recipient identity. ## [1.0.26] - 2026-08-16 ### Added - Added task-scoped live agent coordination with honest delivery receipts, bounded mailboxes, replies and broadcast, durable `#general` history, live refresh events, and accessible sender/recipient Company identities. ## [1.0.25] - 2026-08-15 ### Added - Added assigned staff portraits and personal identity details to every governed execution agent in Settings. ## [1.0.24] - 2026-08-15 ### Added - Added a Company settings roster with nine departments, 32 recovered staff identities, generated Midget avatars, job titles, and internal mail links without creating additional LLM agents. ## [1.0.23] - 2026-08-15 ### Fixed - Raised autonomous Researcher runs from six iterations to the configured specialist limit and allowed a third retry for transient malformed structured handoffs. ## [1.0.22] - 2026-08-15 ### Fixed - Replaced the internal `mastra_workspace_read_file` name in overview task progress with `Reading File: <path>`. ## [1.0.21] - 2026-08-15 ### Added - Added privacy-bounded handoff lifecycle logs that distinguish agent streaming, structured-object resolution, text fallback, and retry failures for stalled autonomous workflow diagnosis. ## [1.0.20] - 2026-08-15 ### Fixed - Added an explicit governed workflow command for operator-requested repository changes so Researcher, Implementer, verification, Reviewer, and trusted commit evidence replace unsupported direct-Orchistrator completion claims. ## [1.0.19] - 2026-08-15 ### Fixed - Replaced autonomous workflow transcript spam in `#general` with one concise correlated task card while retaining detailed phase, tool, output, and failure evidence inside that task. ## [1.0.18] - 2026-08-15 ### Fixed - Required autonomous no-op decisions to cite inspected code, concrete candidates, deterministic evidence, and rejection reasons instead of treating a clean checkout as proof that no improvement exists. - Reconciled repaired system-owned autonomous prompts into existing schedules without overwriting operator timing or enabled state. ## [1.0.17] - 2026-08-15 ### Fixed - Kept autonomous repository inspection inside five tool iterations while reserving a sixth iteration for the required structured handoff. - Allowed read-only inspection of protected source and package metadata without permitting autonomous writes to those paths, preventing false containment failures from stranding tasks. ## [1.0.16] - 2026-08-15 ### Fixed - Capped autonomous Researcher inspection at five iterations so implementation, verification, and review remain with their dedicated agents. ## [1.0.15] - 2026-08-15 ### Fixed - Retried one provider structured-output parse failure when a specialist returns Markdown instead of the requested JSON handoff. ## [1.0.14] - 2026-08-15 ### Changed - Made Popagent Docs the canonical destination for Project Index updates across repository rules, agent instructions, the built-in Popagent CLI skill, and CLI help; AkurAI Notes remains a legacy import source only. ## [1.0.13] - 2026-08-15 ### Fixed - Serialized excess local Ornith generation requests in Popagent until an inference slot is available, while keeping shared-service chat verification independent of local queue occupancy. ## [1.0.12] - 2026-08-15 ### Fixed - Restored the deployed release timeline by parsing Bun's production HTML transformation of the bundled Markdown without discarding prior releases. ## [1.0.11] - 2026-08-15 ### Fixed - Added abort-aware FIFO admission for local Ornith calls so excess generations wait for one of its two inference slots instead of relying on downstream overload behavior. ## [1.0.10] - 2026-08-15 ### Fixed - Replaced duplicate full-task polling on Autonomy with one bounded autonomous-workflow feed and added the matching one-shot CLI command. ## [1.0.9] - 2026-08-15 ### Fixed - Streamed autonomous specialist thinking and tool activity into the task transcript instead of leaving it empty. ## [1.0.8] - 2026-08-15 ### Fixed - Allowed contained researchers to read repository skill instructions and rejected varied containment-denial evidence as failed inspection rather than a verified no-op. ## [1.0.7] - 2026-08-15 ### Fixed - Allowed contained autonomous researchers to read repository `AGENTS*.md` instructions while preserving write and secret-path denial. ## [1.0.6] - 2026-08-15 ### Fixed - Recovered Researcher handoffs that encode evidence as a keyed object instead of the requested array. ## [1.0.5] - 2026-08-15 ### Added - Added a persisted Runtime setting for switching new agent work between the configured model, Titan's local Ornith 9B model, and 9Router's OpenRouter-backed free coding route. ### Fixed - Normalized contained autonomous workspace paths, rejected access-denied false no-ops, and distinguished verified no-op outcomes from accepted commits. - Hardened autonomous structured handoffs with the persisted orchestrator model, bounded evidence, JSON stream recovery, and one transient phase retry. ## [1.0.4] - 2026-08-15 ### Fixed - Replaced the accumulated “Unreleased” feed with the actual deployed version history. ## [1.0.3] - 2026-08-15 ### Fixed - Deduplicated model IDs at the server catalog boundary so every model selector receives stable, unique React keys. ## [1.0.2] - 2026-08-15 ### Fixed - Added exact `popagent task <task-id>` evidence lookup and required explicit, verified resolution before remediation can mark a failed parent complete. ## [1.0.1] - 2026-08-15 ### Fixed - Deduplicated repeated 9Router model routes in the model picker. - Recovered autonomous structured handoffs from valid streamed JSON when Mastra omits the structured object. - Fixed deployment release gates to compare against the recorded production revision and require a meaningful changelog update plus an increasing semantic version. ## [1.0.0] - 2026-08-15 ### Added - Added operator-managed autonomous self-update and Build-maintenance schedules in Settings → Schedules, with editable cron timing and pause/resume controls. - Added the responsive release timeline at `/changelog`. - Added the deploy-managed semantic application version below the Popagent sidebar brand. - Added `./popagent automation-reconcile` to reapply code-owned autonomous schedule models after deployment. - Added governed `build-maintainer`, `build-release-manager`, and `community-steward` Mastra roles with persisted identity, model, access, delegation, and role-specific AkurAI Build tool allowlists. - Added a bounded, abortable JSON-RPC MCP client and typed AkurAI Build repository, pipeline, worker, metrics, community, release, and promotion tools. - Added governed idle Build-maintenance task and schedule lineage with contained reviewed branches, immutable deployment verification, and an explicit no-promote/no-deploy production boundary. ### Changed - Deployment records phase timing, reuses only immutable CI verification for the exact release revision, and retains candidate and migration safety checks. ### Fixed - Fixed managed pipeline branch validation and existing role, task-board, and Build-client contracts for valid `main` releases.