Prevent phase2/phase3/all reruns from burning DashScope tokens unless
GOOSE_V149_ALLOW_REAL_LLM=1 is explicitly set with human approval.
Co-authored-by: Cursor <cursoragent@cursor.com>
Introduce off/shadow/active compaction for large tkmind read/research and
excel report payloads with optional Redis-backed ctx_fetch handles, keeping
fail-open behavior when storage is unavailable.
Co-authored-by: Cursor <cursoragent@cursor.com>
Record the merged Context Runtime + Goose v1.49 canary work as closed
so the branch cannot be reused as a development baseline.
Co-authored-by: Cursor <cursoragent@cursor.com>
Use the default headroom health probe instead of the goosed fetch adapter
so active mode routes deepseek-no-think through the proxy, and add an E2E
script that verifies goosed pong via headroom with fail-open portal checks.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire DeepSeek Harness as an optional fourth code executor (default off)
and add a loopback observation script that compares prompt tokens through
headroom proxy with OPENAI_TARGET_API_URL pointed at the compat proxy.
Co-authored-by: Cursor <cursoragent@cursor.com>
Introduce RRF-based recall fusion for personal/episodic/temporal paths,
zvec-grep workspace shadow probing for code executors, and a local
headroom proxy starter aligned with the fusion plan defaults.
Co-authored-by: Cursor <cursoragent@cursor.com>
Portal resume smoke can exceed 300s when agent-run worker is busy; raise
phase3 default to 600s and refresh memory/sanitize baselines from smoke.
Co-authored-by: Cursor <cursoragent@cursor.com>
Expose /health and /api/health/observations behind MEMIND_HEALTH_ENABLED, redirect ordinary chat health intents without persisting, and run a dedicated WeChat menu flow with confirm-before-write semantics.
Co-authored-by: Cursor <cursoragent@cursor.com>
Lock health recording behind confirm-only state machines, reject public publishes for the health category, and ship the 14-day experiment Page Data templates with tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
Verify write_file/edit_file land public HTML via call_tool, and Portal can
start/resume v1.49 sessions without 404 on the resume path.
Co-authored-by: Cursor <cursoragent@cursor.com>
Compare memory userId and candidate deltas during manifest drift checks,
add unit tests for false-positive cases, and verify /agent/resume plus
session history loading against local v1.49.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire Portal and TKMind proxy to loopback Goose v1.49 via canary env blocks,
with verification scripts, Phase 2/3 evidence baselines, and rollback runbooks
so local upgrade stays isolated from stable 1.41 and production.
Co-authored-by: Cursor <cursoragent@cursor.com>
Default to last 3 days in UI and backend, only ask when time is truly ambiguous, and treat「做成页面」as HTML report pages without follow-up questions.
Co-authored-by: Cursor <cursoragent@cursor.com>
Cursor bridge PoC rejects tool calls; Rain and other agent sessions must not
apply it during session provider selection.
Co-authored-by: Cursor <cursoragent@cursor.com>
Lower term threshold, tune promotion scores, project candidate fallback in snapshot, and add rebuild-ums-snapshot script for production backfill.
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the newer updated_at and max message_count during session list merges so local touchSession updates are not overwritten by lagging Goose summaries.
Co-authored-by: Cursor <cursoragent@cursor.com>
Seeds task outcomes, runs reflect(), and checks execution_pattern rows plus experience_saved product events for local acceptance.
Co-authored-by: Cursor <cursoragent@cursor.com>
Agents must deliver public pages via Portal 8081 with /MindSpace/<userId>/public/ paths; forbid mindspace.tkmind.cn and bare 5173/public links during local development.
Co-authored-by: Cursor <cursoragent@cursor.com>
Start a periodic reflect loop from portal and MindSpace service bootstraps when EXPERIENCE_REFLECT_ENABLED=1, aggregating repeated task outcomes on a configurable interval.
Co-authored-by: Cursor <cursoragent@cursor.com>
Auto-enable device/location prefixes for cross_device scenarios, thread question_device into keyword and embedding paths, and boost lexical scores from source-tag tokens.
Co-authored-by: Cursor <cursoragent@cursor.com>
Extend h5_experience with structured fields, wire mindspace-agent-runner and agent-run-gateway to persist task_outcome records with provenance, and add local migration and verification scripts.
Co-authored-by: Cursor <cursoragent@cursor.com>
Map Mi-Memory Structure/Expansion into h5_experience V1 fields and record JKRiver Sleep design lessons under AGPL constraints, plus post-fix MemFuseBench numbers.
Co-authored-by: Cursor <cursoragent@cursor.com>
Rank ILIKE matches by lexical coverage instead of recency and attach lexical scores to keyword rows so MemFuseBench candidate recall rises sharply while Chinese hybrid ordering stays unchanged.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire an offline benchmark over the production pgvector ranking path so Memory V2 recall can be measured with candidate/ranking loss split before lifecycle work lands.
Co-authored-by: Cursor <cursoragent@cursor.com>
Agent-run-worker bundles under scripts/, so fallback MCP resolution pointed
at scripts/tkmind-excel-mcp.mjs and broke Goose session startup on H5 image
tasks. Pin MEMIND_PORTAL_H5_ROOT to the repo root and honor TKMIND_EXCEL_MCP_SERVER_PATH.
Co-authored-by: Cursor <cursoragent@cursor.com>
Record feature/wechat-intent-channel-separation as merged and provide a reproducible admin-db toggle for Tang canary LLM router shadow on production.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add channel prefixes, pin edit targets in Cursor prompts, and force fresh sessions for page refine URLs so DeepSeek/Goose chat history does not pollute page tasks.
Co-authored-by: Cursor <cursoragent@cursor.com>
Fixes Tang-style follow-ups like「页面还不够详细」or linked HTML update requests from falling through to Goose chat and hitting stale providers.
Co-authored-by: Cursor <cursoragent@cursor.com>
Fixes Tang-style「做攻略」messages missing the 页面 keyword from entering Cursor, and forces provider refresh before DeepSeek/Kimi fallback after Cursor failures.
Co-authored-by: Cursor <cursoragent@cursor.com>
WeChat Goose turns always include tools, which the bridge PoC rejects with HTTP 501; keep Kimi/DeepSeek on the session while Cursor handles page execution separately.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add prod runner and LaunchAgent installer so Tang chatBridge toggle can reach a live OpenAI-compatible bridge after env enablement.
Co-authored-by: Cursor <cursoragent@cursor.com>
The cursor channel commit picked up unstaged harness bootstrap code without the service module, which broke Portal runtime bundling.
Co-authored-by: Cursor <cursoragent@cursor.com>
Expose page/data/scheduled-task/chat-bridge switches in the智趣体验通道 config so Tang can roll out Cursor paths independently with DeepSeek fallback.
Co-authored-by: Cursor <cursoragent@cursor.com>