Commit Graph
452 Commits
Author SHA1 Message Date
weichen 10e484ca87 Restore the I1 workspace on the current integration baseline
Why: The resumed task requires a fresh baseline before recording the approved implementation and formal checks.

Evidence: Startup identified SYNC_REQUIRED; Documents pointer conflict was resolved by merging the referenced upstream commit while preserving all three approved I1 documents byte-for-byte.

Impact: Workspace recovery only; retain incoming project-membership records and the fixed I1 approval objects. Formal checks remain pending.

Refs: User approval of I1 implementation; policy/governance.md startup and recovery
2026-10-13 14:22:19 +00:00
weichen 3606ed4ee8 Select merged project membership components
Why: The final base combination must reference actual reviewed main commits.

Evidence: Component PRs are merged, and each merged tree matches the independently tested candidate; whole review receipts remain unmodified.

Impact: Advance gitlinks and preserve acceptance evidence; new exact-head CI follows with no runtime changes.

Refs: Backend195 Frontend82 Documents97; feature/project-member-access
2026-10-13 11:53:42 +00:00
weichen 8419c1b584 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=946cc13c9a10a2023a766b211e1148e625b62943.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-13 11:35:37 +00:00
weichen 033db6f7ec Bump frontend pin to set-role rename 42cda9c
Why: Frontend #83(member.set-role 调用点改名)合入后的顶层组合——同时是 RDM #350 改名的组合校验载体。
Evidence: check-pins 由 CI 复核;组合验证由本 PR 三作业承担。
Impact: gitlink 一枚。
Refs: RDM #350;Frontend #83
2026-10-13 11:14:56 +00:00
weichen 82acec9ee3 Compose the final private project event candidate
Why: Existing upload history must stay private after project adoption, and final object evidence must remain traceable.

Evidence: Original tool receipts and independent reports saved byte-for-byte; new fixed combination and CI remain pending.

Impact: Select Backend d26f3cf and proposal r1.1 with unchanged public downstream contracts; preserve workspaces and live data.

Refs: feature/project-member-access; Frontend PR82; Documents PR97
2026-10-13 11:14:22 +00:00
weichen 1484c58763 Save I1 local verification and the review record
Why: Keep the reviewable contract and observed verification together in the fixed parent composition.

Evidence: Dev make test passed on 0ab70b0c and RDM make test passed on ef075bd1, recorded as complete SELF receipts. Final parent pin verification follows this metadata checkpoint.

Impact: Advance the text-only review record and save evidence; no implementation components changed.

Refs: IAM I1 U1-U2 local review
2026-10-13 10:46:39 +00:00
weichen d03c1d4cde Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=143e6367367760deceac91ac3de5ccb3ed6adebc.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-13 10:39:24 +00:00
weichen 5869f74aa5 Pin the I1 contract and local review record
Why: Keep the accepted IAM direction and I1 review entry visible from the authoritative integration checkout.

Evidence: Full SELF document consistency receipts are recorded in the I1 task card. Final synchronized parent combination verification follows this checkpoint.

Impact: Advance Documents only and record I1 local authorization; backend, frontend and UI behavior pins remain unchanged.

Refs: Approved IAM plan r1; I1 U1-U2
2026-10-13 10:39:21 +00:00
weichen 712481b9bd Compose reviewed project upload and duty fixes
Why: Final review and real composition exposed member upload rejection, private project cards and stale duty selection.

Evidence: Component correction receipts and fixed clean source SHAs; independent replays and final composition are in progress.

Impact: Select Backend d2f96e7 and Frontend 2ba275b with current UI, preserving private originals and verified project commands.

Refs: feature/project-member-access
2026-10-13 10:24:30 +00:00
weichen 9f522657b0 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=86d975b822c2384e96edd75f9c3a2dca63593b3a.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-13 10:02:54 +00:00
weichen 23522b3f65 Bump frontend pin to duties and permission page rebuild
ci / svc-realcombo (pull_request) Successful in 1m45s
ci / test (pull_request) Successful in 4m53s
ci / test-pg (pull_request) Successful in 7m38s
Why: P7-B/C(Frontend #81:职责页清单+详情+批量;权限页矩阵+三态覆盖)合入后的顶层组合。
Evidence: check-pins 通过;组合验证由本 PR 三作业 CI 承担。
Impact: gitlink 一枚。
Refs: 提案 r1 P7;Dev 任务卡
2026-10-13 09:57:30 +00:00
weichen 0a5d218b06 Compose system project membership implementation candidates
Why: Host-only project creation and domain membership must form one verified identity.

Evidence: Tool-imported SELF receipts and independent Backend and Frontend replay attestations; composed acceptance and final CI remain in progress.

Impact: Advance fixed component pins and record the authorized implementation and privacy boundaries without deployment or runtime changes.

Refs: .task/feature-project-member-access.md; system-project-membership proposal r1
2026-10-13 09:57:00 +00:00
weichen 674fad0a85 Bump UI and frontend pins to picker integration
ci / svc-realcombo (pull_request) Successful in 1m46s
ci / test (pull_request) Successful in 4m51s
ci / test-pg (pull_request) Successful in 7m47s
Why: P5+P7-A 组合——UI #53(Picker 原语)与 Frontend #80(成员页接入)合入后的顶层 pin 前进。
Evidence: check-pins 通过;组合验证由本 PR 的三作业 CI 承担。
Impact: gitlink 两枚。
Refs: 提案 r1 P5/P7;Dev 任务卡
2026-10-13 09:36:36 +00:00
weichen ae76efbc78 Bump UI pin to regenerated contracts mirror 88122c8
ci / svc-realcombo (pull_request) Successful in 1m43s
ci / test (pull_request) Successful in 4m58s
ci / test-pg (pull_request) Successful in 7m26s
Why: Core 权威 TS 补受管 scope 后的镜像链闭合——Core #32 → Backend #194(嵌套 pin)→ UI #52(contracts 镜像)→ Dev 组合。
Evidence: 本地 make build 前置检查仅剩 gitlink 漂移(本提交闭合);组合验证由本 PR CI 承担。
Impact: gitlink 一枚。
2026-10-13 07:29:36 +00:00
weichen ddee8d5460 Bump backend pin to embedded core sync 15566f9a
ci / svc-realcombo (pull_request) Successful in 1m50s
ci / test (pull_request) Failing after 4m36s
ci / test-pg (pull_request) Successful in 7m56s
Why: Backend PR 194(嵌套 core pin 同步)合入后的 Dev 顶层组合 bump,闭合三层全等。
Evidence: check-pins 通过;组合验证由本 PR CI 承担。
Impact: gitlink 一枚。
2026-10-13 07:12:30 +00:00
weichen e8e436d009 Bump core pin to TS mirror fix
ci / svc-realcombo (pull_request) Successful in 1m53s
ci / test (pull_request) Failing after 3m33s
ci / test-pg (pull_request) Successful in 8m27s
Why: Core PR 32 把受管 scope 补进权威 TS 镜像,修复 Dev 组合构建的 contracts 再生成覆盖(嵌套 pin 同步对齐)。
Evidence: check-pins 由 CI 复核;Core go test 全绿。
Impact: gitlink 两枚。
2026-10-13 06:54:45 +00:00
weichen dc679e9ded Bump frontend and backend pins; register account facts F5/F6
ci / svc-realcombo (pull_request) Failing after 34s
ci / test-pg (pull_request) Failing after 2m34s
ci / test (pull_request) Failing after 4m24s
Why: P2 前端系统设置面板(Frontend #78)与 P3 账号搜索扩展(Backend #191)已合入各仓 main,组合 bump 进 Dev;账号姓名字段与停用能力现状按门禁登记 facts。
Evidence: check-pins 通过(evidence 写卡);组合验证由本 PR 的 Dev CI 承担(test/test-pg/svc-realcombo);前端 design-guard 6/6 与 tsc/build 在 Frontend PR 内完成。
Impact: gitlink 两枚 + facts F5/F6 新增。
Refs: 提案 r1 P2/P3;Frontend #78;Backend #191;RDM #345/#346
2026-10-13 06:41:34 +00:00
weichen d518b3eab2 Close the login recovery contract leftovers in Dev
Why: The remaining open items (API-key SSE closure, cross-instance
redeem backoff, U7 atomic bootstrap/create, CLI credential delivery)
landed in Backend #192; Dev pins it and closes the contract leftovers.

Evidence: Backend #192 CI success at head bc1e0a3 (GATE); composite CI
on this PR re-runs the suite incl. test-pg (GATE).

Impact: backend pin cfb8308; contract leftover section now records all
items closed; task card H1-H6 requirement table.

Refs: Backend #192; docs/svc-deploy/2026-10-13-login-recovery-contract.md.
2026-10-13 06:07:57 +00:00
weichen 0b32c75064 Merge origin/main, keep main-side mock comment in multi-instance test 2026-10-13 05:21:40 +00:00
weichen 68cb9eb76e Merge origin/main into feature/rdm-increment-settings-duties 2026-10-13 05:20:58 +00:00
weichen 396b89836a Adapt multi-instance acceptance to system-managed mock
ci / svc-realcombo (pull_request) Successful in 2m7s
ci / test-pg (pull_request) Successful in 2m59s
ci / test (pull_request) Successful in 4m57s
Why: P2 受管把 runtime.mock 收进系统层——Backend #190 让 --mock 播种系统层(对全部租户生效),两进程验收随之简化:去掉逐租户显式开启,backend pin 前进到 741da4a。
Evidence: 本地真实 PG(容器)+ AGENT_BIN 跑 make test-multi-instance 全绿(15.3s);此前 --mock 经 user 层写入被受管拦截导致实例无法启动的根因已由 Backend #190 修复并复验。
Impact: 测试文件与 gitlink;无产品代码变更。
Refs: 提案 r1 P2;Backend PR #188/#190
2026-10-13 05:14:44 +00:00
weichen 7518cdeb7d Align the core pin with backend's nested agent-system-core pin
ci / svc-realcombo (pull_request) Successful in 1m45s
ci / test-pg (pull_request) Successful in 2m39s
ci / test (pull_request) Successful in 4m47s
Why: check-pins failed on the follow-up CI: the newly pinned backend
(741da4a) carries deps/agent-system-core at 0f94e4b while Dev's
modules/core stayed at ba289e7 - the three-layer pin rule requires the
top-level core pin to match.

Evidence: 0f94e4b verified as an ancestor of Core origin/main; this
PR's composite CI re-runs check-pins (GATE).

Impact: modules/core gitlink to 0f94e4b; no source changes.

Refs: check-pins failure on job 4204.
2026-10-13 04:52:42 +00:00
weichen ecf310fcf1 Fix multi-instance seeding for system-managed settings and repin backend
ci / svc-realcombo (pull_request) Successful in 2m22s
ci / test-pg (pull_request) Successful in 3m16s
ci / test (pull_request) Failing after 3m49s
Why: The follow-up CI exposed that backend #188 broke the Dev
multi-instance suite: serve --mock seeded runtime.mock at the user
scope, which system-managed settings now reject, so instances never
became healthy. Backend #190 seeds the startup flag into the system
scope; this PR repins and drops the now-invalid alice user-scope write.

Evidence: Backend #190 CI success at head 0af1ebc (GATE); this PR's
composite CI re-runs make test-multi-instance (GATE for the fix).

Impact: backend pin 741da4a; multi-instance test comments updated to
the system-managed regime.

Refs: Backend #188, #190.
2026-10-13 04:47:23 +00:00
weichen 15861a0713 Wire login recovery follow-up: SSE close, browser e2e, proposal r3
ci / svc-realcombo (pull_request) Successful in 1m57s
ci / test-pg (pull_request) Failing after 2m29s
ci / test (pull_request) Failing after 3m32s
Why: The completion audit flagged four gaps over the merged login
recovery implementation: real-browser acceptance, the login-key e2e
spec, SSE stream invalidation, and the Documents write-back.

Evidence: Browser acceptance receipts be7ae9a2/b3a9e691 (SELF, bound to
Dev HEAD 268ef29); Backend #189 CI success at head 8b73afe (GATE);
Documents #94 merged; this PR's composite CI is the GATE for frontend
pin 44b9646.

Impact: Pins backend=349a47d (SSE close) and frontend=44b9646 (e2e
spec); contract doc leftovers updated; task card carries the follow-up
record for closure.

Refs: docs/svc-deploy/2026-10-13-login-recovery-contract.md; Documents
proposal r3; Backend #189; Frontend #77.
2026-10-13 04:38:16 +00:00
weichen 70304498c3 Point core pin at merged main commit 0f94e4b0
ci / test-pg (pull_request) Failing after 2m44s
ci / test (pull_request) Successful in 5m30s
ci / svc-realcombo (pull_request) Successful in 2m19s
Why: 前一提交因本地缺 fetch 把 core gitlink 记成了分支头 aced665;Core main 的服务端合入提交是 0f94e4b0。
2026-10-13 04:30:23 +00:00
weichen 6aedcfac4b Bump backend and core pins to merged main
ci / test-pg (pull_request) Failing after 2m41s
ci / test (pull_request) Successful in 5m32s
ci / svc-realcombo (pull_request) Successful in 2m21s
Why: P2 组合 bump——Core 0f94e4b0(受管作用域契约)与 Backend 76c75ce5(受管拦截/系统设置 API/播种迁移)均已合入各仓 main。
Evidence: Backend CI(PR #188,rerun 后全绿)与本地 GOWORK=off go test 全绿;Core go test 全绿。
Impact: 仅 gitlink;Dev 组合 CI 将在 PR 上验证。
Refs: Agent-System-Documents PR #93 提案 r1 P2
2026-10-13 04:30:06 +00:00
weichen deb675fb6d Pin backend and frontend to the login recovery implementation
Why: The Dev composite must carry the exact backend (467718a) and
frontend (9fc7da2) commits implementing the login recovery contract.

Evidence: component branches pushed to their origins; make test runs in
this task worktree validate the composite (receipts in task card).

Impact: gitlink bump only; no other Dev tree changes.

Refs: docs/svc-deploy/2026-10-13-login-recovery-contract.md
2026-10-13 03:44:03 +00:00
weichen 918f9286c6 Record RDM increment plan approval and task card stages 1-5
ci / test (pull_request) Successful in 4m50s
ci / svc-realcombo (pull_request) Successful in 2m21s
ci / test-pg (pull_request) Successful in 2m40s
Why: 用户 2026-10-13 批准增量方案并授权实施;回填任务卡授权、需求表 R1-R5 与阶段 1-5 结论,bump Documents gitlink 至提案 r1。
Evidence: 提案与索引在 Documents 仓 feature/rdm-increment-settings-duties(a73c84b);评审核查记录随提案入仓。
Impact: 仅任务卡与 gitlink,无代码变更。
Refs: modules/documents/docs/proposals/2026-10-13-rdm-settings-members-duties-perms-increment.md
2026-10-13 03:24:06 +00:00
weichen e2e3d25418 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=6193db1b548b964ab3133557ddbb9d83a3643d31.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-13 02:00:48 +00:00
weichenandCursor b35d9946bc Pin the merged artifact-store and plan commits
Why: Dev has to follow the commits that landed on Backend and Documents main, which share trees with the drilled objects.
Evidence: Backend dc736e339d01 tree 498f61947564 equals 46073d30. Documents 05c13a42b14d tree equals 5335499. GATE run 2794 on 6d8b746 succeeded before this pin.
Impact: gitlinks move to the merge commits. Second-instance writes stay closed.
Refs: #186 #92 #497
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 01:54:24 +00:00
weichenandCursor f7053f393b Record the K4 retest and pin the plan revision
Why: the restored drill passed artifact recovery, and the handbook, checklist, and collaboration plan have to say so without opening write traffic.
Evidence: backup-20261013-013354 on Dev a83588dd and backend 46073d30; K1-K7 true, RPO 65s, RTO 3s, five artifacts matched, cross-user access 404. SELF. Documents 5335499 is PR #92.
Impact: C5 is marked SELF-pass. Second-instance writes stay closed until REPLAY or CI and a second host exist.
Refs: docs/svc.md docs/release-multi-instance.md modules/documents
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 01:45:33 +00:00
weichen 1f1b2e12e6 Pin frontend to the honest roles-panel rejected state
Why: pick up Agent-System-Frontend dcd2699 (PR #75) so the Dev combined
CI validates the RDM roles panel rejected-state fix together with the
svc.sh rdm-admin recovery tooling in this task.
Evidence: gitlink 43d1933 -> dcd2699; merge-base --is-ancestor of the
reviewed head 0159f00 into frontend main OK (SELF).
Impact: gitlink bump only; combination validated by make test in this
worktree before PR.
Refs: task card feature-rdm-admin-lockout-recovery (R3/I2)
2026-10-13 01:35:58 +00:00
weichenandCursor ca0ab46d5b Pin the blobstore fallback and cover cross-instance uploads
Why: an unset object store must keep artifact bytes available to the other process, which the store-level test does not execute.
Evidence: cross_artifact_roundtrip failed with EOF on backend c6fb130 and passed on 46073d30 (SELF, isolated u7drill-k4).
Impact: Dev now builds the fixed backend. Second-instance write traffic stays closed.
Refs: modules/backend tests/integration/multi-instance/multi_instance_test.go
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 01:26:29 +00:00
weichen e6194a1706 Preserve final candidate checks and planning progress
Why: Keep exact component and verification progress recoverable before final integration gates.

Evidence: Full SELF receipts remain in the task card; independent replay and platform gates are separately identified.

Impact: Documentation and Documents version only.

Refs: feature/work-companion-ui U5
2026-10-12 19:07:32 +00:00
weichen 0b59325e19 Pin corrected workbench components and preserve review evidence
Why: Bind the final candidate to actual review fixes and stronger interface acceptance.

Evidence: Full SELF red/green receipts and original independent report identities are retained; GATE and final review remain separate.

Impact: Pin UI0da2e3a and Frontend43d1933; no Backend/Core or running service change.

Refs: UI01-UI13, ce-code-review UI and Frontend findings, work-companion-ui
2026-10-12 18:59:54 +00:00
weichen 04f007bc06 Preserve combined build and real-interface smoke evidence
Why: Keep a recoverable record of the current validated combination and honest planning status.

Evidence: Full SELF make build and isolated two-case HTTP browser receipts are retained in the task card.

Impact: Documentation and Documents pin only; no running service change.

Refs: feature/work-companion-ui, U5
2026-10-12 16:59:30 +00:00
weichen 3902cf27f0 Pin verified workbench candidates and record requirement traceability
Why: Bind integration verification to committed components and the approved UI requirements.

Evidence: The task card retains full SELF receipts, reviewer replay identity and pending GATE status.

Impact: Pin UI CI bootstrap fix and browser summary assertion; retain unrelated upstream component versions.

Refs: UI01-UI13, work-companion-ui U5
2026-10-12 16:54:23 +00:00
weichen 5d14e7e96b Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=2c016931044bebdc4a114c1ca1127d1b40d4ab17.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync

# Conflicts:
#	modules/documents
2026-10-12 16:33:43 +00:00
weichen 2eace3ac80 Pin the progressive workbench candidate and preserve implementation evidence
Why: verify the exact UI and Frontend combination under the approved design.

Evidence: imported startup plus SELF unit, type, build, fixture browser and real HTTP/MockRunner smoke receipts in the task card.

Impact: three-pane presentation rules and fixed component revisions; existing services remain untouched.

Refs: work-companion-ui design r0.2, plan r1 and UI01-UI13.
2026-10-12 16:19:54 +00:00
weichen e7b969a905 Retain existing-store lifecycle tests during main synchronization
Why: Main D1 now shares the same explicit fixture initialization contract.

Evidence: Both real SQLite and temporary PostgreSQL initialization paths
were independently replayed; capabilities JSON assertions are preserved.

Impact: Resolve duplicate PG setup through the tested helper; preserve
all main lifecycle changes and the rollback directory protection.

Refs: Dev #483/#485; D1 existing-store identity contract
2026-10-12 15:57:05 +00:00
weichen d4a83318b1 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=99048dda1f48bccb3d5d798050d7beeea2907177.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-12 15:07:47 +00:00
weichenandCursor 7cc553d5a3 Merge origin/main into feature/svc-d1-identity-flow
ci / test-pg (pull_request) Successful in 1m52s
ci / test (pull_request) Failing after 2m51s
Why: main already has one release transaction, so this branch keeps that path and only isolates update and recover in a clean child.
Evidence: SELF bash -n scripts/svc.sh; python3 -m unittest identity/recover/deploy/u2/lifecycle pin 92 tests OK (2 skipped), then 66 tests OK after dropping the obsolete journal hook.
Impact: deploy uses releases/ and deploy.journal; the lifecycle child reconciles that journal before deploy or recover. Backend pin is 0f192a4.
Refs: #485
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 15:06:55 +00:00
weichen 38243c7a57 Prepare the authorized progressive workbench implementation
Why: isolate the approved interface work and fix its component baseline.

Evidence: imported startup precheck SELF receipt; source requirements and plan recorded in Documents.

Impact: task metadata, project links and authoritative UI/Frontend baselines; existing service state is untouched.

Refs: UI01-UI13 and work-companion-ui implementation plan r1.
2026-10-12 15:03:28 +00:00
weichen 9f7b11675e Preserve rollback artifacts across same-second deployments
Why: Second-resolution release IDs let staging delete a previous release
when a same-source deployment ran within the same clock tick.

Evidence: Fixed-clock rollback regression fails before and passes after;
250 governance checks pass. Independent review replays collision and
copy-failure protection; receipts are in the primary task card.

Impact: Add invocation identity and exclusive directory creation; keep
old artifacts intact. Also retain the latest compatible frontend pointer.

Refs: User-approved I2; Dev #483; Frontend #71/#72
2026-10-12 14:50:09 +00:00
weichenandCursor e8f84b8cf1 Add a reversible release switch and a lifecycle pin
Why: an update that stops the old process and overwrites the binary cannot
get the previous version back, and a migration the old binary cannot read
must be refused before that stop. CI also had no fixed RDM SHA to build from.
Evidence: python3 -m unittest tests.test_svc_identity tests.test_svc_recover tests.test_svc_deploy_txn tests.test_lifecycle_pin passed. make test-lifecycle exits 2 when AGENT_PG_TEST_DSN is unset.
Impact: installs land in releases/<rid> and current switches with mv -T.
Deploy keeps the desired state and rolls back a non-terminal journal.
Schema compatFloor above the installed target is refused unless
--migrate-schema --confirm is paired with a backup. test-lifecycle fails
closed without PostgreSQL and an RDM checkout. Login stays NOT_RUN.
Refs: recovery plan r3.1 D2 and D3; Backend feature/d1-identity-open

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 14:43:27 +00:00
weichen 99bbbc089e Gate svc lifecycles on real Dev and RDM artifacts in CI
Why: stub suites proved the script logic but not real artifact
behavior (the 2026-10-12 incidents passed all stub tests); the report's
U3 requires real-combination gates, and realcombo dry-runs exposed two
real gaps: fresh deploys closed identity governance one lifecycle late,
and pg-bound identity calls put the DSN on the command line.
Evidence: make test exit 0; local realcombo dry-run 16 OK (rows in the
task card); CI adds svc-realcombo (SQLite, both real binaries, full RDM
track) and a real-PG identity step on test-pg with env-delivered DSN.
Impact: tests/test_svc_realcombo.py (SVC_TEST_REAL gate, explicit
NOT_RUN otherwise); ci.yaml new job + test-pg step (RDM clone via
trusted-base URL-scoped token header, allowlist addition reviewed in
this PR); svc.sh delivers identity DSN via AGENT_SYSTEM_DSN and runs
manifest adoption in the same deploy that first registers svc.env;
modules/backend pinned to main (env fallback, backend #182).
Refs: .task/feature-svc-u3-realcombo.md; user goal directive 2026-10-12
(U3); backend #182; RDM #285.
2026-10-12 14:27:59 +00:00
weichen 9964fe3608 Restore the compatible frontend combination for saved surface reload
Why: Dev #452 selected a frontend pointer lacking the previously merged
SurfaceMeta hydration fix and blanked saved-page conversations.

Evidence: Independent review and regression red/green receipts are in
.task/feature-surface-black-screen-recovery.md; make test/build follow.

Impact: Pin the frontend that retains fast-slow and saved-page recovery;
no backend, UI token, storage or permission configuration change.

Refs: Frontend #68; Dev #454; Dev #452; surface-black-screen-recovery
2026-10-12 14:21:00 +00:00
weichenandCursor 451c95be70 Gate deploys on versioned identity capabilities
Why: probing identity by running the subcommand still launched old RDM
builds, and ensure on a missing database created an empty one. A batch
update also inherited the caller's AGENT_SYSTEM_* variables.
Evidence: python3 -m unittest tests.test_svc_identity tests.test_svc_recover passed (41 tests, 1 skipped). tests.test_svc_lifecycle_isolation caller-env and restart cases passed.
Impact: capability probes use version --json only. Established instances
refuse a missing identity row until adopt --confirm. update and recover
run each service in a clean environment. serve reads a 0600 serve.env
and does not inherit the caller environment. Backend and documents pins
move to the D1 identity and recovery-plan commits.
Refs: recovery plan r3.1 D1; Backend feature/d1-identity-open; RDM feature/d1-version-json

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 14:09:36 +00:00
weichen aba6a25607 Pin modules/backend to acabb85 for the public identity CLI
Why: Backend #180 moved the identity CLI to pkg/identity (shared with
Agent-System-RDM per PR 276); Dev main should consume it so composed
binaries carry the same identity semantics and capabilities output.
Evidence: make test exit 0 (combined suite on the bumped pin);
make test-pins ok; rows in the task card.
Impact: gitlink only (bbe9773 -> acabb85, spans #177/#179/#180).
Refs: .task/feature-pin-backend-identity-cli.md; user goal directive
2026-10-12 (implement remaining U1/U2/U3 items in order).
2026-10-12 13:27:26 +00:00
weichen f977f36351 Merge remote-tracking branch 'origin/main' into feature/pin-backend-read-consumption
# Conflicts:
#	modules/backend
2026-10-12 12:35:34 +00:00