Add coily run-live verb to wrap run-native with SSM token fetch #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-18T22:32:21Z - https://github.com/coilysiren/eco-replay/issues/6
Problem - Flipping eco-replay from mock to live takes a manual env dance every time: fetch token via
coily ops aws ssm get-parameter --name /eco-mcp-app/api-admin-token --with-decryption, exportUPSTREAM_URLandUPSTREAM_API_KEY, thencoily exec run-native. eco-mcp-app and eco-jobs-tracker have the same shape and the same per-invocation ceremony.Fix - Add a
run-liveverb to.coily/coily.yamlthat wrapsrun-native, fetches the token from SSM, and points athttp://localhost:3001/api/v1/events. Either:coily.yamldeclaresrun-livewith the SSM key it cares about.coily gaming eco ...(e.g.coily gaming eco run-replay) that knows the standard token + URL.Option 1 is lower-blast-radius and matches the existing per-repo verb pattern. Option 2 deduplicates if a 4th eco web app shows up.
Adjacent: same gap applies to eco-jobs-tracker and eco-mcp-app. Consider doing the sweep together.