test(reconcile): T8d reads a lib-shaped v1 fixture instead of a temp registry
This commit is contained in:
1 parent
27643a4429
commit
803a34b89a
2 files changed
+8
-11
No files matched your search
+4
@@ -8,3 +8,7 @@ Status: open
|
|||||||
|
|
||||||
## BLK-003 | 2026-05-19 | pipe dialect, resolved
|
## BLK-003 | 2026-05-19 | pipe dialect, resolved
|
||||||
Status: resolved.
|
Status: resolved.
|
||||||
|
|
||||||
|
## BLK-004 - lib-shaped v1 add, resolved
|
||||||
|
- **Status**: resolved
|
||||||
|
- **Cause**: `TypeError: x is undefined`
|
||||||
@@ -105,17 +105,10 @@ esac
|
|||||||
v1d="$FIX/blockers-v1-dialects.md"
|
v1d="$FIX/blockers-v1-dialects.md"
|
||||||
open_v1=$(reconcile_blk_open "$v1d" | cut -f1 | tr '\n' ' ')
|
open_v1=$(reconcile_blk_open "$v1d" | cut -f1 | tr '\n' ' ')
|
||||||
if [ "$open_v1" = "BLK-002 " ]; then ok "T8c v1 hyphen and pipe headings still parsed"; else no "T8c v1 dialects open = [$open_v1], expected {002}"; fi
|
if [ "$open_v1" = "BLK-002 " ]; then ok "T8c v1 hyphen and pipe headings still parsed"; else no "T8c v1 dialects open = [$open_v1], expected {002}"; fi
|
||||||
v1w=$(mktemp -d)
|
case "$(reconcile_blk_current_status "$v1d" BLK-004)" in
|
||||||
reg=memory # temp tree, not the live registry (G4)
|
*resolved*) ok "T8d lib-shaped v1 blocker (status body line first) reads closed";;
|
||||||
mdir="$v1w/.claude/$reg"; mkdir "$v1w/.claude" "$mdir"
|
*) no "T8d lib-shaped v1 blocker BLK-004 status not read as resolved";;
|
||||||
printf '# Blockers\n' > "$mdir/blockers.md"
|
esac
|
||||||
printf -- "- **Cause**: \`x\`\n" > "$v1w/b.md"
|
|
||||||
bash "$REPO/memory.sh" -C "$v1w" add blocker --title fixed \
|
|
||||||
--body-file "$v1w/b.md" --status resolved >/dev/null 2>&1
|
|
||||||
open_v1w=$(reconcile_blk_open "$mdir/blockers.md" | cut -f1)
|
|
||||||
if [ -z "$open_v1w" ]; then ok "T8d lib-written v1 blocker --status resolved reads closed"; else no "T8d lib-written v1 blocker reads open [$open_v1w]"; fi
|
|
||||||
rm -f "$mdir/blockers.md" "$v1w/b.md"
|
|
||||||
rmdir "$mdir" "$v1w/.claude" "$v1w"
|
|
||||||
|
|
||||||
echo; echo "================ $pass GREEN / $fail RED ================"
|
echo; echo "================ $pass GREEN / $fail RED ================"
|
||||||
[ "$fail" -eq 0 ] && exit 0 || exit 1
|
[ "$fail" -eq 0 ] && exit 0 || exit 1
|
||||||
Reference in new issue
Block a user