Repository navigation
v1.0.0-pre.0
Pre-release
Pre-release
·
157 commits
to main
since this release
Context engineering for AI-assisted codebases.
Turn TypeScript annotations and Gherkin specs into a structured, queryable delivery state — living documentation, architecture graphs, and FSM-enforced workflows that AI agents consume without hallucinating.
Install
npm install @libar-dev/delivery-process@preRequires Node.js >= 18.0.0 and ESM ("type": "module").
Highlights
- 12 subpath exports — granular imports for scanner, extractor, codecs, validation, taxonomy, and more
- 7 CLI commands —
generate-docs,process-api,lint-process,lint-patterns,validate-patterns,lint-steps,generate-tag-taxonomy - 27 CLI subcommands via the Data API — typed JSON queries for AI coding sessions (Claude Code, Cursor, Copilot Workspace)
- FSM-enforced workflows —
lint-process --stagedvalidates status transitions at commit time, not weeks later - Dual-source architecture — TypeScript annotations own runtime relationships, Gherkin specs own planning constraints
- Codec-based generation — patterns, roadmaps, architecture decisions, product areas, business rules, and more from a single
ReferenceDocConfig - 6 Mermaid diagram types — C4Context, sequence, class, state, flowchart, and dependency graphs generated from
@docs-usesand@docs-depends-onannotations - 3 presets —
generic(@docs-*),libar-generic(@libar-docs-*), andddd-es-cqrs(21 categories for DDD/Event Sourcing)
Proven at Scale
Validated across 422 executable specifications and an 8.8M line monorepo. AI context usage dropped from ~100% to 50-65% during heavy editing sessions. Work completed per session increased 5X. 106 custom ESLint rules replaced with structured specs: 106 → 0.
Quick Start
/** @docs */
/**
* @docs-pattern UserAuthentication
* @docs-status roadmap
* @docs-uses SessionManager, TokenValidator
*/
export class UserAuthentication { /* ... */ }npx generate-docs -g patterns -i "src/**/*.ts" -o docs -f
npx lint-process --stagedDocumentation
Full docs ship with the package and are available in the repo:
- README — Installation and quick start
- ARCHITECTURE — Pipeline, codecs, schemas
- PROCESS-API — Data API CLI reference
- PROCESS-GUARD — FSM enforcement rules
- CONFIGURATION — Presets and custom tags
- METHODOLOGY — Design-first development philosophy
npm: https://www.npmjs.com/package/@libar-dev/delivery-process
License: MIT