Repository navigation
docs: stop saying Worlds validates writes with SHACL - #194
Merged
Merged
Conversation
No Worlds code runs SHACL: the hosted write paths (import and SPARQL UPDATE) apply quads without validating them. Validation runs before import, in the Wiki CLI or CI. Reword the comparison and guide claims that Worlds enforces or provides SHACL validation, and note in update.mdx that validation on write is planned (wazootech/worlds-sdk-ts#151). Pages crediting the Wiki CLI stay. Also removes three per-quad provenance claims the append-only pass (#193) missed because they were worded differently. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…resolution tables Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
Several docs pages say Worlds enforces or provides SHACL validation. It doesn't: no code in worlds-api, worlds-sdk-ts, worlds-cloudflare or worlds-libsql mentions SHACL. Both hosted write paths, import and SPARQL UPDATE, apply quads without validating them. In this family, SHACL validation runs before import, in the Wiki CLI or in CI.
worlds/update.mdx: "Insert the new, verified triple" becomes "Insert the new triple". A note says Worlds doesn't validate patches yet, to validate before import with the Wiki CLI, and that validation on write is planned in feat: validate every write against a world's SHACL shapes, on by default with a per-world opt-out worlds-sdk-ts#151. That plan is on by default with a per-world opt-out, as the owner decided.worlds/index.mdxdefines it as a SPARQL ASK check.Also fixes three per-quad provenance claims that #193 missed because they were worded differently (document-databases, graphiti, llm-wiki table).
Restore the write-time claims when #151 ships.
Checks
pnpm run precommit(format check plus Mintlify build validation) passes, andmintlify broken-linksfinds none. I didn't preview the pages locally.🤖 Generated with Claude Code