Dokümantasyon İngilizcedir.
Issue comment commands
You control meiksense-agentik from the comments of a tracker issue: a Jira Cloud or Data Center issue, or an issue of a tracker reached through MCP (for example GitHub Issues), whose project an admin has bound to a meiksense project. Write a command at the start of a comment line:
@meiksense-agentik start
The same actions are available in the web UI's issue page (UI tour) and through the API
(POST /api/v1/issues/<id>/actions, see the end of this page).
Rules
- The keyword starts a line. The keyword is
@meiksense-agentikunless the admin changedingress.keyword. Spaces before it are fine, case does not matter, and@meiksense-agentik:or@meiksense-agentik,work too.@meiksense-agentik-botis somebody else. - Mentions count. Picking the bot from Jira's
@autocomplete works like typing the keyword, once the admin has set the bot account up for it (jira-cloud.md §7). - Quotes and code are ignored. Quoted lines (
> …) and fenced code blocks never run, so quoting someone else's command does nothing. - Several commands per comment are fine, one per line; they run in order.
- Options:
--key value,--key=valueor--flag. Quote values with spaces:--repo "api, web". Option names are case-insensitive. - A comment runs once. Editing a comment runs only the commands it did not run before (a new or changed command line). Fixing a typo elsewhere in the comment runs nothing again.
- Mistakes get an answer. An unknown command, or the keyword with nothing after it, gets a reply with the problem and the list of commands. A command that does nothing in the current state gets a reply saying why.
- Bots cannot command (by default). Comments by the bot itself never run commands. Comments by other accounts
the tracker marks as bots run commands only with
ingress.allow_bots: true(defaultfalse; the ingress filter, the workflow inbox andauthorizeall honour it). The bot's own comments never contain a command: a line that would start with the keyword gets an invisible zero-width joiner, so copying a bot comment into a new one does not run anything either. - Unbound projects are ignored — unless
issues.default_projectis set. Commands on issues whose tracker project is not bound get no answer at all; with a default project they are taken and the issue is worked on there (webhooks and comments alike; the pollers still read only the bound projects). - Commands reach meiksense within seconds when the tracker sends webhooks, otherwise with the next poll (by default every minute).
Commands
| Command | Accepted when the issue is | What it does |
|---|---|---|
start [--repo <id>[,<id>…]] [--playbook <name>] [--allow-config <globs>] | not started, or waiting for answers (NEEDS_INFO) | Analyses the issue. If something is unclear it asks numbered questions and waits; answer in a comment, then start again. Otherwise it posts the acceptance criteria, implements them on a meik/* branch per repository and opens a merge request per repository. --repo limits the work to these repositories of the bound project; --playbook and --allow-config are described below. |
status | any state | Replies with the state, open questions, merge requests, tasks, cost so far and the last event. |
stop | any state before the end | Stops all work. Open merge requests stay open and get the meik:stopped label; the issue gets it too. |
retry [--budget <usd>] | BLOCKED, BLOCKED_EXTERNAL or FAILED; NEEDS_INFO when a task asked (not the analyst) | Continues where the work stopped; waiting on someone outside meiksense, it checks again at once (the failed CI jobs or the verification in test run again). --budget 5 adds 5 USD to the issue's budget first (needed when the budget is spent). After a task's question, once that task's last result was kept on its page: the issue continues with the same tasks — no new analysis, no new tasks — and goes on to the preview or the merge requests when every task is ready (UI: Continue with these tasks). While the task still waits for its answer, retry says so and nothing moves. |
revise [--allow-config <globs>] <feedback> | merge requests open, ready to merge, BLOCKED, or FAILED after tasks ran | Starts a new iteration on the same branches with your feedback, then updates the merge requests. |
approve | PREVIEW_REVIEW (the change runs in a preview) | The change looked right: the merge requests are opened. Send it back with revise <what to change> instead. |
merge | merge requests open or ready to merge | Asks for a merge. Only works under merge policy command, for members of the allowed groups, when the conditions hold (merge policies). |
help | any state | Lists the commands. |
approve-delivery [--step <id>] [<comment>] [--reject] | a delivery waits for an approval (on the merged issue or on a ticket the delivery created) | Approves (or rejects) it when you are one of the step's approvers; the delivery counts distinct approvers up to its quorum. See delivery paths. |
ask <question> | any state while the issue has a workflow | A question for meik's conversation assistant ("why is the button grey?", "what did you change in the API?"). The answer is a comment with its sources (file and line, merge request, task, acceptance-criterion id). It changes nothing: ask is not a state command, so it never starts, stops or revises work. The same conversation is the issue's Chat in the web UI (conversations). |
design <figma link> | any state | Attaches a Figma design to the issue (Figma). Links in the description, in comments, in merge request descriptions and in uploaded text files are picked up without the command; it only makes the intent explicit. The reply says the design is attached; the issue's Design tab lists the files and whether meiksense could read them. Without a Figma connector the issue gets one comment saying how to connect it, and the work goes on with the attached images. |
A finished issue (DONE or CANCELLED) takes start again: a new run analyses it with what was delivered before (the
criteria, the merged merge requests, the task summaries) and the new comments and attachments — the way a bug found
after the merge or a change request comes back to meik. The web UI calls this Reopen (issue
lifecycle). retry and revise comments on a finished issue are not
converted yet; from the web UI and the API all three reopen.
In any other state the bot replies that the command does nothing now, and why ("I am already working on it", "There is nothing to retry", …). The states are explained in issue lifecycle.
--playbook <name> picks the playbook of the issue's tasks (one of the configured playbooks: bundled ones such as
bugfix-standard, feature-standard, quick-fix, or your own). An unknown name gets a reply listing the configured
ones. Without it the playbook comes from the admin's issues.playbook, the project's playbooks per issue type, or
the defaults per type. The options of a start stay with the issue (a retry keeps them).
--allow-config <globs> lets the agent change agent and editor configuration that is otherwise protected
(.claude/**, .vscode/**, .idea/**, .mcp.json), like the v1 meik run --allow-config and the project's
allow_config_paths: comma-separated globs relative to the repository, e.g.
--allow-config .vscode/settings.json,.claude/commands/** (no absolute paths, .., .git or spaces). The merge
request still reports every changed config file. Because it lifts a protection, only the users and groups listed in
ingress.allow_config may pass it in a comment (empty by default: nobody), and through the UI/API it needs a
project maintainer (project.write). The command, with its globs, is in the audit log. revise takes it too.
revise
Options come first, then the feedback. The feedback can continue on the lines below the command, up to the next command line:
@meiksense-agentik revise
Use the v2 endpoint for the export.
Keep the CSV header unchanged.
Because options come first, the feedback itself may mention flags (use --force-with-lease in push.sh). Put --
before feedback that starts with something that looks like an option:
@meiksense-agentik revise -- --verbose output is too noisy. A revision applies to every repository of the issue.
Examples
@meiksense-agentik start --repo api
Thanks, answers below.
1. CSV only.
2. Yes, keep the old endpoint for a release.
@meiksense-agentik start
@meiksense-agentik retry --budget 10
@meiksense-agentik status
@meiksense-agentik merge
Who may run what
-
By default anyone who can see the issue may run
start,status,stop,retry,revise,approve,askandhelp. -
mergeneeds merge policycommandand membership in one ofmerge_policy.command_groups. Underhuman, people merge on GitLab/GitHub themselves; underauto, meiksense merges by itself once the conditions hold. The policy is the project's ownmerge_policywhen it has one, else the global one (merge policies). -
approve-deliveryneeds to be one of the step's approvers (delivery paths). -
Restrictions: an admin can limit any command to groups or people:
ingress: commands: start: { groups: [developers] } stop: { users: [[email protected], bob] } # account ids, usernames or e-mail addressesGroups come from the tracker (Jira groups; GitHub team slugs through the MCP mapping). When the tracker does not report a person's groups, group-restricted commands are refused.
-
Every command decision, allowed or refused, is written to the audit log with the reason.
-
A refused command gets a reply naming the rule, for example "
mergeis not allowed. Merging by command needs membership in one of: release-managers."
From the web UI, the API and the CLI
The web UI's issue page offers the same actions. They are API calls:
curl -X POST "$MEIK_URL/api/v1/issues/7/actions" -H "Authorization: Bearer $MEIK_TOKEN" \
-H 'content-type: application/json' -d '{ "action": "start", "args": { "repo": "api" } }'
# actions: start | stop | retry | revise (with "text") | approve | merge | status; optional "requestId" for idempotency
# on a finished issue, start | retry | revise reopen it (the answer carries "reopened": true)
-
They need the role developer (or maintainer/admin/po) on the issue's project;
mergeneeds maintainer, admin or product owner — or a developer of the project when its merge policy setsdeveloper_can_merge: true— and the merge policy must becommandwith acommand_groupsentry naming a meiksense role, such asmeik:maintainerormeik:admin.askhas no action: it is the issue's conversation (GET /api/v1/issues/<id>/conversation, thenPOST /api/v1/conversations/<id>/messages; the Chat page in the UI). -
Replies to API commands (
status, refusals) appear in the issue's timeline in the UI, not as tracker comments. -
An issue meiksense has not seen yet is started by tracker integration and key:
curl -X POST "$MEIK_URL/api/v1/issues/start" -H "Authorization: Bearer $MEIK_TOKEN" \ -H 'content-type: application/json' -d '{ "integrationId": 3, "key": "SHOP-42", "args": { "repo": "api" } }' # → 202 { "requestId", "workflowId", "issueId" }The caller needs developer (or more) on every project the issue may go to (
--allow-configneeds maintainer). The issue row is created and the workflow started; an already known issue keeps its row (and its project). When the key's tracker project is not bound to one meiksense project — no binding, or several narrowed by squad / component or label that do not decide for this issue — andissues.default_projectis not set, the answer is 409{ "error": "project_choice_needed", "trackerProject": "SHOP", "squad"?: "Callman", "projects": [{ "id", "slug", "name" }] }: send the request again with"projectId"(one of them; it becomes the issue's project) and, to bind the tracker project to it for the next issues,"remember": truewith"component"set to the squad the answer named (needs maintainer on that project). A key the tracker does not know is a 404. -
A task that does not exist in the tracker yet is created and started in one call (the UI's New task form):
curl -X POST "$MEIK_URL/api/v1/issues" -H "Authorization: Bearer $MEIK_TOKEN" -H 'content-type: application/json' \ -d '{ "project": "shop", "title": "Show the rate before confirming", "description": "## Why\n…", "kind": "feature", "repoIds": [12], "attachmentIds": ["a1b2c3d4e5f60001"] }' # → 201 { "issue": { "id", "key", … }, "started": true, "workflowId", "requestId", "attachments": 1 }The project (by
projectslug orprojectId) must have a tracker binding: the issue is created in that tracker project (with the binding's component / squad) through the tracker's create API — Jira Cloud, Jira Data Center, TaskSense, or an MCP tracker whose mapping hascreateIssue; one that cannot create issues answers 400 naming it. A project bound to several trackers answers 409{ "error": "tracker_choice_needed", "trackers": [{ "id", "name", "kind", "trackerProject" }] }: send"integrationId"with one of them.repoIds(repos of the project) become the--repohint;kind(bugfix | feature | refactor | research | infra) is a hint line in the description for the analyst;"start": falsecreates without starting. Files go first toPOST /api/v1/issues/uploads?name=<file>(the raw bytes with theircontent-type:.md/.txtnotes and PNG, JPEG, GIF, WebP images; 201{ "id", "status": "stored" | "rejected", "reason"? }) and are named byidinattachmentIds; they become the issue's attachments, which the analysis reads like tracker attachments. The caller needs developer (or maintainer, product owner, admin) on the project and access to at least one candidate repository on the SCM host; the call is audited asissue.create. -
Answers with files.
POST /api/v1/issues/<id>/answerstakes{ "answers": [{ "question", "answer", "attachments"? }], "start"?: true }:answeris markdown (up to 20 000 characters),attachmentsup to 10 file ids, and an answer needs text or a file. Files go first toPOST /api/v1/issues/<id>/attachments/upload?name=<file>(raw bytes, anycontent-type: images, PDF, text, logs, HTML, JSON, CSV, XML, YAML, Word documents; 201{ "id", "name", "mime", "kind", "sizeBytes", "status": "stored" | "rejected", "reason"? }, like a chat upload;issue.acton the project, auditedissue.attachment). The answer text may also embed them as. Unknown ids answer 400. The files are the issue's attachments: the next analysis has them in its workspace and sees each answer with "Attached files: name (kind) →_attachments/<file>". -
The
meikCLI has no issue commands in this release;meik ls,show,approve,deny,cancel,resume,answer(the reply to a task that stopped with a question, NEEDS_INFO) andkeepact on the individual tasks. -
Keep the last result of a task.
POST /api/v1/tasks/<key>/actionswith{ "action": "keep" }(task.act, likeresumeandrevise;meik keep T-n) answers a task that stopped with a question (NEEDS_INFO) when an earlier iteration of it was ready for review and its branch has not changed since: the task goes back to READY_FOR_REVIEW with that iteration's review and gates, and no agent runs. 202{ "task", "action": "keep", "state": "READY_FOR_REVIEW" }once done (the branch is checked with git on the task's host first;"pending": truewhen that takes longer than 20 s — the timeline then saystask.keptorkeep.failed). 409keep_refusedwith a sentence when the task is not NEEDS_INFO, is in its first iteration, no earlier iteration was ready, or its branch has a commit (or moved) since; nothing changes then. Auditedtask.keep.
Admins: webhook and poller setup is described per tracker in the integrations guide.