A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live
I0826
bench --check refuses a regression by policy
Where it stands
devtask.issueMoves
plan.transitionWhat it is
- Objective
- Compare a fresh run against the baseline under the policy's benchmark.regression thresholds (relative p50, p95, p99) and exit non-zero naming the command, the metric, both values and the threshold.
- Why
- Without a gate the next slow validator arrives unnoticed, exactly as the current ones did.
- Now
- No comparison exists.
- Wanted
- Deterministic report: metric, baseline, current, absolute and relative delta, threshold, result; incompatible baselines are reported as not comparable rather than as a number.
- Done when
- unknown: the record declares no `completion`
- Risk
- Thresholds live in the policy and are read like every other policy key: declared, no reader-side default.
Acceptance
- A baseline edited to make the current run a regression makes the check exit non-zero with the named metric
- A compatible run within thresholds passes
- A baseline with another schema version is not comparable
- Validation
bash test/run.sh 82_bench_check- Evidence required
regression_refused- Evidence present
regression_refused
Scope
- Touches
lib/bench.shshare/allow/policy.txtshare/skeleton/policy.yaml.ai/repo/policy.yamltest/cases/82_bench_check.sh- Not
Significance testing- Depends on
- Priority
- p0
- Profile
- implementation
- Parallel safe
- false
- Owner
- unknown: the record declares no `owner`
The work so far
- Branches
- none
- Merged
- none
- Commits
0- Trunk
- master
- Sessions
- none
- Created
- 2026-09-05
- Updated
- 2026-09-05
- Started
- 2026-09-05T03:47:33Z
- Verified
- 2026-09-05T03:47:33Z
- Completed
- 2026-09-05T03:47:33Z
Synchronisation
- Adapter
scripts/github-sync- Repository
- unknown: the derived plan's header carries no repository
- External issue
- unknown: a live GitHub state; this executable makes no network call, so only `scripts/github-sync --check` can answer it
- State there
- unknown: a live GitHub state; this executable makes no network call, so only `scripts/github-sync --check` can answer it
Findings
Nothing is wrong with these records.