Repository navigation
Releases
Releases · BargLabs/dunstan
Dunstan 0.1.26
- Published with no stored token. The
dunstanpackage is published to npm through a trusted
publisher: npm accepts the Release workflow's OIDC token from BargLabs/dunstan in place of a
stored token, and the package carries the same provenance attestation as before. The checker,
the records and the verdicts are the same as 0.1.25's, apart from the version.
Dunstan 0.1.25
- Test paths (DRAFT 0.2.0, spec D.14). Tell the checker which files you count as tests:
dunstan check --test-paths <pattern>(once per pattern), the Action'stest-pathsinput (one
per line) or the MCP tool'stestPaths. Each changed test file is listed beside the verdict as
context, never in it, and the record, a DRAFT one, keeps the patterns. They are never read from
the repository.*_test.gomatches a file name in any directory;src/**/*.test.tsthe whole
path. - Proposed patterns, for you to accept.
dunstan initprints your test runners' default
patterns fortest-paths. The MCP tool asks the calling model to pass only patterns you
accepted.dunstan-eval propose-test-pathsasks a model on your own machine (an
Ollama-compatible server on a loopback address; any other is refused) from the tracked file
paths, never their contents, and lists the top-level directories its patterns leave uncovered. - Cases. The "Bring a pull request you don't trust" form promises a reply within a week.
Dunstan 0.1.24
- Each verdict says what it does not show (spec 8.2). The table, the MCP tool and the Action
summary print one line beside the verdict: apassshows that the record agrees with every claim
the block declares, not that the change is correct or that the tests are the right ones. No
record or verdict changes. - A changed workflow is printed as context (spec 8.3). A pull request that changes a file under
.github/workflows/can change what its own check runs and test records show, so each one it
changes is listed beside the verdict, never in it. Worked out from the file list the record
already holds; no record changes. - Test counts at the base commit (
--base-tests, DRAFT 0.2.0, spec D.13). Withdunstan check --base-tests, or the Action'sbase-tests: true, the checker also reads each declaredjunit
record's counts, with skipped test cases, at the pull request's base commit, and prints them
beside the head's, saying when skipped tests rose or executed tests fell. The record is a DRAFT
record with anevidence.baseline; the verdict is unchanged. dunstan initsays whether a base commit gets a test record. For each job that runs the
tests it reads the workflow'son:and says whether a push to the default branch runs it, and
where not, prints the trigger to add. It still never edits a workflow.docs/init.md.cases/. Real pull requests with the report checked and the records written; CI holds the
README's claims about them to their records. Cases from other repositories are published
anonymised; bring one with the "Bring a pull request you don't trust" issue form.
Dunstan 0.1.23
dunstan initsets a repository up (npx -y dunstan init). It prints, and with--write
writes, only where Dunstan is not yet: the gate (the Action's workflow pinned to its release
commit, or on GitLab the include of the CI/CD component), the agent instructions inAGENTS.md
(andCLAUDE.mdand.github/copilot-instructions.mdwhere they exist), and a Handback section
in the pull or merge request template. It never edits a workflow or CI configuration file: for
each job that runs the tests, read through package scripts, Makefile, just, Taskfile, nox, tox,
shell scripts and workspace runners, it prints what to add so CI publishes the JUnit record, and
the--tests-ciline to declare it, matrix legs included.docs/init.md.- The GitLab profile 0.1 is normative (spec 0.1.13). The operator ruled on the draft's open
questions as the checker already behaves; no verdict changes. A GitLab record is now
record/v0.1-gitlabwithspec0.1.13-gitlab-0.1; a record written while the profile was a
DRAFT still verifies. - Survey 0.1 is no longer DRAFT. A survey record's format is
dunstan-survey-0.1; one written
underdunstan-survey-0.1-draftstill verifies.
Dunstan 0.1.22
- A re-run test job's record is read (spec 0.1.12). When a workflow run's test job is re-run,
GitHub lists one artifact of the record's name per attempt. Checker 0.1.21 read any run that
listed two asunreadable, so the test claim's count rows wereunverifiable
(source_unreadable:artifact) even though only one artifact was the latest attempt's. The
checker now applies section 7.5's latest-attempt window first and reads the one artifact inside
it. Two artifacts inside the window, or an artifact with no creation time, are still
unreadable. Section 7.5 now states both rules. Section 17 records the observation that the
listing keeps an earlier attempt's artifact, which 0.1.8 had left open. No other row changes. - Red-first runs are no longer read as failing tests (advisory extractor 0.1.5). With
dunstan suggest,dunstan_suggest_declarationsorcheck --advisory, a failure narrated by a red-first run ("red first", "the red
commit"), a mutated guard, or the old or unmodified code no longer proposes a false
tests_passed, check result or test count, including when the narration is its own label or the
heading of the section the failure sits in. A pass in such a section is still read. Advisories are
never part of the verdict, and no figure is published for 0.1.5 yet, so it reads as "unmeasured".
Dunstan 0.1.21
- The plugin asks for an optional GitLab token. Beside the GitHub token, Claude Code now asks
forgitlab_token: a GitLab access token with theread_apiscope only, kept in your system's
secure credential store and passed to the server asGITLAB_TOKEN. Dunstan sends it only to the
GitLab host a check names, and never sends either token to the other forge. Without it a GitLab
check reads anonymously, and a tests claim on GitLab stays unverifiable, because GitLab's
anonymous project read leaves out the CI configuration file. Nothing else in the checker changes.
Dunstan 0.1.20
- The MCP tools check GitLab merge requests (DRAFT GitLab profile 0.1).
dunstan_check_handback
takes a GitLab subject,gitlabProjectandmergeRequest(withgitlabHostoff gitlab.com), in
place ofrepositoryandpullRequest, and reads it withGITLAB_TOKEN. On the same evidence it
gives the same claims, verdict and digests asdunstan check --gitlab-project. A call that names
both subjects, neither, or part of one is refused before anything is read. - The template declares GitLab CI test counts.
dunstan template --tests-ci --gitlab-project <path> --mr <iid>anddunstan_template_handbackwithtests.from: "ci"read the counts from
the JUnit file in a job's artifacts archive, with the reader the check uses. When the record cannot
be read, the block declares no tests and the note gives the check's reason. A tests claim on
GitLab needsGITLAB_TOKEN, even on a public project. - GitLab output speaks GitLab. On a GitLab record the claims table names the merge request
<project>!<iid>and a description report "merge request description", and its remedy lines name
jobs, pipelines andGITLAB_TOKEN. Records are unchanged, and every GitHub table is byte-identical
to 0.1.19.
Dunstan 0.1.19
- The CLI takes check-run and job ids of any length.
--exclude-check-runand
--exclude-gitlab-jobaccepted at most ten digits, but GitHub check-run ids and GitLab job ids are
already longer (12 and 11 digits), so excluding the checker's own run was refused with a usage
error. They now take any positive integer up to 9007199254740991, the largest a record holds
exactly; a larger value is refused, never rounded. No verdict changes.
Dunstan 0.1.18
- A cited commit only has to exist (spec 0.1.11). A
citesreference to a commit now passes
when the commit exists in the repository, whether or not the pull request's head reaches it. A
commit that landed on the base branch after the branch was made, or one on another branch, is a
true citation, and 0.1.17 failed it withnot_reachable. Whether the head reaches the commit is
still read and recorded; it decides nothing. A commit that does not exist still fails with
not_found. Every other verdict is unchanged, and no request is added.
Dunstan 0.1.16
dunstan_template_handback, a third MCP tool. It isdunstan templatefor an agent with no
shell. Give it the absolute path of the checkout (directory) and the base branch (base). With
tests.from: "ci", once CI has finished on the last push, it declares the test counts from the
JUnit record CI published, read as the check reads them. When those counts do not settle, it
returns the block without tests and says why, and the skill tells Claude never to fill them in by
hand.tests.from: "local"declares a local run. The block is byte for byte what the CLI prints:
docs/mcp.md.