Skip to content

(CODUX-216) Replace local canvas with the canonical Nodes workspace - #2959

Merged
numnx merged 1 commit into
feature/CODUX-216-nodes-full-integrationfrom
task/feature-codux-21-t07-codex-8fbde344-mrhehyy2
Jul 12, 2026
Merged

(CODUX-216) Replace local canvas with the canonical Nodes workspace#2959
numnx merged 1 commit into
feature/CODUX-216-nodes-full-integrationfrom
task/feature-codux-21-t07-codex-8fbde344-mrhehyy2

Conversation

@numnx

@numnx numnx commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

🧩 Task: Replace local canvas with the canonical Nodes workspace

Automated task PR opened by Code UX for T07.

📋 Summary

Sprint: Sprint 216 · Nodes Full Integration · Task: T07

Turn the existing project-scoped node-flow foundation and browser-local canvas into a canonical, secure, versioned automation control plane with registry-driven nodes, encrypted credentials, durable execution, governed integrations, isolated custom nodes, agent authoring, dashboard integration, and authenticated headless readiness.

🤖 Model & Provider

Provider Codex CLI
Model gpt-5.6-sol

⏱️ Timing

Started 2026-07-12 06:28:42 UTC
Finished 2026-07-12 06:33:14 UTC
Duration 4m 32s

📊 Token Usage

Metric Value
Input tokens 204,818
Cached input tokens 7,839,744
Output tokens 28,185
Total tokens 8,072,747
Invocations 3
Tool calls 72
Active time 14m 56s

Included usage estimate (subscription/local login): $5.79

✅ QA Review

⏳ QA review runs after this PR is opened. Check the task card in the dashboard for the outcome once it lands.

📝 Full Task Prompt
## Objective
Replace the browser-local Nodes Canvas source of truth with a polished project-scoped workspace backed by canonical flow APIs and the governed automation control plane.

## Scope
- `dashboard/src/v2/NodesPage.tsx`
- `dashboard/src/v2/lib/node-flow-api.ts`
- `dashboard/src/v2/types.ts`
- `dashboard/src/v2/lib/nodes-canvas-state.ts`
- `dashboard/src/v2/lib/nodes-agent-surface.ts`
- `dashboard/src/v2/components/nodes/NodeCanvas.tsx`
- `dashboard/src/v2/components/nodes/NodePalette.tsx`
- `dashboard/src/v2/components/nodes/NodeInspector.tsx`
- `dashboard/src/v2/components/nodes/NodeValidationPanel.tsx`
- New flow-library, publication, credential, builder, policy, and run-debugger components under `dashboard/src/v2/components/nodes/`
- `dashboard/src/main.tsx`, `dashboard/src/v2/lib/dashboard-feature-flags.ts`, navigation, and route-prefetch modules
- `tests/dashboard/v2/`, `tests/dashboard/lib/`
- `docs/dashboard/node-flows.md`, `docs/dashboard/nodes-canvas.md`, `docs/dashboard/feature-flags.md`, matching `docs-web/content/docs/user-dashboard-node-flows.mdx`, `user-dashboard-nodes-canvas.mdx`, and feature-flag pages

## Implementation Requirements
1. Require a selected project, load the backend flow library, create/select/save drafts through `node-flow-api.ts`, show version/publication state, and perform a one-time deterministic import of legacy localStorage graphs without retaining localStorage as the source of truth.
2. Drive palette, inspector, typed ports, configuration schemas, capability labels, and validation from the T01 registry; show missing/configured credential state and binding controls without rendering secret values.
3. Add reviewable graph/code/permission diffs, validation and policy panels, dry-run and approval states, publish/rollback controls, and agent-builder progress using the T06 APIs.
4. Add a redacted run debugger with graph state overlays, node-attempt history, retry reasons, invocation links, timing, cancellation, safe retry/replay controls, and scheduler/deployment entry points.
5. Update feature-flag and route behavior so the production Nodes surface is enabled only when its backend/security prerequisites are satisfied, while preserving accessible loading, empty, error, disabled, mobile, keyboard, and long-content states.
6. Add dashboard tests for project switching, migration, save conflicts, registry-driven editing, missing credentials, publication review, dry runs, redaction, run debugging, scheduling, and feature gating.

## Constraints
- Do not reintroduce browser-local persistence as an independent workflow database.
- Reuse shared dashboard primitives, Tailwind tokens, existing API fetch helpers, and typed backend contracts.
- Keep raw graph exports free of secrets and custom source; all run/debugger data must remain redacted.

## Verification
- Run `pnpm run typecheck:dashboard` and `pnpm run test:dashboard`.
- Run focused suites with `pnpm exec vitest run tests/dashboard/v2/nodes-page.test.tsx tests/dashboard/v2/node-flow-page.test.tsx tests/dashboard/v2/nodes-canvas.test.tsx tests/dashboard/lib/node-flow-view-models.test.ts` plus new workspace tests.
- Run `pnpm run build` and verify the dashboard loads at `http://localhost:4444` with a selected project, empty project, failed API, and feature-disabled states.
- Run `pnpm run check:docs-web` and confirm published docs describe only the backend-backed workspace behavior.
🌿 Branch Info

Base: feature/CODUX-216-nodes-full-integration
Head: task/feature-codux-21-t07-codex-8fbde344-mrhehyy2


🤖 Generated by Code UX

@numnx
numnx merged commit 3f7ffd3 into feature/CODUX-216-nodes-full-integration Jul 12, 2026
20 checks passed
@numnx
numnx deleted the task/feature-codux-21-t07-codex-8fbde344-mrhehyy2 branch July 12, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant