Login
OCX’s tools for protocol v1
Login

Protocol v1 is the standard: its artifacts count however they are written. OCX's tools write them, and perform runs by hand, for people and programs, as a convenience, never a requirement. Anyone may write the same artifacts by other means, such as a verdict with fossil tag add or a run as a forum post, and they count exactly the same. What a run's program writes through a tool, the tool writes in the run's own clone, which reaches the server as the run's user; what a person writes with a tool reaches the server as that person, through its web page when the tool runs on a clone.

The tools

Where they are offered, and what they answer

The command line, the web page and MCP offer every tool, but the web page has no post, since a person posts in Fossil's own forum page, and node and attach are offered on the command line alone, on their own hosts. Each tool checks its input before anything happens, and naming a field it does not know is refused, except the run's own keys given to create, which it writes as they are. Every tool takes dry_run, which checks everything and writes nothing, and every tool answers in one shape: {"tool", "dry_run", "log", "result", "stopped"}. result is the tool's output, once it has run to the end:

stopped says why it did not run to the end, naming the field at fault.

Why: Clarity (typed input, one answer shape), Loose Coupling (the same tools from every place, and none required), Demonstrability (the dry run).