cyberneticlibrary

Scaffold new feature workflow

new-featurecommandsetup L21
bock-lang/bock
What it does

scaffold new language feature with tests, spec, and docs

Best for

Standardized Bock language feature development with test-first discipline.

Inputs
  • · branch suffix
  • · RFC (if spec-changing)
  • · test framework
Outputs
  • · feat/* branch
  • · failing test
  • · implementation
  • · spec/docs updates
Requires
  • · git
  • · cargo
  • · rustfmt
  • · clippy
Preconditions
  • · RFC approved if spec-changing
  • · test framework initialized
Failure modes
  • · RFC missing for language surface change
  • · tests without implementation
  • · clippy warnings
  • · docs out of sync
Trust signals
  • · requires RFC for spec changes
  • · enforces tests before implementation
  • · runs cargo fmt/clippy before PR