weichen
d91dafc1c4
feat(scripts): test env single-binary entrypoints (migrate-test-db, launch-single)
...
- migrate-test-db.sh: reuse parameterized migrate-dev-db.sh with test defaults
(container shuimu-system-pg-test -> localpg :5434, PGDATA=data/test/pg)
- launch-single.sh: non-dev single-binary launcher (SYSTEM_DB_*->CONTEXT_DB_*
mapping, env-scoped PI sidecar, no Vite); task record for dev->test rc
promotion + test conversion (rc-v1.1.0-beta.4)
2026-09-27 16:21:09 +00:00
weichen
05d45022b1
merge: candidate upload-doc-access-2026-09-27 closeout into dev
2026-09-27 08:10:14 +00:00
weichen
07845cfcee
docs(task): close out upload-doc-access (dev 86efba2c verified, E2E PASS, lesson added)
2026-09-27 08:10:05 +00:00
weichen
86efba2cd5
merge: candidate upload-doc-access-2026-09-27 into dev
2026-09-27 07:52:39 +00:00
weichen
307e9e6569
docs(current): claim upload-doc-access-2026-09-27 (docs apply receipt upload-doc-access-2026-09-27-state-1)
2026-09-27 07:45:36 +00:00
weichen
88e33282db
fix(freedoc): persist uploaded file metadata and text body server-side
...
上传文档跨端不可访问修复(ISSUE-20260927-upload-doc-cross-device):
- 迁移 00076:freeform_documents 增加 source_filename/mime/size_bytes/asset_id
- freedoc:Create/Get/List 读写源文件元数据,负值拒绝
- 前端:注册前全部附件先登记 CAS 并预读文本正文;文本正文嵌入注册
markdown;跨端恢复 sourceType/fileMeta 路由回文件预览器
- 大小显示 formatFileSize(<512B 不再显示 0 KB)
- E2E 新增 FS-UPLOAD-02 跨浏览器上下文可访问性用例
回归:go vet/arch-check/go test -short(隔离 PG)+ web npm test/build 全绿;
存量无元数据旧文档不可恢复(重新上传即可)。
2026-09-27 07:45:15 +00:00
weichen
a0e40919a7
merge: candidate frontend-demo-fallback-2026-09-27-r3 closeout into dev
2026-09-27 07:08:12 +00:00
weichen
9da300ae60
docs(task): finalize active-session residue closeout state
...
任务文档终态(done/merged/passed/cleanup done)、ISSUES 行 resolved
(dev 36c5fb54 复验证据)、CURRENT 置 done。
2026-09-27 07:08:05 +00:00
weichen
36c5fb549c
merge: candidate frontend-demo-fallback-2026-09-27-r3 into dev
2026-09-27 07:06:17 +00:00
weichen
083c63bb9c
docs(issue): register active-session residue issue and r3 task record
...
登记 ISSUE-20260927-active-session-residue(ISSUE-20260927-demo-fallback
修复残留路径);新增 r3 任务主记录(根因/同类排查/修复方案/验证证据);
CURRENT 登记 r3c 任务行。
2026-09-27 07:05:09 +00:00
weichen
739b8c56f9
fix(web): purge legacy demo sessionId residue from localStorage on read
...
旧前端曾把 demo fallback 值 sess-001 持久化到 active_session;一次性
purge 版本 key 已写不再清理,读取侧无校验导致老浏览器 + 无可见会话
账号首屏 4x chat 404。提取共享 LEGACY_DEMO_SESSION_IDS 常量,
loadActiveSessionId 命中即清除并返回 fallback(幂等),loadMessages
复用同一集合。
2026-09-27 07:05:05 +00:00
weichen
87db3621c6
merge: candidate frontend-demo-fallback-2026-09-27-r2 into dev
2026-09-27 03:15:24 +00:00
weichen
0648867921
docs(current): mark frontend-demo-fallback-2026-09-27-r2 done
2026-09-27 03:15:22 +00:00
weichen
41b9b8bc3d
merge: candidate frontend-demo-fallback-2026-09-27-r2 into dev
2026-09-27 03:14:56 +00:00
weichen
20b68d6a23
docs(task): finalize frontend-demo-fallback closeout state
2026-09-27 03:14:53 +00:00
weichen
0de657f09c
merge: candidate frontend-demo-fallback-2026-09-27-r2 into dev
2026-09-27 03:11:32 +00:00
weichen
db038aa7a7
fix(web): stop phantom demo-fallback requests in seeds-off mode
...
App.tsx hardcoded fallbacks (active session "sess-001", projectId 1) sent
requests for nonexistent resources on fresh logins against real dev data,
producing 7+ console 404/403 hits. Fallbacks now resolve to empty/0; the
existing chatBlockedNoProject empty state and session-reconciliation effect
carry the UI, and demo-seeds-enabled builds keep the NEUROPULSE fallback.
Root cause, same-class scan, and before/after browser evidence (9 phantom
requests -> 0, author+member accounts) recorded in the task doc; ISSUES row
ISSUE-20260927-demo-fallback registered.
2026-09-27 03:09:37 +00:00
weichen
56928ac206
merge: candidate full-system-browser-e2e-2026-09-26 into dev
2026-09-26 09:28:00 +00:00
weichen
a9d79b99b8
docs(test): audit-friendly E2E report with retained login credentials
2026-09-26 07:58:47 +00:00
weichen
7ab7d572b9
docs(test): e2e ledger after reject portal fix
2026-09-26 07:48:36 +00:00
weichen
887a75c1b1
fix(web): portal reject modal above stacking context
2026-09-26 07:48:30 +00:00
weichen
157ec407e2
docs(test): full-system browser e2e re-run ledger
2026-09-26 07:29:34 +00:00
weichen
7513ce61ed
fix(web): member drafting edit + reject await + expand right rail
2026-09-26 07:29:27 +00:00
weichen
7555818753
docs(test): FINAL full-system browser E2E report after pending heal
2026-09-26 05:14:11 +00:00
weichen
323088c4bd
docs(test): add playwright log for full-system e2e rerun
2026-09-26 04:31:01 +00:00
weichen
ccce44dfc0
fix(chat): heal task bubble pending after completed run
2026-09-26 04:30:38 +00:00
weichen
a5ca6fdcfd
test(e2e): document PI UI pending mismatch and raise suite timeout
2026-09-26 04:12:33 +00:00
weichen
466426a58f
test(e2e): full-system browser multi-user acceptance
2026-09-26 03:48:34 +00:00
weichen
4873c5e8b9
test(e2e): full-system browser multi-user acceptance
2026-09-26 03:28:34 +00:00
weichen
078eb4fcf0
test(e2e): full-system browser multi-user acceptance
2026-09-26 03:23:35 +00:00
weichen
09cc76eb8d
merge: candidate sysadmin-maturity-refresh-2026-09-26 into dev
2026-09-26 02:46:15 +00:00
weichen
9ff489546c
docs: sysadmin maturity refresh closeout (results, current claim done)
2026-09-26 02:46:10 +00:00
weichen
1d82ed8823
merge: candidate sysadmin-maturity-refresh-2026-09-26 into dev
2026-09-26 02:45:12 +00:00
weichen
d537778b60
fix(sysadmin): refresh feature maturity catalog to post-rollout wiring facts
...
The static adapter catalog still read I2-era states (degraded/shadow) after
the 2026-09-26 dev rollout, so the admin features page showed 降级 for flags
already enabled. Update six entries to live+ready with evidence-dated
reasons (I2/I3/P8 acceptance, P8 per-key gates kept visible, shadow
visibility digest now persisted, REPLACE wildcard wiring, PI narrative dev
rollout); keep FAV red lines untouched. Tests updated; FAV now carries the
configured-value-must-not-imply-readiness assertion.
2026-09-26 02:45:05 +00:00
weichen
1d13a892fc
merge: candidate degraded-flags-enable-2026-09-26-r4 into dev
2026-09-26 02:39:09 +00:00
weichen
4e7f84111d
docs: degraded-flags-enable closeout (task record, dev runtime test report, matrix notes, current claim)
2026-09-26 02:39:05 +00:00
weichen
6b31718138
merge: candidate degraded-flags-enable-2026-09-26-r4 into dev
2026-09-26 02:29:36 +00:00
weichen
e9c0281404
feat(ctxmgr): wildcard session allowlist for semantic replace rollout
...
- SEMANTIC_SUMMARY_REPLACE_SESSIONS supports * (all sessions, present and
future), mirroring INTENT_PLAN_PROJECT_ALLOWLIST; empty allowlist still
replaces nothing (fail-closed defense in depth unchanged)
- declare SEMANTIC_SUMMARY_REPLACE(_SESSIONS) in dev/test/main compose app
env (stale Wave2 "REPLACE unwired" comment fixed); extend A-4 declaration
test; .env.example key docs updated
- sysadmin feature catalog: SESSIONS description + REPLACE reason note *
Prepares dev degraded-flags enable (task degraded-flags-enable-2026-09-26-r4):
user-authorized all-session replace, plan tier confirm, shadow summary, PI
change-report narrative; env ops and runtime verification follow.
2026-09-26 02:29:29 +00:00
weichen
66ea4e3e51
merge: candidate deploy-record into dev
2026-09-26 02:15:20 +00:00
weichen
c9e2263325
docs: record review-fixes deployment verification (dev 1ceda34c live IDOR probe)
2026-09-26 02:15:11 +00:00
weichen
1ceda34c43
merge: candidate integrate-review-fixes (report + P0/P1 fixes) into dev
2026-09-26 02:08:50 +00:00
weichen
467e64574f
docs: closeout review report + fix task records for batch integration
2026-09-26 02:07:45 +00:00
weichen
438fdc8686
merge: system code review report into dev
...
# Conflicts:
# .doc/ops/CURRENT.md
2026-09-26 02:06:58 +00:00
weichen
dfd9c420d3
docs(current): pre-align claim table for review-report merge (docs apply @document)
2026-09-26 02:06:02 +00:00
weichen
fb376c0ea0
merge: candidate system-review-p0-p1-fixes into dev
2026-09-26 02:02:42 +00:00
weichen
ea66f4456f
docs: review P0/P1 fix records, ISSUES ledger, lesson, task claim
...
- remediation master record for 5 resolved + 1 deferred + 1 open issues
- ISSUES.md rows with evidence dates and lesson links
- LESSON-20260926-failclosed-bypass-contract (validated)
- remediation/lessons INDEX hooks + CURRENT task row (docs apply receipt)
2026-09-26 02:00:24 +00:00
weichen
6a3a0dc201
fix(security): harden bypass authz, gate blind spot, command exec, validated_only (review P0/P1)
...
- FIND-SEC-01: GetUserContext requires session ownership (handler 403 +
SQL/memory owner filter); in-memory HTTP + isolated-PG regressions
- FIND-ARCH-01: archtest fails closed on untracked table writes (+noise
exemption) and registers 50 existing writer tables in table_owners
- FIND-SEC-02: Authorizer without pool denies by default; explicit
NewInMemoryAuthorizer seam opt-in via ALLOW_IN_MEMORY at composition
- FIND-SEC-03: swboot commands run argv-exec (no sh -c) with exact
basename allowlist match; prefix-spoof and no-shell-eval tests
- FIND-FLOW-01: confirm rejects validated_only plans; ExecuteClaimed
hard-refuses validated_only steps (new error codes + HTTP mapping)
- FIND-QUAL-01: intentflow.ValidateFlagConsistency fail-fast at Assemble
2026-09-26 02:00:14 +00:00
weichen
b6e382e58f
docs(ops): 标记 system-code-review 认领为 done
2026-09-26 01:34:08 +00:00
weichen
c7e9ec0a26
docs(audit): 系统全面 code review 报告(仅分析不修复)
...
记录 tip f4c1b73f 上架构/安全/可维护性/关键路径审查结论;不实施代码修复。
2026-09-26 01:33:41 +00:00
weichen
f4c1b73f28
merge: candidate swboot-closeout-2026-09-26-r3 into dev
2026-09-26 01:09:32 +00:00