[ Blocks Ad-hoc ]

Ask from wherever you work.

Mention @blocks in a pull request, a ticket or a Slack thread. Blocks answers, opens the pull request or pushes the fix, right where you asked.

#payments Β· Thread
ma
maya10:02
@Blocks how do we retry a failed charge? Can a retry charge someone twice?
πŸ‘€ 1
Blocks10:03
Retries go through retryCharge(). Each retry reuses the first attempt's idempotency key, so a customer is never charged twice.
api/charges/retry.ts:36 lib/stripe.ts:12

Work where the work is.

Assign tickets, ask questions, resolve review comments and fix failing builds without opening another tool.

#payments Β· Thread
ma
maya10:02
@Blocks how do we retry a failed charge? Can a retry charge someone twice?
πŸ‘€ 1
Blocks10:03
Retries go through retryCharge(). Each retry reuses the first attempt's idempotency key, so a customer is never charged twice.
api/charges/retry.ts:36 lib/stripe.ts:12
Slack

Ask how the code works

Ask a question in any channel and get an answer with links to the code, in the same thread.

Acme Β· Billing
ACM-398Add CSV export to the billing page
Assignee BlocksStatus In Review
Blocks moved this from Todo to In Progress Β· 4m
Blocks2m
Opened a pull request. The export streams rows, so large accounts don't time out.
#2214 Add CSV export to billing+142 βˆ’8
Linear

Assign a ticket

Assign an issue to Blocks like a teammate. It opens a pull request and keeps the ticket up to date.

acme/web Β· Pull request #1931 Β· src/billing/invoice.ts
14+export function buildInvoice(order: Order) {
ra
ravi1h
This should be a class so we can mock it in tests.
da
dana5m
@blocks can you change this to be a class instead?
πŸ‘€ 1
Blocks2m
Done. InvoiceBuilder takes the tax service in its constructor.
Pushed 1 commit a41c9e2Β· Resolved
GitHub

Resolve review comments

Reply to a review comment with @blocks and the change is pushed to the same branch.

acme/web Β· Issues
Dark mode resets on reload #1874
da
dana12m
@blocks can you implement this issue?
πŸ‘€ 1
Blocks3m
The theme is now read before the first paint, so it no longer flashes or resets.
#1881 Persist theme before first paint+36 βˆ’11
GitHub

Implement an issue

Mention @blocks on an issue and get a pull request that links back to it.

#incidents Β· Thread
sa
sam9:14
Exports are timing out again for files over 50 MB. Two customers so far.
jo
jordan9:20
@Blocks can you create a Linear ticket based on this convo?
πŸ‘€ 1
Blocks9:21
Created it with the repro steps and both customer reports.
ACM-412Export job times out on large CSVsTodo
Slack

Turn a thread into a ticket

Ask Blocks to write up a discussion as a Linear ticket, with the details from the thread.

acme/infra Β· Merge request !312
Move queue workers to ARM
CI failed Β· lint
pr
priya20m
@blocks the lint job fails on this MR, can you fix it?
πŸ‘€ 1
Blocks16m
Fixed three lint errors in workers/queue.py.
Pushed 1 commit 7be20f1 CI passed
GitLab

Fix a failing CI job

Ask on a merge request and the fix lands as a new commit on the same branch.

acme/mobile Β· Pull request #77
Offline sync for drafts
le
lee8m
@blocks /codex review this PR, focus on any potential runtime errors
πŸ‘€ 1
Blocks3m
Found two issues and left comments inline.
sync/queue.ts:88Retry loop never resets its backoffSev 8
drafts/store.ts:41Drafts can be read before migrationSev 6
Bitbucket

Review with the agent you pick

Name the agent you want, like /claude or /codex, to choose who takes the request.

Payments Β· Board
PAY-231Show VAT on invoices
Assignee BlocksStatus In Review
Blocks6m
VAT is added per line and the totals now match the PDF. Start with invoice/totals.ts.
#2231 Show VAT per line on invoices+88 βˆ’14
Jira

Pick up assigned issues

With the assigned-issue automation, assigning a Jira issue to Blocks gets you a pull request and a summary on the ticket.

One mention. Any tool.

01

Mention

Type @blocks and a request in an issue, a pull request, a review thread, a Linear comment or Slack.

@blocksΒ <request>
02

Pick an agent

Name the agent you want, like /claude or /codex, or let your default take it.

Claude CodeCodexAntigravityCursorOpenCodeKimi Code
03

Plan first

Start with /plan and Blocks writes a plan for you to approve before it changes any code.

@blocksΒ /planΒ <request>
04

Follow along

Blocks reacts with πŸ‘€, links the live session, posts progress and ends with a summary. Reply in the thread to keep going.

πŸ‘€β†’Liveβ†’ Summary

Hand off your first task today.

Connect your tools and mention @blocks wherever your team works.

Blocks Ad-hoc – Hand any task to a cloud agent