Docs

Devory Documentation

Technical documentation for operators and developers using Devory across the CLI, VS Code extension, operator surfaces, doctrine, skills, tasks, artifacts, and team workflows.

Onboarding

Quick Start

The fastest way to get started is the VS Code extension. The terminal path works too. Either way, Devory operates against the repository itself rather than hiding state in a chat session.

If you start from an idea in VS Code, use Devory: Generate Tasks from Idea. It opens a Task Builder webview where you describe the work, generate a Devory-standard task draft, preview the markdown, and save to backlog when ready.

VS Code First Run
Core
Open a repository, install the Devory extension, and choose `Devory: Initialize Workspace` if the repo is not already set up.
Terminal First Run
Core
Run `npx @devory/cli init`, create a task, move it to `ready`, then run `npx @devory/cli run --validate`.
# Day-one terminal path
npx @devory/cli init
npx @devory/cli task new --id factory-001 --title "My first task" --project my-repo
npx @devory/cli task move --task tasks/backlog/factory-001.md --to ready
npx @devory/cli run --validate

Concepts

Core Concepts

Tasks
Tasks are the unit of work. They are Markdown files with structured frontmatter and required body sections such as Goal, Context, Acceptance Criteria, Expected Artifacts, and Failure Conditions.
Doctrine
Doctrine lives in `devory.standards.yml` and `doctrine/`. It captures the engineering rules Devory should enforce or inject into execution.
Skills
Skills are reusable templates or guidance bundles that help Devory perform work in a more consistent, domain-aware way.
Runs
A run is one execution pass. It records what Devory tried to do, what succeeded, and what still needs attention.
Artifacts
Artifacts are the durable outputs from Devory: logs, reports, summaries, review records, and other execution evidence.
Review
Devory is built for supervised engineering. Work should move through review rather than skipping straight from generation to merged output.

Workflow

Task Lifecycle

Devory uses a controlled lifecycle so work stays visible and reviewable. A task should only move to `ready` when the scope is clear enough to execute safely.

backlog -> ready -> doing -> review -> done
                 \-> blocked
                 \-> archived
  • backlog: defined work that is not yet execution-ready
  • ready: bounded work that can be picked up safely
  • doing: work currently being executed
  • review: waiting for human inspection
  • done: accepted work
  • blocked: work that needs clarification or external input
  • archived: intentionally removed from the active flow

Reference

CLI Reference

The CLI is the main repo-first interface for Devory. The commands below reflect the current wired command surface rather than historical or planned commands, and they are grouped here so an engineer can see what is actually invokable today.

devory setup
Guided governance bootstrap for a working repository. Initializes or reuses governance state, binds the repo, and can migrate tasks during setup.
Availability: Core
devory init
Scaffold a Devory workspace in the current repository.
Availability: Core
devory task new
Create a task in backlog with the required task structure.
Availability: Core
devory task move
Move a task between lifecycle stages.
Availability: Core
devory task validate
Validate task metadata and required body sections.
Availability: Core
devory skill new
Create a new skill scaffold from the standard template.
Availability: Core
devory skill list
List discovered skills in the current workspace.
Availability: Core
devory skill validate
Validate one skill or the full skill directory.
Availability: Core
devory run
Execute ready work and write runs/artifacts.
Availability: Core
devory worker
Run the worker loop for governance-driven command handling.
Availability: Core
devory artifacts
Inspect or build the artifact index.
Availability: Core
devory config
Show resolved workspace and tier details.
Availability: Core
devory license activate
Write a workspace license token to `.devory/license`.
Availability: Core for command, Pro/Teams for paid keys
devory license clear
Remove the local workspace license file and verification cache.
Availability: Core
devory license status
Report the resolved tier, key source, cache usage, and fallback reason.
Availability: Core
devory cloud status
Show local cloud session state and workspace linkage.
Availability: Pro / Teams
devory cloud login
Import an existing cloud session into the local workspace.
Availability: Pro / Teams
devory cloud link
Bind the current repo to a cloud workspace id.
Availability: Pro / Teams
devory cloud logout
Remove the local cloud session without clearing offline license state.
Availability: Pro / Teams
devory sync status
Show sync status between the local workspace and linked cloud artifacts.
Availability: Pro / Teams
devory sync push
Push local artifacts and tasks to the linked cloud workspace.
Availability: Pro / Teams
devory sync pull
Pull cloud artifacts into the local workspace.
Availability: Pro / Teams
devory pr-prep
Generate branch, commit, and PR description material from a task.
Availability: Core
devory pr-create
Create a GitHub PR with explicit confirmation and token requirements.
Availability: Core
devory improve
Run improvement signals such as compliance or drift checks.
Availability: Core
devory diagnostics
Check self-hosted runtime prerequisites such as workspace, license, and engine availability.
Availability: Core
devory doctor
Run the first-line local health check for workspace and governance readiness.
Availability: Core
devory governance init
Initialize a governance repository on disk and create its initial structure.
Availability: Core
devory governance bind
Bind a working repository to an existing governance repository.
Availability: Core
devory governance status
Show current governance binding state for the working repository.
Availability: Core
devory governance doctor
Diagnose governance mode readiness, transport state, and worker expectations.
Availability: Core
devory governance enqueue-local
Queue a governance command into the local file fallback for local testing.
Availability: Core
devory migrate
Copy supported local Devory assets into the bound governance repository.
Availability: Core
# Common patterns
npx @devory/cli setup --governance-repo ../my-repo-governance --enable-governance
npx @devory/cli init
npx @devory/cli task validate --file tasks/backlog/factory-001.md
npx @devory/cli run --validate
npx @devory/cli governance doctor
npx @devory/cli worker
npx @devory/cli pr-prep tasks/review/factory-001.md
GITHUB_TOKEN=... npx @devory/cli pr-create --task tasks/review/factory-001.md --branch feat/factory-001 --confirm

Editor

VS Code Extension

The extension is a first-class Devory control surface. It is not just a task list. It exposes workspace setup, lifecycle movement, review controls, run execution, doctrine, and skills.

Run start now shows a dry-run/cost estimate summary (advisory only), and generation/refinement flows support deterministic enrichment plus AI-assisted refinement in the task assistant.

The current run-start path is a routing control plane, not just a launch button: it profiles ready tasks, applies routing policy, chooses a provider class, resolves concrete targets, checks readiness, resolves an adapter, and records selected-versus-actual execution metadata truthfully.

Local-first remains the baseline. Cloud is not treated as casual fallback: policy can require confirmation, block execution entirely, or stop automatic escalation when local targets are unavailable. Outcome records are written under artifacts/routing-outcomes/ and can be reviewed with Devory: Show Routing Outcome Summary.

Public npm releases are published from the devory-public GitHub workflow when a matchingv*.*.* tag is pushed. The VSIX stays a manual artifact: build it locally or package it from the optional vscode-v*.*.* workflow path, then upload the resultingdevory-vscode-<version>.vsix yourself.

Devory: Initialize Workspace
Bootstrap the repo as a Devory workspace.
Availability: Core
Devory: List Tasks
Quick-pick all tasks in the workspace.
Availability: Core
Devory: Create Task
Create a task from the editor.
Availability: Core
Devory: Generate Tasks from Idea
Opens the Task Builder webview. Describe work in plain English, generate Devory-standard draft markdown, preview it, and save to backlog.
Availability: Core
Devory: Move Task
Move a task directly to another stage.
Availability: Core
Devory: Promote Task
Advance `backlog -> ready -> doing -> review`.
Availability: Core
Devory: Open Review Queue
Jump directly into review-ready work.
Availability: Core
Devory: Approve Review Task
Approve a task in review and move it forward.
Availability: Core
Devory: Send Review Task Back
Return review work for rework.
Availability: Core
Devory: Block Review Task
Block a task with an explicit reason.
Availability: Core
Devory: Requeue Blocked Task
Move a blocked task back to `ready`.
Availability: Core
Devory: Archive Task
Archive an active task when it should not stay in the normal queue.
Availability: Core
Devory: Enrich Task
Append any missing structured sections to the active task file without rewriting existing content.
Availability: Core
Devory: Add Acceptance Criteria
Insert the `Acceptance Criteria` section only if it is missing.
Availability: Core
Devory: Add Verification Steps
Insert the `Verification` section only if it is missing.
Availability: Core
Devory: Add Dependencies
Insert the `Depends On` section only if it is missing.
Availability: Core
Devory: Add Files Likely Affected
Insert the `Files Likely Affected` section only if it is missing.
Availability: Core
Devory: Draft Task
Alias for Generate Tasks from Idea. Opens the Task Builder webview.
Availability: Core
Devory: Start Factory Run
Profile ready tasks, apply routing policy, bind the actual target/adapter, and then start a run from the bundled runtime.
Availability: Core
Devory: Resume Factory Run
Resume an existing failed or paused run.
Availability: Core
Devory: Pause or Resume Factory Run
Toggle the active run controller from the editor.
Availability: Core
Devory: Stop Factory Run
Stop the active packaged run controller.
Availability: Core
Devory: Show Work
Open live visibility for run state, heartbeat, and doing/review attention.
Availability: Core
Devory: Inspect Recent Runs
Open recent run records from the editor.
Availability: Core
Devory: Show Routing Outcome Summary
Summarize recent routing outcome ledger records from artifacts/routing-outcomes/.
Availability: Core
Devory: Inspect Artifacts
Browse saved artifacts from the editor.
Availability: Core
Devory: Governance Doctor
Check workspace and CLI/runtime readiness.
Availability: Core
Devory: Connect Cloud Account
Show cloud status from the editor and open the sign-in entrypoint when needed.
Availability: Core
Devory: Create Doctrine File
Add doctrine content under `doctrine/`.
Availability: Core
Devory: Create Skill
Scaffold a new reusable skill.
Availability: Core
Devory: Create Agent
Scaffold a new agent definition under `agents/`.
Availability: Core
Devory: Archive Doctrine File
Move doctrine into archive storage.
Availability: Core
Devory: Archive Skill
Move an old skill into archive storage.
Availability: Core
Devory: Show Governance Status
Report governance readiness, transport state, and worker expectations.
Availability: Core
Devory: Show Stored Data Locations
Explain which paths are extension-owned local data versus project data.
Availability: Core
Devory: Sweep the Workshop
Delete only extension-owned local data; project files remain untouched.
Availability: Core
Devory: Refresh Task Explorer
Refresh task and governance views.
Availability: Core

Operator Surfaces

Web UI And Hosted Workflow

Devory also has operator-facing web surfaces. These do not replace the local runtime. They submit governance commands, expose review and planning state, and make shared coordination inspectable across machines while `devory worker` remains the runtime that actually applies governance commands.

Truth in behavior: web surfaces handle governance and hosted coordination. VS Code is still the richer local authoring and run-control surface for deterministic generation, AI-assisted refinement, Show Work, dry-run/cost estimate review, local-first routing, and routing outcome review.

Review Queue
Hosted workflow
Focused review surface for work that needs approval, send-back, or blocking.
Task Detail
Hosted workflow
Task-specific lifecycle state, review actions, and context for one task.
Run Detail
Hosted workflow
Run history, failures, resumes, and related execution context.
Planning And Task Drafts
Hosted workflow
Epic capture, task draft generation, validation, and commit flows for structured planning.
License And Team Management
Pro / Teams
Account-linked license handling, downloads, team seats, invites, and support flows.
Cross-Device Workflow
Pro / Teams
Pick work up from another machine without relying on one local editor session.

Operations

Notifications And Human Attention

Devory can surface situations where a human needs to step in. This matters when a run blocks, a task needs review, or the system needs an explicit answer before continuing.

  • Core gives you local repo-first operation and direct inspection in the CLI or editor.
  • Pro adds better hosted visibility and factory notifications across devices.
  • Teams extends that into shared coordination for multiple people.
  • If you need stricter notification routing or controlled-environment handling, contact Devory directly.

Integration

GitHub And PR Workflow

Devory supports a guarded GitHub path instead of silently opening PRs. The workflow stays explicit: prepare metadata, inspect it, then create the PR with confirmation.

PR Preparation
Core
Use `devory pr-prep` to generate branch, commit, and PR description artifacts from a task.
PR Creation
Core
Use `devory pr-create` with `--confirm` and a `GITHUB_TOKEN` when you are ready to actually open the PR.

Deployment

Offline And Walled Environments

Devory can run in local and controlled environments. The local repo-first workflow is already a strong fit for teams that do not want normal cloud dependency in the middle of day-to-day engineering.

  • Core supports local, repo-first operation and bring-your-own model or API usage.
  • You can self-host the runtime path for stricter environments.
  • For larger offline or walled-environment deployments, contact Devory directly so the setup can be routed appropriately.

Plans

Core, Pro, And Teams

Core
BYOK / local-first
  • Local repo-first workflow
  • Tasks, doctrine, skills, runs, and artifacts
  • CLI and VS Code extension
  • Task validation, lifecycle movement, PR prep, and GitHub workflow
Pro
$9/mo or $90/yr
  • Everything in Core
  • Work across devices
  • Factory notifications
  • Advanced doctrine capabilities
  • More doctrine and skill templates
  • Hosted workflow visibility and web UI access
Teams
$39/mo or $390/yr
  • Everything in Pro
  • Seat management and invites
  • Member roles and org administration
  • Shared governance for coordinated engineering work
  • Contact us for larger subscriptions or controlled deployments
Devory.AI | Structured AI-Assisted Development