Repository navigation
What the agent runs asked for: page lines, m0 new ., a board template, skills - #569
Merged
Merged
Conversation
…, skills The follow-ups from docs/notes/agent-usability-runs.md, recorded in docs/notes/what-the-agent-runs-asked-for.md (SPEC N27 amended, N52 new, DECISIONS D66). Pages: - Both quickstarts serve on --host 127.0.0.1 and say the default is every interface. - The Python quickstart says libpython comes from PATH's python3, what publish() does with a line break and what it returns, and that a form post meets Django's CSRF check. - The home page and the Mojo overview point an agent at llms.txt and each page's .md twin; the overview maps the API to its pages. - The views page gives reply and reply.problem's four arguments, and Datastar 1.0's rule that an action's answer applies only on a 200. - The host and views pages say where a send from a view reaches. - The scaffold's AGENTS.md names the reference pages before the source. m0: - m0 new . writes the empty current directory, named for it. - The printed next step serves on 127.0.0.1. - --template board: a list every tab shares whose sender is a view. Its stateful views run on the loop, and the gate serves it behind a pool. - Fixed: live's stream was refused 409 behind a handler pool. Its stream view is now on_loop, and its handler answers on-loop routes with the state. The gate serves live behind a pool too. Skills: skills/m0serve and skills/m0, canonical here. agent_runs.py gains --plugin-dir, which loads a plugin into each session and records its version and a hash of its files. Gates: smoke-scaffold (all four templates), smoke-m0-wheel, check-templates, smoke-quickstart-mojo, smoke-quickstart (all 15 blocks, with the foreign-m0serve count adjusted) and check-docs pass. sabotage-scaffold catches all 14 new rules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The follow-ups the agent usability runs asked for (docs/notes/agent-usability-runs.md): the lines each page lacked, three changes to
m0, and the two skills. The record is docs/notes/what-the-agent-runs-asked-for.md; SPEC N27 (amended) and N52 (new); DECISIONS D66.Pages
--host 127.0.0.1and say the default is every interface.PATH'spython3, whatpublish()does with a line break and what its return value means, and that a form post meets Django's CSRF check.llms.txtand each page's.mdtwin.replyandreply.problem's four arguments, and Datastar 1.0's rule that an action's answer applies only on a 200 (read off the 1.0.4 bundle).AGENTS.mdnames the host and views pages by URL before the installed source.m0m0 new .writes the empty current directory, named for it.127.0.0.1.--template board: a list every tab shares whose sender is a view. A POST appends and publishes the whole board through the state'sDatastarStream, then answers a 200 signal patch that empties the poster's input. Every stateful view ison_loop=True; the list is one process (max_workers() -> 1, D66:ViewsAppdoes not forwardsse_peer_frame).live's stream was refused 409 behind a handler pool (--blocking-threads), because its stream view was noton_loopand its handler answered only stateless loop routes.Skills
skills/m0serve/SKILL.mdandskills/m0/SKILL.md, in this public repository so they change with the product.scripts/agent_runs.py run --plugin-dirloads a plugin into each session and records its version and file hash.Gates
smoke-scaffold: all four templates.boardandliveare served behind--blocking-threads 2, and every template'snewphase coversm0 new ..smoke-m0-wheel(45 unit tests),check-templates,smoke-quickstart-mojoandcheck-docspass.smoke-quickstartpasses all 15 blocks once the second page's process count is adjusted for a launchdm0serveon this machine; unadjusted, it fails on that count alone, as recorded before.sabotage-scaffold: all 14 new rules caught, each run once:smoke.sh's status.m0 new: the current directory refused; the next command binding every interface.Measured: the Python track with the
m0serveskill loaded met the contract five of five in 8 tool calls (median; range 7–10), against 13 (13–15) without it, at $0.27 a session against $0.37. Not measured yet: the doc lines reach an agent once the site deploys, and them0changes once anm0release publishes them, so the Mojo track waits for that release.🤖 Generated with Claude Code