Skip to content

Don't truncate meaningful operation names in CLI output#2

Merged
jlowin merged 1 commit intomainfrom
fix-ref-name-truncation
Dec 28, 2025
Merged

Don't truncate meaningful operation names in CLI output#2
jlowin merged 1 commit intomainfrom
fix-ref-name-truncation

Conversation

@jlowin
Copy link
Copy Markdown
Member

@jlowin jlowin commented Dec 28, 2025

Previously all operation IDs were truncated to 12 characters, which cut off meaningful names:

  • ref:recommendationsref:recommendati
  • mcp:my-long-servermcp:my-long-s

Now only truncates auto-generated hash IDs (llm:auto:abc123, extract:auto:xyz789) while preserving full names for refs and MCP operations.

Before:

✓ executive_brief.md
├── → ref:recommendati

After:

✓ executive_brief.md
├── → ref:recommendations

Previously, all operation IDs were truncated to 12 characters for display,
which cut off meaningful names like ref:recommendations → ref:recommendati.

Now only truncates auto-generated hash IDs (llm:auto:abc, extract:auto:xyz),
while preserving full names for refs, MCP resources, and MCP prompts.
@jlowin jlowin merged commit 3a07e83 into main Dec 28, 2025
@jlowin jlowin deleted the fix-ref-name-truncation branch December 29, 2025 00:29
@jlowin jlowin added enhancement New feature or request cli CLI commands, CLI tools, or command-line interface functionality labels Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI commands, CLI tools, or command-line interface functionality enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant