⬡ MASTER MAARIV · maariv01.desk-ai.vip

⚠️ חוק-על · קרא ראשון בכל session
כל ה-UI = maariv01.desk-ai.vip · כל נתונים = R2 maariv01 (10,170 articles) + D1 maariv-edge-db
כל AI = Gateway maariv01 (Gemini 2.5 Flash · provider-agnostic /compat) · כל מפתחות = CF Secrets Store
אסור: azolai bucket · 188 direct · 63 על נתיב חם · המצאת נתונים · deploy ללא test
[MASTER-MAARIV] = Claude · [AZOLAI] = Yossi Azolai · format: YYYY-MM-DD HH:MM | [ID] action — result
10,170כתבות ב-R2
10משימות פתוחות
4ממצאים קריטיים
2.0Worker version

📋 לוג היום — 2026-06-04

2026-06-04T05:29:17.021Z [UPLOAD] PUT _ui/_shot-original.png → 166839B
2026-06-04T05:29:16.565Z [UPLOAD] PUT _ui/_shot-cleaned.png → 232357B
2026-06-04T05:28:22.994Z [UPLOAD] PUT _ui/_orig-preview.html → 9426B
2026-06-04T01:14:58.865Z [UPLOAD] PUT _ui/press-kit-candidate.html → 19578B
2026-06-04T01:01:38Z [TAL] deploy v1076d273 — GET/PUT /upload tab + serveUi(_ui/*) + nav tab + UPLOAD_KEY secret → QA pass 6/6 · T007 upload-path live
2026-06-04T01:01:19.759Z [UPLOAD] PUT _ui/_smoke.html → 37B

✅ משימות פתוחות

IDמשימהאחראיעדיפותסטטוס
T001Seed D1 maariv-edge-db catalog (6545 articles)claudehighopen
T002Test /write SSE full press release -> article (A7)claudehighopen
T003Rotate Gemini test API keyazolaihighopen
T004Build /fetch-body Worker using env.ARTICLES R2 bindingclaudemediumopen
T005Sign canonical law after A7 successbothhighopen
T006Cloudflare Access on maariv01.desk-ai.vipclaudemediumopen
T007Add /log SSE + /tasks endpoints to Workerclaudemediumin-progress
T008Evaluate AI Search on maariv01 R2 bucket (replaces D1+Vectorize?)claudecriticalopen
T009Evaluate R2 SQL on maariv01 articles (replaces D1 catalog?)claudecriticalopen
T010Update Worker to /compat unified endpoint (provider-agnostic)claudehighopen

🔬 CF CAPABILITIES — CRITICAL (משנים ארכיטקטורה)

AI Search2026-04-16
Hybrid search (keyword+semantic) on R2 maariv01 directly. Workers Binding. MCP support. Custom metadata filtering. Relevance boosting. /chat/completions endpoint.
⚡ ARCHITECTURE CHANGE: replaces D1 FTS + Vectorize combo. AI Search indexes R2 maariv01 articles and provides both keyword and semantic search in one binding. env.SEARCH.search(query)
→ Evaluate AI Search on maariv01 bucket BEFORE building D1 catalog (T001)
R2 SQL2026-05-15
SQL engine directly on R2 objects. JOINs, subqueries, 190+ functions, JSON functions, EXPLAIN FORMAT JSON.
⚡ ARCHITECTURE CHANGE: run SQL on the 10170 V3 envelopes in R2 maariv01 without extracting to D1. SELECT content->who, content->headline FROM r2.maariv01 WHERE ...
→ Evaluate R2 SQL before seeding D1 catalog (T001 - may become obsolete)
AI Gateway unified REST API2026-05-21
Single /ai/run endpoint + /compat/chat/completions. All providers (Gemini, Anthropic, OpenAI, Workers AI). Same prompt, change only model name.
⚡ Avi Cohen is fully provider-agnostic. Switch Gemini->Anthropic->Workers AI without changing prompt or code.
→ Update Worker to use /compat endpoint instead of direct google-ai-studio path
Agents SDK v0.14.02026-06-02
Agent Skills (modular on-demand tools), Telegram messenger, declarative scheduled tasks, durable reasoning in Workflows.
⚡ Avi Cohen becomes true super-agent: stateful, persistent, provider-agnostic, sub-agents, scheduled tasks.
→ After A7 test: migrate Worker to @cloudflare/agents AIChatAgent

💡 NOTABLE — חשוב לעתיד

Flagship
Native feature flags on CF edge. Sub-millisecond via KV+DO. OpenFeature-compliant.
A/B test Avi Cohen prompt variants. Feature flags for maariv01 config without redeployment.
Artifacts
Git-native versioned filesystem. Wrangler CLI. Event subscriptions via Queues.
Version control for Jason contracts. Commit-driven automation when contracts change.
Browser Run
Live View, Human in the Loop, Session recordings, 4x concurrency, Quick Actions from Workers.
Press flow approval step: human reviews article before publish. Avi Cohen shows live preview.
Realtime
WebSocket adapter auto-reconnects, buffers WebRTC. Real-time transcription 10 languages.
Live editing WebSocket for press flow + Live API Hebrew transcription.
Email Service
Send emails with named addresses from Workers.
Alert editors when breaking news context found. Send article draft by email.
Stream Bindings
Video streaming directly from Workers binding.
Serve Maariv video content via Worker without separate CDN.
Workflows higher concurrency
Higher concurrency+creation rate for durable background agents.
Run multiple press-flow workflows in parallel reliably.

🔌 ENDPOINTS + AGENT-READY

METHODPATHתיאור
GET/דף זה — hub מרוכז
GET/llms.txtcontext לכל LLM agent
GET/llms-full.txtcontext מורחב + tasks + capabilities
GET/robots.txtAI usage preferences
GET/.well-known/agent-skills/index.json4 Agent Skills (CF standard)
GET/.well-known/mcp/server-card.jsonMCP Server Card (CF standard)
GET/.well-known/api-catalogAPI Catalog RFC 9727
GET/healthworker status + model
POST/5wחילוץ 5W מהודעת דוברות → JSON
POST/classifyסיווג דסק + דחיפות → JSON
POST/writeכתיבת כתבה — SSE stream
POST/headlines3 כותרות A/B/C → JSON