ε.κ.0 α1 — pre-aggregate.sh v1.4 — CLOSED outcome-VALIDATED
Why: ν.β §6 finding 1 identified that pre-aggregate.sh lacked research-direction exemption gate, causing manual override steps during ν.β REFERENCE aggregation. ε.κ.0 α1 was scoped to add spike_type: research-direction frontmatter-based exemption to pre-aggregate.sh.
Key findings at spike execution time:
- v1.3 already existed at
/home/richardd/.claude/skills/harvesting-spike-evidence/scripts/pre-aggregate.sh— NOT atdocs-strategy/scripts/as planning assumed - v1.3 ALREADY implemented research-direction exemption via
n/adetection in bundle’sPlaceholder cascade-Q file:field (V1.3 comment dated 2026-05-04) - Planning session had two wrong assumptions: (1) wrong location, (2) missing feature
What v1.4 delivered:
- Moved script to
docs-strategy/scripts/pre-aggregate.sh(now repo-tracked in git) - Added
parse_spike_type()— reads T-file YAML frontmatterspike_type:field via awk - Added
EXEMPTED_SPIKE_TYPES=("research-direction")configurable list - Added
is_exempted_spike_type()— fail-safe: unknown types log NOTE, no exemption granted - Belt-and-suspenders: when cascade-Q is NOT
n/abut T-file hasspike_type: research-direction, cascade-Q check auto-exempted
TDD: RED 5/6 (test 4 failed on v1.3 — no spike_type lookup), GREEN 6/6, REFACTOR 7/7.
Commits:
- docs-strategy:
284e5c2—tooling: pre-aggregate.sh v1.4 — research-direction spike-type exemption gate (ε.κ.0 α1) - off-github:
2f981e6— T-file committed + pushed
Deferred action: skill’s scripts/pre-aggregate.sh still at v1.3. Operator should update harvesting skill to invoke from docs-strategy/scripts/pre-aggregate.sh or mirror v1.4 back to skill dir.
How to apply: When running pre-aggregate.sh v1.4 as the mandatory aggregation gate in harvesting-spike-evidence, use bash ~/testatetech/docs-strategy/scripts/pre-aggregate.sh <bundles>. Research-direction spikes exempt via n/a OR spike_type: research-direction in T-file.