string-audit v0.5.0 — provider seam + registry-aware drift check - #25
Merged
Conversation
New in v0.5.0: - **Registry-aware drift check** (`registryDrift` in prose.mjs): scans body/ headline copy for `--flag`, `ENUM=value`, and `` `bin verb` `` references that don't match the live verbspec registry. Drift = error (same tier as UNGROUNDED). Spiked in #24, promoted and wired here. - **Textlint provider** (opt-in `AUDIT_TEXTLINT=1`): textlint.mjs adds AST-based prose linting via textlint-rule-write-good. Optional dep — default install (`npm ci --omit=optional`) is unaffected. - **`vocabFromRegistry()` adapter**: decouples drift check from the registry import (prose.mjs stays import-free; callers pass a built vocab). - **Async prose pipeline**: `Promise.all` in verbs.mjs so async providers (textlint) compose alongside sync ones. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps version to 0.5.0. Triggers the release workflow (creates
v0.5.0tag + GitHub release) on merge to main.What shipped in this release cycle
#24 — Registry-aware drift check spike
Spiked
registryDrift(value, vocab)+vocabFromRegistry(registry)inspikes/registry-drift.mjs. Pure, zero-dep demo.#23 — Provider seam + promotion (closes #22)
registryDriftpromoted toprose.mjswith thevocabFromRegistryadapter pattern from the spike--flag,ENUM=value) and backtick-wrapped (`bin verb`) command referencestextlint.mjs), opt-in viaAUDIT_TEXTLINT=1Promise.allso async providers compose cleanlyAcceptance criteria (issue #22)
🤖 Generated with Claude Code