Skip to content

Releases

v1.7.1

Choose a tag to compare

@damson damson released this 12 Oct 22:30
1d22056

A fix release. The file that records which skill bundles are installed could
not notice one being updated, which is the single thing it exists to show.

Changes

  • The lock's fallback stamp reads the newest file at or just inside a skill's
    directory
    (#117), which is what the staleness check has read since it was
    fixed for the same reason. This was the one place that fix had not reached.
    A directory's own date does not move when a file inside it is overwritten, so
    a bundle refreshed minutes ago used to read in the lock exactly like one the
    vendor had abandoned.

    The directory's date remains the floor rather than a fallback: removing or
    renaming an entry moves the directory and no file, so a files-only maximum
    would call a bundle that lost a skill untouched. A test now retires a skill
    and asserts the stamp moves anyway.

    The bound on how deep this looks is unchanged at two levels, and its cost is
    now stated where it is set: a refresh touching only a file three or more
    levels down is invisible to it.

  • A comment about skill-name clashes is softened (#117). Resolution is by
    source priority, so a local personal or project skill can take a name from a
    bundled or built-in command rather than always losing it.

  • The pull-request gate runs v1.7.0 (#115), opened by the pin watcher on
    the previous release rather than by hand. That was the automation's first
    working cycle, after two releases where it reported success having changed
    nothing.

Notes for consumers

v1 now points here. The action's inputs and outputs are unchanged.

One behaviour change worth knowing if you commit a lock file: an entry whose
skill carries no last-updated and no version in its SKILL.md will move
the first time this version writes it, because the date it reports is now a
different and more accurate one. That is a one-off, not drift.

v1.7.0

Choose a tag to compare

@damson damson released this 11 Oct 22:43
1a2ce08

This release is mostly about failures that used to look like successes: an
ageing skill bundle reporting itself as installed, a model call failing without
saying why, a coverage number no test could move, and a pin-bumping job that
announced it was up to date on every release while changing nothing.

Changes

  • An installed skill bundle can be refreshed, and its age is reported
    (#105). --refresh re-runs an installer the registry already lists,
    --lock writes config/external-skills.lock so drift shows up as a diff,
    and an install past EXTERNAL_SKILLS_STALE_DAYS (30 by default) reports as
    stale rather than installed. Age is read from the newest file at or just
    inside the probe, not the probe's own mtime, because a directory's mtime does
    not move when an installer rewrites a file inside it, and a bundle refreshed
    minutes ago would otherwise report stale for ever.
  • A failed model call says why it failed (#111). The scoring engine
    captured the CLI's stdout, printed only stderr, and discarded the rest. It
    now reports the exit status, both streams bounded to one line each, and says
    explicitly when the call wrote nothing. The first run after this landed named
    a cause that six earlier runs had not.
  • The pull-request gate's pin automation works (#112, #113). Its preflight
    asked whether a token existed rather than what it could do, so a read-only
    token passed and the job died at the push on a 403 naming no permission; it
    now checks authentication, write access and, where a token publishes them,
    its scopes. And each trigger resolves the release it actually knows about:
    the push resolves the release tagging the promoted commit, the release event
    carries its own tag, and the weekly run falls back to the newest release.
    Previously all three asked for the newest release, which on a promotion is
    the one before it.
  • Coverage measures the shell, not the programs embedded in it (#108,
    #109). An awk or jq program inside a literal reads as bash that never
    ran, and no test can move it. Both are marked now, and an end marker that sat
    one line too low, taking the statement that decides a function's failure path
    out of the report, is back inside its literal.
  • Smaller corrections (#106, #108): what a skill's frontmatter name:
    actually controls, with a false attribution removed, and a documentation
    table that still described an ageing install as "counted as installed".

Notes for consumers

v1 now points here. The action's inputs and outputs are unchanged, so a
consumer pinned to v1 or to a version tag needs no edit. A failed scoring run
is more verbose than before, by design: it now names the exit status and what
the CLI wrote.

Known limitation

The lock's fallback stamp still reads a directory mtime, which a refresh in
place does not move, so a refreshed bundle with no last-updated or version
in its SKILL.md reads in the lock like one the vendor has abandoned. Tracked
in #114.

v1.6.0

Choose a tag to compare

@damson damson released this 24 Sep 00:45
95b36c3

The tool that grades instruction files now grades this repository's own on the
way in, using the published release rather than the tree under review, and the
pin naming that release has something watching it.

Changes

  • Every pull request is scored by the shipped action (#96). The job uses a
    pinned released version, not ./, because running the tree under review would
    hand an API key to code the pull request itself wrote. A second job scores
    with the merged tree, and only on the push to develop, where the code has
    already been reviewed. The paths list is written out twice on purpose: GitHub
    Actions rejects YAML anchors, and a test asserts the two copies stay identical.
  • A release opens the pull request that moves the gate's pin (#97), on the
    push to main, on a published release, and weekly as a net. It opens with a
    person's token: a pull request GitHub attributes to Actions raises no
    pull_request runs at all, so one opened with GITHUB_TOKEN can never
    satisfy a required check and stays unmergeable forever.
  • Two rules the coverage number and the rubric hid (#99). An embedded awk
    or jq program reads as uncovered bash and no test moves it: the deduction
    rule took lib/scoring.sh from 92% to 61% while seven tests exercised the
    function around it. And the README described a calibration gate that does not
    exist, a fixed twelve-point spread, where the script checks three separate
    thresholds.

Known limitation

The pin watcher does not work yet, and this release is what proved it. Two
reasons, both in #101:
the push trigger resolves its target from releases/latest rather than from the
pushed commit, so it no-ops on every promotion, and the token it pushes with is
documented without the Workflows permission GitHub requires to write a file
under .github/workflows/. Until both are fixed, check the pin with just gate-pin-preview and move it by
running bin/bump-gate-pin.sh locally.

Notes for consumers

v1 now points here. The action's inputs and outputs are unchanged, so a
consumer pinned to v1 or to a version tag needs no edit.

v1.5.0

Choose a tag to compare

@damson damson released this 23 Sep 04:06
e83365d

The score is no longer a judgement the model makes in one pass. It reports what
is wrong; the harness does the arithmetic.

Changes

  • Scores are computed from findings (#92). Each finding carries one
    dimension and a severity, and derive_scores in lib/scoring.sh turns the
    list into the five numbers, so a score the findings do not support is
    overwritten and the run says so. Majors dominate the ladder and the cap is per
    dimension: a gentler rule made the numbers stable by making them blind, and
    scored this repo's own degraded example a B.
  • just calibrate answers the question stability alone cannot. It scores
    the pair this repo ships, workspace/backend-node/CLAUDE.md and
    evals/examples/degraded.md, and fails unless the good one stays at 20 or
    better, the rotted one at 16 or worse, and the gap is at least 6. On this
    release: 24/25 against 11/25, a gap of 13. Two model calls, so it runs by
    hand; the arithmetic half runs in CI over synthetic findings.
  • Every record carries the rubric that judged it. rubric_version is
    stamped by the harness, never asked of the model, and just benchmark shows
    it as a column. The version belongs to the prompt, so evals/run-eval.sh
    declares 2 while the unchanged skill rubric stays at 1.
  • A reply that cannot be written is kept. The result is built in a temp file
    and moved into place only once every step has succeeded. Writing straight to
    it truncated it first, so a failure left a 0-byte result, no copy of the
    reply, and a run that reported success.
  • Completeness is judged against the scope a stack sets for itself, so a
    file about a repository's workflow is not marked down for omitting a build
    command it was never about.
  • The benchmark automation can deliver its own output (#94). It publishes as
    a person, because a pull request GitHub attributes to Actions raises no checks
    and this repo requires two, and its standing branch is rebuilt from develop
    each cycle rather than re-listing records already merged.
  • The identity templates ask better questions (#87), and three sets of score
    records are now in git (#89, #91, #93), including the first under the new
    rubric.

Notes for consumers

v1 now points here. The action's inputs and outputs are unchanged, so a
consumer pinned to v1 or to a tag needs no edit. Results gain two fields,
severity on each finding and rubric_version on the record, both additive.

Scores from this release are not comparable with earlier ones. The rubric
column exists to show that rather than hide it, and the first records under it
read lower: mobile 23 A to 17 C, web-react 22 B to 18 C, on files that did
not change.

The suite is 377 tests, from 321. Coverage is 93.12%, from 94.16%: most of that
gap was mismeasurement, fixed in #95 by marking the deduction rule's jq the way
this repo already marks its awk, and the remainder is new shell in
bin/calibrate-rubric.sh the suite does not reach yet.

Since v1.4.0.

v1.4.0

Choose a tag to compare

@damson damson released this 17 Sep 18:33
8773c42

The harness now scores its own config, on its own, and keeps the scores.

Changes

  • The published action runs on this repository too (#82). A pull request
    that touches CLAUDE.md or the scoring machinery is graded by the released
    action, pinned by commit; the merged tree is graded by uses: ./ once it
    reaches develop. Every bats test of that action stubs the Claude CLI, so
    this is the only place the install step, the live model call and the job
    summary run for real. The split is a security property: uses: ./ executes
    the checked-out tree, and running that on a pull request would hand
    ANTHROPIC_API_KEY to code the pull request author wrote.
  • Scores accumulate instead of evaporating (#83). A push to develop that
    changes a scored file, the registry or the rubric scores every registered
    domain, and bin/open-benchmark-pr.sh puts the records on a standing branch
    behind one pull request that refreshes rather than reopens. It never merges:
    keeping a measurement in the history stays a human decision. just benchmark-pr and just benchmark-pr-preview drive it by hand.
  • A shipped template is scored on its prompts, not its blanks (#84). A
    domain can carry a template flag as a fourth field in config/domains.conf,
    and the evaluator is told out of band, because a file that could declare
    itself a template would be able to talk its way out of the rubric. The
    user-pers identity files moved from a permanent D to 20 and 21 out of 25
    across two runs, with findings about the questions rather than the gaps.
  • Two silent behaviours now speak (#85). sync-back skipped files for three
    distinct reasons and printed none of them, because its caller repeated the
    same checks first. check-health treated a real file sitting where a managed
    symlink belongs as a warning, so a run could print that warning and "All
    systems nominal" together and exit 0; it now fails, because that state means
    none of this repo's config is in effect for that file.

Notes for consumers

v1 now points here. Nothing in the action's inputs or outputs changed, so a
consumer pinned to v1 or to a tag needs no edit; the two new workflows are
this repository's own and are not part of the action.

Coverage is 94.16%, from 92.46%. The suite is 355 tests, from 321. One
measurement caveat is now documented in .github/workflows/coverage.yml: kcov
reports the first line of a multi-line command substitution as never executed,
nine out of nine times in this tree, so a statement kept on one line is a
truthful measurement and not a style choice.

Since v1.3.3.

v1.3.3

Choose a tag to compare

@damson damson released this 09 Sep 02:35
3978d1c

Documentation only. No script, workflow or test changed.

Changes

  • How to read Codecov's per-line report (#80). The instructions said where
    to fetch per-file coverage but not how to read what comes back, and the
    obvious reading is inverted: line_coverage encodes 0 as a hit and 1 as a
    miss
    , so filtering for the zeroes returns the covered lines while looking
    exactly like a miss list. They now say so, and name the address form that
    answers at all (file_report/<url-encoded path>?branch=<b>, which 404s with a
    trailing slash on a path the branch report has just listed).

Known follow-up: Codecov also encodes 2 as a partial. This repository records
no partials today (lib/common.sh returns {0: 100, 1: 6} with partials: 0),
so the note was left as it is rather than adding a commit to a promotion.

Since v1.3.2.

v1.3.2

Choose a tag to compare

@damson damson released this 08 Sep 18:37
7210527

A patch release. action.yml is untouched, so the interface is unchanged for
anyone pinned to @v1, and the fix below is the reason to take it.

The benchmark report no longer disappears on one bad file (#76)

benchmarks/report.sh read every score file through a single jq invocation.
jq aborts at the first file it cannot parse, and find hands files over in
directory order, so one corrupt record silently swallowed every valid record
positioned behind it. Under set -e the same failure killed the script at the
assignment, so the command exited 1 having printed nothing at all, and the
report's own "No valid score files found" message could never be reached.

It now reads one file per invocation and tolerates the failure, which confines
the damage to the file that earned it. Both halves were seen failing against the
unfixed script before the fix went in.

The same release covers six untested paths in bin/marketplaces.sh, one of
which reported success after scoring nothing.

Coverage measures bash, not the awk embedded in it (#75)

kcov counts every line of a multi-line literal as a statement, so an embedded
awk program or a long array of regexes was recorded as untested for as long as
it existed, and no test could move it. lib/common.sh read 57.9% with all 75 of
its missed lines inside awk programs, which sent a reader looking for gaps
that were not there.

Those regions now carry the ignore markers the coverage job already honours:

Lines    1309 → 1208    -101
Hits     1104 → 1101      -3
Misses    205 →  107     -98

101 lines left the denominator and 3 of them were lines a test had ever reached.
Project coverage reads 91.14% rather than 84.33%, for the same suite.

What an automated PR's empty failed runs actually are (#74)

The documentation said such a run is held for approval and that approving
releases it. It is not, and approving does nothing. Every one of the seventeen
automated release and back-merge pull requests this repository has opened
received its pull_request runs, so the GITHUB_TOKEN suppression rule never
applied here; eight of the runs failed at startup with zero jobs, and none
reported action_required at any point.

The docs now say that, name the status field as the check to run first, and
state what is still unknown: four runs carrying the same bot actor started and
passed, with no configuration difference from the eight that did not. The claim
was also asserted in a test and in the back-merge PR's own body, both corrected.

Pull request summaries are two or three sentences (#78)

The template asked for three to five and reliably got a paragraph. It now asks
for two or three, says where the detail belongs, and rules out adding a second
shorter summary above the first.

Where per-file coverage comes from (#73)

kcov traces no bash on macOS, so there is no local number to read and the stored
baseline artifact can be weeks stale while reading as current. The instruction
file names Codecov's public API for the branch instead.

v1.3.1

Choose a tag to compare

@damson damson released this 07 Sep 15:04
a09adb7

A patch release: action.yml is untouched, so nothing changes for consumers
pinned to @v1. One behaviour does change for anyone sourcing lib/common.sh
directly, and it is the point of the release.

The registry readers stop answering from a file they never read (#69)

Every reader in the shared library is guard | awk, and a pipeline reports the
status of its last command. The guard therefore printed its message from the
left-hand subshell while the reader exited 0 with no output: a caller looping
over the result iterated nothing, and nothing said so. Six functions were
affected in two shapes, the ones that pipe directly and three wrappers that
pipe again around an already-guarded reader, where head -1 and grep -qx
turned the failure back into a success or into "no such domain" from a registry
that was never opened. A missing registry is now an error at the call site.

list_skill_dirs also emitted a grouped skill as group//first, a path that
resolves but never string-matches the same tree walked with find, which is how
the test helper walks it while telling the reader to keep the two in step.

Both were run red against the unfixed code first, and a control test asserts the
readers still answer correctly when the registry is present, so a guard that
rejected everything could not have passed.

The release PR is prepared on a merge, not a timer (#70, #72)

The Monday schedule that opens the standing release PR fired five and a half
hours late, and four hours past due the repository had recorded no scheduled run
of any workflow at all. A delay that size is a loss for a standing PR, so the
workflow now runs on every push to develop; the cron stays as a net for a week
with no merges, at :17 rather than :00.

Refreshing that often is safe only because a refresh no longer regenerates the
description. It replaces the block below ## 📦 What is in this batch and
carries everything above it across, so the summary and the before/after diagram
survive. A description hand-rewritten with no such heading is kept whole and the
block appended.

The PR is opened with a fine-grained token rather than GITHUB_TOKEN, and a
step asserts the secret is present before the script runs so an expired token
fails loudly. The reason is review rather than CI: the release PR the delayed
timer opened had its CI and coverage runs execute normally and Codecov measure
it, while the review tool skipped it for being bot-authored and said nothing
about skipping, leaving a full row of green checks and no review at all.

The deploy-key audit pages, and says what the bypass covers (#67, #68)

The develop ruleset names a deploy key as a bypass actor and GitHub stores
that entry with actor_id: null, so it reads as any write-capable deploy key
on the repository. The command written to check that set did not paginate: a
writable key past the first thirty would have been invisible to the audit meant
to find it.

Also

The library's untested surface is now tested, including the two roots, the ~
expansion in a probe path, and the agreement between list_skill_dirs and the
walk the test helper does by hand. 288 tests at the last release, 312 now.

Full inventory: #71.

v1.3.0

Choose a tag to compare

@damson damson released this 05 Sep 03:02
56c1a0c

A minor rather than a patch: action.yml is untouched, so nothing changes for
consumers pinned to @v1, but bin/open-backmerge-pr.sh is renamed to
bin/backmerge.sh and its behaviour changes, which matters to anyone calling it
by path rather than through just backmerge.

The post-release back-merge is a fast-forward (#64)

Every back-merge this repository had done was a pure fast-forward carrying an
empty diff: four for four. Delivering that through a pull request bought nothing
and cost a merge commit on develop per release, plus two workflow runs per
release that GitHub held for approval, never ran, and recorded as failures.
Those runs were misdiagnosed three separate times before anyone read the actor
on them.

bin/backmerge.sh pushes instead. It opens a pull request only when a
fast-forward is impossible, which means develop has moved on since the release
and levelling the two needs a merge commit somebody authors. A hotfix that landed
on main rides in either path and is named in the output rather than carried
silently.

The push uses a deploy key scoped to this repository, stored as
BACKMERGE_DEPLOY_KEY and named as a bypass actor on develop's ruleset.
GitHub only accepts the Actions app as a bypass actor inside an organisation, and
a deploy key is narrower than a personal access token.

With no routine back-merge pull request there is nothing to exempt, so the
coverage skip and the CodeRabbit title skip are both deleted along with the
comments that justified them.

Four checks that could report success without measuring

  • The secret linter's allowlist disagreed with the scan it was exempting, in
    two independent ways: a sed global substitution consumed the boundary
    character so two adjacent fake values left the second unscrubbed, and the scrub
    was case-sensitive while the scan was not. Either could block a
    documentation-only change over values the linter had been told to ignore
    (#56, #63).
  • The stale-skill prune in setup.sh matched readlink's raw string against
    one literal prefix, so a dangling link that resolves into the owned tree
    without being spelled that way, stored relative or reached through another
    symlink, was never removed. Both ends now share one ownership predicate (#57).
  • The kcov cache key ended in a hand-written image codename that cannot
    change when the runner image does, and a cache hit was accepted on nothing more
    than an executable file existing. The key is derived now, a hit is verified by
    running it, the build deps go through the bounded apt wrapper, and the source
    is pinned by commit rather than by a checksum of an on-demand archive (#60).
  • The coverage comment gave up when its input sat one directory down, stripped
    a path prefix that is wrong in any consumer, and could fail to find a comment
    it had written itself when the repository had more than one page of them (#61).

The prompt-injection defence says something true (#65)

Both eval prompts told the evaluator the scored-content token was "stated above".
It is appended below. Nothing scored wrongly, but that sentence is the one the
defence rests on: it is how the evaluator tells the harness's marker from one a
scored file wrote for itself.

Also

ShellCheck now covers .github/*.sh, previously the only scripts in the
repository nothing linted, and they run on every coverage job.

Every fix in this batch was run red against the unfixed code first, and several
carry a control test that passes before and after, to catch a fix that works by
doing nothing.

Full inventory: #66.

v1.2.2

Choose a tag to compare

@damson damson released this 05 Sep 01:30
f81f98a

Coverage reporting tells the truth about what it measured

The delta names the branch it was measured against. The coverage comment
captioned every delta "vs develop" as fixed text. A consumer whose release pull
request targets main gets a figure measured against main and a caption
claiming develop: the number right and the sentence around it wrong, which is
the harder failure to spot because the sentence is the part people read. The
label now comes from GITHUB_BASE_REF, and says "the base branch" when there
is no pull request. No new flag and no caller change.

kcov no longer counts awk and jq source as uncovered bash. kcov's bash
parser treats the body of a multi-line awk or jq program as bash lines,
which nothing can ever mark hit, because another interpreter runs them. They
reported as permanently uncovered code no test could reach. The three quoted
programs in bin/post-coverage-comment.sh are marked as kcov-ignore regions
and the workflow honours them: 13 phantom lines gone, coverage 82.99% to
83.85%, with hits unchanged, which is the signature of removing unreachable
lines rather than gaming the figure.

Consumers pinning v1 move with this automatically. Anything pinning an exact
tag needs a bump to see either change.