Repository navigation
kits: a renamed kit keeps what was launched under its old name (My Workplace is now Harness Bot) - #616
Merged
Conversation
…rkplace is now Harness Bot) kit.json may now say what a kit was called before, and the gateway and the console read it: - aliases: the kit's old ids. A Harness whose kit field is one of them is the kit's: its record and the catalog report the current id, a launch under either id reuses it, the reuse and conflict checks compare current ids, and a relaunch rewrites the stored field to the current id. - harness.replaces_packages: the old names of the kit's package. A relaunch swaps such a package for the current one instead of keeping both, also when the current one is already installed at its version. - harness.replaces_names: the Harness's old default names. A relaunch gives a Harness still named exactly one of them the kit's current name; a name the person chose is never touched. - /kits/<old id>/... answers 308 to the same page under the current id. The console's kit lists, prompts and mark, the README and the kit's images use the new name, harness-bot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ckage must Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
richard-epsilla
approved these changes
Oct 31, 2026
richard-epsilla
left a comment
Collaborator
There was a problem hiding this comment.
Verified on 0.37.13-rc.1 with the renamed kit installed; see the description.
This branch was successfully deployed
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.
The My Workplace starter kit is now Harness Bot (HarnessRouter/starter-kit#52). This is the server and console side, so whatever people launched under the old name keeps working.
kit.json may say what a kit was called before, and the gateway reads it:
aliases: the kit's old ids. A Harness whosekitfield is an alias belongs to the kit:POST /v1/kits/<old id>/launchlaunches the current id;harness.replaces_packages: old names of the kit's package. On a relaunch such a package gives way to the current one instead of staying beside it. This also happens when the current package is already installed at its version.harness.replaces_names: the Harness's old default names. A relaunch renames a Harness still called exactly one of them to the kit's current name. A name the person chose is never touched.The console
/kits/<old id>/...answers 308 to the same page under the current id, query kept. The old id is read from the kits' ownaliases, so a later rename needs nothing here.harness-bot.Verified on 0.37.13-rc.1 (this branch), with the renamed kit from HarnessRouter/starter-kit#52 installed the way the image installs kits. The instance held nine kit setups and 27 teammates launched under the old id.
harness-botlaunched, each on its own workspace's setup. Each record reportsharness-bot; the stored field still saysworkplaceuntil a relaunch./kits/workplace/dm/x?tab=filesgives 308 to/kits/harness-bot/dm/x?tab=files.POST /v1/kits/workplace/launchreturnedcreated: falseon the same setup. The stored field, name and package moved toharness-bot,Harness Bot recruiterandharnessrouter-harness-bot-recruiter, and the old package is gone. A second launch reuses it.Tests
gateway/tests/test_kit_aliases.py:ui/src/app/kits/[kit]/[[...path]]/route.test.ts: the redirect, and 404 for an id no kit has or had.🤖 Generated with Claude Code