REA snapcraft.yaml notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

snapcraft.yaml records Snap build identity (name, base, apps, parts, confinement). In REA 6.7.x, treat selected name/base/apps/parts labels as Evidence beside archive/package routes — complementing Snap/Flatpak/AppImage/debhelper cousins without inventing APIs.

Mental model

  1. Authorize the snapcraft project tree (+ packaged configs you hold).
  2. Quote selected name/base/apps/parts labels you actually see (never paste secrets).
  3. Cousins → snap-flatpak · appimage-yml · debhelper · nfpm-yml.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_snapcraft_yml API REA never called.

Minimal path

# authorized snapcraft.yaml (+ artifact you hold)
# quote selected name/base/apps/parts labels into case notes
# cousins → peer Snap/Flatpak / AppImage / debhelper / nfpm lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_snapcraft_yml .

Compare

ArtifactHonest posture
snapcraft.yamlSnap build identity facts
Peerrea-snap-flatpak
Peerrea-appimage-yml
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote name, base, apps.*.command, and parts.*.plugin/source — enough for most Evidence binders.
  • Store login tokens and signing keys often embed secrets — record key names only.
  • Keep snapcraft.yaml distinct from Flatpak manifests and AppImage builder YAML in case notes.
  • Confinement / plugs / slots are identity Evidence — label them separately from cousin pages.
  • Select keys are useful inventory — quote them without inventing REA helpers for snapcraft pack.

Scope we will not cover

  • No inventing inspect_snapcraft_yml / automatic attacks against foreign Snap Store accounts.
  • No credential theft from store tokens, signing keys, or remote URIs.
  • No pirate redistribution of proprietary snap trees.
  • No crack framing via snapcraft pins.
  • No cookbooks that weaken remote auth on foreign stores.

Honest limits

RepoRead documents config literacy — how authorized snapcraft.yaml trees relate to Evidence — not a full snapcraft course. Prefer upstream snapcraft docs for bases and plugins. 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-snap-flatpak / rea-appimage-yml / rea-debhelper?

rea-snap-flatpak covers Snap/Flatpak packaging notes broadly. rea-appimage-yml covers AppImage builder YAML. rea-debhelper covers Debian packaging helpers. This page zooms on snapcraft.yaml identity — it does not overwrite those pages.

Is there inspect_snapcraft_yml in 6.7.0?

Not assumed. Quote name/base/apps/parts labels you actually open, then use documented package/archive lanes. Do not invent inspect_snapcraft_yml.

Does REA connect to the Snap Store or steal credentials?

No. Local trees only. Redact store credentials, signing keys, and remote URIs; do not treat REA as a snapcraft runner. No credential theft.

How should I label Evidence vs other packaging configs?

Label Evidence by the file present. Keep snapcraft.yaml separate from rea-snap-flatpak, rea-appimage-yml, and rea-nfpm-yml.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources