Skip to content

Commit cf5b54f

Browse files
committed
docs: record the release tag lessons in agent guidelines
1 parent 4baa074 commit cf5b54f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,5 @@ Lessons from building the kits in this repo. Scopes for commits here: kit, scrip
8585
- Read an lstk config as TOML, never with a text match. lstk loads it through viper, which also ignores the case of keys, so a text match misses literal strings, inline tables, and keys such as Image. lskit-check-config parses it with smol-toml.
8686
- A kit arg with the value latest does not change the text of a build step, so BuildKit keeps using the cached step after a new release. scripts/build.sh passes the current release numbers for lstk and the MCP server.
8787
- The CI Docker Hub token (docker-push environment) needs write access to each repository. A new repository in the localstack namespace does not get it. The login passes and the push fails with insufficient_scope, so ask for write access when you add a kit.
88+
- A repository ruleset cannot list the GitHub Actions app as a bypass actor (GitHub rejects it), so GITHUB_TOKEN cannot create a protected v* tag. The release workflow pushes the tag with a deploy key from the release environment, and deploy keys bypass the tag ruleset.
89+
- The docker-push and release environments accept only main. A tag pattern there lets anyone who can create that tag reach the secrets.

0 commit comments

Comments
 (0)