Repository navigation
test(standard): consolidate regression coverage across backend and routes - #320
Merged
Merged
Conversation
4 tasks
🟡 PR judge · 4 of 7 yes · #320 ↔ #319
Acceptance criteria, 1 of 4 met
Checks the script runs itself, 4 of 4 pass
some of the diff was cut before the judge read it |
aitianshi
added a commit
that referenced
this pull request
Nov 23, 2026
…MCP fixes sent upstream (#308) Closes #307 ## What DigitalMate gets a second version, `0.1.13-fixes`, beside the unchanged default `0.1.13`: - **Source:** the fork branch `nullius/v0.1.13` at `5a2a3b9f`: the `v0.1.13` release plus two upstream changes, each commit naming its upstream issue or pull request. - Hive project workspace binding: openJiuwen-ai/DigitalMate#699, cherry-picked onto v0.1.13 (prompt-note conflicts resolved; its project note keeps v0.1.13's bash and `deliver_file` guidance). - Operator stdio MCP servers for Bees: issue openJiuwen-ai/DigitalMate#2483, PR openJiuwen-ai/DigitalMate#2484, as revised after DigitalMate's design review (setting `DIGITALMATE_HIVE_HOME_MCP_SERVERS`, fail-closed start-up, ended servers refused before dispatch, Stop cancels a call). The version's `upstream.fixes` lists both, so it can go when a release carries them. No product code is kept in Nullius. - **ACP:** `acp.py` gives each session its own product instance; `run.py --session` binds the session's folder with the product's own `dm_hive_tools.workspace` command and hands the session's stdio MCP servers over in a private, owner-only file. Other MCP transports are refused before a product starts. - **Bee questions in a session:** a Bee's open question is that turn's reply, and the next prompt answers it at the Bee's wait point (as the product's own card does); a one-shot run still fails on a question, as nobody can answer. - **`run.py`:** one start-up (`product`) shared by the one-shot task and the session. The release's one-shot runs bind no project and drop an inherited MCP setting. - **Proofs** follow `main`'s `proofs.json` (#316): both versions' records are there. ## Touches catalogue (DigitalMate entry and proofs, `run`, `gateway`, new `acp`) · docs (generated agent pages, AGENTS.md) · backend tests ## Verified - Install of the fixed version from the fork at `5a2a3b9f`, neutral folder, container backend: complete (13.5 min). - Kits on `digitalmate@0.1.13-fixes` at `5a2a3b9f`, OpenRouter `meta/muse-spark-1.3-contributor`, one at a time: `agent.task/v1` 3/3, `agent.workspace/v1` 2/2, `agent.tools/v1` 2/2 with all three skills (decoys, chain, retry), `agent.conversation/v1` 2/2, `agent.search/v1` 3/3. No personal path in the jobs. - A few units of six benchmarks, one task at a time: | Benchmark | Version | Result | | --- | --- | --- | | GSM8K | 0.1.13 | 3/3 | | Open Telco | 0.1.13 | 2/3 (one stopped on a Bee question, which a one-shot run cannot answer) | | HumanEval | 0.1.13-fixes | 3/3 | | SWE-bench Verified | 0.1.13-fixes | 1/2 | | τ³-bench | 0.1.13-fixes | 2/3 (0/3 before the session answered Bee questions) | | GAIA | 0.1.13-fixes | 0/3 (two "cannot determine"; one ran into DigitalMate's 600 s task limit) | A few units each: these show each benchmark runs end to end, not scores to compare. - Spend: the kit re-runs and benchmarks add up to about 0.59 USD by their records and ledgers; the key's counter rose 0.80 USD over the same window, a gap not attributed (the key is shared). - DigitalMate's side: on the fork branch, its hive-tools, Bee tool/runtime, project workspace and new wiring tests pass but for one that also fails on plain v0.1.13 in the same environment; openJiuwen-ai/DigitalMate#2484's head passes DigitalMate's three architecture gate commands. - Backend suite 2799 tests OK, route suite 612 OK, after merging `main` (#316 moved proofs, #320 consolidated tests). New tests: ACP sessions (one instance per session, turns forwarded as they are, cancellation, stdio MCP rows to a private file removed afterwards, other transports refused, relative cwd refused), the session loop and its conversation, Bee questions answered in a session, the fixed start-up's binding and MCP hand-over, the release's start-up without either, and the fixed version's record. ## Risk - The fixed version installs from a private fork: a machine needs read access to it, and GitHub deletes the fork if access to the upstream is withdrawn. - Its results come from a modified product: it is never the default, and its proofs are its own. - Undone by a revert; the release version and its proofs are unchanged.
aitianshi
added a commit
that referenced
this pull request
Nov 23, 2026
No linked issue: the owner asked for a new release, v0.2.0. ## What Prepares v0.2.0. The version becomes `0.2.0`, a minor bump for the scale of change since v0.1.1: model providers defined once (#148), saved recipes moved to the user data directory (#203), the standard package reorganised (#290, #316), new benchmarks and Boat VMs. `docs/releases/v0.2.0.md` gives the highlights, a Contributors section, the full changelog of the 97 pull requests in `v0.1.1..main` (93 listed, #142, #219, #234 and #320 as test and CI changes) and the installation notes, in the shape of v0.1.1's. Install examples, the release guide, the docs' release-notes link and menu, and the workflows' default tags name 0.2.0. The release tooling does not change. ## Touches CI and skills (the release and publish workflows' default tags) · docs and site ## Verified - Backend suite: 2799 tests in 171 modules, OK. Route suite: 624 tests in 64 modules, OK. - `catalogue_docs.py --write` and `diagrams.py --write` left no change; `readme_media.py --check` is current. - `python3 app/packaging/release.py build --tag v0.2.0` built and verified `nullius_eval-0.2.0-py3-none-any.whl`, `nullius_eval-0.2.0.tar.gz` and `SHA256SUMS`; `release.py verify --tag v0.2.0` and `verify.py` on the wheel passed, including the installed-tool and profile-preservation checks. - The workflows have not run; they run only by hand on `main`. ## Risk Version strings and docs only. A wrong default tag in a workflow is an input the person running it can change, and `release.py` refuses a tag that does not match `pyproject.toml` or has no notes. Nothing is tagged, drafted or published by this change. Undo with a revert.
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.
Closes #319
What
Consolidate related regression cases and remove reviewed redundant or incidental checks across the backend and route suites. Directly declared test methods fall from 3,950 to 3,388 against main at 38235bd, with 3,884 fewer lines across 155 test files. Add a Test design section to
AGENTS.mdcovering meaningful assertions, shared fixtures, exact-text contracts and evidence for removing redundant cases. The final review retained 151 tests, merged 27 cases into existing tests and removed one duplicate.Touches
Tracked tests under
app/tests/andapp/ui_tests/: standard protocols and execution, benchmark adapters, run/trace readers, judge, storage, builder and route rendering.AGENTS.mdadds the agreed test-design guidance. Production code, fixtures, product documentation and workflows are unchanged. Separate untracked audit files are excluded.Verified
test_upstream_untouchedaudit in an untracked file excluded from this PR; all tracked backend modules passed.git diff --checkpasses. Docker tier was not run.Risk
Removing tests can leave regressions undetected even when the remaining suite passes. Earlier coverage review identified newly unexecuted application lines; coverage was not remeasured after the final consolidation/rebase. The focused mutation checks do not establish unchanged suite-wide coverage. Review the deleted cases and replacement assertions before marking ready. Revert the test-cleanup commit to restore the previous coverage.