Land Generative UI U2: Surface contract, activation guard, persistence (core #25, backend #143, mirrors) #336

Merged
weichen merged 14 commits from feature/generative-ui-u2 into main 2026-10-11 09:21:49 +00:00
Owner

Why: U2 of the Generative UI proposal (r2) - the host side of the page contract: Core Surface envelopes + catalog validation, owner-isolated storage with revision CAS, default-off activation with epoch semantics (in-flight submits after disable are rejected), single-choke-point service shared by the EXT-17 SurfaceHost capability and the direct API, and event publish with pending recovery.

Evidence: Task card carries precheck/task-sync/make test receipts (make evidence, SELF); CI ci/test on PR HEAD is the authoritative gate. Component PRs: Core #25 (452daf3), Backend #143 (d795143, incl. PG-dialect surface tests), UI #40 and Frontend #51 mirrors. Verification covers the five U2 acceptance lines: old consumers green, disabled state blocks direct API/tool paths, concurrent update conflicts, event-failure recovery, SQLite/PG parity.

Impact: Additive migration v22; UINode gains optional id/source; SurfaceVersion 2.8.0-experimental; architecture baseline +3 edges (stale runmgr edge dropped). U3+ (data binding, actions, frontend rendering) and deployment stay separately reviewed.

Refs: modules/documents/docs/proposals/2026-10-10-generative-ui-plugin.md (r2 U2); task card feature/generative-ui-u2

Why: U2 of the Generative UI proposal (r2) - the host side of the page contract: Core Surface envelopes + catalog validation, owner-isolated storage with revision CAS, default-off activation with epoch semantics (in-flight submits after disable are rejected), single-choke-point service shared by the EXT-17 SurfaceHost capability and the direct API, and event publish with pending recovery. Evidence: Task card carries precheck/task-sync/make test receipts (make evidence, SELF); CI ci/test on PR HEAD is the authoritative gate. Component PRs: Core #25 (452daf3), Backend #143 (d795143, incl. PG-dialect surface tests), UI #40 and Frontend #51 mirrors. Verification covers the five U2 acceptance lines: old consumers green, disabled state blocks direct API/tool paths, concurrent update conflicts, event-failure recovery, SQLite/PG parity. Impact: Additive migration v22; UINode gains optional id/source; SurfaceVersion 2.8.0-experimental; architecture baseline +3 edges (stale runmgr edge dropped). U3+ (data binding, actions, frontend rendering) and deployment stay separately reviewed. Refs: modules/documents/docs/proposals/2026-10-10-generative-ui-plugin.md (r2 U2); task card feature/generative-ui-u2
weichen added 6 commits 2026-10-11 08:30:41 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-generative-ui-u2.md; R0=95992d751f0a6ea8e345109dbb6b9367d9055e92.

Impact: task metadata only; the feature workspace starts at 95992d751f.

Refs: .task/feature-generative-ui-u2.md
Why: The U2 increment landed across four component repos (Core #25
Surface contract types and validation; Backend #143 surface store,
activation guard, EXT-17 SurfaceHost, direct API; UI #40 and Frontend
#51 id/source contract mirrors); Dev pins the combined set for the
authoritative make test/build gate.

Evidence: Component PRs merged (core 452daf3, backend d795143, ui
5b03b8f, frontend a26d7c5); combined verification receipts follow in
this branch via make evidence.

Impact: Gitlink pins only in this commit; task-card updates follow.

Refs: Documents proposal r2 U2; Dev task feature/generative-ui-u2
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=80a518628c526fd6ddece4abeb707ab4bb0b5618.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=80a518628c526fd6ddece4abeb707ab4bb0b5618; candidate=069610459831e8d7f0120663b3f40aadd7a7b0f2.

Impact: task metadata only.

Refs: .task/feature-generative-ui-u2.md
Record the U2 outcomes and receipts in the task card
ci / test (pull_request) Failing after 1m57s
ci / test-pg (pull_request) Successful in 55s
549b27bbb1
weichen added 1 commit 2026-10-11 08:30:50 +00:00
Fill the task record PR link (#336)
ci / test (pull_request) Failing after 2m3s
ci / test-pg (pull_request) Successful in 55s
f71bef53d4
weichen added 3 commits 2026-10-11 08:48:16 +00:00
weichen added 3 commits 2026-10-11 09:08:27 +00:00
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=b3b48f5efa2a6a25f16f6413d8b9c89715f22960.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=b3b48f5efa2a6a25f16f6413d8b9c89715f22960; candidate=d3bad56668803b74ecd503ccd00416be3e7b3e69.

Impact: task metadata only.

Refs: .task/feature-generative-ui-u2.md
Record the pre-merge task-sync receipts (parallel merges moved main)
ci / test (pull_request) Successful in 2m16s
ci / test-pg (pull_request) Successful in 54s
5f67337925
weichen added 1 commit 2026-10-11 09:21:47 +00:00
Merge remote-tracking branch 'origin/main' into feature/generative-ui-u2
ci / test (pull_request) Successful in 2m17s
ci / test-pg (pull_request) Successful in 53s
ca4f5a57bb
weichen merged commit 36897a1009 into main 2026-10-11 09:21:49 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#336