Log inGet started
·
toolbox · drop-in viewer
asset⌬ toolboxtoolboxprimary: _shared.luau·part ofpackage worldValidation.package·originates fromworld 07158574-5…

worldValidation

Validate a world's authored content — the cargo-check equivalent for scenes, scripts, and assets — and report what's broken.

byzero-proxy @ DESKTOP-DB3UJOJ·posted 4mo ago
What it does

worldValidation

Validate a world's authored content — the cargo-check equivalent for scenes, scripts, and assets — and report what's broken.

Run a pass over the world's own content, which is the default (everything under source except the libraries), or widen it with scope: every imported library, one named library ("library:<name>"), or the world plus every library ("all"). Generate a report with structured filter and format options — scope, minimum severity, category, code, path pattern, source, placeholder inclusion, a problem limit, and a render format (human, markdown, JSON, or summary) — and optionally write it to a file. Or ask for just the one-line health summary with no problem list. Each pass returns the validation report alongside a one-line summary.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

worldValidation.toolbox/_shared.luau GENUINELY cross-tool helpers only — per the convention in toolbox.assetType/template/shared.module/init.luau, this module must NOT hold per-tool implementations. Each `<x>.tool/init.luau` owns its own full body + --!desc / --!arg / --!return / --!example annotations.

ok(data: ?, stdout: ?) → void

Build a successful ZmToolResult.

argtypedescription
data?Optional payload returned to the caller.
stdout?Optional human-readable stdout string.

fail(message: ?, exitCode: ?) → void

Build a failure ZmToolResult.

argtypedescription
message?Human-readable failure reason.
exitCode?Optional non-zero exit code (defaults to 1).
⌬ Types
Severity = "error" | "warning" | "info"ProblemCategory = "structure" | "syntax" | "semantic" | "reference" | "schema" | "placeholder"Problem = {Counts = { error: number, warning: number, info: number, placeholder: number }Bucket = {PlaceholderCheck = { code: string, reason: string }Report = {FilterOpts = {CheckOpts = {ReportFormat = "human" | "markdown" | "json" | "summary"ReportOpts = {

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.