REA Smithy IDL notes (unofficial)
Smithy IDL models and smithy-build.json pin service-model identity. In REA 6.7.x, treat selected service / operation / shape pins as Evidence beside archive/package routes — complementing cousins without inventing APIs.
Mental model
- Authorize the Smithy tree (+ generated artifacts you hold).
- Quote selected namespace / service / operation / projection pins you actually see (never paste account secrets).
- Cousins → openapi-generator · asyncapi-yml · protobuf-blobs.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_smithy_idlAPI REA never called.
Minimal path
# authorized *.smithy / smithy-build.json (+ artifact you hold)
# quote selected service / operation / shape / projection pins into case notes
# cousins → peer OpenAPI / AsyncAPI / protobuf lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_smithy_idl .
Compare
| Artifact | Honest posture |
|---|---|
| Smithy IDL / smithy-build.json | Service-model identity facts |
| OpenAPI peer | rea-openapi-generator |
| AsyncAPI peer | rea-asyncapi-yml |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
$version, service shape names, and projection targets rather than dumping entire models. smithy-build.jsonprojections (openapi, client codegen) are useful Evidence — label which projection you inspected.- Traits may carry auth or endpoint metadata — redact before sharing.
- Generated code from Smithy is a build output; stay on documented package/archive routes.
- Keep Smithy models distinct from OpenAPI REST specs even when projections emit OpenAPI.
Scope we will not cover
- No inventing
inspect_smithy_idl/ automatic remote codegen against foreign projects. - No credential theft from traits or AWS account metadata.
- No pirate redistribution of proprietary Smithy models.
- No crack framing via Smithy pins.
- No bypass cookbooks that strip auth traits to attack foreign services.
Honest limits
RepoRead documents config literacy — how authorized Smithy trees relate to Evidence — not a full smithy-cli course. Prefer upstream Smithy docs for projections and traits. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-openapi-generator / rea-protobuf-blobs?
rea-openapi-generator covers OpenAPI Generator/specs; rea-protobuf-blobs covers protobuf artifacts. This page zooms on Smithy IDL identity — it does not overwrite those pages.
Is there inspect_smithy_idl in 6.7.0?
Not assumed. Quote service / operation / shape / smithy-build pins you actually open, then use documented package/archive lanes. Do not invent inspect_smithy_idl.
Does REA compile Smithy models or steal AWS credentials?
No. Local trees only. Redact AWS account IDs and trait secrets; do not treat REA as smithy-cli. No credential theft.
How should I label Evidence vs other IDL configs?
Label Evidence by the file present. Keep Smithy separate from rea-openapi-generator, rea-asyncapi-yml, and rea-protobuf-blobs.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).