Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ERRORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Hint: polylane workspace use <id>

These are the non-obvious command-level behaviours an agent should know about. Specific error strings are subject to change — use these as categories you can rely on.

### Destructive operations (`auth logout`, `integration disconnect`, `cloud disconnect`, `memory delete`, …)
### Destructive operations (`auth logout`, `integration disconnect`, `cloud disconnect`, `artifact delete`, …)

- Prompt for confirmation in interactive mode.
- Require `--yes` in non-interactive mode, else exit `2`.
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ polylane issue note <issue-id> "rolled back deploy"
polylane service logs <service> --since 1h --grep error
polylane tools run findNodes --params '{"query":"api"}'
polylane thread ask "<prompt>"
polylane memory save "<finding>"
```

## Discovering commands
Expand Down
13 changes: 5 additions & 8 deletions skill/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: polylane-cli
description: Use `polylane` to investigate production issues, explore cloud infrastructure (logs / metrics / dependency graphs), find the repositories that deploy a service, save memories, connect observability tools and cloud accounts, and drive threads with the Polylane agent. Use when the user wants to debug a production issue, look up a service, find a repository, manage integrations, connect a cloud provider, or talk to the Polylane agent from the terminal.
description: Use `polylane` to investigate production issues, explore cloud infrastructure (logs / metrics / dependency graphs), find the repositories that deploy a service, connect observability tools and cloud accounts, and drive threads with the Polylane agent. Use when the user wants to debug a production issue, look up a service, find a repository, manage integrations, connect a cloud provider, or talk to the Polylane agent from the terminal.
---

# Polylane CLI — Agent Skill Guide
Expand Down Expand Up @@ -178,17 +178,14 @@ polylane issue timeline <issue-id> # who did what, when
polylane issue note <issue-id> "rolled back deploy ABC"
polylane issue milestone <issue-id> "Mitigated"

# Drill into services
polylane service find "<query>"
# Drill into services (a service ID is <provider>/<account>/<region>/<type>/<id>)
polylane service list # discover services and their ids
polylane service logs <service-id> --since 1h --grep error
polylane service metrics <service-id> --metric <name> --since 1h
polylane service graph <service-id> --direction both --depth 1

# Find the repository, then search it in a local clone
polylane repo find "<query>"

# Save what you learned
polylane memory save "<finding>"
```

### Running agent tools directly
Expand Down Expand Up @@ -237,8 +234,8 @@ Attach resources as context by passing their IDs — the CLI infers the resource
# Extract a field
polylane workspace list --output json | jq '.items[0].id'

# Chain: find a service → check its logs
SVC=$(polylane service find "payment lambda" --output json --quiet | jq -r '.items[0].id')
# Chain: pick a service → check its logs
SVC=$(polylane service list --output json --quiet | jq -r '.items[0].id')
polylane service logs "$SVC" --since 1h --grep error

# Fire-and-forget + later poll
Expand Down
4 changes: 0 additions & 4 deletions src/commands/feed/index.ts

This file was deleted.

145 changes: 0 additions & 145 deletions src/commands/feed/list.ts

This file was deleted.

46 changes: 0 additions & 46 deletions src/commands/feed/summary.ts

This file was deleted.

6 changes: 0 additions & 6 deletions src/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,16 @@ import { configCommands } from './config';
import { helpCommand } from './help';
import { setupCommand } from './setup';
import { updateCommand } from './update';
import { feedCommands } from './feed';
import { issueCommands } from './issue';
import { serviceCommands } from './service';
import { repoCommands } from './repo';
import { memoryCommands } from './memory';
import { threadCommands } from './thread';
import { integrationCommands } from './integration';
import { cloudCommands } from './cloud';
import { workspaceCommands } from './workspace';
import { subscriptionCommands } from './subscription';
import { apiCommands } from './api';
import { telemetryCommands } from './telemetry';
import { noteCommands } from './note';
import { autofixCommands } from './autofix';
import { artifactCommands } from './artifact';
import { toolsCommands } from './tools';
Expand All @@ -28,17 +25,14 @@ export function registerAllCommands(): void {
registered = true;

const all = [
...feedCommands,
...issueCommands,
...serviceCommands,
...repoCommands,
...memoryCommands,
...threadCommands,
...integrationCommands,
...cloudCommands,
...workspaceCommands,
...subscriptionCommands,
...noteCommands,
...autofixCommands,
...artifactCommands,
...toolsCommands,
Expand Down
34 changes: 0 additions & 34 deletions src/commands/memory/delete.ts

This file was deleted.

39 changes: 0 additions & 39 deletions src/commands/memory/find.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/commands/memory/index.ts

This file was deleted.

Loading
Loading