Files
ruflo/scripts/ci-test-excluded.txt
T
rUv 5f3dacc54b feat(mods): automatic context delegation (ruflo-mods 0.15.0, ADR-522) + release 3.71.0 (#4652)
* feat(mods): automatic context delegation (ruflo-mods 0.15.0, ADR-522) + release 3.71.0

New contextDelegation option (off | observe | enforce, default off). A
main-loop whole-file Read of a 14-120 KB file for an analysis prompt is
answered by a no-tools haiku $.model.complete on the session's own
credentials. Every quote is checked against the file and the model sees
only the cited passages (the file's own lines) plus how to read the rest.
The real Read always runs first, so a later Edit works (spike: answering
the Read without next(e) breaks Edit); any failure shows the whole file.

Live A/B (real binary, haiku main, 6 repo files 17-83 KB): 6/6 correct
both ways, 6/6 delegated, total cost -22.5% incl. worker, main input
-21.5%, wall +6.5%. First run delegated 0/6: haiku drops indentation in
quotes; the verifier now trims per-line whitespace and relocates up to 3
lines, showing the file's own lines.

Tests: 8 plugin tests, 3 real-binary e2e (extract + Edit, forged quote,
off), CLI parity test vs DEFAULT_CONTEXT_LIMITS and core verdicts. Smoke
step 4 now allows exactly one gated $.model.complete.

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01MfPHVHXWyvDvDtYMTsA6MP

* ci: keep the claude-code test-kit plugin test out of the vitest ratchet

Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01MfPHVHXWyvDvDtYMTsA6MP
2026-11-01 15:14:10 -05:00

116 lines
5.7 KiB
Plaintext

# Test files the root vitest run (scripts/ci-test-ratchet.mjs) does not run, because vitest cannot run them. They are NOT failures hidden
# from the baseline: each has its own runner, and that runner is a CI gate.
# - plugins/*/tests/*.test.ts import `claude-code/testing`, which only exists inside Claude Code: `claude plugin test <dir>` runs them
# (every plugin's scripts/smoke.sh, and .github/workflows/all-plugins-smoke.yml).
# - the .mjs files use node:test: `node --test` runs them (all-plugins-smoke.yml and the plugin smokes).
# - v3/@claude-flow/cli/__tests__/real-binary/*.test.ts need the real `claude` binary: `npm run test:real-binary` runs them
# (ADR-504; the mods-real-binary job in .github/workflows/mod-guidance.yml).
# A listed file that no longer exists fails the ratchet, so this list cannot go stale silently. Never add a file here to make a real
# regression green: a file that vitest CAN run belongs in scripts/ci-test-baseline.txt (and that file may only shrink).
plugins/ruflo-adr/tests/mod.test.ts
plugins/ruflo-agentdb/tests/fold.test.ts
plugins/ruflo-agentdb/tests/guard-keys.test.ts
plugins/ruflo-agentdb/tests/guard-scan.test.ts
plugins/ruflo-agentdb/tests/import.test.ts
plugins/ruflo-agentdb/tests/register.test.ts
plugins/ruflo-agentdb/tests/screen.test.ts
plugins/ruflo-agentdb/tests/textsof.test.ts
plugins/ruflo-agent/tests/mod.test.ts
plugins/ruflo-agntcy/tests/mod.test.ts
plugins/ruflo-aidefence/tests/mod.test.ts
plugins/ruflo-ai-team/tests/mod.test.ts
plugins/ruflo-arena/tests/mod.test.ts
plugins/ruflo-autopilot/tests/mod.test.ts
plugins/ruflo-bbs-federation/tests/register.test.ts
plugins/ruflo-browser/tests/register.test.ts
plugins/ruflo-business-pods/tests/register.test.ts
plugins/ruflo-chatgpt-federation/tests/register.test.ts
plugins/ruflo-daa/tests/mod.test.ts
plugins/ruflo-ddd/tests/mod.test.ts
plugins/ruflo-deepseek-harness/tests/mod.test.ts
plugins/ruflo-docs/tests/mod.test.ts
plugins/ruflo-federation/tests/mod.test.ts
plugins/ruflo-goals/tests/register.test.ts
plugins/ruflo-graph-intelligence/hooks/tests/register.test.ts
plugins/ruflo-intelligence/tests/register.test.ts
plugins/ruflo-iot-cognitum/tests/register.test.ts
plugins/ruflo-jujutsu/tests/register.test.ts
plugins/ruflo-jujutsu/tests/textsof.test.ts
plugins/ruflo-knowledge-graph/tests/register.test.ts
plugins/ruflo-knowledge-graph/tests/textsof.test.ts
plugins/ruflo-loop-workers/tests/register.test.ts
plugins/ruflo-loop-workers/tests/textsof.test.ts
plugins/ruflo-market-data/tests/register.test.ts
plugins/ruflo-market-data/tests/textsof.test.ts
plugins/ruflo-metaharness/tests/register.test.ts
plugins/ruflo-metaharness/tests/textsof.test.ts
plugins/ruflo-migrations/tests/migrations-mod.test.ts
plugins/ruflo-mods/tests/attention.test.ts
plugins/ruflo-mods/tests/agents.test.ts
plugins/ruflo-mods/tests/compact.test.ts
plugins/ruflo-mods/tests/context-delegate.test.ts
plugins/ruflo-mods/tests/delivery.test.ts
plugins/ruflo-mods/tests/describe.test.ts
plugins/ruflo-mods/tests/grounding.test.ts
plugins/ruflo-mods/tests/probe.test.ts
plugins/ruflo-mods/tests/ranked-context.test.ts
plugins/ruflo-mods/tests/rollup.test.ts
plugins/ruflo-mods/tests/toast.test.ts
plugins/ruflo-music/tests/music-mod.test.ts
plugins/ruflo-neural-trader/tests/trader-mod.test.ts
plugins/ruflo-observability/tests/observe-mod.test.ts
plugins/ruflo-plugin-creator/templates/mod/tests/status.test.ts
plugins/ruflo-plugin-creator/tests/creator.test.ts
plugins/ruflo-rag-memory/tests/rag.test.ts
plugins/ruflo-rag-memory/tests/textsof.test.ts
plugins/ruflo-ruvector/tests/ruvector.test.ts
plugins/ruflo-ruvector/tests/textsof.test.ts
plugins/ruflo-ruvllm/tests/ruvllm.test.ts
plugins/ruflo-ruvllm/tests/textsof.test.ts
plugins/ruflo-rvf/tests/rvf.test.ts
plugins/ruflo-rvf/tests/textsof.test.ts
plugins/ruflo-security-audit/tests/mod.test.ts
plugins/ruflo-security-audit/tests/textsof.test.ts
plugins/ruflo-sparc/tests/mod.test.ts
plugins/ruflo-sparc/tests/textsof.test.ts
plugins/ruflo-testgen/tests/mod.test.ts
plugins/ruflo-workflows/tests/mod.test.ts
plugins/ruflo-workflows/tests/textsof.test.ts
plugins/ruflo-x-gateway/tests/mod.test.ts
plugins/ruflo-x-gateway/tests/textsof.test.ts
scripts/check-adr-links.test.mjs
tests/plugins/codex-mod-hooks.test.mjs
tests/plugins/codex-swarm-hook-manifest.test.mjs
scripts/__tests__/guard-label.test.mjs
scripts/__tests__/mod-capability-matrix.test.mjs
tests/all-plugins-smoke-workflow.test.mjs
tests/check-guard-tool-names.test.mjs
tests/check-status-forwarding.test.mjs
tests/external-plugins.test.mjs
plugins/ruflo-console/tests/result-display.test.ts
plugins/ruflo-console/tests/toasts.test.ts
plugins/ruflo-console/tests/full-text.test.ts
plugins/ruflo-console/tests/whatsnew.test.ts
plugins/ruflo-console/tests/adrs.test.ts
plugins/ruflo-console/tests/surface-pictures.test.ts
plugins/ruflo-protector/tests/corpus.test.ts
plugins/ruflo-protector/tests/mod.test.ts
plugins/ruflo-protector/tests/rules.test.ts
plugins/ruflo-swarm/tests/toast.test.ts
plugins/ruflo-mods/tests/protector.test.ts
plugins/ruflo-mods/tests/selfcheck.test.ts
plugins/ruflo-testgen/scripts/tdd-repair/tdd-repair.test.mjs
plugins/ruflo-business-pods/scripts/pod-tick.test.mjs
plugins/ruflo-core/scripts/background-hooks.test.cjs
plugins/ruflo-core/scripts/command-recording-switch.test.cjs
tests/regression/oct12-coverage.test.cjs
plugins/ruflo-adr/scripts/__tests__/adr-status-forms-4126.test.mjs
scripts/__tests__/probe-mod-guards.test.mjs
plugins/ruflo-core/scripts/witness/__tests__/witness-auth.test.mjs
v3/@claude-flow/cli/__tests__/real-binary/classic-loop.test.ts
v3/@claude-flow/cli/__tests__/real-binary/context-delegation.test.ts
v3/@claude-flow/cli/__tests__/real-binary/contracts.test.ts
v3/@claude-flow/cli/__tests__/real-binary/external-plugins.test.ts
v3/@claude-flow/cli/__tests__/real-binary/loads.test.ts