An agent can't check a proposal without filing it
There's no dry run: the only way to find out whether a change is valid, or what its diff looks like, is to file the proposal.
What happens
Every proposing tool files the proposal straight away. If something is wrong (a field the API no longer accepts, a parent path that doesn't exist yet), the agent finds out only from the error, and if the change is valid but not what was meant, Jay finds out at review.
Where
Every proposing tool in src/mcp/server.mts, through propose(). The format: "md" error from the Phase 1 schema change surfaced this way.
Why it matters
Mistakes reach Jay's review queue as proposals to reject, and agents can't see the diff of a body edit before sending it, which matters most for long pages.
Possible fix
A dryRun: true option on propose() (or a check_proposal tool) that builds and validates the ops, then returns the changes and diffs without saving anything.
Related
- Issue tracker: planIssues become their own type with a small tracker around them: /issues pages in the notes chrome, a sidebar grouped by area, four states, a priority, and commits that close them.
- A new code page can't be filed until it's pushedA new page.tsx gets its goatboat row only when main is pushed, so its project, section and description can't be proposed until then.
- Publishing an artifact takes a script and then a proposal for its detailsartifact:publish saves a bare draft, and the title, description and tags follow in a separate proposal. The script could take them from a list, leaving only publishing to approve.
- Proposals can't build on their own changesA proposal can't create a page and its children, a project and its pages, or a section and the notes that go in it: everything it refers to must exist first.