Add goal printing flags (-upto, -lastgoals) and LLM agent guide#944
Add goal printing flags (-upto, -lastgoals) and LLM agent guide#944strub merged 1 commit intoEasyCrypt:mainfrom
Conversation
|
Extend and use LSP instead. |
|
Reopening (I changed my mind). I will review it. I don't think these are the exact options that we want and this will allow LLM to have a rough interface to EasyCrypt when the (to come) MCP is not in used. |
|
@namasikanam Can you explain what instructions you give to an LLM to use these options? Maybe you could document? |
|
@strub These are the instructions I gave. They simply explain the option and the tactic. I can document them. I think they are already documented in the help message. If they need better documenting, do you think where is the best place? Maybe the main readme? For an MCP of EC, I think it's better to have two modes. 1. compilation mode, which are on the top of My design of the usage of these two modes follows how human deals with EC proofs. The compilation mode is used globally to check whether a file is finished or quickly jump to the sticking point, while the interaction mode is used locally to figure out how to close a proof. |
5bd4450 to
9ecad21
Compare
Add two new flags for the `easycrypt` CLI to support LLM coding agents: - `-upto <pos>`: compile up to a given position and print goals there - `-lastgoals`: print the last unproven goals Also add a dedicated `llm` command mode and an LLM agent guide (doc/llm/CLAUDE.md) documenting EasyCrypt tactics and workflow for use with AI coding assistants.
|
It seems that the last four commits in the main branch may have been unintentionally reverted by the merged commit of this PR :) Maybe we can revert this PR, and re-do a clean PR which does not touch other modifications? |
Just making sure @strub saw this. |
Add two new flags for the
easycryptCLI to support LLM coding agents:-upto <pos>: compile up to a given position and print goals there-lastgoals: print the last unproven goalsAlso add a dedicated
llmcommand mode and an LLM agent guide(doc/llm/CLAUDE.md) documenting EasyCrypt tactics and workflow for
use with AI coding assistants.