project-version-baseline
Audit and update the agent-runtime-kit version baseline: check README/harness-shape mirrors against runtime-roots.yaml and nils-cli-pin.yaml, report installed-vs-latest, and guide the codex/claude product-floor bump ceremony.
- License 许可
- MIT
- 最近更新
- 2026-08-29
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- project-version-baseline
- description
- Audit and update the agent-runtime-kit version baseline: check README/harness-shape mirrors against runtime-roots.yaml and nils-cli-pin.yaml, report installed-vs-latest, and guide the codex/claude product-floor bump ceremony.
- allowed-tools
- Bash, Read, Edit
- argument-hint
- [check|report|bump <codex|claude> <version>]
02 资源文件 1
03 SKILL.md 正文
Project Version Baseline
Maintains the agent-runtime-kit "version baseline" — the codex / claude product floors and the nils-cli minimum/validated policy — and keeps every human-facing mirror in sync with its source of truth. Invoke it to answer "is there a newer codex/claude I should bump to?", to diagnose a baseline-audit (Position 14) failure, or to drive a product-floor bump end to end.
Contract
Prereqs:
- Run inside the
agent-runtime-kitgit work tree. python3on PATH. Forreport, optionallynpm(latest-version lookups are best effort and degrade to?when offline).- For a bump: a clean managed worktree (
git-cli worktree add … --kind chore), hostagent-runtimeadmitted by Position 1, and thesemantic-commit/forge-clisurfaces available.
Inputs:
check(default) — deterministic consistency gate.report— advisory installed-vs-latest probe + the gate result.bump <product> <version>— guided product-floor bump (manual edit steps below; the skill does not auto-rewrite files).
Outputs:
check/report: a status table and per-checkok/FAILlines.bump: edits to the product-floor lockstep set, a re-pinned golden if needed, a greenscripts/ci/all.sh, and a filledmin-version-bumpPR body.
Exit codes:
0: gate passed (check) or advisory printed (report).1: drift detected, or a prerequisite is missing.2: usage error.
Failure modes:
- Not inside the git work tree, or
scripts/ci/version-baseline-audit.pyabsent. - A mirror format changed and the audit regex no longer matches (update the audit alongside the doc).
Scripts
- Canonical audit (run from the repo root):
python3 scripts/ci/version-baseline-audit.py [check|report]— the same implementationscripts/ci/all.shPosition 14 runs. - Skill wrapper:
.agents/skills/project-version-baseline/scripts/project-version-baseline.sh [check|report]— a thin delegate to the canonical audit (resolves the repo root viagit rev-parse, so it works from any cwd inside the work tree).
Where the baseline lives (and the update rule)
| Category | Source of truth | Mirrors (kept in sync) | Rule |
|---|---|---|---|
| Product floor (codex / claude) | manifests/runtime-roots.yaml (min_version, recommended_version, min_version_effective_from) |
README.md "Version baseline" table; docs/source/harness-shape-<product>.md "Version Floors" statement |
move in lockstep during a bump |
| nils-cli version policy | docs/source/nils-cli-pin.yaml (minimum_supported_tag, validated_tag) |
README.md row; docs/source/nils-cli-surface.md; minimum/validated lines in each harness-shape doc |
owned by meta:nils-cli-bump; this skill verifies both role mirrors match |
Per-surface min_product |
manifests/surfaces.yaml |
rendered into SUPPORT_MATRIX.md (+ golden); per-surface tables in harness-shape docs |
independent of the floor; moves only when a surface gains a real dependency (see PR #344) — do NOT bulk-move |
| Rendered / golden | manifests/surfaces.yaml + templates |
SUPPORT_MATRIX.md, tests/golden/** |
never hand-edit; regenerated by agent-runtime render |
Workflow
A. "What can be updated?" / audit
python3 scripts/ci/version-baseline-audit.py report— prints floor/installed/latest for codex & claude (verdictcurrent/update available/HOST BELOW FLOOR) and both nils-cli roles, then the consistency gate result. (Or the skill wrapper above from any cwd.)- If the gate reports drift, fix the mirror that disagrees with its source of truth (the table above names the owner), or run a bump (Section B).
B. Product-floor bump ceremony (codex or claude)
Only the product floor moves here. Follow
.github/PULL_REQUEST_TEMPLATE/min-version-bump.md.
- Confirm target:
reportshows the latest stable; the dev host should already run it. - Edit the lockstep set to the new version:
manifests/runtime-roots.yaml—<product>.min_versionandrecommended_version→ new version;min_version_effective_from→ a forward date (~14-day runway from today).README.md"Version baseline" row for the product (value +(effective …)).docs/source/harness-shape-<product>.md"Version Floors" statement (min_version/recommended_versionandmin_version_effective_from).
- Do NOT touch per-surface
min_productinmanifests/surfaces.yaml,SUPPORT_MATRIX.md/ goldens, or the nils-cli policy (those are independent / rendered / owned bymeta:nils-cli-bump). agent-runtime render --product codex && … --product claude && … --target support-matrix, then confirmgit diff -- tests/golden/is clean (a pure floor bump produces no golden churn).bash scripts/ci/all.sh && bash tests/hooks/run.sh— Position 14 must be green (mirrors consistent).- Commit via
semantic-commit(chore(runtime): …) and open the PR viaforge-cli, filling themin-version-bumptemplate (includeagent-runtime doctor --product <product> --suggest-upgradeoutput).
Boundary
Project-local skill. It must not mutate the nils-cli version policy (defer to
meta:nils-cli-bump), per-surface min_product, rendered product output,
golden snapshots, global runtime homes, credentials, sessions, or caches.
04 同仓库更多 Skills
removable-skill
暂无简介
removable-skill
暂无简介
removable-project-skill
Fixture project-local skill used to prove remove-project-skill dry-run coverage.
project-sample-skill
Fixture project-local skill used to prove create-project-skill governance coverage.
project-local-skill
Fixture project-local skill used by runtime-kit project-local smoke checks.
topic-radar
Aggregate read-only AI and technology trend signals (Polymarket, Hacker News, GitHub, arXiv, Hugging Face, news search) into source-grounded Markdown or JSON; the lower-level data engine behind `daily-brief`.