1.2 KiB
1.2 KiB
CONTRACT — t18-bun-skip (BDR-125 gap audit A5)
- date: 2026-11-16 | flow: hotfix | branch: bugfix/t18-bun-skip (off develop)
- status: active
REQUEST (verbatim — IMMUTABLE)
A5 (BDR-125 gap audit): lib/tests/memory.test.sh T18 (entriesOf vs index parity, :877-891) hard-fails when bun is not on PATH. Guard it with command -v bun: bun present → unchanged; absent → print SKIP T18-entriesOf-vs-index-ids (bun not on PATH) like the file's existing SKIP lines (T20f) and run no check.
CLARIFICATIONS
- [internal 2026-11-16] no existing bun SKIP convention to copy (memory-feedback.test.sh hard-fails); the file's own SKIP idiom (
echo "SKIP <id> (<reason>)", T20f) is followed. Challenge step skipped: a one-branch test guard, nothing for the lenses to bite on.
ACCEPTANCE CRITERIA
- memory suite green with bun on PATH (T18 still runs). CHECK: cd /home/bchanot/Documents/claude && PATH=$HOME/.bun/bin:$PATH make test suite=lib/tests/memory.test.sh </dev/null 2>&1 | tail -1 EXPECT: all suites green EVIDENCE: MET exit=0 marker-found :: all suites green
- Without bun on PATH the suite prints the SKIP line and no T18 FAIL (manual: run with a PATH that has no bun).
FILE SCOPE
lib/tests/memory.test.sh (T18 block :877-891).