Machine-package authoring instructions
These instructions govern an agent building a human-installable .wireedm-package.
- Read
README.md,SPEC.md,AUTHORING_TASK.md,compatibility.json, the complete machine-package document schema, machine and post schemas, SDK, diagnostic catalogue, canonical fixtures, and supplied machine/controller sources. Use the hosted Package workbench; no checkout or terminal is required. - Build the whole package even when the requested change is only a new post version. The source must include the complete physical machine, every included post, complete exact setups, one active setup, all output rules, evidence, and fixtures.
- If the prior source material is unavailable, ask the human to attach or point to it. Never reconstruct a requirement, identity, digest, property, output rule, compatibility acknowledgement, or verification fact from memory.
- Treat machine, controller, and firmware identity as exact scope. Do not infer semantics from another controller or familiar G-code spelling.
- Verify source digests before interpreting evidence. Never invent a page, quotation, selector, digest, review, test, or verification record.
- Keep geometry and machining decisions out of post code. Declare and exercise every emitted command, state transition, capability, property boundary, lifecycle branch, and known failure.
- Put extension, line ending, encoding, and final-newline policy in each post manifest. Do not create workbench or user configuration for controller-file formatting.
- Compute each post's canonical content hash, then bind that exact ID, version, and hash in the machine setup. A content change under an existing post ID and version is invalid; increment the version.
- Leave new or changed setups
unverifiedunless the human supplies an exact physical verification record. Conformance is not physical verification. - Complete Check post, Build package and Inspect package in the browser. Compatible browsers can use the equivalent WebMCP tools documented at
/documentation/agents/; read the page context and use its current input version. Inspect golden-output changes against evidence; never update expected text merely to make a test pass. Return the downloaded validation report. - Deliver only the built
.wireedm-packageto the installer. Loose JSON and evidence files remain authoring inputs. - Start at the published
/documentation/guide and current compatibility record. Recordmanifest.authoredFor.appVersionand an HTTPS link to that release's tagged authoring documentation. This records authoring provenance, not a compatibility range or physical verification. New posts use schema v2 and exact separation capability names; never copy the obsolete boolean declaration.