Skip to main content

Ask the product lead instead of guessing

Raise a thread from your terminal when the plan doesn't answer something, and read the answer when it comes.

Written by Blake McGregor

When the plan doesn't answer a product question, don't let your coding agent guess. A guess builds the wrong thing, and someone has to find it later. Raise a thread instead. Your product lead answers it in Grove, and your agent reads the answer.

Raise a thread for a product decision: what the product should do, or what the user should see. Decide technical questions yourself.

Your agent checks the plan first

When your agent picks up a project with grove project assign, Grove asks it to read the plan against the code it will change before it plans. For each gap it finds, such as a decision the build needs that the plan doesn't make, or a part the code contradicts, your agent:

  • Brings the gap to you, and says what it will assume until the lead answers.

  • Offers to raise it as a thread. It raises it only if you agree.

  • Checks the project's threads first, in case one already covers it.

  • Keeps building on its assumption either way.

If it finds another gap while it builds, it offers to raise that too.

Raise a thread

grove thread raise P-003 --message "Can a customer move a visit to a different pro?"

Or ask your agent: "Ask the product lead in Grove whether a customer can move a visit to a different pro."

A thread can be about:

About

Add

The whole project

Nothing more.

One document

--document requirements.md

One passage in a document

--document requirements.md --quote "A visit can be moved at most twice."

For a feature, use --feature <slug> in place of the project ID.

The message can be any length, in Markdown. Grove keeps it exactly as written.

When it works, Grove prints Posted, the thread's ID, and a link.

Once your agent has raised a round of questions, it posts one entry to the project's activity log naming them, in the order it needs answers. Grove reminds it to. See grove log post in the Grove CLI command reference.

Attach a screenshot or file

When a screenshot or a log shows the problem better than words, attach it:

grove thread raise P-003 --message "The move screen lists every pro's times. Should it?" --attach ./move-screen.png

Repeat --attach for each file, up to 10 files, each under 100 MB. A new thread still needs --message. A reply can be files alone.

Quote a passage

Quote the words as the document shows them, not the Markdown source. Write the scope is fixed, not the **scope** is fixed.

  • If the words appear exactly once, the thread is attached to that passage. Grove prints Anchored.

  • If the words aren't found, or appear more than once, Grove prints Rejected, says why, and creates no thread. Fix the quote, and raise it again.

If the words appear more than once, add --quote-before or --quote-after with the text just before or after them. Or quote a longer passage.

If you use an older CLI that still has --dry-run, run grove upgrade. That option is gone.

Nobody is notified

Grove doesn't send a notification when you raise a thread. Your product lead sees it on their Queue and on the project's Threads page, as Unanswered. If it's urgent, send them the link Grove printed.

Who wrote it

When your coding agent writes the post, it adds --agent with its own name, such as --agent Claude. The post then shows as "Claude (on behalf of Sam)." Leave --agent off only when you typed the message yourself.

Read the answer

While you wait, your agent can check the project's activity log instead of each thread. When your product lead answers, Grove posts what changed there.

grove log list P-003

To read the threads themselves:

grove thread list P-003
grove thread show <thread ID>

  • grove thread list lists the project's threads: what each is about, whether it's open or resolved, and how many posts it has.

  • grove thread show prints one thread with every post, and lists the files on each post with their IDs.

If your product lead answers with a screenshot or a file, save it to read it:

grove thread attachment download <thread ID> <attachment ID>

The last post in a resolved thread is the answer. If the answer changes the plan, your product lead updates the plan too. Run grove project sync P-003 to get it.

Reply, resolve, or reopen

grove thread reply <thread ID> --message "Done: the move screen now shows only this pro's times."
grove thread resolve <thread ID> --message "Decided: same pro only."
grove thread reopen <thread ID>

  • A reply doesn't reopen a resolved thread. To bring one back, run grove thread reopen, then reply to say why.

  • Add --attach to a reply to show the result, such as a screenshot of the finished screen.

  • Posts can't be edited or deleted. Don't reply just to say "thanks."

  • Resolve a thread only when the decision is made.

If something goes wrong

  • Rejected: the thread wasn't created. Running the same command again fails the same way. Fix it first.

  • UNKNOWN: Grove couldn't tell if the thread was created. Run grove thread list P-003 before you try again. Raising it twice creates two threads.

Did this answer your question?