wigolo icon indicating copy to clipboard operation
wigolo copied to clipboard

v1 milestone — beat the benchmark

Open KnockOutEZ opened this issue 7 months ago • 2 comments

Problem

v1 milestone tracking. Goal: beat the internal benchmark with the smallest coherent ticket set. This issue tracks the v1 scope, makes deferred items visible to prevent scope creep, and gates the release on a clean-machine benchmark re-run.

Proposed approach

Track and close the following tickets. On all closing, re-run the internal 5-test benchmark on a clean machine and ship a release.

Tracked tickets (v1)

  • #8 — Trim tool descriptions and arg descriptions (P0, area:mcp, area:docs)
  • #9 — JSON-LD / microdata / RDFa first-pass extractor (P0, area:extract)
  • #10 — In-process ONNX reranker (bge-reranker-v2-m3 default) + date-boost (P0, area:rerank, area:search)
  • #11 — BYO cloud LLM extract fallback (P0, area:extract, area:llm)
  • #12 — mode: fast | balanced | deep on search and fetch (P0, area:search, area:fetch)
  • #14 — Markdown post-processor: code language detection, boilerplate strip, nav dedupe, anchor resolution (P0, area:extract, area:output)
  • #6 — Default search output to evidence shape; standardize evidence shape across tools; add max_tokens_out (P0, area:search, area:fetch, area:research, area:output, area:mcp)

Sequence

#10 ──► #11 ──► #14 ──► #12
        (#10 unblocks #11: better candidates → cheaper LLM calls)
        (#10 also unblocks #14 markdown work that benefits from rerank-aware excerpts)

parallel: #8, #9

#10 is the long-pole single-ticket. #11 and #14 wait on its merged candidate set. #12 (fast/balanced/deep) lands last because balanced and deep both depend on #10.

Internal benchmark

# Test Current state Target Owning ticket
1 Search ranking (pgEdge multi-master query) Loses to Exa Parity / win after reranker + date-boost #10
2 Static scrape (markdown quality on Next.js docs) Loses to Exa Parity / win after markdown post-processor #14
3 LinkedIn fetch Wins Hold (see Continuous monitoring) —
4 Code-context fetch Wins Hold —
5 Schema extract (Anthropic pricing) Loses to Firecrawl Win with key configured; parity-with-warning without #11
6 Latency Loses to Tavily Parity (within 200ms) in fast mode #12

(T2 was previously mapped to #9. That mapping was wrong: T2 is a markdown-quality problem and #9 does not touch the markdown codepath. T2 → #14.)

Library / model picks

n/a — tracking issue only. See linked tickets for per-feature picks.

Acceptance criteria

Two release bars — both states must be documented as success.

Without API keys configured (out-of-the-box bar)

  • Tests 1, 2, 3, 4, 6 → win or parity vs the respective benchmark leader.
  • Test 5 → parity-with-warning: heuristic result returned plus a clear no-key message naming each provider env var and what it unlocks.
  • Net: 4/5 wins + T5 parity-with-warning.

With ANTHROPIC_API_KEY (or any other supported provider) configured

  • All 5 tests → win or parity.
  • Net: 5/5 wins.

Release gates (independent of benchmark)

  • [ ] All linked tickets (#8, #9, #10, #11, #12, #14, #6) closed.
  • [ ] Both benchmark states above re-run on a clean machine (fresh ~/.wigolo, fresh model cache).
  • [ ] Release notes drafted in CHANGELOG.md covering each shipped ticket, with one migration snippet per breaking change.
  • [ ] docs/superpowers/codebase/{FEATURES,API_REFERENCE,CONFIGURATION,PRODUCT}.md updated per the project's auto-cleanup protocol.
  • [ ] Fresh-install smoke test passes on a clean machine:
    • npx @staticn0va/wigolo warmup --all
    • npx @staticn0va/wigolo doctor
    • claude mcp add wigolo -- npx @staticn0va/wigolo
  • [ ] No console.log or as any regressions introduced in the v1 set (grep clean per project guardrails).
  • [ ] All v1 tests passing in CI (npm test, npx tsc --noEmit).

Continuous monitoring

  • T3 (LinkedIn / hard anti-bot) monthly CI integration test. Vitest job hits a known-hard target on a monthly cron and reports which stealth rung succeeded (HTTP → Lightpanda → Playwright). Failure is a P0 alarm. Not a feature ticket — implement as CI cron during v1 work, separate from the milestone closing criteria.

Explicit non-goals (deferred post-v1) — listed here so scope creep is visible:

  • Tier abstraction (WIGOLO_TIER). v1 uses one env var per feature.
  • Local LLM (node-llama-cpp, Qwen3, GGUF, llguidance). BYO cloud only.
  • Stealth ladder beyond current Lightpanda + Playwright.
  • Profiles (per-user / per-domain auth + cookie management beyond current state).
  • Change tracking (page diff over time).
  • Multi-modal (image / video / audio extraction).
  • Code routing / code-graph features.
  • Knowledge graph (KG) over crawled content.
  • HTML-to-markdown engine swap (Turndown replacement). Tracked separately if pursued.
  • Highlights passage scoring unification on the cross-encoder — tagged for v1.1 in #15. Pulled into v1 only if #10 finishes with bandwidth.

Dependencies

Tracks #8, #9, #10, #11, #12, #14, #6.

Effort

Tracking only.

Tier(s) affected

all

Out of scope

See "Explicit non-goals" above.

KnockOutEZ avatar Apr 28 '26 19:04 KnockOutEZ

v1 ticket set — cut

Six issues filed. Cross-references resolved end-to-end.

# Title Effort Depends on
#8 Trim MCP tool descriptions and arg descriptions to enforced token budgets S none
#9 JSON-LD / microdata / RDFa first-pass structured-data extractor S none
#10 In-process ONNX reranker (bge-reranker-v2-m3 default); remove Python flashrank subprocess M none
#11 BYO cloud LLM extract fallback (Anthropic / OpenAI / Gemini / Groq) with SQLite call cache M #9
#12 Add mode: fast | balanced | deep to search and fetch tools S #10
#13 v1 milestone — beat the benchmark tracking #8, #9, #10, #11, #12, #6

Plus already-cut #6 (evidence-default output + max_tokens_out).

Suggested execution order: #8 (in parallel with everything), #9, #10 → unblock #11, #12 → benchmark re-run → close #13.

KnockOutEZ avatar Apr 28 '26 19:04 KnockOutEZ

Every issue this milestone tracked (#6, #8–#12) is closed, so closing the tracker.


Generated by Claude Code

KnockOutEZ avatar Oct 21 '26 14:10 KnockOutEZ