fix(oracle-r4): curation contradiction + wizard view enrichment

Oracle round-7 remediation, items 2 + 7:

- flowCuration.NON_BUSINESS_SOURCE_CONTEXTS no longer lists
  EA2_DRAFT_PROCESS:process_creation (it's in STARTABLE_SOURCE_CONTEXTS).
  Adds CANVAS_AGENT_MEMORY + CANVAS_AGENT_VAULT_ROOT to NON_BUSINESS so
  vault docs never leak into hubs / catalogue.
- wizardApi.createView now accepts a fields list and emits proper field
  defs (name slug, label, type from {string,number,boolean,textarea}).
- Wizard.handleDataSave rebuilds every step's view with the user's
  draft.fields after Generate phase, then rewires the presentation
  edges to the new views. Steps now expose real business fields, not a
  generic 'Notes' textarea.
This commit is contained in:
2026-06-14 15:07:57 +04:00
parent 810d011b80
commit cc037a149e
3 changed files with 30 additions and 11 deletions
+2 -1
View File
@@ -30,10 +30,11 @@ const NON_BUSINESS_SOURCE_CONTEXTS = new Set([
"CANVAS_CHAT_INBOX",
"CANVAS_ATTENDANCE_ROOT",
"CANVAS_ATTENDANCE_SITE",
"CANVAS_AGENT_MEMORY",
"CANVAS_AGENT_VAULT_ROOT",
"CANVAS_SEED_PROCESS",
"CANVAS_SEED_STEP",
"EA2_WIZARD_STEP",
"EA2_DRAFT_PROCESS:process_creation",
]);
export const STARTABLE_FLOW_KEYS = new Set<string>([