Skip to content

Restore primitive as its own engine module - #340

Merged
martsokha merged 1 commit into
mainfrom
refactor/restore-primitive-module
Jul 31, 2026
Merged

Restore primitive as its own engine module#340
martsokha merged 1 commit into
mainfrom
refactor/restore-primitive-module

Conversation

@martsokha

Copy link
Copy Markdown
Member

Summary

BoundingBox, Confidence, Language, TimeSpan, and friends are first-class value types callers reach for directly — building Inclusion annotations, constructing a Scope, comparing entity confidences. They deserve their own module rather than being buried under entity.

Engine root goes from 5 modules to 6: adds primitive back alongside entity, modality, plan, policy, provider.

Test plan

  • `cargo check --workspace --all-features`
  • `cargo clippy --workspace --all-features --all-targets` (no warnings)
  • `RUSTDOCFLAGS="--cfg docsrs -D warnings" cargo +nightly doc --workspace --all-features --no-deps`

🤖 Generated with Claude Code

BoundingBox, Confidence, Language, TimeSpan, and friends are
first-class value types callers reach for directly — building
Inclusion annotations, constructing a Scope, comparing entity
confidences. They deserve their own module rather than being
buried under entity.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@martsokha martsokha added refactor code restructuring without behavior change engine redaction engine, pipeline runtime, orchestration, configuration docs improvements, updates or additions to docs labels Jul 31, 2026
@martsokha martsokha self-assigned this Jul 31, 2026
@martsokha
martsokha merged commit 13380b5 into main Jul 31, 2026
6 checks passed
@martsokha
martsokha deleted the refactor/restore-primitive-module branch July 31, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs improvements, updates or additions to docs engine redaction engine, pipeline runtime, orchestration, configuration refactor code restructuring without behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant