Repository navigation
Let the Godmode agent edit cosmetic fields of reveal agents and withdraw duplicate human tasks of its team - #208
Merged
danielehrhardt merged 3 commits intoOct 19, 2026
Conversation
…team's human tasks agent_update: the built-in agent, from a run that reads secrets itself, may set role, description, avatar, colour, character and personality on a reveal-mode agent of another workspace. Everything else stays human-only. human_task_cancel: a manager (and the built-in agent) may take back an open task an agent reporting to it gave, directly or further down. A reason is required and shows on the task. The human's own tasks and questions stay.
A lead can't take back a task that holds up its agent's blocked ticket: only that agent picks the ticket up again. The reason names the lead without repeating that it was taken back, an empty agent_update stays guarded, and agent_update tells the built-in agent which fields it may set.
The check runs after the status and question checks, so a closed task or a ticket blocked for another reason gets the real answer.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I made both changes. Typecheck passes, the related core test files pass (244 tests), and the branch is up to date with
origin/main.Godmode can edit how reveal agents look
agent_updatelets the built-in agent set role, description, avatar, color, character and personality on an agent that can reveal secrets and belongs to another workspace. These fields are accepted only on their own: a call that also touches anything else (instructions, model, enabled, name, reportsTo, permissions, MCP servers, browser, subagents, heartbeat, workspace) is refused as before. An empty update is refused too.agent.updatewith the fields.packages/core/src/mcp/tools.ts. The tool description now tells the built-in agent which fields it may set.Leads can withdraw their team's tasks for you
human_task_cancellets the built-in agent, or any agent that manages agents, withdraw an open task created by an agent that reports to it, directly or further down.task_message) to withdraw it itself.packages/core/src/services/humanTasks.ts. The audit entry also records which agent created the task.Tests
packages/core/test/mcp.test.ts: the built-in agent can change only the look fields, and only from a run that reads secrets; mixed or empty updates and other managers are refused; the audit entry is written.packages/core/test/human-tasks.test.ts: who may withdraw (a lead further up, the built-in agent) and who may not (a lead that doesn't manage agents, a manager from another team); reason required; your own task; an already withdrawn task; the blocked-ticket refusal.A reviewer agent checked the change twice. Its findings are fixed; the blocked-ticket refusal is one of them.
After the merge, the Godmode agent still has to cancel H-182 (duplicate of H-177) and H-167 (Matchmade Growth, paused), as the ticket says. Neither is tied to a board ticket, so the new refusal won't block them.
Task #58 · done by Self-Healer with Godmode Bot