Repository navigation
feat: add a Firstmate skill for sustained metric improvement - #328
Merged
Merged
Conversation
Add .agents/skills/hillclimb for campaigns that push one measurable metric toward a target: fixed stop rule, frozen harness, one hypothesis per attempt, decision log, and preserved experiment branches. Register the load trigger in the agent-only trigger index, the documentation audience inventory, and one AGENTS.md intake line.
dnth
force-pushed
the
fm/fm-hillclimb-skill
branch
from
November 24, 2026 05:27
59606fe to
9ee5a59
Compare
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.
Summary
Adds one agent-only skill that makes metric-improvement work a measured experiment loop, plus its three registration lines.
Ideas are adapted from the Poteto hillclimb playbook, credited once in the skill; the unlicensed source text is not copied.
Evidence
.agents/skills/hillclimb/SKILL.mddid not exist, and neither the trigger index nor the documentation inventory had a hillclimb entry.After:
bash bin/fm-doc-audience-check.shprintsok surfaces=105 local_links=551(ran), and pinned[email protected]with the CI rule set reports0 issues in 3 files(ran).After:
hillclimb-skill-check.pyreports all frontmatter, idea, and template checks passing with0shared word runs of length 7-10 against the source (ran); artifactdata/fm-hillclimb-skill/artifacts/hillclimb-skill-check.txt.bash tests/fm-documentation-audiences.test.shreports 4 of 4 checks ok (ran), covering classification, setup routing, owner pointers, and local links.Checks
20 of 20 checks pass at this head, including Behavior tests (Herdr), which failed once and passed on a single job rerun.
The three pre-existing failures from the earlier base (Behavior portable serial 2, Behavior portable serial 6, and Herdr) are gone after the rebase onto current main.
Merge Danger
Door: two-way. This is prose and classification only; reverting the four files restores the prior behavior.
Blast Radius: agent guidance only.
The only runtime-adjacent effect is one intake sentence in
AGENTS.mdthat routes metric campaigns to the new skill; no executable code, state, or data path changes.Live-test findings deferred (small local models skipped acceptance safeguards)
Runtime enforcement is outside the approved skill-only scope, so these live-test findings are deferred, not fixed, and will be judged after the kunchenguid#1042 pilot.
hillclimb-live-tree-and-measurement-verification- A local Pi worker accepted measurements from an uncommitted tree under the delivery SHA and left a valid candidate off the branch.hillclimb-live-handoff-and-log-ownership- A scout declared completion while still on its experiment branch, and scout and delivery workers wrote the supervisor-owned decision log.test-3- The first live verdict was a no-go: 9 of 9 synthetic scenarios failed (auto-fix parked).test-4- A delivery worker recorded acceptance without advancing, skipped stale replay, and misread workload and corpus evidence.test-5- A scout reported done while still on its experiment branch and omitted the commit SHA.test-6- All five local delivery workers wrote to the supervisor-owned decision log.test-7- With Qwen3-30B, three invalid candidates were recorded as kept and none reached delivery.test-8- A worker claimed it fast-forwarded the valid candidate while the delivery ref stayed at the prior commit.test-9- With Qwen3-8B, stale and invalid candidates were merged; the intended dispatch profile was not credentialed.hillclimb-experiment-ref-deleted-before-custody- One trial deleted the ref holding a rejected candidate and recreated it at the delivery tip, losing the original commit.test-2- The extra live round was also a no-go: 9 of 9 synthetic scenarios failed (auto-fix parked).Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
🔧 **Test** - 1 issue found → no changes applied ✅
git rev-parse HEAD,git diff --name-only 70d64d7c9ff788c58b9f27df9bcb91f7c74a9312 HEAD, andgit status --porcelaingit archive HEAD .agents/skills skillsandnpx --offline --yes skills add ../installer-source --listnpx --offline --yes skills add ../installer-source --skill hillclimb --agent codex --yesand Pi RPCget_commandsbin/fm-brief.sh <task-id> synthetic-queue --mode local-onlyfor the disposable delivery fixturespython3 .hillclimb-live/run.pywith real Pi headless turns and a loopback llama.cpp server, including the retry with default skill discovery, a larger context window, and aligned delivery branch namesgit rev-parse,git branch --show-current,python3 measure.py, andpython3 gate.pyto verify the worker outcomes🔧 No changes applied.
✅ Re-checked - no issues remain.
git rev-parse HEAD,git status --porcelain=v1, andgit diff --name-only 70d64d7c9ff788c58b9f27df9bcb91f7c74a9312 HEADpi --mode rpc --no-session --offline --approve --no-extensions --no-prompt-templates --no-themeswithget_commandsin a disposable projectnpx --yes [email protected] add <worktree> --listfrom an empty projectbin/fm-brief.sh campaign-measure synthetic-queue --scoutbin/fm-brief.sh campaign-accept synthetic-queue --mode local-onlybin/fm-brief.sh campaign-wrong-role synthetic-queue --scout --mode local-only✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.