OKF Workbench

MVP scope

MVP scope

Core workflow

The MVP must support one complete loop:

initialize bundle
-> create concept
-> edit Markdown
-> validate
-> regenerate indexes
-> inspect in 3D
-> open and repair source

The editor extension and native okf CLI share the deterministic Rust OKF core. The extension loads it as capability-free wasm32-unknown-unknown inside the Extension Host; the CLI links it natively and owns only local-filesystem and terminal interaction.

Workbench sidebar

The Activity Bar provides one OKF Workbench container with three native views:

The sidebar consumes the selected bundle runtime snapshot. It does not parse Markdown, create a second file watcher, add folder concepts, or render another graph. Open 3D Graph continues to open or reveal the editor Webview, where sufficient width and the existing security boundary are available.

Bundle selection is session-local. Empty states guide users to open a workspace, initialize a bundle, or select an existing bundle. In untrusted workspaces, resource inspection, validation, and 3D exploration remain available while authoring actions remain unavailable.

Commands

OKF: Initialize Bundle

Creates a bundle in a selected workspace folder.

Initial presets:

Requirements:

OKF: New Concept

Creates a concept file from a template.

Initial templates:

Requirements:

OKF: Validate Bundle

Reports actionable source diagnostics through the VS Code Problems panel. Orphan concepts remain part of validation and graph state but do not decorate valid Markdown in the editor.

Conformance errors:

Curation warnings:

The validation completion summary reports the orphan count separately, and the 3D graph provides the detailed orphan indicators.

Unknown types and additional frontmatter fields are not errors.

OKF: Regenerate Indexes

Synthesizes directory index entries from concept metadata.

Requirements:

OKF: Migrate Bundle to v0.2

Builds an optional, deterministic v0.1-to-v0.2 proposal.

Requirements:

OKF: Open 3D Graph

Displays a read-only interactive graph in an editor Webview.

Requirements:

OKF: Set Up Agent Integration

Generates project-local guidance for external coding agents.

Requirements:

Pending change recovery

Create-only proposals do not open a preview. Every authoring preview for an existing-file change that is awaiting Apply or Cancel must remain recoverable when its modeless notification is hidden:

Native okf CLI

Provides init, new, validate, index, graph, agent, migrate, and version for local automation.

Requirements:

Acceptance criteria

Explicitly out of scope