New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@bosun-sh/plot

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bosun-sh/plot

Plot specification workflow scaffold.

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

@bosun-sh/plot

Spec-tree workflow scaffold — draft, validate, approve, and recover layered XML spec trees via CLI or MCP.

CI npm version License

Requirements

Bun >= 1.3.9 is required.

This package ships raw TypeScript source (src/) and is designed for Bun-only environments. It does not compile to dist/. Bun resolves and executes the TypeScript files directly at runtime.

Installation

bun add @bosun-sh/plot

Quickstart

# Check workspace spec status
bunx plot status

# Draft a concept spec
bunx plot concept --workspace ./docs --prompt "AI-powered search feature"

# Draft an umbrella spec
bunx plot umbrella --workspace ./docs --prompt "Search umbrella"

# Draft a feature triplet
bunx plot feature --workspace ./docs --feature-slug search-indexing

# Validate all specs under docs/
bunx plot validate --workspace ./docs

# Approve a drafted spec
bunx plot approve --workspace ./docs --approval-phrase "approved"

# Recover / inspect gate state
bunx plot recover --workspace ./docs

# Manage config (provider + model)
bunx plot config get
bunx plot config set --provider openai --model gpt-4o

Add --human to any command for pretty-printed JSON output.

Features

Plot manages a layered spec tree following the concept → umbrella → feature hierarchy. Each layer has three sibling files: functional.spec, technical.spec, and test.spec.

CLI commandTool IDDescription
statusplot.workspace.statusInspect the Plot workspace and list canonical spec files
conceptplot.concept.draftDraft docs/concept.spec and persist the approval gate
umbrellaplot.umbrella.draftDraft the umbrella spec currently selected by the caller
featureplot.feature.draftDraft a feature triplet stage after umbrella approval
validateplot.spec.validateEnumerate spec files under docs/ and return scaffold validation output
approveplot.spec.approveRecord an explicit approval phrase for a drafted target
recoverplot.spec.recoverInspect or reset the current scaffold gate state
config getplot.config.getReturn the scaffold Plot configuration view
config setplot.config.upsertUpdate the scaffold configuration (provider, model, base URL)

MCP usage

Plot exposes all tools as an MCP server via @bosun-sh/ohtools:

bunx ohtools --app ./src/ohtools.ts list    # list available MCP tools
bunx ohtools --app ./src/ohtools.ts graph   # display tool dependency graph

Development

bun install
bun run ci:premerge   # lint + typecheck + test + pack-dry-run — must be green

See CONTRIBUTING.md for full contribution guidelines.

License

Apache-2.0 — see LICENSE.

Keywords

plot

FAQs

Package last updated on 28 Jun 2026

Related posts