fixture-binary-freshness
Skill17 starsChanged 6 months agoMITView on GitHub
named fixture 실행 전 Yardlet 바이너리 신선도를 판정하고 clean, rebuild, retry로 복구한다
In this repository73 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- atomic-write-no-op-inodeSkill
- availabilitySkill
- base-retained-worktree-diff-3-waySkill
- builtin-bundle-reverify-cli-fixture-legSkill
- builtin-bundle-reverifySkill
- codex-cli-helpSkill
- commit-range-detached-worktreeSkill
- committed-red-detached-worktree-3Skill
- contract-gate-parity-checkSkill
- diagnostic-monitor-read-only-gateSkill
- failed-checkSkill
- failover-process-fixture-worker-modelSkill
- fix-red-revisionSkill
- footerSkill
- generic-fixture-attempt-env-scrub-last-secretSkill
- generic-session-resume-review-evidence-mapSkill
- git-finish-4Skill
- git-finish-crash-windowSkill
- git-finishSkill
- golden-failed-check-repairSkill
- i18n-home-key-doc-tui-key-list-processSkill
- i18n-leak-auditSkill
- i18nSkill
- lint-fixSkill
- mirror-readme-md-and-readme-ko-md-1-1Skill
- parallel-overlay-receipt-paritySkill
- partialSkill
- planning-gateSkill
- planning-promotion-terminal-state-negative-matriSkill
- planning-review-activation-safety-check-run-gateSkill
- planning-review-activation-safety-checkSkill
- planning-review-stale-pending-fixtureSkill
- process-fixture-cross-worker-failover-opt-inSkill
- process-fixture-mutationSkill
- process-fixture-summary-jsonSkill
- process-git-finish-fixtureSkill
- process-git-finishSkill
- provider-refusal-fixtureSkill
- pty-ko-cjk-ansiSkill
- readiness-1-1Skill
- receipt-transitive-fixtureSkill
- red-baseSkill
- redSkill
- requesting-code-reviewSkill
- rescue-diffSkill
- rescue-history-onlySkill
- revert-redSkill
- run-dir-handoff-task-channel-raw-logSkill
- run-git-finish-checkpoint-oidSkill
- run-typed-failureSkill
- same-session-two-turn-planning-fixture-run-histoSkill
- serial-evidence-merge-target-paritySkill
- superseded-task-closureSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- trust-autonomySkill
- tui-key-list-full-repaint-resize-must-change-widSkill
- tui-multi-feature-integration-reviewSkill
- The first 60 shown.
The file
Files
Fixture binary freshness
언제 사용하는가
소스에는 named fixture가 있는데 process fixture 또는 yardlet eval fixtures --fixture <id>가 해당 id를 지원하지 않거나 fixture capability preflight가 실패할 때 사용한다. 이 절차가 끝나기 전에는 fixture 본문을 실행하지 않는다.
절차
- 실제 실행 대상을 먼저 고정한다. process fixture가 받은 첫 번째 인자를 그대로 사용하고, 직접 실행이라면
command -v yardlet과type -a yardlet로 PATH 중복을 확인한다. 경로를YARDLET_BIN같은 task 전용 변수에 절대 경로로 저장한다. - 원래 실행하려던 모든
--fixture값을 required fixture id 목록으로 모은다. 하나만 검사하고 나머지를 본문에서 발견하지 않는다. - 대상 바이너리 자체에
"$YARDLET_BIN" eval fixtures --list --json을 실행한다. 명령 실패, JSON 파싱 실패, required id 누락 중 하나라도 있으면 본문을 시작하지 않는다. 출력의fixture_ids에 모든 required id가 있는지 기계적으로 비교한다. - 대상 경로와 누락 id를 기록한다. 이 증상은 대상 빌드 아티팩트가 현재 소스 fixture registry보다 오래되었거나 다른 worktree/target directory의 바이너리를 가리킬 때 발생할 수 있다.
- 대상 소스 checkout의 repo root에서
cargo clean -p yardlet을 실행하고cargo build --bin yardlet으로 다시 빌드한다.CARGO_TARGET_DIR를 사용 중이면 rebuild 결과가 1단계의 대상 경로와 같은 target directory에 놓이는지 확인한다. - 같은 절대 경로로
"$YARDLET_BIN" eval fixtures --list --json을 다시 실행하고 모든 required id가 나타나는지 확인한다. - capability 확인이 통과한 뒤에만 원래의 named fixture 명령을 한 번 재시도한다. 여전히 id가 없으면 다른 checkout 또는 다른 target directory를 빌드한 것이므로 본문을 실행하지 말고 두 경로를 대조한다.
검증
- catalog JSON의
fixture_ids가 required id를 전부 포함한다. - preflight 실패 출력에 대상 바이너리 절대 경로, 모든 누락 id,
cargo clean -p yardlet,cargo build --bin yardlet, 재시도 지시가 있다. - preflight 실패 중 fixture 본문 marker나 본문 evidence가 생성되지 않는다.
- fresh 대조 실행의 report에는 요청한 fixture id만 있고
passed: true이다.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

