loopctl-mcp-server 3.13.0 → 3.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -4303,7 +4303,7 @@ const TOOLS = [
4303
4303
  {
4304
4304
  name: "delete_project",
4305
4305
  description:
4306
- "ARCHIVE a project (DELETE /api/v1/projects/:id sets status to archived; it removes no rows). Its epics, stories and audit entries stay, and an already-archived project is a no-op. The SLUG stays taken: slugs are unique per tenant across archived projects too, resolve_project by that slug still returns the archived project, create_project with it is refused 422, and archiving never releases it, so a new project needs a different one. The one way a slug is freed: update_project renaming a kb scope (never a work project) releases the kb scope's old slug. The way back: restore_project for a work project, restore_kb_scope for a kb scope. Sent with LOOPCTL_USER_KEY verbatim when it is set (a global LOOPCTL_API_KEY does not displace it), else with the default key. Refusals: 403 insufficient_role below user role, 403 custody_tier_required on an agent-rooted tenant (the human-anchor gate), 404 for an id not in your tenant.",
4306
+ "ARCHIVE a project (DELETE /api/v1/projects/:id sets status to archived; it removes no rows). Its epics, stories and audit entries stay, and an already-archived project is a no-op. The SLUG stays taken: slugs are unique per tenant across archived projects too, resolve_project by that slug still returns the archived project, create_project with it is refused 422, and archiving never releases it, so a new project needs a different one. The one way a slug is freed: update_project renaming the project's slug releases the old one. The way back: restore_project for a work project, restore_kb_scope for a kb scope. Sent with LOOPCTL_USER_KEY verbatim when it is set (a global LOOPCTL_API_KEY does not displace it), else with the default key. Refusals: 403 insufficient_role below user role, 403 custody_tier_required on an agent-rooted tenant (the human-anchor gate), 404 for an id not in your tenant.",
4307
4307
  inputSchema: {
4308
4308
  type: "object",
4309
4309
  properties: {
@@ -4333,7 +4333,7 @@ const TOOLS = [
4333
4333
  {
4334
4334
  name: "update_project",
4335
4335
  description:
4336
- "UPDATE a project's fields (PATCH /api/v1/projects/:id): name, slug, repo_url, description, tech_stack, mission, metadata. Send only what changes; a field left out is left alone, and a call naming none is refused locally. Only a kind: kb scope's slug can change: its name follows the slug, a kb name different from its slug is 422, and a slug another project holds (archived included) is 422; a work project's slug change is 422. Status is not settable here (archive with delete_project, restore with restore_project). Setting repo_url makes resolve_project({repo_url}) and SessionStart find the project, so it must be the ONLY active project carrying that URL: a second one makes every lookup for the repo 409 ambiguous_resolution fleet-wide. Sent with LOOPCTL_ORCH_KEY verbatim, else LOOPCTL_USER_KEY, else the default key. Refusals: 403 insufficient_role below orchestrator role, 403 custody_tier_required on an agent-rooted tenant (the human-anchor gate), 404 for an id not in your tenant, 422 for an invalid field.",
4336
+ "UPDATE a project's fields (PATCH /api/v1/projects/:id): name, slug, repo_url, description, tech_stack, mission, metadata. Send only what changes; a field left out is left alone, and a call naming none is refused locally. A slug change renames the project's channel (kb scope or work project); when no name is sent and the name equaled the old slug, the name follows. A kb name different from its slug is 422, and a slug another project holds (archived included) is 422. Status is not settable here (archive with delete_project, restore with restore_project). Setting repo_url makes resolve_project({repo_url}) and SessionStart find the project, so it must be the ONLY active project carrying that URL: a second one makes every lookup for the repo 409 ambiguous_resolution fleet-wide. Sent with LOOPCTL_ORCH_KEY verbatim, else LOOPCTL_USER_KEY, else the default key. Refusals: 403 insufficient_role below orchestrator role, 403 custody_tier_required on an agent-rooted tenant (the human-anchor gate), 404 for an id not in your tenant, 422 for an invalid field.",
4337
4337
  inputSchema: {
4338
4338
  type: "object",
4339
4339
  properties: {
@@ -4342,7 +4342,7 @@ const TOOLS = [
4342
4342
  slug: {
4343
4343
  type: "string",
4344
4344
  description:
4345
- "New slug, kb scopes only (lowercase alphanumerics, hyphens, underscores; 2-63 chars). For a repo channel, the repo basename verbatim, e.g. home_care_billing.",
4345
+ "New slug (lowercase alphanumerics, hyphens, underscores; 2-63 chars). For a repo channel, the repo basename verbatim, e.g. home_care_billing.",
4346
4346
  },
4347
4347
  repo_url: { type: "string", description: "Git remote URL, e.g. https://github.com/owner/repo." },
4348
4348
  description: { type: "string", description: "New description." },
@@ -5,8 +5,8 @@
5
5
  *
6
6
  * WHAT THE ENDPOINT ACCEPTS: `name`, `slug`, `repo_url`, `description`, `tech_stack`,
7
7
  * `mission`, `metadata`. It drops every nil, so a request naming none is a 200 that changes
8
- * nothing: refused here. Only a kind: kb scope's `slug` can change, and its name follows it
9
- * (#1038); a work project's slug change is a 422. A body carrying `status` is a 422 (archive
8
+ * nothing: refused here. Any project's `slug` can change, and a name that equaled the old
9
+ * slug follows it (#1038). A body carrying `status` is a 422 (archive
10
10
  * and restore have their own routes), so it is never sent. An empty `mission` clears it.
11
11
  *
12
12
  * KEY: orchestrator role on a human-anchored tenant; index.js injects the orchestrator-pinned
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loopctl-mcp-server",
3
- "version": "3.13.0",
3
+ "version": "3.13.1",
4
4
  "description": "MCP server for loopctl — structural trust for AI development loops",
5
5
  "type": "module",
6
6
  "main": "index.js",