Skip to content

feat(catalogue): add DigitalMate v0.1.12, installed by its own install steps - #288

Merged
aitianshi merged 3 commits into
mainfrom
feat/digitalmate-v0.1.12
Nov 23, 2026
Merged

aitianshi merged 3 commits into
mainfrom
feat/digitalmate-v0.1.12

Conversation

@aitianshi

@aitianshi aitianshi commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #287

What

An agent's install block may now list commands, its upstream's own install steps. They run last, in the install folder, under the same lock and .installed marker as its packages; each is an argv list of plain words whose only slot is {install}, never a shell, and a failed one leaves no marker. DigitalMate v0.1.12 uses three: add its service package (services/agent_bridge[geo]), create the runtime venv, run the release's own deploy/install_runtime.py. So DigitalMate installs through the standard like every other agent, with no prepare script. Its adapter is glue only: start the Personal Agent service on 127.0.0.1 with a per-trial state folder, submit the task through the Gateway WebSocket, return the final answer. The release runs as published, same commit, no patches; no upstream code is copied here. Container backend only; agent.task/v1 proven.

Touches

The standard (install, definition checks) · catalogue (DigitalMate entry, its run and gateway) · docs (docs/standard.md install table, generated agent pages, AGENTS.md map) · backend tests

Verified

  • Install through the standard, in the container base image, from a neutral folder: complete in 29 min (almost all of it the release's runtime installer); the runtime's pip check clean.
  • nullius.standard.cli conform digitalmate --port agent.task/v1 --backend container with OpenRouter meta/muse-spark-1.3-contributor on that install: 3/3, about $0.014 in total. Recorded in agent.json.
  • On the standard's new folders (refactor(standard): sort the package into folders, share the file writer and split the trace reader #290): backend suite (python3 app/tests/parallel.py) 3168 tests OK, route suite 716 tests OK.
  • New tests: the checker accepts plain {install} commands and refuses others; the commands run last in the install folder; a failed command leaves no marker. With the command loop removed, the two install tests fail.
  • catalogue_docs.py --write and the field contract: no change after the rebase.

Risk

  • install.commands runs what a definition lists, at install time. It is limited to plain words and {install}, but a catalogue entry can still run its upstream's code there, as project and pip already do. An install that worked before is unchanged: the step only runs when commands is present.
  • DigitalMate's repository is private: installing it needs read access, and its page links there.
  • DigitalMate's task deadline is a fixed 600 s.
  • Undone by a revert; existing installs are not touched (the install folder is keyed by the definition's digest).

DigitalMate's latest release, run unpatched as its Personal Agent service
with its bundled WorkSwarm runtime. It offers agent.task/v1, proven 3/3
with Muse Spark Contributor in a container. The adapter's tests join the
backend suite and stand in for websockets, which that suite does not have.
…ages

An agent's or capability's install block may list commands, run last in
the install folder ({install}) under the same lock and marker. DigitalMate
uses them to add its service package and run its release's runtime
installer, so a Run installs it like any other agent and the hand-run
prepare.py is gone. The task port is proven again on that install.
@github-actions

This comment has been minimized.

aitianshi added a commit that referenced this pull request Nov 23, 2026
…ter and split the trace reader (#290)

Closes #289

## What

Reorganises code without changing what it does; the few differences are
under Risk. Four parts:

- **The standard.** The 36 modules of `app/nullius/standard/` move from
one folder into eight, one per purpose; `cli.py` and `kits/` stay at the
top. No module is renamed. Every import, the wheel's package list, the
docs, the skills and `AGENTS.md` follow. `test_layering.StandardFolders`
keeps a new module out of the top of the package and keeps the folders
importing one way.
- **`nullius/ondisk.py`** (54 lines): a file written whole then renamed
into place, a file lock, a sha256. It replaces the hand-written copies
in 13 modules, four of which used one fixed temporary name that two
writers at once collided on.
- **The trace reader.** `traces/trace.py` (1,447 lines) becomes `spans`,
`fold`, `breakdown`, `waterfall` and `trace`, its code moved whole.
- **Routes.** The loopback-client guard sits beside the form-token guard
(`shared._local_client`), and `execute.begin` checks and starts plans
for the builder's Run, the Agents page's check and the Benchmarks page's
proof.
- **What follows the moves.** OSWorld1's driver asks the package for its
folder, where it counted folders up from a file that moved. The check of
an environment's `network` field moves beside the other field checks in
`definitions`, so no two folders import each other. The field contract
pins the moved classes under their new modules, with the same fields.
`NoFlask` moves from `test_charts.py` to `test_layering.py`, and
`test_trace.py` uses the builders `tracedata.py` already had.

Why now: `main` gained five loose modules in the standard in five days,
and #282, #283, #284 and #286 are built on this layout.

## Touches

backend · routes · the standard · catalogue (drivers' import lines) ·
docs and skills (paths) · CI (one import line in `docker-tests.yml`, the
judge's path floor, the wheel's package list) · templates and static
(four comments that name a moved module)

## Before and after

Nothing visible changes. Of 450 pages fetched from this branch and from
`main` over the same jobs, 442 are identical and 8 differ only by a
moved address: seven kit pages print their driver's source, and one is a
stylesheet comment.

Before: 36 modules, `cli.py` and `kits/` in one folder. After:

```
app/nullius/standard/
  cli.py  kits/
  contract/      ports  names  definitions  match
  requirements/  install  hostreq  network_requirements
  protocols/     acp  jsonl  cancellation  computer_port  computer_pipe
  calls/         relay  ledger
  backends/      container  boat  setup_container  forward  egress  mcp_machine  mcp_bridge  web_services
  runner/        run  job  pace  retries  shard  merge  payload  boat_units
  proofs/        conform  fidelity  prove  pins
  pages/         recipe  howto
```

## Verified

- Backend suite 3,146 tests and route suite 715: pass. The docker tier's
11 modules (388 tests) pass with real containers.
- The wheel builds with the eight folders in it and
`app/packaging/verify.py` passes.
- The tests `main` had when the modules moved are the same cases after:
same ids and outcomes, each function compared by syntax tree, the same
planted faults failing the same tests. Each later merge of `main` was
checked file by file against `main`'s own change.
- The upstream-gated OSWorld1 tests, skipped in CI, run by hand with the
upstream present: 13 of 14, as on `main`.
- Real runs on `meta/muse-spark-1.3-contributor` through OpenRouter,
agents in containers: the reference agent, Goose and OpenCode on GSM8K,
HumanEval and τ³-bench, two shards and their merge, a recipe started
from Review, the conformance kits. 36 trials, all pass. Mem0 on LoCoMo
scores here as on `main`.
- Against `main` on those runs' output: the trace reader gives the same
result on 1,212 views of 42 traces, and 21 commands of the CLI that call
no model print the same.
- Four independent reviews of the diff; each finding is fixed with a
test that fails on the old code.

## Risk

- **Import addresses change, with no aliases**:
`nullius.standard.<module>` is now `nullius.standard.<folder>.<module>`.
A catalogue entry copied into user storage before this (a proof makes
such a copy) keeps the old address and stops loading; *Use bundled
entry* on its page restores it. Release v0.1.1 ships HumanEval's and
τ³-bench's drivers with the old addresses.
- **Open branches.** #282, #283, #284 and #286 already sit on this
branch. Any other branch that touches `app/nullius/standard/` (#288)
follows after whichever lands first.
- **Permissions under an unusual umask.** With a umask that removes the
owner's write bit, the constraints store, a Harbor entry and a judgement
are written `0600` where `main` gave `0400`.
- **Temporary files** are named `.<random>.part`, one per write, and a
failed write removes its own.
- **The Agents page's check and the Benchmarks page's proof** now refuse
a run still going under the same name, as the builder's Run did.
- **A trace's `producer`** reads `app/nullius/standard/runner/job.py`.
Nothing reads the value.
- **The judge** floors merge risk at severe: one import line changes in
a workflow.

Undone by reverting the squash commit; branches built on the layout
would then move their imports back.
@github-actions

Copy link
Copy Markdown

🟡 PR judge · 7 of 7 yes · #288 ↔ #287

Merge risk 🔴 MAJOR the judge's reading of the diff; app/nullius/standard/contract/definitions.py is in the path of every run
Priority 🔴 EXTREME the deepest path is app/nullius/standard/contract/definitions.py
Question Verdict
Changes do what the issue asks · 7 of 7 criteria ✅ yes
Issue and pull request describe the same change ✅ yes
Description matches the diff, no more, no less ✅ yes
Diff stays in scope ✅ yes
Tests cover the change, or Verified says how ✅ yes
Docs follow the change ✅ yes
Risk named in the description ✅ yes
Before and after shown –
Acceptance criteria, 7 of 7 met
# Criterion Verdict
1 install.commands is checked by the definition checker: a non-empty list of argv lists, plain words, only the `{instal… ✅ met
2 the commands run after every other install step, in the install folder, and a failed one leaves no .installed marker ✅ met
3 docs/standard.md lists commands in the install table ✅ met
4 app/nullius/catalogue/agents/digitalmate/ pins v0.1.12 by commit and installs it through install.commands, with n… ✅ met
5 the adapter carries no upstream code and no patch ✅ met
6 agent.task/v1 is proven for DigitalMate 0.1.12 on the container backend ✅ met
7 the agent's generated docs page and the Supported list are current ✅ met
Checks the script runs itself, 4 of 4 pass
No machine attribution trailer in the commits or the description ✓
New code under app/, docs/, .github/ or .claude/ ✓
No Flask import under the backend package ✓
No key-shaped string in the diff ✓

some of the diff was cut before the judge read it

@aitianshi
aitianshi merged commit e6be843 into main Nov 23, 2026
2 checks passed
@aitianshi
aitianshi deleted the feat/digitalmate-v0.1.12 branch November 23, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standard: run an upstream's own install steps, and add DigitalMate v0.1.12

1 participant