Skip to content

feat(boardreadyops): integrate current readiness, evidence, review, and release workflows #623

Description

@oaslananka

Summary

Upgrade the KiCad Studio integration from a basic BoardReadyOps check/report bridge to the current versioned readiness, remediation, evidence, review, and release-handoff contract.

Context

The existing Studio integration is intentionally small and currently centers check, configure, showReport, and documentation actions. Current BoardReadyOps 1.35.0 has grown into a broader lifecycle with plan, release evidence bundles, manufacturer handoff, baselines, and review publish/verify workflows.

Studio should orchestrate those capabilities without reimplementing the BoardReadyOps web product or governance backend.

Relevant extension code: apps/vscode-extension/src/commands/boardReadyOpsCommands.ts, Task Hub catalog, diagnostics, MCP tools view, and release workflows.

Scope

  • Define a versioned Studio ↔ BoardReadyOps CLI/JSON capability contract.
  • Surface readiness verdict, blocking findings, remediation plan, evidence state, and release-handoff state in task-oriented Studio workflows.
  • Use structured JSON instead of parsing human-oriented output.
  • Deep-link to BoardReadyOps web review/governance surfaces where approvals, discussion, or organization policy belong outside VS Code.
  • Keep BoardReadyOps optional and fail closed when disabled, unavailable, or contract-incompatible.
  • Avoid duplicating BoardReadyOps business logic in the extension.

Acceptance criteria

  • Studio performs explicit BoardReadyOps version/capability discovery before invoking advanced workflows.
  • Readiness findings map deterministically to VS Code diagnostics/actions with stable identifiers.
  • A remediation/plan view can present the shortest next actions without requiring AI.
  • Evidence/review/release state is visible when supported, with deep links for web-only governance actions.
  • Release workflows can consume verified BoardReadyOps evidence without treating a numeric score as sufficient when blockers exist.
  • Disabled, missing, old, malformed, and partial-result states have tested remediation paths.
  • No credentials, private evidence, or internal service details are exposed in logs or diagnostics.

Validation

  • Contract fixtures for supported and incompatible BoardReadyOps versions.
  • CLI integration tests against current published/staged JSON schemas.
  • Extension-host tests for disabled, configured, finding, pass, and evidence states.
  • Release-path regression tests proving BoardReadyOps cannot silently weaken existing DRC/ERC/manufacturing gates.

Non-goals

  • Recreating BoardReadyOps approvals, comments, policy administration, or evidence storage inside VS Code.
  • Making BoardReadyOps mandatory for base KiCad Studio functionality.

Metadata

Metadata

Assignees

Labels

area:compatibilityarea:uicompatibilityExternal platform, version, and product compatibility lifecycleenhancementNew feature or requestpriority:P1High-priority work after foundationproduct:vscode-extensionKiCad Studio VS Code extension workspacerisk:mediumMinor, build-tool, action, or container dependency update requiring normal reviewtype:enhancementNew capability or enhancement

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions