Skip to content

codev 0.4.0

Choose a tag to compare

@github-actions github-actions released this 30 Sep 13:32
· 42 commits to main since this release
4dbf980

Changed

  • BREAKING: codev now speaks English throughout — CLI output and help,
    skills, and artifact templates. Template headings are now English
    (# Proposal:, ## Why, ## What Changes, ## Capabilities, ## Impact,
    ## Context, ## Decisions, # Tasks…). Scripts or tooling that relied on
    French output or headings must be updated; run codev update to regenerate
    the skills.
  • BREAKING: codev init --preset takes full, minimal or custom.
  • The minimal preset now installs propose, explore, onboard and
    configure, and the full preset includes configure (eight workflows).
  • Decisions of the project itself are identified as project/NNNN in
    qualified ids and in the JSON output.
  • The installers print their messages in English. On Windows, install.ps1
    now suggests a PATH command that updates only the user PATH, instead of
    setx, which can truncate it.
  • codev decision new now creates a proposed decision, unsealed, so its
    body can be written before it is sealed; accept it with
    codev decision accept. Pass --status accepted to create and seal it at
    once, as before.

Added

  • codev decision accept <ID> sets a local proposed decision to accepted
    and seals its body in the same step. It refuses inherited decisions
    (cannot_accept_inherited) and decisions that are not proposed
    (decision_not_proposed).

  • Artifact language: a language: key in _codev/config.yaml (an ISO 639
    code such as en, fr or pt-BR) sets the language skills write proposals,
    specs, designs and tasks in. Structural keywords stay in English.

  • codev init --language <CODE> sets it; otherwise it is detected from the
    locale, falling back to en. codev instructions --json exposes it in a
    language field.

  • Documentation in English and French, published as a website and embedded in
    the binary. codev docs --lang en|fr selects the language.

  • The documentation website follows the Mairistem design system, with a
    landing page, light and dark themes, and a language switch between the
    English and French editions; codev docs renders in the same style.

  • Continuous integration: formatting, lints, tests on Linux, macOS and
    Windows, a minimum Rust version check, validation of codev's own specs, and
    a dependency audit.

  • Issue forms for bug reports and feature requests.

Dependencies

  • Updated dialoguer to 0.12, toml to 1.1, pulldown-cmark to 0.13 and
    sha2 to 0.11, plus minor updates. Existing seals and codev.lock files
    are read and written exactly as before.

Fixed

  • codev sync validates the change first and refuses on errors, like
    codev archive; both now report the stable JSON code validation_failed.
  • A RENAMED delta written with the template's ### Requirement: <name> form
    is applied instead of being silently ignored, and renaming a requirement
    that does not exist is reported as rename_source_missing.
  • Renaming and modifying the same requirement in one delta now works.
  • A MODIFIED merge keeps the blank line before the next requirement.
  • Validation reports unexpected headings inside delta sections
    (delta_unexpected_heading) and empty delta sections
    (delta_section_empty).
  • The subpath of a git inherited source now also applies to its decisions.
  • codev init counts the generated config.yaml among the files it created.
  • codev docs --print no longer prints an error when its output is piped to a
    command that exits early, such as head.
  • Decisions saved with Windows (CRLF) line endings are parsed, and changing
    their status keeps their sealed body intact.

Install: curl -sSL https://raw.githubusercontent.com/mairistem/codev/main/install.sh | sh (macOS, Linux) · iwr -useb https://raw.githubusercontent.com/mairistem/codev/main/install.ps1 | iex (Windows)

Documentation: https://mairistem.github.io/codev/ · Full changelog: v0.3.2...v0.4.0