Commit Graph

3 Commits

Author SHA1 Message Date
Claude 31613ae35b fix(flywheel-lifecycle): survive sparse corpus in Stage 5
Stage 5's `find ... | grep -v "$(basename "$TEST_LEARNING")"` exited 1 when
the corpus contained only the test sentinel (grep filters all input → no
matches → exit 1), killing the script under set -euo pipefail before the
soft-fail NOTE branch could run. This flipped the flywheel-lifecycle gate
(w=6) to fail on every fresh corpus.

Replace the grep -v filter with `find -name ! -name`, which is pipefail-safe
and produces the same exclusion. Add bats coverage for the sparse-corpus,
populated-corpus, and cross-citing-corpus paths.
2026-05-04 06:44:06 +00:00
Boden Fuller a5c1540bdb feat(goals): advance directives #1,#2,#4 — promote tests, document remaining gaps
Directive #1 (multi-runtime): Promote 2 runtime smoke tests from quarantine to
tests/skills/ — test-runtime-opencode-smoke.sh (install script + skill structure)
and test-runtime-claude-code-smoke.sh (plugin manifest + hooks + frontmatter).
Both standalone, no live runtime required. Remaining gap documented: Codex CLI
and live execution need external infra.

Directive #2 (install path): Add runtime execution tests to test-install-smoke.sh
— when cli/bin/ao exists, verifies `ao version`, `ao help`, and that flywheel/
goals/inject subcommands are registered. End-to-end install execution (clean env
+ network) documented as out-of-scope for local gate.

Directive #4 (knowledge lifecycle): Extend check-flywheel-lifecycle.sh with
stage 5 (citation in downstream work) — checks cross-citations between learnings,
briefings directory population, and corpus density. Soft-fail on sparse corpus;
hard-fail only when corpus is populated but citations are structurally absent.
Gate now traces 5 stages end-to-end. Live run shows 58 cross-citations found.
2026-04-02 16:41:46 -04:00
Boden Fuller 5d4e171dba feat(tests): advance GOALS.md directives #1, #2, #4
Promote 2 quarantined runtime tests (schema-validation, cross-runtime),
add install path smoke tests (24 checks), create flywheel lifecycle E2E
gate (capture → index → inject → retrieval). All 53 assertions passing.
2026-03-30 15:44:28 -04:00