Skip to content

kits: a renamed kit keeps what was launched under its old name (My Workplace is now Harness Bot) - #616

Merged
richard-epsilla merged 3 commits into
mainfrom
feat/harness-bot-kit
Oct 31, 2026
Merged

richard-epsilla merged 3 commits into
mainfrom
feat/harness-bot-kit

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

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 whose kit field is an alias belongs to the kit:
    • its record and the kit catalog report the current id;
    • POST /v1/kits/<old id>/launch launches the current id;
    • the reuse and conflict checks compare current ids;
    • a relaunch rewrites the stored field to 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' own aliases, so a later rename needs nothing here.
  • The kit lists, prompts, mark, README and images use 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.

  • Catalog: in three workspaces the catalog reports harness-bot launched, each on its own workspace's setup. Each record reports harness-bot; the stored field still says workplace until a relaunch.
  • Old address: /kits/workplace/dm/x?tab=files gives 308 to /kits/harness-bot/dm/x?tab=files.
  • Launch under the old id: POST /v1/kits/workplace/launch returned created: false on the same setup. The stored field, name and package moved to harness-bot, Harness Bot recruiter and harnessrouter-harness-bot-recruiter, and the old package is gone. A second launch reuses it.
  • Kit app: opens from the old address at 1440, 1024, 768 and 390. A teammate was hired, and teammates under the new and the old package each answered a direct message.
  • Images: the README image and the kit cover are retaken there.

Tests

  • gateway/tests/test_kit_aliases.py:
    • the id resolution;
    • a legacy Harness reported and counted under the new id;
    • a relaunch under either id reusing it, moving its id, package and name, and keeping the person's own package;
    • a name the person chose kept;
    • the old package dropped even when the new one is already current;
    • no conflict when moving the kit onto its own legacy Harness, and still 409 for another kit's Harness.
  • 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

…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>
@vercel

vercel Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
unified-harness-protocol Ready Ready Preview Oct 31, 2026 4:09am UTC

Request Review

…ckage must

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@richard-epsilla richard-epsilla left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified on 0.37.13-rc.1 with the renamed kit installed; see the description.

@richard-epsilla
richard-epsilla merged commit 558a8bb into main Oct 31, 2026
12 checks passed
@richard-epsilla
richard-epsilla deleted the feat/harness-bot-kit branch October 31, 2026 04:44

This branch was successfully deployed

1 active deployment
Preview — df3e8791 Deployed Oct 31, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant