mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-09-14 14:01:28 +08:00
b5b6fb3fbe
Refactors ruflo-browser around recordable, replayable RVF cognitive containers. Implements ADR-0001 (Proposed). Pre-Accept gate is a 10-site replay-fidelity spike (≥80% pass) — harness shipped, run pending. Plugin (plugins/ruflo-browser/): - bump 0.1.0 → 0.2.0; new keywords (rvf, replay, trajectory, agentdb, aidefence) - ADR-0001: session-as-skill architecture, 4 AgentDB namespaces, 3 AIDefence gates, 7 verb dispatcher, 5 new MCP lifecycle tools, 7+1 skill catalog, load-bearing replay-fidelity assumption flagged in Verification §4 - agent: rewritten with session contract, RVF allocation, ruvector trajectory-begin/step/end hooks, 4 namespaced AgentDB writes, 3 mandatory AIDefence gates - /ruflo-browser command: verb dispatcher (ls/show/replay/export/fork/purge/doctor) - 7 new skills: browser-record (primitive), browser-replay, browser-extract, browser-login, browser-form-fill, browser-screenshot-diff, browser-auth-flow - browser-test kept; rewritten to compose record+replay - browser-scrape becomes a deprecation shim (removed in v0.3.0) - scripts/smoke.sh: 13 structural checks; scripts/replay-spike.sh + SITES.txt: 10-site interactive harness writing STATUS.md per run CLI (v3/@claude-flow/cli/): - src/mcp-tools/browser-session-tools.ts: 5 new lifecycle tools (browser_session_record / _end / _replay / browser_template_apply / browser_cookie_use). Each shells out to pinned ruvector@0.2.25 + the existing agent-browser CLI + bridged claude-flow memory; missing deps degrade with structured success:false rather than crash. - src/mcp-client.ts: registers browserSessionTools alongside existing browserTools. - TypeScript clean (npx tsc --noEmit reports zero errors against the new files). Borrows from Browserbase skills/skill repo (verified 2026-05-04): trace-as-firehose with per-page bisection (browser-trace/SKILL.md); outer/inner self-improving loop (autobrowse/SKILL.md); sessions+contexts as separately addressable artifacts (browser/REFERENCE.md + cookie-sync). Adapted to use Ruflo's substrates (RVF, ruvector, AgentDB, AIDefence, federation) rather than Browserbase's hosted backend. Verification: - bash plugins/ruflo-browser/scripts/smoke.sh → 13 passed, 0 failed. - replay spike runnable via scripts/replay-spike.sh (network-dependent; not part of the smoke contract). ADR remains Proposed until ≥80% pass recorded under spike-results/<timestamp>/STATUS.md. Co-Authored-By: RuFlo <ruv@ruv.net>
19 lines
729 B
Plaintext
19 lines
729 B
Plaintext
# Replay-spike candidate sites for ADR-0001 Verification §4.
|
|
# 10 sites of varying drift profiles: static, SPA-heavy, frequent-deploy,
|
|
# auth-walled, anti-bot-protected. Lines starting with # are ignored.
|
|
#
|
|
# Edit freely — the spike harness reads this file at run time. Add or
|
|
# replace URLs to match your audit scope. The ADR threshold (≥80% pass)
|
|
# applies to whatever non-comment lines are present.
|
|
|
|
https://example.com/
|
|
https://www.iana.org/domains/reserved
|
|
https://en.wikipedia.org/wiki/Special:Random
|
|
https://news.ycombinator.com/
|
|
https://github.com/ruvnet/ruflo
|
|
https://docs.python.org/3/
|
|
https://playwright.dev/
|
|
https://developer.mozilla.org/en-US/docs/Web/HTML
|
|
https://www.w3.org/standards/
|
|
https://duckduckgo.com/
|