Land Generative UI U3: plugin submission path, capability gating, surface projection (backend #149) #345

Merged
weichen merged 8 commits from feature/generative-ui-u3 into main 2026-10-11 11:01:01 +00:00
Owner

Why: U3 of the Generative UI proposal - the agent submits pages through generative-ui.present (exposeAsTool; catalog is prompt and validation in one), a schema-repair strategy absorbs measured M3 deviations, a disabled plugin stops injecting its tool at the owner level (fail-closed) while execution guards stay in surfacesvc, ctxasm projects saved surfaces back into context so the model can revise prior structure (R6), and doc-refs are authorized against the owner real artifacts.

Evidence: Task card carries precheck/task-sync/make test receipts (make evidence, SELF); CI ci/test on PR HEAD is the authoritative gate. Backend PR #149 (6abf112) green incl. PG-dialect suites. Real-model closed loop (env-gated test, run locally): task->spec->save->projection->revise with revision 1->2 and structure change, CNY 0.08 total. U3 acceptance lines covered: structure varies by task (replay), forged refs and unknown actions rejected (red tests), next turn explains and revises prior pages (projection + replay), disable stops capability injection (gate test fail-closed).

Impact: backend gitlink, architecture edge app->genui, task card. U4 (frontend rendering) and deployment stay separately reviewed.

Refs: modules/documents/docs/proposals/2026-10-10-generative-ui-plugin.md (r2 U3); Backend #149; task card feature/generative-ui-u3

Why: U3 of the Generative UI proposal - the agent submits pages through generative-ui.present (exposeAsTool; catalog is prompt and validation in one), a schema-repair strategy absorbs measured M3 deviations, a disabled plugin stops injecting its tool at the owner level (fail-closed) while execution guards stay in surfacesvc, ctxasm projects saved surfaces back into context so the model can revise prior structure (R6), and doc-refs are authorized against the owner real artifacts. Evidence: Task card carries precheck/task-sync/make test receipts (make evidence, SELF); CI ci/test on PR HEAD is the authoritative gate. Backend PR #149 (6abf112) green incl. PG-dialect suites. Real-model closed loop (env-gated test, run locally): task->spec->save->projection->revise with revision 1->2 and structure change, CNY 0.08 total. U3 acceptance lines covered: structure varies by task (replay), forged refs and unknown actions rejected (red tests), next turn explains and revises prior pages (projection + replay), disable stops capability injection (gate test fail-closed). Impact: backend gitlink, architecture edge app->genui, task card. U4 (frontend rendering) and deployment stay separately reviewed. Refs: modules/documents/docs/proposals/2026-10-10-generative-ui-plugin.md (r2 U3); Backend #149; task card feature/generative-ui-u3
weichen added 6 commits 2026-10-11 10:41:13 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-generative-ui-u3.md; R0=b1caa7cae13d35ec6e62c883d1f379aee35e35ef.

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

Refs: .task/feature-generative-ui-u3.md
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=56152323f6179d8f99cfb2b4808573f1d95a63a2.

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=56152323f6179d8f99cfb2b4808573f1d95a63a2; candidate=014a72fad47c939a0d78b8bc11eec0576817728d.

Impact: task metadata only.

Refs: .task/feature-generative-ui-u3.md
Record the U3 outcomes and receipts in the task card
ci / test (pull_request) Successful in 2m24s
ci / test-pg (pull_request) Successful in 1m2s
1c151c4906
weichen added 1 commit 2026-10-11 10:41:22 +00:00
Fill the task record PR link (#345)
ci / test (pull_request) Successful in 2m20s
ci / test-pg (pull_request) Successful in 1m6s
ab664984ea
weichen added 1 commit 2026-10-11 11:00:54 +00:00
Merge remote-tracking branch 'origin/main' into feature/generative-ui-u3
ci / test (pull_request) Successful in 2m37s
ci / test-pg (pull_request) Successful in 1m19s
ca20279fa6
weichen merged commit 866086c2a0 into main 2026-10-11 11:01:01 +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#345