REA ko YAML notes (unofficial)
ko (.ko.yaml / KO_* env pins) records Go→OCI importpath/base-image identity. In REA 6.7.x, treat selected importpath/base-image labels as Evidence beside archive/package routes — complementing Dockerfile/crane cousins without inventing APIs.
Mental model
- Authorize the ko project tree (+ packaged configs you hold).
- Quote selected importpath/base-image labels you actually see (never paste secrets).
- Cousins → crane-yml · dockerfile · dockerfile-multi · goreleaser.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_ko_ymlAPI REA never called.
Minimal path
# authorized .ko.yaml / KO_* pins (+ artifact you hold)
# quote selected importpath/base-image labels into case notes
# cousins → peer lanes above
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_ko_yml .
Compare
| Artifact | Honest posture |
|---|---|
| .ko.yaml / KO_* env | Go→OCI build identity facts |
| Peer | rea-crane-yml |
| Peer | rea-dockerfile |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote defaultBaseImage, builds[].id/main, and platforms — enough for most Evidence binders.
- Registry credentials and signing keys often embed secrets — record key names only.
- Keep ko distinct from Dockerfile layers and crane copy/mutate CI YAML in case notes.
- SBOM / bare / tags options are identity Evidence — label them separately from cousin pages.
- Select keys are useful inventory — quote them without inventing REA helpers for
ko build.
Scope we will not cover
- No inventing
inspect_ko_yml/ automatic attacks against foreign ko hosts. - No credential theft from tokens, CI secrets, or remote URIs.
- No pirate redistribution of proprietary ko trees.
- No crack framing via ko pins.
- No cookbooks that weaken remote auth on foreign registries.
Honest limits
RepoRead documents config literacy — how authorized ko YAML trees relate to Evidence — not a full ko course. Prefer upstream ko docs for config details. 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-dockerfile / rea-crane-yml?
rea-dockerfile covers Dockerfile identity. rea-crane-yml covers crane CI/config YAML. This page zooms on ko .ko.yaml identity — it does not overwrite those pages.
Is there inspect_ko_yml in 6.7.0?
Not assumed. Quote importpath/base-image labels you actually open, then use documented package/archive lanes. Do not invent inspect_ko_yml.
Does REA connect to remote registries or steal credentials?
No. Local trees only. Redact tokens, credentials, and remote URIs; do not treat REA as a ko runner. No credential theft.
How should I label Evidence vs other container build files?
Label Evidence by the file present. Keep ko YAML separate from rea-dockerfile and rea-crane-yml.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).