What is next
/research:whatsnext answers what is next: it reviews the cards the agent’s hand holds, reads what you left in the inbox, refreshes the ranked list under the focus you give, and refills the agent’s hand by rank to its limit.
It is the whatsnext skill, which runs the flow’s commands and has no script of its own; with another agent, ask it what is next.
When you say “what’s next” or “whatsnext” you mean the skill: it is called every time, even if it ran earlier in the session, and every step is taken. (“What’s on the table” asks for a report of what is current and pending, not a re-rank.)
It works no card: it reads a card to rank it, and what an idea holds is found out when the idea is worked from a hand, after the refill, so it asks you nothing about an idea in a deck.
It loads the flow skill first where that is not loaded, since no record is minted without it.
This page is what it does, what it reads and writes, and its words.
What it does
You run it when you ask what is next, when the agent recommends it where your message leaves open what to do and you agree, or when the ranked list is empty; a session itself starts with flow state and does what your message asks, and the skill is never run on a cadence.
A focus may follow the command, /research:whatsnext let's focus on the proofs, and biases the ranking as a direction does without ordering it.
- The review: each card the agent’s hand holds is kept, returned with a note (
flow return ID --note "…") or passed to another deck with one (flow pass ID --to OWNER --note "…"), the log entry naming each, and a card waits on your decision only where themethodskill’s test leaves the decision yours, the decision then a task in your deck whose title names it and the card blocked on it; a task handed to a prover session stays held, since its handoff’s landing closes it, and a card that stalled is returned or passed here. - The inbox: for each item you left, the agent proposes what it becomes, an idea, a question or a task named by the item’s own word, a goal or a direction you open, an act done in the turn or nothing, makes the records you agree to, and removes the item; a directive the last freeze left is the first move.
- The inventory: the ready cards, the open questions and ideas, the parked, blocked and held cards, each deck, the open goals with the questions serving each and the open directions, read through
flow find,flow showandflow directions, never by opening the record directories, and where the planning needs something found out that the records do not hold, a question minted first, before the act that finds it out;flow find --state readyand--state activeare refused, a task’s state beingopen. - The ranking: ideas, questions and tasks in one list across the decks, toward a goal where one is set, toward the directions where there are some, never so far that the rest is not seen; the cards it ranks that are not judged get a value first, and a card’s value and size are read when the cards are ordered and move no rank by themselves; nothing is ranked down for lacking a route, a parked or blocked card keeps its rank with its wait shown, and a due date never moves a rank.
- The ranks written with
flow rank, a number alone, or the whole order at once withflow rank --set, which only orders and refreshes no question’s checked date; why each item stands where it does and its first move go in the log entry, and the questions the agent opened are recorded as read byflow checked. A list whose ranked records have not changed since its last refresh is left as it is, the log entry saying so with that refresh’s date. - The intake: residues minted as ideas or questions, each into a deck and never into the hand, parks with a dated reason and a revival for a card set down by decision, a card waiting on your decision blocked on the task in your deck that holds the decision, cards minted ahead with an obvious order blocked the later on the earlier before the refill and cards that can be worked in parallel left unblocked, goals and directions left to you, one you name in an inbox item being the inbox step’s and one an idea holds being put to you while the idea is worked from a hand, never here, and each minted or closed on your word only, and the questions a goal or a direction you closed named in its notice decided on one by one.
- The refill:
flow draw --refill --owner agentdraws by rank from the top every ready card of the common deck and the agent’s own, of the three kinds, until the hand’s limit, and prints each card drawn, each ranked card it passed over with why, and the hand as3 of 4with the room left; a card is worked as it stands, a question or an idea included, and a hand left under its limit is explained in the log entry from those lines. - Your side: your deck named in rank order and read against the
methodskill’s test, a card a test of the agent’s settles taken back to the agent’s deck with a note, without asking, and not proposed; what your hand holds, and the cards the agent proposes for your hand, asked with the agent’s question tool where it has one and in the turn otherwise, in a form the tool accepts: with several cards a multi-select question, a card to an option, and where the deck holds more cards than the tool takes options (at most four) the fewest such questions the tool allows, their sizes as even as the count allows, so that none has one option and no card is left out; with one card a question of two options, draw it and leave it in the deck; with none no question; a card is drawn into your hand only on your answer.
It ends with what each inbox item became, what each held card became, the refreshed ranks and both hands after the refill, flow check green and a log entry, and one line for you to type to have the session work the agent’s hand, Work the hand.; the skill stops there, a ranking and a refill, and works no card; the commit is the session’s, made at its freeze or when you ask.
What it reads and writes
INBOX.mdat the project root, or the fileflow.toml’s[paths] inboxnames: it reads it, and removes each item it acted on.- The records, through the flow’s transitions only:
idea,question,task,rank,serves,park,unpark,block,unblock,draw,return,pass,checked;goal,reach,giveup,directionanddropon your word alone. - The log, one entry through
flow log add; the goals and the directions are read, and minted or closed only when you say so.
Words
- inbox — the file where you leave items between sessions and a freeze leaves one directive for the next; no rule empties it at a freeze.
- focus — what you ask the session to lean toward, a bias like a direction and never an order.
- goal, direction — the records you form and set: a goal is a destination, its body saying what reached means, the stronger pull where one is set; a direction is the way the research moves, a lean on the next moves; a goal or a direction an idea holds is put to you with the agent’s question tool while the idea is worked from a hand, and none is minted unasked.
- hand — what an owner is working on now, within a limit: the agent’s, across its sessions, and yours; a card waits in its owner’s deck until a draw puts it in the hand.
- refill —
flow draw --refill: the hand filled by rank from the top of the list, every ready card of the common deck and the owner’s own, until its limit.