research-kit

Skill

What is next

The ranked records are the schedule the agent’s hand is filled from, and this is how they are filled or refreshed: when the person asks what is next, when the agent recommends it and the person agrees, or when the list is empty; never on a cadence, never as a per-landing triage. The question is: what do we do next, for the whole project? flow … below is the flow skill’s scripts/flow.py, run by its path from the project root as that skill says. Where the flow skill is not loaded, load it before the steps: no record is minted without it. A focus the person gives with the command, “let’s focus on the research tasks”, biases the ranking as a direction does and never orders it. It works no card: a card is read to be ranked, and what an idea holds, a goal, a direction, its open terms, is found out when the idea is worked from a hand, after the refill; no question about what an idea in a deck holds is put to the person here, and nothing is minted from one.

  1. Review the agent’s hand. flow state prints each hand’s held cards with their drawn dates and ages. For each card the agent’s hand holds, decide with a note: keep it, where its work goes on and the focus does not put it behind; return it, flow return ID --note "…", where nothing is under way on it; pass it, flow pass ID --to OWNER --note "…", where its remaining steps belong to another deck, the person’s among them. A card waits on the person’s decision only where the method skill’s test under “Working with the owner” leaves the decision theirs: the agent asks with its question tool in the turn, and one still open becomes a task in the person’s deck whose title names the decision, flow task "…" --summary "…" --for OWNER, the card that waits blocked on it (flow block ID --on TASK --reason "…"), the task’s summary saying why no test of the agent’s settles it. The note says what was done on the card and why it goes, and the log entry names each card kept, returned or passed, one clause each. A task handed to a prover session stays held, since its handoff’s landing closes it. A card whose work landed was closed by its own transition, which cleared its rank and took it out of the hand; one that stalled is returned or passed here, and parked only where it is set down by decision.
  2. Read the inbox. flow state prints it first, then the open goals and directions, the ranked list, the hands, the decks and the log’s top State paragraph. For each item the person left, propose what it becomes: an idea, a question or a task minted, its kind named by the item’s own word as the flow skill’s part “What the person says” says, a goal or a direction the person opens (flow goal, flow direction, minted on their word alone), an act done in the turn, or nothing, with the reason. Make the records the person agrees to, name each item in the log entry, and remove it from the inbox; an item the person has not answered stays. A directive a freeze left for this session is the first move, unless the person says otherwise.
  3. Inventory from the CURRENT records, through the CLI. flow find --ready for the cards a refill may draw, of the three kinds, flow find --type question --state open, flow find --type idea --state open, flow find --parked, flow find --blocked, flow find --held, flow find --deck NAME for what an owner’s deck holds beside the hand; flow show ID for one record with its links and back-references; the open goals and directions, flow find --type goal --state open and flow directions, which the index lists under Goals, each with the questions serving it, and Directions. A task’s state is open and its standing is calculated, so flow find --state ready and --state active are refused. Never glob or read a record directory. Where the planning needs something found out that the records do not hold, the question is minted first, before the act that finds it out, and then goes the usual way, drawn and answered by a finding with its evidence, as the method skill’s part “Evidence” says: a probe of the machine comes after the question “what are the parameters of this computer?”, and its figures are the finding’s, never prose in the body of a goal or another record. Before ranking a record, open what it points at — the document section, the module, the artifact — since records age. A block is calculated, so one on a record that has settled holds no more and needs no hand; a block on words is unblocked by hand once the words no longer hold (flow unblock ID --on "…" --note "…").
  4. Rank. The cards of the three kinds, an idea beside a question and a task, stand in one list for the whole project, across the decks, the person’s cards among them. With no goal and no direction, the cards are worked as the person says; with directions, the moves lean toward them without being bound, since a new direction may come; with a goal, reaching it is the main direction and the moves go there as fast as they can, the questions serving it (serves) first among them. Never so biased toward a direction or a goal that the rest is not seen: then whole-project value, then a fresh landing’s cheap follow-on; a task’s due date never moves a rank, but the Due list is read first and a passed date is named. A finding resting on stated evidence alone (flow find --form stated --only) is work waiting, a proof to formalize, a probe to run, a work to cite, and a candidate task. A card it ranks that is not judged (flow find --value none lists every idea, question and task with no value, the closed among them, and flow find --value none --state open the live ones, which are the cards to judge) is judged first, flow set ID value V --note "…" with the level the work shows, as the flow skill’s “Judging a value and a size” says. The value and, on a question and a task, the size are read when the cards are ordered, the way a due date is; neither moves a rank by itself, and the order stays the agent’s judgment under the focus. Nothing is ranked down, parked or left off for lacking a route: a card with no known route is ranked, and finding the route is its first round’s job. A parked or blocked card keeps its rank, and the list shows the wait; a card that waits on the person’s decision is blocked on the task in the person’s deck that holds the decision, and keeps its rank, and the refill of the agent’s hand passes over it. Where the project pairs documents with a machine-checked library, the method skill’s rules under “With a prover” order ties among its formal targets.
  5. Write the ranks. A rank is a number alone: flow rank ID N for one item, flow rank ID 1 --insert to take a rank another record holds, moving that record and the ones below it down by one, or flow rank --set ID … for the whole order at once, which clears every other rank, writes an order only, refreshing no question’s checked date, and prints each record as ranked ID (rank N) — Title or unranked ID (was N) — Title. Why each item stands where it does, and its first move, or “none yet”, go in the log entry for this ranking, one clause each, a pointer by ID and never a restatement. A goal or a direction a question serves is given with flow serves Q +G, on any open question, ranked or not. A list whose ranked records have not changed since its last refresh is left as it is, and the log entry says so with that refresh’s date. Draft the entry in a scratch file and pass it through the project’s text gates before writing it.
  6. Intake. Park or unpark only for a card set down by decision, with a reason the record carries with a date and a revival, what would bring it back, which a park cannot go without — flow park ID --reason "…" --revival "…", and where the revival is the person’s word --revival "on the owner's word" --tag revival-owner; flow unpark ID — never “no route”; a card waiting on the person’s decision is blocked on the task that holds the decision, flow block ID --on TASK --reason "…", and never parked for it. A decision the work needs is asked of the person and the card is blocked on the task in their deck; a card parked with the revival on the owner's word and the tag revival-owner asks nothing and sleeps until the person brings it up. Mint newly seen residues, each into a deck and never into the hand: flow idea "…" --summary "…" for an idea, flow question "…" --summary "…" --ref IDEA for a question from one (flow consume IDEA once the idea is fully processed), or flow question "…" --summary "…" --ref FINDING from the finding that exposed it — a question of its own, its body saying what counts as an answer, never a line added to the question it came from — and the ones that are plainly the person’s or the agent’s --for that owner. Cards minted ahead stand in the decks; where two of them have an obvious order, the later one is blocked on the earlier, flow block LATER --on EARLIER --reason "…", before the refill, which then passes over it, and cards that can be worked in parallel carry no block; a reference between cards says nothing of order. Record the read of each question the session opened in step 3 or touched here with flow checked ID …, where no flow rank ID N refreshed it already; --set asserts no read. Goals and directions are the person’s: one the person names in an inbox item is step 2’s, and one an idea holds is put to them while the idea is held and worked, as the flow skill’s “The mints” says, and never here; one is minted or closed (flow goal, flow reach, flow giveup, flow direction, flow drop) only on their word; a goal reached or given up, or a direction dropped, clears nothing on its questions, and the notice it prints names them: each is decided on here, re-ranked, given another goal or direction with flow serves, or left.
  7. Refill the agent’s hand. flow draw --refill --owner agent (agent is the agent’s name as [hand] names it by default, and a project that names its hands otherwise uses its own name here and below) draws by rank from the top every ready card of the common deck and the agent’s own, ideas, questions and tasks alike, until the hand’s limit. It prints each card drawn, each ranked card it passed over with why, and the hand as 3 of 4 with the room left; an unranked card is never drawn by it, and a card parked or blocked is unparked or unblocked first only with a reason. A card drawn is worked as it stands, a question or an idea included: no task is minted to hold its place. A hand left under its limit is explained in the log entry for the ranking, from the lines the command printed: which cards it passed over and why, and the ready cards that stand unranked.
  8. The person’s side. Name the person’s deck in rank order and what the person’s hand holds, both printed by flow state. Read each card of the person’s deck against the method skill’s test under “Working with the owner” before proposing it: a card a test of the agent’s settles is taken back, flow pass ID --to agent --note "…", the note saying the test, named in the log entry and not proposed, and the next refill draws it by rank. The take-back is made without asking, a pass being reversible. Propose which cards of the deck go into the person’s hand with the agent’s question tool where it has one and in the turn otherwise, in a form the tool accepts, which refuses a question of one option: 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 draw into the person’s hand, flow draw ID --owner owner, is made only on that answer.

On a wall, in the round an item commissions: change whatever reaches the goal — the statement, the definition, the object or the currency — under the method skill’s “Changing the target honestly” invariants, the statement before and after written in the round’s record, the question’s body and the log entry; a result about the changed statement is never registered as settling the original.

Output. The inbox items with what each became, what each held card became, the refreshed ranks, both hands after the refill, the agent’s as 3 of 4 and the person’s, flow check green, a log entry (flow log add FILE), the project’s offline gates by exit code. The report ends with one line, the go-word the person types 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 the person asks, and this skill commits nothing by itself.