Skip to content

SFB-067: Workflow snapshot camera does nothing #74

@jmrpineda

Description

@jmrpineda

Discovery date: 2026-05-27
Reported by: repository user
Severity: medium
Environment: SpecForge.AI CLI workflow portal v0.1.5.658 in browser
Scope / affected surface: workflow constellation snapshot export, camera toolbar action, clipboard copy feedback in the CLI workflow portal
Evidence: user report validated by Codex in the in-app Browser on 2026-05-27 at http://localhost:5128/?usId=US-0001; clicking the camera button produced no visible success or error feedback, and code inspection shows the portal suppresses webviewClientError without surfacing it to the operator

Summary

The workflow constellation camera action in the CLI workflow portal does not produce a usable result for the operator. Clicking the button appears to do nothing instead of copying a workflow snapshot or reporting why the export failed.

Expected behavior

Clicking the camera button should either copy the current workflow constellation snapshot to the clipboard and confirm success, or show a clear error message when clipboard image export is unavailable in the current runtime.

Current behavior

In the CLI workflow portal, clicking the camera button in the constellation toolbar produces no visible feedback. No success confirmation appears, no error is shown, and the operator cannot tell whether a snapshot was generated, copied, or rejected.

Reproduction steps

  1. Start the local workflow portal with ./launch.sh US-0001.
  2. Open http://localhost:5128/?usId=US-0001.
  3. In the Workflow Constellation panel, click the camera icon with tooltip Copy workflow snapshot to clipboard.
  4. Observe that the UI shows no success confirmation and no error notification after the click.

Environment details

  • Surface: CLI workflow portal
  • Validation browser: Codex in-app Browser (@Browser plugin)
  • Focused user story during validation: US-0001
  • Portal URL: http://localhost:5128/?usId=US-0001
  • Repository version shown in the UI: 0.1.5.658

Notes

  • The snapshot export code lives in src-vscode/workflowView.ts and depends on navigator.clipboard.write plus ClipboardItem.
  • On failure, that code posts webviewClientError back to the host.
  • The CLI portal shim in tools/render-cli-workflow-html.js explicitly ignores webviewClientError in its polling bridge, which matches the observed “nothing happened” behavior.
  • This may hide either a genuine clipboard capability failure in the browser runtime or another snapshot-rendering failure, but the operator-facing bug is already valid because the action fails silently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions