Skip to content

forge-ts v0.21.0

Choose a tag to compare

@github-actions github-actions released this 26 Mar 15:12
· 29 commits to main since this release

Packages

  • @forge-ts/api@0.21.0
  • @forge-ts/cli@0.21.0
  • @forge-ts/core@0.21.0
  • @forge-ts/doctest@0.21.0
  • @forge-ts/enforcer@0.21.0
  • @forge-ts/gen@0.21.0

Minor Changes

  • v0.21.0 — Codebase Knowledge Manifest (CKM) generator

    New Features

    • CKM generator: forge-ts build now produces ckm.json — a machine-readable manifest of operational knowledge (concepts, operations, constraints, workflows, config schema)
    • 3 new TSDoc tags: @operation, @constraint, @workflow for explicit CKM annotation
    • Hybrid extraction: Heuristic analysis as baseline (function name patterns, interface shapes, @throws tags), TSDoc tags to override/enrich
    • Config flag: gen.ckm (default: true) controls CKM generation

    CKM Output Categories

    • Concepts: Domain objects extracted from @concept tags and Config/Options/State interfaces
    • Operations: User-facing actions from @operation tags and run*/create*/validate* functions
    • Constraints: Enforced rules from @constraint tags and @throws analysis
    • Workflows: Multi-step sequences from @workflow tags with step parsing
    • Config Schema: Full config structure from Config interfaces with types/defaults/effects

    forge-ts Self-Report

    • 36 concepts, 53 operations, 2 constraints, 41 config schema entries extracted from own codebase