Profiles
这里承接 Autofill 需要复用的公司资料、品牌信息和常见字段。当前页面继续保留真实 API 读取路径,同时新增 empty / error demo 状态壳,用来完成模块一的前端稳定化测试。
Registry Status
Profiles registry keeps the reusable Autofill data boundary stable
The default path still reads the real Profiles API. The demo states exist only to verify empty and error shells before Module 2 locks the API contract.
Profiles
--
Current use
Feed reusable company data into the Autofill node without rewriting the workflow shell every time the source changes.
Next backend slice
Keep the API stable, then add D1 persistence, edit forms, and reusable field template management.
Profiles state
Profiles registry is temporarily unavailable
This error-state demo stands in for the future control-plane contract failing before the profiles table can load.
Module 1 needs this shell so Module 2 can swap in real API error contracts without redesigning the page.
当前测试意义
Profiles 页面现在同时承担两件事:默认路径验证真实 API 读取,demo 路径验证空态与错误态壳。这样模块二只需要替换合同和数据来源,不需要重做页面结构。