Repository navigation
Standardize the Messick guide and next commands - #4
Conversation
[Low impact] The changes affect the Messick command-line workflow. The PR appears safe to merge, with non-blocking test and documentation gaps. FindingsSummaryAdds top-level
No blocking behavior issue was found. Add tests for first-time setup and update the documented setup response. Reviews (1) · Last reviewed commit: "Use the native guide and project next co..." · Reviewed by Greptile |
| if a.area == "agent" and a.action == "next" and not s.exists: | ||
| recommendation = action( | ||
| s, "init", ["init", "--title", "<title>"], True, "Initialize the pretest workspace.", | ||
| {"title": field("string", "Name of the pretest.", "--title")}, | ||
| ) | ||
| return {"recommended_action": recommendation}, {}, [] |
There was a problem hiding this comment.
Existing tests call agent next only after init, so they do not protect the new commands or fresh-directory flow. Later changes could break first-time setup without failing the tests. Cover both aliases, check that guidance creates no files, and follow the returned init action before requesting the next step.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
| if a.area == "agent" and a.action == "next" and not s.exists: | ||
| recommendation = action( | ||
| s, "init", ["init", "--title", "<title>"], True, "Initialize the pretest workspace.", | ||
| {"title": field("string", "Name of the pretest.", "--title")}, | ||
| ) | ||
| return {"recommended_action": recommendation}, {}, [] |
There was a problem hiding this comment.
Setup example shows old behavior
The fresh-directory example in docs/index.html shows messick --project-dir trust-pretest agent next returning PROJECT_NOT_FOUND. This command now succeeds and returns an init recommendation, so readers get a different response from the one the guide describes. Update the example to show the new response.
Using the package
Run
messick guideafter installation to read the package workflow. Usemessick nextto get the next step from the package’s project state. Project location and input options follow this package’s own CLI. Before installation, EDSL can point to the existing documentation.Exposes the existing agent guide and structured next action at the top level, including setup from a fresh directory.
Verification
Built a wheel, installed it in a disposable environment, and invoked the guide through the installed console script from a temporary directory. Tested the installed next command against an initialized project.
Directory rollout · EDSL discovery