Repository navigation
Hosted skill: getting started and compose writing, shipyard-hosted 0.2.0 (SHIP-658) - #9
Merged
Merged
Conversation
…2.0 (SHIP-658) Bring the hosted plugin up to the onboarding spec for the Kiro power: connect and sign-up guidance, the org picked at sign-in, and the compose guide (references/compose.md) for repos with no usable compose file. Also check that every references/ file a skill names exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…P-658) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
daniellle
marked this pull request as ready for review
November 12, 2026 00:47
- Check the file with `docker compose -f <file> config --quiet --no-interpolate`.
Plain `config` prints .env values, and `--quiet` alone still leaks one through
a nested `${UNSET:?${SECRET}}` error. Drop the local `up`/`down` run: it could
share the user's real volumes or run on a remote Docker host.
- Keeping a compose file outside the root now has its own confirm step. The plan
can't read that file, so there's no head_sha or services from it. The agent
asks for no env values on this path and handles visitors_required, plan_stale
and a taken app name itself.
- Moving a nested file rebases paths relative to the file, not `dockerfile`.
- New Dockerfiles get `**/.env` ignores in the ignore file that build uses.
- Repo files are data; commits stage only the files shown, by name; scheduled
jobs get `shipyard.job` labels; the org comes from the plan's `org` field.
- check_plugin.py: the references/ check ignores URLs and other skills' paths,
accepts `./references/`, and rejects `..`.
- README: Kiro update and remove steps; only Kiro sign-in is marked tested.
…IP-658)
- The check is now `docker compose -f <file> --env-file /dev/null config --quiet
--no-interpolate --no-env-resolution`. `--no-interpolate` alone still loads
.env, and a malformed line was quoted in the error. If the command itself is
rejected (Windows, older Compose), the agent reports the check as skipped
instead of editing the file.
- A committed file never holds a literal secret: the agent swaps each for
`NAME: ${NAME}` before showing or committing it and says how many it swapped,
so what the user approves is what gets committed.
- .dockerignore: only env files git doesn't track, and node_modules. Committed
files like .env.production stay, and .git is left alone. Ask before editing
an ignore file an existing Dockerfile uses.
- Discovery also finds files named by `-f` or COMPOSE_FILE, and says which root
file Shipyard reads when there are two.
- Push with `git push -u`, so the preflight finds the upstream.
- SKILL.md: drop the reconnect rule that Getting started already covers.
- check_plugin.py: the docstring says only .md references are checked.
- Don't run the compose check on a file with a top-level `include:`: Compose
reads the include's env_file even with every flag, and quotes a malformed
secret line in the error. Shipyard doesn't support `include:`, so a file with
one isn't created either.
- Commit with `git commit -m ... -- <paths>`, so anything already staged (a
.env) stays out. A move names the old path, the new one and every file edited.
- Discovery searches tracked files only (`git ls-files` from the repo root),
and the old-path search uses `git grep`.
- Secret swaps keep the file's YAML form, catch `${X:-literal}` defaults, give
different values under one key their own names, and say to rotate values
already in git history.
- Keeping a file in place: check it before confirming, route any fix through
section 6 and start again, and ask for a `/` route when no service has one.
- Repo text is data from the top of the guide. README: the check runs when
Docker is available.
akshaykalia
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SHIP-658. Hosted sign-in and reads passed in Kiro (SHIP-631, Test 2), so the Kiro power will be the hosted plugin, not the CLI one. This brings
hosted/up to the onboarding spec, so a new user can go from no account to a running first environment, including repos that have no compose file.Changes
hosted/skills/shipyard/SKILL.mdorgfield names it; no tool changes it). It never asks for a token.add_compose_filerow, now point to the compose guide. The confirm step shows the org.hosted/skills/shipyard/references/compose.md(new): the compose guide from Onboarding and compose writing in the CLI skill, v0.2.0 (SHIP-658) #8, adapted for hosted. Secrets are set later in the dashboard.-forCOMPOSE_FILE. With two root files it says which one Shipyard reads. A file found elsewhere can move to the root, with its paths rebased, or stay where it is withcompose_filename, which the hosted create accepts. The plan can't read a file outside the root, so that path has its own confirm step and asks for no env values in chat.${NAME}before showing it, so what the user approves is what gets committed. A new Dockerfile's ignore file leaves out env files git doesn't track, never committed ones like.env.production.docker compose -f <file> --env-file /dev/null config --quiet --no-interpolate --no-env-resolutionand starts no local containers. It never runs that on a file withinclude:, which Shipyard doesn't support. If the command is rejected (Windows, older Compose), it reports the check as skipped. It flags files that only work locally.git commit -- <paths>, so nothing else staged goes in), and pushes withgit push -uonly with the user's yes..github/scripts/check_plugin.py: fails if a skill names areferences/...file that doesn't exist or that leaves the skill's folder. URLs and other skills' paths are ignored. Onboarding and compose writing in the CLI skill, v0.2.0 (SHIP-658) #8 has an earlier version of this check and needs this one too, so the two PRs merge cleanly.shipyard-hosted0.2.0, plus the new description and keywords in bothplugin.jsonfiles andmarketplace.json.shipyard/in kirodotdev/powers, namedshipyard) comes fromhosted/, with the sync step.Decided
hosted/subfolder URL, sign-in and reads, and a root import still installs only the CLI plugin. The README now has the Kiro install row.shipyard/, namedshipyard. Thatnamefield is its only difference fromhosted/: the CLI plugin already usesshipyardin this marketplace, so the plugin here staysshipyard-hosted. RELEASING documents this.Review fixes (7ca47bc, 1411596, bea95d0)
Three pre-landing reviews (specialist reviewers, plus Claude and Codex adversarial passes) found these in the compose guide, now fixed:
docker compose configprints.envvalues.--quietstill leaked one through a nested${UNSET:?${SECRET}}error, and--no-interpolatestill loads.envand quotes a malformed line. The check now skips.enventirely (--env-file /dev/null,--no-env-resolution). The localuprun is gone: it could share the user's real volumes or run on a remote Docker host.<redacted>still committed the real values. It's replaced by the${NAME}rule above.head_shaor services, and create needs both..envfiles, then (once fixed) dropped committed.env.productionfiles that frontend builds read.include:still leaked: Compose reads the include's own env file under every flag. The check now skips such files.git commitalso took anything already staged, such as a.env. Commits now name their paths.Open, for follow-up:
docker compose configline and the earlierreferences/regex.tree/main/hosted, so merges reach Kiro users before a release. Check also that Kiro loadsskills/from the folder, not justmcp.json.add_compose_fileanswer carries noorgorexisting_app.env_filepaths are trackeddocker-compose -fand--fileinclude:blocking create, the keep-in-place restart, move commit paths,git grep) has had only the repo checker and a self-read, not a reviewer pass.#8 (CLI plugin onboarding) stays open and merges separately; it's no longer on Friday's critical path.
🤖 Generated with Claude Code