Skip to content

Releases: krakenhavoc/IntentLang

v0.7.0-beta.1

08 Mar 19:55
392441d

Choose a tag to compare

v0.7.0-beta.1 Pre-release
Pre-release

What's Changed

Full Changelog: v0.6.0-beta.1...v0.7.0-beta.1

v0.6.0-beta.1

08 Mar 00:54
a3ca175

Choose a tag to compare

v0.6.0-beta.1 Pre-release
Pre-release

What's Changed

Full Changelog: v0.5.0-alpha.1...v0.6.0-beta.1

v0.5.0-alpha.1

07 Mar 23:29
d0aefbc

Choose a tag to compare

v0.5.0-alpha.1 Pre-release
Pre-release

What's Changed

Full Changelog: v0.4.0-alpha.1...v0.5.0-alpha.1

v0.4.0-alpha.1

07 Mar 20:33
9ba78e1

Choose a tag to compare

v0.4.0-alpha.1 Pre-release
Pre-release

What's Changed

Full Changelog: v0.3.0-alpha.1...v0.4.0-alpha.1

v0.3.0-alpha.1 — Phase 3: Audit Bridge

07 Mar 19:36
5ea2380

Choose a tag to compare

Phase 3: Audit Bridge

The audit bridge completes the three-layer architecture: Intent specs → Agent IR → Audit tooling that maps between them so humans can verify agent work at the spec level.

New Features

Trace Maps (intent audit <file>)

  • Tree-view mapping from spec items (entities, actions, invariants, edge cases) to their IR constructs
  • Source line numbers for every spec item and sub-item
  • Related verification obligations shown inline

Coverage Analysis (intent coverage <file>)

  • Counts spec items by category: entities, fields, actions, params, preconditions, postconditions, properties, invariants, edge guards
  • Verification status (clean or error count)
  • Obligation summary

Diff Reporting (intent diff <old> <new>)

  • Structured spec-level diffs showing [+] added, [-] removed, [~] modified items
  • Sub-item detail within modified entries (field type changes, new conditions, etc.)
  • Coverage deltas, verification status changes, obligation changes

Stats

  • 90 tests (26 checker + 14 parser + 50 IR)
  • 15 PRs merged
  • All 5 crates published to crates.io

CLI Commands

intent check <file>       # Parse and validate
intent render <file>      # Render to Markdown
intent render-html <file> # Render to HTML
intent compile <file>     # Compile to IR (JSON)
intent verify <file>      # Structural verification
intent audit <file>       # Trace map
intent coverage <file>    # Coverage summary
intent diff <old> <new>   # Spec-level diff

v0.2.0-alpha.1 — Phase 2: Agent IR Foundation

07 Mar 18:44
981762f

Choose a tag to compare

Phase 2: Agent IR Foundation

IntentLang now compiles .intent specs to a typed intermediate representation and verifies structural + logical correctness.

New: intent compile

Lowers intent specs to Agent IR and outputs JSON:

intent compile examples/transfer.intent

New: intent verify

Runs semantic checks, structural verification, and coherence analysis:

$ intent verify examples/transfer.intent
VERIFIED: TransferFunds — 2 function(s), 2 invariant(s), 2 struct(s)

Verification obligations:
  - Transfer modifies Account.{balance} (constrained by NoNegativeBalances)
  - Transfer must satisfy temporal property TransferConservation

What's in the IR

  • Entities → Structs with typed fields
  • Actions → Functions with params, pre/postconditions, properties
  • Invariants with quantifier expressions
  • Edge cases → Guards with conditions and actions
  • Every node carries SourceTrace for future audit bridge

Verification checks

  • Bound variable analysis (with union variant and domain function awareness)
  • old() placement (postconditions and temporal invariants only)
  • Quantifier type resolution (entities and actions)
  • Postcondition connectivity (must reference parameters)
  • Coherence analysis: invariant-action field coverage and temporal property obligations

Stats

  • 68 tests (26 checker + 14 parser + 28 IR)
  • 5 crates: intent-parser, intent-check, intent-render, intent-ir, intent-cli
  • 6 CLI commands: check, render, render-html, compile, verify

Install

cargo install --git https://github.com/krakenhavoc/IntentLang intent-cli

v0.1.0-alpha.1 — Phase 1 MVP

07 Mar 17:47
f16a41f

Choose a tag to compare

Pre-release

IntentLang v0.1.0-alpha.1

First pre-release of the IntentLang specification toolchain. Phase 1 MVP is feature-complete.

What's included

  • Parser: PEG grammar (pest) producing a typed AST for the full intent language syntax
  • Semantic checker: Six-pass analysis — duplicate detection, type resolution, field access validation, quantifier types, edge case actions, constraint validation
  • Renderers: Markdown and HTML output from intent specs
  • CLI: intent check, intent render, intent render-html
  • Dockerfile: Multi-stage build for container usage

Quick start

# Binary (Linux x86_64)
chmod +x intent-linux-x86_64
./intent-linux-x86_64 check examples/transfer.intent

# Container
docker build -t intent .
docker run -v $(pwd):/work intent check /work/examples/transfer.intent

Stats

  • 40 tests (26 checker + 7 parser + 7 snapshot)
  • 4 valid / 11 invalid test fixtures + 3 examples
  • Zero clippy warnings