Repository navigation
PageSift 1.8.1 Release Notes
Release Version:
v1.8.1
Release Scope: Full-surface wiring of1.8 Mesh,1.9 Compute, and2.0 Runtimeacross HTTP, CLI, MCP, C ABI, Python, and Node.js; remote HTTPMeshTransportandScraperStepExecutor;1.6 ContextTrack 2 and1.7 Resolvedeepening; macOS/cluster/OCR/runtime correctness fixes; and measured1.8.1container & benchmark baselines (v1.8.0 -> v1.8.1)
PageSift 1.8.1 completes end-to-end integration of the pagesift-mesh, pagesift-compute, and pagesift-runtime engines into every user-facing interface (HTTP, CLI, MCP, C ABI, Python, Node.js, and cluster gateway routing), delivers remote HTTP MeshTransport and concrete ScraperStepExecutor step execution, deepens 1.6 Context and 1.7 Resolve, resolves macOS/cluster/OCR/budget edge cases, and records reproducible 1.8.1 Docker and benchmark measurements across the 42-crate workspace.
Highlights
- Full-Surface
1.8 Mesh,1.9 Compute&2.0 RuntimeIntegration (pagesift-engine,pagesift-api,pagesift,pagesift-mcp,pagesift-ffi,pagesift-py,pagesift-node):- Engine & Transport (
pagesift-engine,pagesift-mesh,pagesift-runtime):- Implements
Engine::mesh,Engine::compute, andEngine::runtimebacked bypagesift-storens=15(m/k/wdomain prefixes) with tenant isolation. - Adds remote HTTP
MeshTransport(pagesift-engine::mesh::http_transport) with peerendpoint_urlsupport inpagesift-mesh::link, SSRF-guarded peer requests, and signed bundle/event exchange. - Wires
ScraperStepExecutor(pagesift-engine::runtime::step_executor) intopagesift-runtime::exec, dispatching compiled workflow steps across live scraping,Sync,Context,Resolve,Mesh, andComputewith crash-safeSIGKILLrecovery and concurrency race tests (pagesift-runtime/tests/it/).
- Implements
- HTTP API & Cluster Gateway (
pagesift-api,pagesift/src/cluster/gateway.rs):- Exposes
/v2/mesh(and sub-routes/link/*,/match/*,/bundle/*,/memory/*,/events/*,/team/*,/trust/*,/learn/*),/v2/compute(/align,/calc,/update,/scenario,/recipes,/recipes/{id},/run,/runs,/learn), and/v2/runtime(/compile,/route,/tasks,/compose,/learn,/templates,/events,/history, etc.) with per-key rate limiting and Cluster Gateway forwarding.
- Exposes
- CLI, MCP & Language Bindings:
- CLI:
pagesift mesh,pagesift compute, andpagesift runtimesubcommands. - MCP:
pagesift_mesh,pagesift_compute, andpagesift_runtimetools alongside existing scrape/crawl/sync/graph/context/resolve/agent tools. - C ABI (
pagesift-ffi/include/pagesift.h):pagesift_mesh,pagesift_compute, andpagesift_runtime. - Python (
pagesift-py):Scraper.mesh/amesh,Scraper.compute/acompute,Scraper.runtime/aruntime. - Node.js / TypeScript (
pagesift-node):Scraper.mesh,Scraper.compute,Scraper.runtimewith typed request interfaces inindex.d.tsandheader.d.ts.
- CLI:
- Engine & Transport (
1.6 ContextTrack 2 Deepening (pagesift-extract,pagesift-engine):- Adds cross-document unit clustering and deduplication (
unit_cross_doc), two-hop hybrid retrieval (hybrid_retrieval), adaptiveContextPackbudget tuning (pack_adapt), deterministic field verification (field_verify/field_verify_parse), boundedActionevaluation (action_eval), and closed-loop consumerfeedbackintegration inpagesift-engine.
- Adds cross-document unit clustering and deduplication (
1.7 ResolveDeepening (pagesift-extract,pagesift-engine):- Adds rule-based scope qualification (
scope_rules), multi-hop numeric derivation & unit/currency parsing (numeric_chain,numeric_parse), normalizedoriginRootlineage export (origin_export), Howard VOI-driven incremental vs full revalidation scheduling (voi_schedule), andBudgetedOcr-guarded scanned-PDF evidence reverification (ocr_verify). - Tightens unified claim tokenization (
tokenize_unified&decompose): strips sentence-ending./!/?, validates identifier boundaries on dotted paths, and filters currency/numeric-unit tokens ($99/yr.,$99.99/yr.,12.5ms) fromsym:anchors so price contradictions reliably resolve asRefuted.
- Adds rule-based scope qualification (
- Platform, Cluster, OCR & Resource Governance Fixes (
pagesift-net,pagesift-cluster,pagesift-policy,pagesift-engine,pagesift-cdp,pagesift-flow,docker/):- macOS Memory Telemetry & Cluster Admission: Implements macOS
sysctl(HW_MEMSIZE) + Machhost_statistics64(HOST_VM_INFO64) andproc_pidinfoRSS probing inpagesift-net::resources; updatespagesift-cluster::capabilities::admits()to enforce the 70% RAM gate when memory telemetry is known while avoiding task starvation when unknown. - Capability-Aware Shard Handover: Updates
pagesift-cluster::ledger::shard::set_map()to pause handovers only when the previous owner actually held an active lease or eligible queued tasks under prior capabilities. - Explicit vs Environment GPU Budget Separation: Separates
PAGESIFT_GPU=off/CUDA_VISIBLE_DEVICES=""environment guards from explicitset_execution_budgetcaps inpagesift-net::resources, routespagesift::config_ocrthroughPdfOcr::new_with_budget, and enforces a64 KiBminimum floor onBODY_CAPso transient budget pressure never silently truncates HTTP bodies to zero bytes. - Cgroup, CDP & Docker Hardening: Delegates
pagesift-policy::topology::read_cpu_quota_cores()topagesift-net::resources::cgroup_cpu_quota_cores()for nested cgroups, hardenspagesift-cdp::guard,pagesift-flow::ring,docker/healthcheck.sh, anddocker/docker-stack.yml, and adds bounded retry for transientWouldBlockstore opens in tests.
- macOS Memory Telemetry & Cluster Admission: Implements macOS
Measured 1.8.1 Container & Benchmark Results
All numbers below were measured locally on Linux 7.0.0-44-generic x86_64, Intel Core i7-10700 @ 2.90GHz (8C/16T), 15 GiB RAM, rustc 1.99.0, CPU-only (CUDA_VISIBLE_DEVICES="" PAGESIFT_GPU=off). Full context and reproduction commands are also recorded in docs/benchmarks.md.
- Docker Release Image (
bash docker/build.sh):- Compressed image size (
docker image inspect .Size, lower is better):88.66 MiB(92,969,777bytes); unpacked size (docker images, lower is better):341 MB. - Standalone container (
UID 10001,PAGESIFT_GPU=off): cold start to/healthz19 ms(lower is better), idle RSS26.06 MiB(lower is better),scripts/docker-smoke.sh11/11passed (including Lightpanda render, SSRF block,0.224 smid-crawl restart + 6/6 resume,/metrics, and0.137 sSIGTERMshutdown).
- Compressed image size (
- Content
perf_gate(--release, lower is better):blog 100KB: median1.90 ms(gate8 ms);wiki 250KB: median7.50 ms(gate30 ms).
- Context
context_eval(--profile release-fast):- Incremental
ContextDeltaspeedup:3.48x(higher is better; 60 resources / 180 units; 7-step HTML+PDF+DOCX verification passed; peak RSS47.72 MiB, initial5.34 MiB, lower is better). - Multi-core
Search + Packscaling (320queries, QPS higher / latency & RSS lower is better):1T2,557.2 QPS(p50 375 µs,p99 448 µs) →4T9,265.6 QPS(p50 398 µs,p99 619 µs) →8T17,319.2 QPS(p50 392 µs,p99 631 µs) →16T23,255.9 QPS(p50 585 µs,p99 1,773 µs, RSS33.0 MiB).
- Incremental
- Resolve
resolve_eval(--profile release-fast):- E1 (
64adversarial traps):false_support_rate = 0.0(lower is better),supported_precision = 1.0,supported_recall = 1.0,refuted_recall = 1.0,citation_accuracy = 1.0(higher is better); E2 mirror collapse: naive1.0→ resolve0.0false support. - E6 incremental
Livereconciliation (60persisted conclusions):6,312 µsvs35,285 µsfull recheck (5.59xspeedup, higher is better;full_vs_incremental_agreement = 1.0,false_trigger_rate = 0.0). - E8 runtime throughput (
400checks):7,506.9 QPS(higher is better),p50 129 µs,p95 168 µs,p99 211 µs, peak RSS33.85 MiB(lower is better).
- E1 (
- MCR HTTP End-to-End (
Mesh/Compute/Runtime):--releaseDocker standalone container (loopback sequentialcurl,N=200, RSS26.06 MiB, latency lower is better):/healthzp50 0.39 ms / p99 0.52 ms;POST /v2/compute(calc)p50 1.18 ms / p99 2.36 ms;POST /v2/mesh(memory_put)p50 5.76 ms / p99 8.26 ms;POST /v2/runtime(compile)p50 6.42 ms / p99 9.98 ms.- Native standalone binary (
quickprofileopt-level=2, HTTP/1.1 keep-alive, idle RSS33.33 MiB/ post-load54.71 MiB, throughput higher / latency lower is better):compute/calc1T720.6 req/s(p50 1.40 ms,p99 3.73 ms) /8T256.6 req/s(p50 31.67 ms, ledger write-lock serialized);mesh/memory_put1T142.4 req/s(p50 6.85 ms,p99 8.98 ms);mesh/memory_stats1T133.3 req/s→8T830.4 req/s(p50 9.04 ms,p99 13.22 ms);runtime/compile1T93.8 req/s(p50 10.53 ms) →8T571.1 req/s(p50 13.26 ms,p99 18.12 ms);runtime/tasks1T69.0 req/s(p50 14.05 ms).
Verification
- Local release gate (
CUDA_VISIBLE_DEVICES="" PAGESIFT_GPU=off CARGO_BUILD_JOBS=4 bash scripts/ci.sh --fast --bindings): release identity, wall-clock, workflow,cargo fmt --all --check,cargo clippy --workspace --all-targets(RUSTFLAGS="-D warnings"), Rust workspace test suite (1,982+tests),aarch64-apple-darwincrosscargo check, Node.js binding tests (69/69, incl.mcr.test.mjs), and Python binding tests (87/87, incl.test_mcr.py). - Static & supply-chain checks:
python3 -I scripts/check_release.py,python3 -I scripts/check_readme.py --release,bash scripts/check_links.sh,bash scripts/check_file_length.sh,bash scripts/check_literals.sh,python3 scripts/publish_crates.py --dry-run(all 37 publishable crates in topological order), andcargo deny --config .github/deny.toml check. - Reference documentation: docs/architecture.md · docs/resolve.md · docs/context.md · docs/benchmarks.md · docker/README.md
- Community & feedback: https://discord.gg/esA3wMZVvA