Skip to content

spec: INTENT-1 — single-branch groups degenerate not malformed, structural adjacency check, timeless scoping#116

Draft
JarbasAl wants to merge 1 commit into
devfrom
spec/intent-1
Draft

spec: INTENT-1 — single-branch groups degenerate not malformed, structural adjacency check, timeless scoping#116
JarbasAl wants to merge 1 commit into
devfrom
spec/intent-1

Conversation

@JarbasAl

@JarbasAl JarbasAl commented Jul 4, 2026

Copy link
Copy Markdown
Member

Internal-purity refinement of OVOS-INTENT-1.

Changes

  • Single-branch group (§3.2, §3.6): (word) moves from malformed to degenerate — loaders MUST accept it, SHOULD warn, and MUST treat it as exactly the bare branch ((word)word). The folding is semantically lossless: a construct with one unambiguous meaning is a stylistic slip, not an error. Only the empty () remains malformed (a group expresses a choice between branches; with no branch there is nothing to choose). §3.2 and §3.6 state the same rule consistently.
  • Structural adjacent-slot detection (§3.6): the adjacent-slots check is defined over the expanded sample set, which can be expensive (§4.3). A tool MAY detect adjacency structurally, pre-expansion — two slots are adjacent iff every token between them can reduce to nothing — as a conformant alternative when it accepts and rejects exactly the same templates as the full-expansion check.
  • Timeless scoping (§2, §5.3): "a future specification will define…" and "deferred to a future, separate specification" replaced with out-of-scope statements; "this draft" replaced with "this specification". §7's planned machine-checkable conformance-corpus sentence removed.
  • Citation hygiene: §4.2 whitespace-normalization step number corrected (step 4); See-also corrected to six OVOS-INTENT-2 resource roles, five of which carry this grammar.

CHANGELOG entry appended under the spec's current class. Version field unchanged: per VERSIONING.md it is a V1/V2 compatibility class, and these refinements do not change class.

🤖 Generated with Claude Code

…ch groups, structural adjacency, timeless scoping

- Single-branch group (word) is degenerate, not malformed: MUST
  accept, SHOULD warn, MUST fold to the bare branch; only the empty
  () remains malformed (§3.2, §3.6).
- Structural pre-expansion adjacent-slot detection is a conformant
  alternative when observably equivalent to full expansion (§3.6).
- Normalization and slot typing restated as timeless out-of-scope
  statements (§2, §5.3); planned-corpus sentence removed (§7).
- §4.2 step citation and See-also resource-role count corrected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 79d0f068-547c-4839-ba3d-f8534a264b53

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch spec/intent-1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant