Commit Graph

648 Commits

Author SHA1 Message Date
john 2f4dd39181 ci: retrigger on host-mode runner
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 16:12:36 +08:00
john 4e66c43350 merge: retrigger CI after runner wrapper
Memind CI / Test, build, and release guards (push) Failing after 2s
2026-08-03 16:11:09 +08:00
john 85872e1e84 ci: retrigger after runner wrapper fix
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 16:11:06 +08:00
john 93aa7c1cfa merge: retrigger CI after runner recovery
Memind CI / Test, build, and release guards (push) Failing after 8s
2026-08-03 16:06:09 +08:00
john 49c2671845 ci: retrigger workflow after runner and Colima recovery
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 16:06:07 +08:00
john 5cebd1121e merge: map Gitea workflows as non-runtime for release gate
Memind CI / Test, build, and release guards (push) Failing after 7s
2026-08-03 15:50:29 +08:00
john 492bf6fbb4 fix(release-gate): treat Gitea workflow files as non-runtime impact paths
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 15:50:26 +08:00
john 1d1af888e9 merge: fix CI for macOS self-hosted runner and AUTH-08 flake
Memind CI / Test, build, and release guards (push) Failing after 5s
2026-08-03 15:47:27 +08:00
john 4ebe7c76aa fix(ci): support memind-ci-mac runner and stabilize acceptance HTTP server
The self-hosted macOS runner cannot run apt-get or install Linux-only Sharp
packages; gate CI on sqlite availability and platform-specific Sharp setup.
Also wait for ephemeral Express listen before fetch to avoid AUTH-08 flakes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 15:47:11 +08:00
john 147734870b fix(release-gate): stabilize browser smoke UI-08 console check
Memind CI / Test, build, and release guards (push) Failing after 12s
Drop optional cover meta from the fixture and scope UI-08 console errors to
the final public-page view so chat /api/goals polling does not fail the gate.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 15:24:53 +08:00
john 36b1ae3992 fix(release-gate): map admin billing paths and repair pgvector test
Memind CI / Test, build, and release guards (push) Failing after 3s
Allow image-quota admin files in impact selection and update Memory V2
runtime test for hybrid pgvector keyword query.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 15:08:02 +08:00
john 35ec2e3544 docs: register feature/image-quota-admin branch disposition
Memind CI / Test, build, and release guards (push) Failing after 6s
Record merged image quota work as closed; admin UI lives in memind_adm 5174 only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 15:01:27 +08:00
john 946d8756c8 feat(billing): enforce image generation quota with admin API and user display
Memind CI / Test, build, and release guards (push) Failing after 3s
Add period_images_bonus and ledger tracking, gate image_make on remaining quota,
expose admin image-quota routes, show remaining image quota in the balance popover,
and document that admin UI must live in memind_adm (5174) not ops.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 14:58:38 +08:00
john 36d8e74784 merge: register feature/h5-llm-router-canary branch disposition
Memind CI / Test, build, and release guards (push) Failing after 2s
2026-08-03 12:32:13 +08:00
john 305af3cd35 docs: close feature/h5-llm-router-canary after main merge and 103 release
Record that the branch core LLM router work is already on main and production,
and mark the stale branch as read-only to prevent merge or release reuse.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 12:28:16 +08:00
john 5ead1abf7f fix(page-data): scope WeChat survey delivery when tool calls are hidden
Memind CI / Test, build, and release guards (push) Failing after 3s
Collect request-scoped tool messages in the WeChat SSE stream, infer this
turn Page Data HTML via mtime when messages lack writes, and limit bind and
delivery smoke to those paths so historical already_bound pages cannot block new surveys.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 21:41:00 +08:00
john 762453852f fix(page-data): deliver WeChat surveys when agent pre-binds pages
Memind CI / Test, build, and release guards (push) Failing after 5s
Include already_bound auto-bind skips and request-scoped relative paths
when building Page Data delivery artifacts, so pre-bound survey pages are
verified and linked instead of failing the finish guard.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 21:10:38 +08:00
john 599f23521f fix(release): accept active launchctl state for portal tunnel preflight
Memind CI / Test, build, and release guards (push) Failing after 3s
Tunnel agents can report spawn scheduled while the SSH forward is already
healthy; treating that as failure caused successful releases to roll back.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 20:40:37 +08:00
john 7e26b459bc fix(page-data): scope WeChat delivery verification to newly bound pages
Memind CI / Test, build, and release guards (push) Failing after 4s
Historical workspace Page Data HTML was failing delivery smoke checks and
blocking new survey links from reaching WeChat users. Add a webhook scenario
test script for 103 regression runs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 20:32:03 +08:00
john c7dcc5d002 fix(wechat): guard bare page-continuation follow-ups from session loss and memory drift
Memind CI / Test, build, and release guards (push) Failing after 3s
Prevent chat-to-page flows like writing a poem then saying "做成页面吧" from opening
a fresh session without carried content, failing with a vague error, or letting Memory
page-template preferences replace the immediate topic.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 18:49:57 +08:00
john 55100f8945 fix(mindspace): ensure thumbnail sidecars for WeChat link card og:image
Memind CI / Test, build, and release guards (push) Failing after 2s
Generate SVG/PNG sidecars at HTML delivery and after share-preview repair so
forwarded service-account links get a raster og:image when only meta exists.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 13:47:31 +08:00
john 3547cf8ef0 fix(wechat): complement page link delivery when reply references public html
Memind CI / Test, build, and release guards (push) Failing after 7s
Intent routing and reply content now both trigger HTML delivery: public links,
public/*.html paths, or html writes in the agent reply enable artifact recovery,
link attachment, and fail-closed when the claimed page is missing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:00:22 +08:00
john 3e8cdfdda3 fix(wechat): defer 45047/45015 delivery and control customer message budget
Memind CI / Test, build, and release guards (push) Failing after 10s
Persist formal replies when WeChat customer-service quota is exhausted,
claim them once on the next passive response, skip progress notices for
page generation, and suppress failure notices while a formal reply is pending.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 09:21:54 +08:00
john db53090ba1 fix(wechat): only auto-repair substantial HTML during materialize
Memind CI / Test, build, and release guards (push) Failing after 8s
Skip share-preview repair for tiny HTML fragments so sandbox write tests
and partial tool outputs stay unchanged while real pages still get metadata.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 08:49:51 +08:00
john 1faba62f9b fix(wechat): repair share preview on disk for sanitized delivery artifacts
Memind CI / Test, build, and release guards (push) Failing after 6s
Production WeChat delivery strips localPath from artifacts, so share-preview
auto-repair never wrote back to HTML. Resolve paths via publishDir +
relativePath, repair at materialize and delivery prep, and pass h5Root from
Portal so page.generate can patch missing meta before sending links.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 08:48:03 +08:00
john 0a71370bf4 fix(wechat): auto-repair missing share preview meta before page delivery
Memind CI / Test, build, and release guards (push) Failing after 3s
Pages with real HTML content but missing description, mindspace-cover, or
platform brand markers are patched in-place so WeChat link delivery no longer
fails after successful generation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 08:09:13 +08:00
john b9f5720ce0 fix(wechat): recognize news page intents and harden scheduled task delivery
Memind CI / Test, build, and release guards (push) Failing after 4s
Expand page.generate rules for post-page verbs and link-missing retries,
recover HTML artifacts when shadow LLM agrees, and stop marking scheduled
tasks failed when WeChat notification hits rate limits.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 06:46:37 +08:00
john 26fe5912a3 fix(wechat): guard ambiguous memory recall and scheduled task execution
Skip memory injection for short filler messages, demote page-workflow memory
pollution, keep scheduled automation off page.generate, and fail scheduled
tasks that only return clarification instead of deliverables.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 22:50:46 +08:00
john dcf83e9b6f fix(memory-v2): improve pgvector recall and WeChat memory injection
Add keyword fallback and dedupe for pgvector resolve, score personal vs episodic memories by relevance, record WeChat recall product events, and disable broken chatrecall on Postgres session storage.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 22:26:47 +08:00
john dac06753ce fix(wechat): stop relay bootstrap from hijacking LLM provider selection.
Memind CI / Test, build, and release guards (push) Failing after 2s
Schedule LLM now binds an explicit provider key and fails closed on network errors so dead relay endpoints cannot block ordinary chat; relay bootstrap is opt-in only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 21:44:08 +08:00
john 122a25649b fix(ops): align Memory V2 Runtime Control badge with actual config flags.
The admin page treated every section as enabled via section.enabled, but runtimeControl has no such field; derive status from agent resolve/injection/lifecycle flags and proxy runtime status from Portal.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 21:44:01 +08:00
john 91e140d402 feat(wechat): add admin-pluggable LLM intent router separate from H5.
Memind CI / Test, build, and release guards (push) Failing after 8s
Give WeChat MP its own chat.general→page.generate LLM refinement layer with memindadm toggles, shadow mode, and canary openids so service account routing stays independent of the H5 chatIntentRouter.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 20:57:41 +08:00
john cdc265d7e0 fix(agent-run): tolerate goosed stdio MCP listing gaps during session reconcile.
Memind CI / Test, build, and release guards (push) Failing after 4s
Skip hot-adding stdio extensions goosed omits from /extensions, stabilize MCP
scope during session start, and wire chat intent routing into the agent-run worker.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 20:02:33 +08:00
john 9d78927d1b fix(agent-run): import Memory V2 helpers used during intent routing.
Memind CI / Test, build, and release guards (push) Failing after 3s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 17:19:20 +08:00
john 20f03abd5d fix(test): align agent runtime route deps with Goal Run wiring.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 17:16:22 +08:00
john 6f3e53a56a feat(memory-v2): close Phase A with auto-review, product events, and H5 recall UI.
Add candidate auto-review pipeline, shadow audit tooling, admin metrics page,
and user-visible memory recall hints in chat with phase-a readiness checks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 17:14:06 +08:00
john 666db0b939 feat(goal-run): add multi-checkpoint goal orchestration with H5 and admin surfaces.
Persist goal runs in MySQL, bind agent runs to checkpoints, expose awaiting-approval
UX in chat, and add admin inspection routes with local verify scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 17:03:16 +08:00
john 43bc8bbc2b feat(h5): add LLM intent router admin controls and shadow verification.
Expose shadow/canary router policy in ops admin, add FAQ rule fast-path,
and tighten router defaults (1200ms timeout, 0.65 confidence).
Includes verify-h5-llm-router-shadow for production canary rollout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 16:48:01 +08:00
john 005612029f Fix scheduled task page delivery unlock and notification links.
Memind CI / Test, build, and release guards (push) Failing after 5s
Finalize page delivery contracts after worker execution, fetch session messages via tkmindProxy, and append public page URLs to WeChat notifications.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 09:06:07 +08:00
john 6acd79e4fa Fix MindSpace deliverable link redaction and release gate impact mapping.
Memind CI / Test, build, and release guards (push) Failing after 3s
Preserve local MindSpace URLs in assistant replies during architecture term redaction, and map db.mjs and skills-registry.mjs for impact selection.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 08:22:54 +08:00
john 81e63c16d3 Add scheduled task automation skill with worker execution pipeline.
Memind CI / Test, build, and release guards (push) Failing after 18s
Introduce scheduled-task-automation for H5 and WeChat, persist tasks in h5_scheduled_tasks, and run due jobs via a dedicated worker that executes agent tasks and delivers results.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 08:02:49 +08:00
tkmind 4186522c72 Merge pull request 'docs(ops): 103 native runtime tooling (goosed, imgproxy, image_make topology)' (#42) from codex/goosed-native-103-docs into main
Memind CI / Test, build, and release guards (push) Has been cancelled
2026-07-30 22:00:25 +00:00
john 78e5a6c026 feat(ops): add imgproxy native runtime tooling and record 103 deployment
Memind CI / Test, build, and release guards (pull_request) Failing after 18s
Bundle vendored imgproxy with Mach-O dylibs for 103 launchd, fix install to exec the binary directly with launchctl enable, and document the live native release in the runtime topology.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 05:38:14 +08:00
john 08ea5e05a9 fix(ops): restore stop_docker_pool_keep_standby function in migrate script
Memind CI / Test, build, and release guards (pull_request) Has been cancelled
Repair a bash syntax error introduced when adding monitor and DeepSeek proxy phases.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 20:38:50 +08:00
john 0dfb2e2b82 docs(ops): record 103 goosed native migration and add migrate tooling
Memind CI / Test, build, and release guards (pull_request) Has been cancelled
Document the completed Docker-to-native goosed pool cutover on 103, add the production migrate script with backup/rollback paths, and extend local native pool soak/metrics helpers used as migration gates.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 20:24:22 +08:00
tkmind b549a390fe Merge pull request 'feat(mindspace): add page quota grace write and local delivery guardrails' (#41) from codex/mindspace-page-quota-delivery into main
Memind CI / Test, build, and release guards (push) Has been cancelled
2026-07-30 02:56:45 +00:00
tkmind 418406517f Merge pull request 'fix(release-gate): isolate PAGE agent runs from split-service MCP routing' (#40) from codex/release-gate-page-agent-isolation into main
Memind CI / Test, build, and release guards (push) Has been cancelled
2026-07-30 02:56:28 +00:00
tkmind 2d52c9d0bb Merge pull request 'fix: route stable production goosed through DeepSeek no-think proxy' (#39) from codex/deepseek-stable-prod-proxy into main
Memind CI / Test, build, and release guards (push) Has been cancelled
2026-07-30 02:56:18 +00:00
tkmind 4ee70d3f6d Merge pull request 'feat(search): enable MindSearch defaults and sanitize user-facing search language' (#38) from codex/mindsearch-defaults-display into main
Memind CI / Test, build, and release guards (push) Has been cancelled
2026-07-30 02:55:58 +00:00
tkmind 1bd8392940 Merge pull request 'fix(wechat): page.generate fail-closed and vision image_url scrub' (#37) from codex/wechat-page-generate-vision-handoff into main
Memind CI / Test, build, and release guards (push) Has been cancelled
2026-07-30 02:55:47 +00:00