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>
This commit is contained in:
john
2026-09-09 22:01:29 +08:00
parent fc4ac98e9f
commit 26ce1241c6
8 changed files with 440 additions and 12 deletions
@@ -1,7 +1,7 @@
{
"schemaVersion": "goose-v149-memory-manifest-v1",
"exportedAt": "2026-09-09T11:19:27.365Z",
"cutoverWatermarkMs": 1788952767365,
"exportedAt": "2026-09-09T13:36:41.959Z",
"cutoverWatermarkMs": 1788961001960,
"timezone": "Asia/Shanghai",
"textNormalization": "utf8mb4_unicode_ci",
"scope": {
@@ -23,7 +23,7 @@
"enabled": true,
"connectionHost": "127.0.0.1",
"table": "memory_embeddings",
"rowCount": 1325,
"rowCount": 1332,
"embeddingModule": "./scripts/embed-memory-v2-local-hash.mjs",
"dimensions": 3
},
@@ -34,7 +34,7 @@
"statusBreakdown": {
"active": 1273
},
"digest": "ce5b93bb8608aa09f52fcc67a7a5e3314032d14ae87cbe45fa1b0df66952bd15"
"digest": "ff0325dbf22b7c43337880cd80e53c5fd769877d4a814c16080f1d5839067be9"
},
"users": [
{
+4 -4
View File
@@ -1,7 +1,7 @@
{
"schemaVersion": "goose-v149-memory-manifest-v1",
"exportedAt": "2026-09-09T11:18:29.173Z",
"cutoverWatermarkMs": 1788952709173,
"exportedAt": "2026-09-09T13:34:01.805Z",
"cutoverWatermarkMs": 1788960841806,
"timezone": "Asia/Shanghai",
"textNormalization": "utf8mb4_unicode_ci",
"scope": {
@@ -23,7 +23,7 @@
"enabled": true,
"connectionHost": "127.0.0.1",
"table": "memory_embeddings",
"rowCount": 1325,
"rowCount": 1332,
"embeddingModule": "./scripts/embed-memory-v2-local-hash.mjs",
"dimensions": 3
},
@@ -34,7 +34,7 @@
"statusBreakdown": {
"active": 1273
},
"digest": "39da82279ead16ea0176dc515e6f2846a70118584dca13be15b131c3baf671cb"
"digest": "68507a5e3a9db5620fe1686388653ffc18a6e5e646d1767eee8e6baf963347c3"
},
"users": [
{
@@ -1,6 +1,6 @@
{
"schemaVersion": "goose-v149-message-sanitize-v2",
"capturedAt": "2026-09-09T11:19:08.907Z",
"capturedAt": "2026-09-09T13:35:24.843Z",
"v149": {
"root": "/Users/john/Project/tkmind_go-v149",
"version": "1.49.0",
@@ -1,6 +1,6 @@
{
"schemaVersion": "goose-v149-thinking-preservation-v1",
"capturedAt": "2026-09-09T11:52:47.849Z",
"capturedAt": "2026-09-09T13:47:20.080Z",
"worktree": "/Users/john/Project/tkmind_go-v149",
"tests": [
"test_deepseek_thinking_preserved_in_tool_call_message",