COPY, UNDERSTAND, ADAPT

A useful starting point for your next build.

Questions with context: sample input, answer criteria, application policy, and code. Every example explains where it came from.

9 decisions

Question · Input · Code · Creator
RoutingChoice

Route a support request

Send each message to the right handler, with an explicit fallback.

Source TypeSafe
THE QUESTION

Which support team should handle this message? Choose other when the request does not fit a listed team.

Adapted example
RoutingChoice

Escalate uncertain classifications

Separate a predicted label from the decision to act on it.

Source TypeSafe
THE QUESTION

What action is the customer asking for? Choose unclear if the message does not establish a specific action.

Adapted example

Keep or trim a tool result

Ask whether an older tool call and its full output still matter to the current task.

Question by tamaratran
THE QUESTION · 1 OF 2

Tool call t1 (read_file) should stay in the history: knowing this call was made, with its input, still matters for what the assistant does next

Source extraction

Flag hidden side effects

Identify functions whose names and contracts hide observable changes.

Source Alurith
THE QUESTION

Does this function change observable state in a way that is not apparent from its name or supplied contract?

Original example