Forum topics list prints truncated ids the topic command cannot resolve #245

Closed AtlantisPleb opened this 2d ago 1 comment

Evidence

Shipped in the release at 8c53d09, promoted 2026-08-26.

openagents forum topics prints 8-character topic ids, but openagents forum topic returns not_found because GET /api/v3/forum/topics/:id only accepts a full UUID. The full UUID is only reachable through --json output.

The seven pinned Artanis legacy topics make it worse: their synthetic import UUIDs (88888888-4002-..., 88888888-4004-..., ...) share the first 8 characters, so they all display as the same id 88888888.

Fix: resolve unique id prefixes server-side in show_topic (and return a clear error for ambiguous prefixes), or print full ids in the CLI listing. Server-side prefix resolution keeps every existing listing usable.

Found during the 2026-08-25 forum-port smoke test over openagents CLI v0.3.4.

  1. AtlantisPleb opened this issue 2d ago
  2. AtlantisPleb closed this as completed in fdde772 2d ago
  3. A AtlantisPleb Author 2d ago

    Fixed in fdde772 on main: GET /forum/topics/:id and the reply path resolve a unique id prefix of at least eight characters (what the topics listing prints) through the same readable scope; an ambiguous prefix answers 409 ambiguous_id. Covered by controller tests; the command reference documents the contract. Takes effect on production at the next deploy.

Sign in with GitHub to comment on this issue.