About Devchain
Devchain is an MCP server published by TwiTech-LAB in the Agents category: run a team of AI coding agents. On your machine. Local-first orchestration for Claude Code, Codex, OpenCode, Antigravity, and Copilot. Conduid read 53 tools from its source: devchain_add_epic_comment, devchain_add_tags, devchain_apply_suggestion, devchain_create_epic, devchain_create_record, devchain_delete_epic and 47 more. It is published to npm as devchain-cli and starts with npx.
The repository has 139 stars and 21 forks, and its last commit was on 27 Nov 2026. The latest release is v0.27.1 (11 Nov 2026). It follows host-image-v1.6.0 (11 Nov 2026), and the 5 most recent releases go back to v0.26.3 (22 Oct 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include agent-orchestration, ai-coding, code-review, devtools, local-first and opencode.
Install
claude mcp add devchain -- npx -y devchain-clinpx -y devchain-cligit clone https://github.com/TwiTech-LAB/devchainTools (53)
devchain_add_epic_commentAdd a comment to the specified epic within the project resolved from the session. Author is derived from session agent.| Parameter | Type | Description |
|---|---|---|
| content * | string | Comment body content |
| epicId * | string | Epic UUID or 8+ char hex prefix (a-f, 0-9, hyphens only; max 36 chars) |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_add_tagsAdd tags to a record| Parameter | Type | Description |
|---|---|---|
| id * | string | Record UUID |
| tags * | array | Tags to add |
devchain_apply_suggestionApply a code review suggestion. Writes the suggested change to the file on disk and marks the comment as applied.| Parameter | Type | Description |
|---|---|---|
| commentId * | string | Comment UUID whose suggestion to apply |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| version * | number | Current comment version for optimistic locking |
devchain_create_epicCreate a new epic within the project resolved from the session. Optional relation (single) or relations (1-20) are created atomically with the epic in one transaction; a failed create leaves no partial state. Optional externalTask links the new epic to a ClickUp or Jira task in the same transaction (read it first with devchain_external_tasks_get); a task already linked in the project fails with EXTERNAL_TASK_ALREADY_LINKED and data.epicId, and nothing is created| Parameter | Type | Description |
|---|---|---|
| agentName | string | Optional agent name to assign (case-insensitive) |
| description | string | Optional epic description. With externalTask it defaults to the remote task description |
| externalTask | any | Optional remote ClickUp or Jira task to link the new epic to: { ref, provider? }. Top-level epics only: together with parentId it fails with EXTERNAL_TASK_LINK_TOP_LEVEL_ONLY and nothing is created |
| parentId | string | Optional parent epic UUID to nest this epic under |
| relation | any | Optional single relation created atomically with the Epic (kept for compatibility; mutually exclusive with relations) |
| relations | array | Optional relations (1-20) created atomically with the Epic in one transaction, written in input order (mutually exclusive with relation). Each target may appear once; a rolled-back create leaves no Epic, no relation, and no event. A new root Epic can hold only one eligible Related time route to same-project roots, so two such related entries fail with RELATION_ROUTE_CONFLICT naming both indexes; child-Epic and cross-project related entries never conflict |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| skillsRequired | array | Optional list of required skill slugs for this epic |
| statusName | string | Optional status name (case-insensitive) |
| tags | array | Optional list of tags to assign to the epic |
| title | string | Epic title. Required unless externalTask is given; then it defaults to the remote task title |
devchain_create_recordCreate a new record (generic data storage for epics)| Parameter | Type | Description |
|---|---|---|
| data * | object | Arbitrary JSON data |
| epicId * | string | Epic UUID this record belongs to |
| tags | array | Record tags |
| type * | string | Record type identifier |
devchain_delete_epicDelete an epic within the project resolved from the session. Do not delete epics without explicit user approval. Deleting an epic also deletes its sub-epics. Current event contract publishes one epic.deleted event for the top-level deleted epic.| Parameter | Type | Description |
|---|---|---|
| id * | string | Epic UUID or 8+ char hex prefix (a-f, 0-9, hyphens only; max 36 chars) |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_epic_relations_deleteDelete one Epic relation after resolving both endpoints and rechecking current caller authority| Parameter | Type | Description |
|---|---|---|
| epicId * | string | Focal Epic UUID or 8+ character UUID prefix |
| relatedEpicId * | string | Full UUID addresses the exact pair and may delete a target whose status is hidden from MCP reads (the exact ID a replacement refusal returned); prefixes resolve visible targets only |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_epic_relations_listList a bounded page of focal-relative Epic relations visible in the caller workspace; each item reports sourceEpicId and targetEpicId derived from the stored direction (null on legacy neutral rows)| Parameter | Type | Description |
|---|---|---|
| epicId * | string | Focal Epic UUID or 8+ character UUID prefix |
| limit | integer | Maximum relations to return (default: 50) |
| offset | integer | Pagination offset (default: 0) |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_epic_relations_list_candidatesSearch a bounded page of same-workspace Epic relation candidates, excluding invalid and existing pairs| Parameter | Type | Description |
|---|---|---|
| epicId * | string | Focal Epic UUID or 8+ character UUID prefix |
| limit | integer | Maximum candidates to return (default: 50) |
| offset | integer | Pagination offset (default: 0) |
| q | string | Optional title or Epic ID-prefix search |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_epic_relations_setCreate or replace one Epic relation after rechecking current caller authority; for relation=related, epicId is the source and relatedEpicId is the target — endpoint order defines the stored direction; blocks and blocked_by stay focal-relative| Parameter | Type | Description |
|---|---|---|
| epicId * | string | Focal Epic UUID or 8+ character UUID prefix |
| relatedEpicId * | string | Related Epic UUID or same-workspace 8+ character UUID prefix |
| relation * | string | Relation value relative to the focal Epic |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_external_tasks_getRead a ClickUp or Jira task through the project's integration: key, id, title, description (bounded, with descriptionTruncated), status, webUrl, location, subtasks (bounded, with subtasksTruncated) and linkedEpicId (the epic in this project already linked to the task, or null). Prefer pasting the task URL; a bare id or key works only when the project has one connected integration or provider is set. Link an epic with devchain_create_epic or devchain_update_epic (externalTask).| Parameter | Type | Description |
|---|---|---|
| provider | string | Optional provider; needed for a bare id when both ClickUp and Jira are connected |
| ref * | string | Task URL (preferred), e.g. https://app.clickup.com/t/<id> or https://<site>.atlassian.net/browse/<KEY>; or the task id or key |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_get_agent_by_nameReturns a directory card for any agent in the project: description, profile name, provider config, team memberships with isLead, live presence with busy/idle since-when, and open assigned epics with status. Profile instructions are self-only: on a self lookup the resolved instructions (instructionsResolved) replace the raw text; the raw instructions are also returned only when a [[prompt:...]] reference dropped surrounding prose or the resolution was truncated. Teams are an empty array when team data is unavailable.| Parameter | Type | Description |
|---|---|---|
| name * | string | Agent name to look up (case-insensitive match) |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_get_epic_by_idFetch a single epic, including comments and related hierarchy details. Linked lanes appear in worktrees with name, path, branch, baseBranch and projectRootPath, plus worktreeInstruction telling the worker to work by path and set up the lane from the root; both fields are omitted when no lane is linked. The parent is a summary ({ id, title, status, agentName }); pass includeParentDescription: true to also get the parent's full description for phase context, or call this tool with the parent id. Linked ClickUp/Jira tasks appear in externalLinks ({ linkId, provider, remoteKey, title, webUrl, managed }) from local data, with no vendor call; the field is omitted when there are none| Parameter | Type | Description |
|---|---|---|
| id * | string | Epic UUID or 8+ char hex prefix (a-f, 0-9, hyphens only; max 36 chars) |
| includeParentDescription | boolean | When true, the parent summary also carries the parent epic's full description |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_get_promptGet a specific prompt by ID or by (name + sessionId). Content is rendered with template variables when sessionId is provided; raw otherwise.| Parameter | Type | Description |
|---|---|---|
| id | string | Prompt UUID |
| name | string | Prompt name/title |
| sessionId | string | Session ID (full UUID or 8+ char prefix). Required when querying by name. Optional with id — when provided, content is rendered with template variables. |
| version | number | Specific version number |
devchain_get_recordGet a record by ID| Parameter | Type | Description |
|---|---|---|
| id * | string | Record UUID |
devchain_get_reviewGet a code review by ID, including changed files and comments. Use this to understand the context of a review before replying to comments.| Parameter | Type | Description |
|---|---|---|
| reviewId * | string | Review UUID |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_get_review_commentsList comments for a code review with optional filters. Returns comments with author information and thread structure.| Parameter | Type | Description |
|---|---|---|
| filePath | string | Filter by file path |
| limit | number | Max results (default 100) |
| offset | number | Pagination offset (default 0) |
| reviewId * | string | Review UUID |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| status | string | Filter by comment status |
devchain_get_skillGet a skill by slug with full content/details and record usage from session context. Returns only skills that are enabled for the project; a disabled skill is never returned.| Parameter | Type | Description |
|---|---|---|
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| slug * | string | Full source/name slug or bare slug name (for example: anthropic/code-review or code-review) |
devchain_list_agentsList agents for the project resolved from the session| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default: 100) |
| offset | number | Pagination offset (default: 0) |
| q | string | Optional case-insensitive substring filter on agent name |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_list_assigned_epics_tasksList epics assigned to the specified agent within the project resolved from the session. Epics with a linked lane include worktreePath; work in that lane by path and set it up from the project root.| Parameter | Type | Description |
|---|---|---|
| agentName * | string | Agent name to match (case-insensitive) |
| limit | number | Max results (default: 100) |
| offset | number | Pagination offset (default: 0) |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_list_epicsList epics for the project resolved from the session with optional filters. Each item carries a descriptionPreview (first ~300 characters) and descriptionLength instead of the full description; call devchain_get_epic_by_id for one epic's full text, or pass includeDescription: true to receive full descriptions in this list| Parameter | Type | Description |
|---|---|---|
| includeDescription | boolean | When true, each item returns the full description instead of descriptionPreview and descriptionLength |
| limit | number | Max results (default: 100) |
| offset | number | Pagination offset (default: 0) |
| q | string | Optional search query applied to epic titles and descriptions |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| statusName | string | Optional status name filter (case-insensitive) |
devchain_list_promptsList prompts for the project resolved from the session| Parameter | Type | Description |
|---|---|---|
| q | string | Search query |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| tags | array | Filter by tags |
devchain_list_recordsList records for an epic with optional filtering| Parameter | Type | Description |
|---|---|---|
| epicId * | string | Epic UUID |
| limit | number | Max results |
| offset | number | Pagination offset |
| tags | array | Filter by tags |
| type | string | Filter by record type |
devchain_list_reviewsList code reviews for the project. Use this to find reviews to work on or check review status.| Parameter | Type | Description |
|---|---|---|
| epicId | string | Filter by epic UUID |
| limit | number | Max results (default 100) |
| offset | number | Pagination offset (default 0) |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| status | string | Filter by review status |
devchain_list_sessionsList active sessions for discovery. This is the bootstrap tool that requires no sessionId - use it to discover valid session IDs for other MCP calls.devchain_list_skillsList skills available to the session's project, excluding disabled skills. Supports optional q for multi-term keyword filtering across skill fields — space-separated terms match independently (e.g. 'react typescript test'). With includeDisabled: true, returns every stored skill, including skills of sources disabled for the project and sources disabled globally; each item then carries four flags: disabled (effective state — true when any block applies), skillDisabled (the project disabled this skill), sourceProjectEnabled (default true), and sourceGloballyEnabled (default true). Skills with sourceGloballyEnabled: false are read-only for MCP. Their stored content can be stale, because disabled sources do not sync. The list is the last stored catalog, not a confirmed fresh one.| Parameter | Type | Description |
|---|---|---|
| includeDisabled | boolean | When true, return every stored skill with the four state flags (disabled, skillDisabled, sourceProjectEnabled, sourceGloballyEnabled), including skills behind project-disabled and globally disabled sources. Default false lists only enabled (discoverable) skills with no flag fields. Skills with sourceGloballyEnabled: false are read-only for MCP; their content can be stale and the list is the last stored catalog. |
| q | string | Multi-term keyword filter. Space-separated terms match independently across slug, name, display name, and description. Results are ranked by relevance. |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_list_statusesList project statuses resolved from the session| Parameter | Type | Description |
|---|---|---|
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_projects_listList other non-template local projects available for cross-project messaging. Requires the current Project Owner and returns owner availability without paths or agent internals.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default: 100, max: 100) |
| offset | number | Pagination offset (default: 0) |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_register_guestRegister as a guest agent to join the DevChain system. Use this when you are an external AI agent running in a tmux session and want to appear in the Chat page alongside other agents. Returns a guestId that must be used as sessionId for all subsequent MCP tool calls. Your project is auto-detected from your tmux working directory.| Parameter | Type | Description |
|---|---|---|
| description | string | Optional description of the guest agent |
| name * | string | Display name for the guest agent (must be unique within the project) |
| tmuxSessionId * | string | The tmux session ID where the guest is running |
devchain_remove_tagsRemove tags from a record| Parameter | Type | Description |
|---|---|---|
| id * | string | Record UUID |
| tags * | array | Tags to remove |
devchain_reply_commentCreate a new comment or reply to an existing comment on a code review. Use parentCommentId to reply to a specific comment.| Parameter | Type | Description |
|---|---|---|
| commentType | string | Type of comment (default: comment) |
| content * | string | Comment content |
| filePath | string | File path for file-specific comments (optional for replies) |
| lineEnd | number | Ending line number (optional) |
| lineStart | number | Starting line number (optional) |
| parentCommentId | string | Parent comment UUID to reply to (optional for new top-level comments) |
| reviewId * | string | Review UUID |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| targetAgentIds | array | Agent UUIDs to notify about this comment. Use this to @mention specific agents. |
devchain_resolve_commentResolve a code review comment. Mark as resolved when the issue is addressed, or wont_fix if it will not be addressed.| Parameter | Type | Description |
|---|---|---|
| commentId * | string | Comment UUID to resolve |
| resolution | string | Resolution status (default: resolved) |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| version * | number | Current comment version for optimistic locking |
devchain_send_messageSend a terminal-routed message. Sender is derived from session agent. Provide recipientProjectId for Project Owner delivery, recipientAgentNames for one or more explicit recipients, or teamName for team routing. Omit all recipient fields to fan out to your own team (resolved from session).| Parameter | Type | Description |
|---|---|---|
| message * | string | Message content to deliver. |
| recipientAgentNames | array | Agent names (case-insensitive) for pooled terminal delivery. Accepts one or more recipients. |
| recipientProjectId | string | Full project UUID or valid 8+ character UUID prefix. Mutually exclusive with agent and team routing. |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| teamName | string | Team name (case-insensitive). Routes to team lead if assigned, otherwise to all members. Mutually exclusive with recipientAgentNames. Omit all recipient fields to fan out to your own team (resolved from session). |
devchain_skills_set_enabledEnable or disable a batch of skills (1-200 full source/name slugs) for the session project. Project-wide effect: the change applies to every agent of the project, and other projects stay unchanged. The tool does not check for human approval — confirm with the user before calling it. Resolves slugs among skills of globally enabled sources, including sources that are disabled for this project, so a skill-level toggle can land while its source is still project-disabled. Skills of globally disabled sources are read-only and return notFound. The compared state is the skill-level disable, independent of any source-level disable. Slugs are trimmed, lowercased, and deduplicated. Built-in DevChain skills (devchain/*) are always enabled: a disable skips them, lists them in locked, and still applies the other slugs. Returns { updatedCount, unchanged, notFound, locked }: unchanged lists slugs already in the requested skill-level state, notFound lists slugs that do not exist or whose source is disabled globally, locked lists DevChain slugs a disable skipped, and every other requested slug changed state (the changed slugs are not echoed; derive them as the request minus unchanged, notFound and locked). Guests and sessions without agent context are rejected.| Parameter | Type | Description |
|---|---|---|
| enabled * | boolean | true enables the skills for the project; false disables them. |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| slugs * | array | Skill slugs to enable or disable for the project. |
devchain_skills_set_source_enabledEnable or disable one skill source for the session project only; other projects and the global source state (settings skills.sources) are out of scope. Project-wide effect: the change applies to every agent of the project. The tool does not check for human approval — confirm with the user before calling it. Returns { name, projectId, projectEnabled }. An unknown source returns SOURCE_NOT_FOUND; a source disabled in global settings returns SOURCE_DISABLED_GLOBALLY (a project toggle has no effect there); disabling the built-in devchain source returns SKILL_SOURCE_ALWAYS_ENABLED (it is always enabled); all three change nothing. Guests and sessions without agent context are rejected.| Parameter | Type | Description |
|---|---|---|
| enabled * | boolean | true enables the source for the project; false disables it. |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| sourceName * | string | Registered skill source name (for example: anthropic or devchain-local). Matched case-insensitively after trimming. |
devchain_skills_syncSync the skill catalog now and wait for the result: one source with sourceName, or every enabled source without it. Returns the SyncResult as it is (status, added, updated, removed, failed, unchanged, errors), including the already_running result when another sync holds the admission slot. The effect is global (all projects). GitHub sources download over the network, and a sync can take long. A disabled source is skipped and returns an empty result. A timeout, already_running, or errors do not confirm a fresh catalog. After an edit of a local skill, edit the authoritative local source folder (not the materialized contentPath), then sync that source. The tool does not check for human approval. An unknown source returns SOURCE_NOT_FOUND; guests and sessions without agent context are rejected.| Parameter | Type | Description |
|---|---|---|
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| sourceName | string | Optional registered skill source to sync (for example: devchain-local). Without it, every enabled source syncs. |
devchain_skills_usage_statsRead the complete skill usage statistics for the session's project in one unpaged response. Usage counts successful devchain_get_skill loads only; it does not prove that a skill helped. Returns summary {totalEvents, distinctSkills, firstEventAt, lastEventAt} and skills[] rows {slug, name, displayName, usageCount, firstAccessedAt, lastAccessedAt} for every used skill; complete is always true, so a missing slug means zero recorded use. Also returns epicReferences[]: for each slug, how many of the project's epics (parents and children, each counted once per slug) currently require it, grouped by status label. epicReferences describes current project requirements and ignores the from/to window; status labels carry no closed flag.| Parameter | Type | Description |
|---|---|---|
| from | string | Optional inclusive ISO timestamp lower bound for usage events. Does not affect epicReferences. |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| to | string | Optional inclusive ISO timestamp upper bound for usage events. Does not affect epicReferences. |
devchain_teamGet detailed team information including capacity counts (maxMembers, maxConcurrentTasks, freeSeats, freeConcurrentSlots), member list with profile and config details (including the provider of each member, and the model and effort that its sessions launch with), and busy-member counts. If teamName is omitted, auto-resolves when the calling agent belongs to exactly one team.| Parameter | Type | Description |
|---|---|---|
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| teamName | string | Team name to look up. If omitted, auto-resolves when the caller belongs to exactly one team. |
devchain_teams_configs_listList provider configurations available to teams you lead. For team leads only. Each entry shows configName, description, profileName, and teamName. Use these when calling devchain_teams_create_agent.| Parameter | Type | Description |
|---|---|---|
| sessionId * | string |
devchain_teams_create_agentCreate a new team agent for your team using one of your team's provider configurations. For team leads only. Required: name, configName. Optional: description (defaults to config description if omitted), profileName (required if configName is ambiguous), teamName (required if you lead multiple teams). The new agent is automatically added as a member of the chosen team.| Parameter | Type | Description |
|---|---|---|
| configName * | string | Provider configuration name from devchain_teams_configs_list |
| description | string | Purpose and responsibilities of the new team agent |
| name * | string | Name for the new team agent |
| profileName | string | Profile name — required if configName is ambiguous across profiles |
| sessionId * | string | |
| teamName | string | Team name — required if you lead multiple teams |
devchain_teams_delete_agentDelete a team agent. Restricted to team leads. Auto-terminates the agent's running sessions before deletion. Cannot delete a team lead. Cannot delete an agent that belongs to another team.| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the team agent to delete (case-insensitive) |
| sessionId * | string | |
| teamName | string | Team name — required if you lead multiple teams |
devchain_teams_listList teams in the current project.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default: 100) |
| offset | number | Pagination offset (default: 0) |
| q | string | Optional search query matched against team name |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_teams_members_listList members of a team. If teamId is omitted, returns members of all teams the calling agent belongs to.| Parameter | Type | Description |
|---|---|---|
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| teamId | string | Optional team UUID. If omitted, returns all teams the caller belongs to. |
devchain_teams_session_controlControl the session of a member of a team that you lead. Restricted to team leads. Actions:
- `restart`: end the member's session and start a new one. The new session has a fresh context, the same as a clear command. Use `restart` when you need to clear the member's context. If no session runs, `restart` starts one.
- `compact`: type the compact command of the member's CLI. The member must be idle. Returns `AGENT_BUSY` if the member is busy, and `COMPACT_UNSUPPORTED` if the member's CLI has no supported compact command. Compact can fail at a hard context limit. Use `restart` then.
- `stop`: end the member's session. This is not permanent: a later message to the member starts it again.
You cannot control yourself or another team lead.| Parameter | Type | Description |
|---|---|---|
| action * | string | restart (fresh context; use it to clear), compact, or stop |
| name * | string | Name of the team member (trimmed, case-insensitive) |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| teamName | string | Team name — required if you lead multiple teams |
devchain_update_epicUpdate an epic with flexible field updates including status (by name), assignment (by agent name or clear), parent hierarchy, and tags. Uses optimistic locking via version. For small description changes, prefer descriptionEdits (literal find/replace, applied in order) or appendDescription over resending the full description; each find text must occur exactly once in the current description, so include enough surrounding context to make it unique. The response shows the context around each edited part, so a re-read is not needed; after VERSION_CONFLICT, re-read the epic (devchain_get_epic_by_id) and retry with the current version and text. Tag-only examples: replace `{ sessionId, id, version, setTags: [...] }`, add `{ sessionId, id, version, addTags: [...] }`, remove `{ sessionId, id, version, removeTags: [...] }`.| Parameter | Type | Description |
|---|---|---|
| addTags | array | Tags to add |
| appendDescription | string | Text appended to the end of the current description (mutually exclusive with description); can combine with descriptionEdits |
| assignment | object | Assignment update: either { agentName: string } to assign or { clear: true } to unassign |
| clearParent | boolean | Set to true to remove parent (mutually exclusive with parentId) |
| description | string | Full new epic description (mutually exclusive with descriptionEdits and appendDescription; prefer edits for small changes) |
| descriptionEdits | array | Ordered literal find/replace edits applied to the current description (1-50 items, mutually exclusive with description); all edits apply atomically under the version lock |
| externalTask | object | Agent sessions only. Link the epic to a remote ClickUp or Jira task with { ref, provider? }, or unlink it with { clear: true }. Combinable with other edits under the same version check; a link change bumps the version. An epic has one link: unlink first to change it (EPIC_ALREADY_LINKED). After a reconnect, set the same task again to attach its existing link to the new connection. Only a top-level epic can be linked: { ref } on an epic that has a parent after the update fails with EXTERNAL_TASK_LINK_TOP_LEVEL_ONLY; { clear: true } works on any epic. Unlinking a parent keeps its remote subtasks; they are no longer synced |
| id * | string | Epic UUID or 8+ char hex prefix (a-f, 0-9, hyphens only; max 36 chars) |
| parentId | string | Parent epic UUID (mutually exclusive with clearParent) |
| removeTags | array | Tags to remove |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
| setTags | array | Replace all tags with this array |
| skillsRequired | array | Replace required skill slugs for this epic |
| statusName | string | Status name (case-insensitive exact match) |
| title | string | New epic title |
| version * | number | Current version for optimistic locking |
devchain_update_recordUpdate an existing record| Parameter | Type | Description |
|---|---|---|
| data | object | New data (merged) |
| id * | string | Record UUID |
| tags | array | New tags |
| type | string | New type |
| version * | number | Current version for optimistic locking |
devchain_vault_listList the Vault entries your agent can use: name, kind, description, status (`available`, or `vault_locked` until the user unlocks the Vault) and `approvalRequired` (the user must approve your session's use: `devchain vault exec` stops, DevChain asks the user, and after the approval notice you run the command again). Never returns a value. The response also has `instructions` on how to use the entries. Vault values are not in your environment: run a command with `devchain vault exec --only NAME -- <command>`, and only that command gets $NAME (a `file` entry gives a file path). Never print a value, write it to a repository file or post it. Ask for a missing secret with devchain_vault_request.| Parameter | Type | Description |
|---|---|---|
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_vault_requestAsk the user for a Vault entry you need. Returns at once and never blocks: `available` when you already have it; otherwise `pending` with a requestId (or `already_pending` for the same name). The user answers in the DevChain UI; you then get a message saying the secret is available (use `devchain vault exec --only NAME -- <cmd>`) or that the user denied it. The user can give an existing entry that has another name: then the message gives the name to use in `devchain vault exec`. Never send a value: there is no field for one.| Parameter | Type | Description |
|---|---|---|
| description * | string | What the secret is and why you need it; the user sees this |
| kind | string | For a new entry: `secret` (single-line value, the default) or `file` (multi-line value such as a PEM key) |
| name * | string | Environment variable name of the entry, e.g. STRIPE_API_KEY: letters, digits and underscores, not starting with a digit |
| sessionId * | string | Session ID (full UUID or 8+ char prefix) |
devchain_worktrees_commitCommits all tracked and untracked changes in a lane using normal git hooks and signing. Team leads only. Refuses unresolved merge paths (UNMERGED_PATHS), leftover conflict markers (CONFLICT_MARKERS), and nothing to commit (NOTHING_TO_COMMIT); hook or signing failures return COMMIT_FAILED. Finishes a merge in progress after its conflicts are resolved. Returns the commit SHA and committed files.| Parameter | Type | Description |
|---|---|---|
| message * | string | Commit message; must not be whitespace-only |
devchain_worktrees_createCreates a git worktree (lane) for one task, outside the project root. Team leads only. The lane contains tracked files only. The agent that works in it must set it up: install dependencies and copy needed ignored files, such as .env, from the project root. Agents keep running in the project root and work in the lane by path: start every shell command with `cd <lane> &&`, use `git -C <lane>`, and use absolute file paths. Link the lane to the task with epicId, so the worker sees it in devchain_get_epic_by_id. WORKTREE_SETUP_FAILED means Git registered the lane but a checkout hook failed; the lane and hook-created files remain managed. Inspect it or remove it with devchain_worktrees_remove.| Parameter | Type | Description |
|---|---|---|
| baseRef | string | Optional base branch; defaults to the branch checked out in the root |
| epicId | string | Optional task UUID in the current project to link to this lane |
| name | string | Optional lowercase lane slug; defaults to the task title or an available lane-N name |
devchain_worktrees_listLists lane status, head, ahead/behind, dirty files, and linked task with its assignee. Team leads only. Includes the project root's dirty files as a drift warning. With name, returns that lane and a merge-tree conflict preview. Live state is computed from git.devchain_worktrees_mergeLands exactly expectedHead by fast-forward only. Team leads only. The lane's base branch must be checked out in the project root. Refuses a dirty lane, an unfinished merge, or a head differing from the reviewed commit. On BEHIND, ask the worker to run `git -C <lane> merge <baseBranch>`, resolve conflicts, and test; then commit the lane and retry with the new reviewed SHA. Passes through Git's refusal when root changes overlap.| Parameter | Type | Description |
|---|---|---|
| expectedHead * | string | Full reviewed commit SHA; must equal the current lane head |
devchain_worktrees_removeRemoves a lane. Team leads only. Refuses uncommitted tracked or untracked work (WORKTREE_DIRTY) and ignored .env* files without identical project-root copies (WORKTREE_LOCAL_ENV). Deletes other ignored files and reports their paths/count; the branch is kept. A missing directory prunes git metadata and deletes the lane record.Security checks
- ✓README presentThe repository's README runs to about 1.1K words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- !No dynamic code executionScanned 1.8K source files and found 1 call to eval or shell execution, in apps/local-app/src/modules/remotes/git-coordinator/git-process-identity.ts. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.1K words, fetched 12 days ago. The original in the repository is authoritative.
Read full README