Commit Graph

847 Commits

Author SHA1 Message Date
john 260f2a3038 chore(goose-v149): record consecutive phase3 pass on merge gate
Mark phase3 closeout gate 3 complete after two canary=all GOOSE_V149_PHASE3_OK runs and refresh baseline evidence from run3.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 12:32:22 +08:00
john 4ad04f07f0 chore(goose-v149): refresh merge-prep baselines and fix local build script
Fix build-goosed-v149-local.sh vendor/v8 paths after cd into the v149 worktree,
record phase3/memory drift evidence, and update phase3 closeout gate status.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 12:06:58 +08:00
john bfe8bac00c fix(wechat): reserve space for uploaded follow QR in draft body
Memind CI / Test, build, and release guards (push) Failing after 5m35s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 09:47:51 +08:00
john 6915b2da74 feat(wechat): refine daily news draft layout and follow QR block
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 09:47:51 +08:00
john 0f9d69bfda fix(wechat): add fallback trim profiles for 20k content limit 2026-09-10 09:47:51 +08:00
john 09008a7b55 feat(wechat): add news morning draft inline HTML converter
Push daily-news pages to WeChat drafts as inline-styled HTML instead of
full-page long images, with automatic trimming to stay within the 20k limit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 09:47:51 +08:00
john b208c4d2bd feat(context): promote local Context Runtime profile to full active
Memind CI / Test, build, and release guards (push) Failing after 3m47s
Add CONTEXT_RUNTIME_ACTIVE_ENV bundle and zero-LLM active probe covering
MCP compact, zvec, and headroom proxy readiness while keeping memory
injection on shadow.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 09:41:55 +08:00
john 3414ae42b1 feat(context): promote MCP compactor to active locally
Memind CI / Test, build, and release guards (push) Has been cancelled
Add active-mode probe script and document mixed shadow/active promotion;
first active switch is MEMIND_MCP_COMPACT_MODE only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 09:39:32 +08:00
john 0daf40d950 docs(context): note agent memory shadow setup for fusion E2E
Memind CI / Test, build, and release guards (push) Failing after 3m15s
Allow custom shadow portal probe messages and document admin-db steps to
enable recall_fusion_resolved without turning on active injection.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 09:33:47 +08:00
john c7a9d439ca docs: register dsh-executor-local-setup branch disposition
Memind CI / Test, build, and release guards (push) Failing after 3m34s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 09:25:28 +08:00
john f3348f45c0 feat(dev-tools): add shadow portal and dsh gateway local E2E scripts
Add events-only Context Runtime shadow portal verification to save LLM
tokens, wire Tool Gateway → dsh headless smoke, and document both flows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 09:25:13 +08:00
john c0d43379b8 feat(dev-tools): document dsh install and zero-LLM local checks
Memind CI / Test, build, and release guards (push) Failing after 3m44s
Pin @deepseek-ai/dsh@0.1.1-rc.2 probing in check-dsh-executor-local.mjs,
keep live headless smoke opt-in only, and record the 10k-token approval gate.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 08:50:20 +08:00
john 938f6d6d37 docs: note Homebrew path for codebase-memory-mcp Cursor config
Memind CI / Test, build, and release guards (push) Failing after 34s
Document the ~/.local/bin vs /opt/homebrew/bin mismatch that breaks MCP
connection when install targets a path the global npm binary does not use.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 08:39:41 +08:00
john db3235db8a docs: register codebase-memory-mcp-setup branch disposition
Memind CI / Test, build, and release guards (push) Failing after 2m45s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 08:33:27 +08:00
john 47d0d2accd feat(dev-tools): add codebase-memory-mcp local check and docs
Document MIT dev-tool setup for Cursor code intelligence and add an
offline probe for CLI, Cursor MCP config, and Memind index readiness.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 08:32:56 +08:00
john 2bab7eb62d docs: register context-runtime-shadow-offline branch disposition
Memind CI / Test, build, and release guards (push) Failing after 2m52s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 22:19:09 +08:00
john 478c33376c feat(context): add offline shadow profile and local dev gate
Memind CI / Test, build, and release guards (push) Has been cancelled
Provide context-runtime-profile simulation for gateway shadow events,
run-context-runtime-offline.mjs for zero-LLM verification, and a local
dev guide for user-led shadow self-tests later.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 22:18:47 +08:00
john c6209370d8 docs: register goose-v149-real-llm-gate branch disposition
Memind CI / Test, build, and release guards (push) Failing after 2m25s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 22:10:43 +08:00
john 2fa9523587 feat(goose-v149): add offline phase3 gate without real LLM calls
Memind CI / Test, build, and release guards (push) Has been cancelled
Block unattended DashScope smokes by default and provide a zero-token
merge verification entry via run-goosed-v149-phase3-offline.mjs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 22:10:19 +08:00
john 67220a14ea fix(goose-v149): block unattended real LLM smokes by default
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>
2026-09-09 22:08:39 +08:00
john 9569d83e58 docs: register mcp-result-compactor branch disposition
Memind CI / Test, build, and release guards (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 22:05:51 +08:00
john 60a428612c feat(context): add MCP result compactor for tool output shadow path
Memind CI / Test, build, and release guards (push) Has been cancelled
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>
2026-09-09 22:05:02 +08:00
john 51c5fc0e18 docs: register goose-v149-local-canary branch disposition
Memind CI / Test, build, and release guards (push) Has been cancelled
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>
2026-09-09 22:02:36 +08:00
john e5dfd8750f Merge branch 'feature/goose-v149-local-canary'
Memind CI / Test, build, and release guards (push) Has been cancelled
2026-09-09 22:01:45 +08:00
john 26ce1241c6 fix(context): repair headroom probe routing and add portal E2E gate
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>
2026-09-09 22:01:29 +08:00
john fc4ac98e9f feat(context): add dsh executor and headroom active loopback probe
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>
2026-09-09 21:32:57 +08:00
john 40e4a527fe feat(context): add recall fusion and zvec workspace adapters
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>
2026-09-09 21:28:04 +08:00
john 49a1a68a29 feat(context): wire headroom proxy and injection budget shadow paths
Add fail-open headroom provider routing for goosed sync, context-budget
planning with shadow telemetry events, and fix portal-resume smoke to skip
force_deep_reasoning by default so session round-trip checks stay fast.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 21:24:02 +08:00
john d691fed8a6 fix(goose): extend portal-resume timeout for phase3 under load
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>
2026-09-09 19:56:28 +08:00
john 1d165bc6e3 feat(goose): complete v1.49 phase3 closeout gates and context fusion plan
Expand Goose v1.49 smoke coverage (memory chat, portal resume, page e2e,
multiturn provider), add canary memory policy lock, refresh baselines, and
ignore one-off evidence artifacts. Document headroom-based context runtime
fusion plan; include auth, scheduled-task, and wechat intent fixes on branch.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 18:11:39 +08:00
john 2f95c68db3 docs: register feature/memind-health-p0 branch disposition
Health P0 merged into main; mark branch closed and worktree removed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 18:07:37 +08:00
john 2baf29b3ae feat(health): complete P0 health channel — baseline engine, page-data, MindSpace UI
Deliver encrypted health zone, observation API, baseline maturity pipeline,
page-data bindings, and H5/WeChat channel integration for health P0.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 18:04:57 +08:00
john 7bf16500a1 feat(health): wire H5 health page, WeChat channel, and observation API.
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>
2026-09-09 18:04:26 +08:00
john f96fdcb3b9 feat(health): add P0 health channel kernel and encrypted health zone.
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>
2026-09-09 18:04:26 +08:00
john 1274943f33 test(goose): add sandbox page and Portal resume integration smokes
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>
2026-09-08 21:37:27 +08:00
john 9393650447 docs(goose): note resume/session history parity in migration checklist
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 21:27:18 +08:00
john fe8a5e74d1 fix(goose): tighten memory drift checks and add resume smoke gate
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>
2026-09-08 21:27:14 +08:00
john 716ef407fe feat(goose): add local v1.49 canary routing, smoke gates, and migration docs
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>
2026-09-08 21:10:20 +08:00
john d2d463b1db feat(rain): add date preset picker and reduce time clarification prompts.
Memind CI / Test, build, and release guards (push) Successful in 5m5s
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>
2026-09-07 16:54:11 +08:00
john 7cc3fb7f8a fix(rain): keep Goose agent turns on DeepSeek, not Cursor chat bridge.
Memind CI / Test, build, and release guards (push) Failing after 13m25s
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>
2026-09-04 14:33:55 +08:00
john ab557ac8c7 test(portal): expect userModelSnapshot in /auth/me response.
Memind CI / Test, build, and release guards (push) Successful in 5m32s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 14:03:58 +08:00
john 8a5010919e test(portal): align Direct Chat bootstrap deps with UMS pool wiring.
Memind CI / Test, build, and release guards (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 14:01:55 +08:00
john be464a5b8d Add Rain V0 for MeInput full-range chat analysis and delivery tooling.
Memind CI / Test, build, and release guards (push) Has been cancelled
Introduce rain-service orchestration, browser-safe chat skill filtering, MeInput
adapter helpers, and verify/deploy scripts so Rain mode can summarize recent input
without Memory V2 pollution.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 13:49:40 +08:00
john b2a5caf67d Improve UMS candidate scoring and snapshot materialization for sparse data.
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>
2026-09-04 08:40:07 +08:00
john 212ff3ff80 Add User Model Service and Temporal Recall for MeMind V0.1.
Introduce UMS ingest/snapshot pipeline, Context Planner with multi-source recall, runtime context injection, canonical user mapping, and session snapshot loading on auth/me.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 23:25:18 +08:00
john bf66fdf493 docs: register feature/memfuse-recall-benchmark branch disposition after 103 release.
Memind CI / Test, build, and release guards (push) Successful in 4m8s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 15:23:21 +08:00
john f6c82182cf test(memory-v2): align pgvector resolve params with score margin and expand cap.
Memind CI / Test, build, and release guards (push) Successful in 3m47s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 15:08:39 +08:00
john e370583fc0 Fix session history order when sidebar refresh merges stale server timestamps.
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>
2026-09-02 14:59:38 +08:00
john 1d1af5c657 Add local script to verify Experience reflect aggregation end-to-end.
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>
2026-09-02 14:52:45 +08:00
john eb0c697c4e Document local MindSpace delivery links and block production URLs in dev.
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>
2026-09-02 14:51:41 +08:00