feat: disambiguate duplicate basenames in humanized tool-call titles

Open Beginner friendly
#1,021 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
sql, typescript

Research direction

Start in packages/opencode/src/altimate/tool-label.ts at friendlyTarget and inspect how model paths become humanized tool-call titles. Verify the existing rendering for models/staging/customers.sql and models/marts/customers.sql, then confirm that titles include the immediate parent directory only when it differs from the dbt directory and that the two examples are distinct.

Written by the indexing model from the issue text.

Description

Found during v0.9.2 release review (End User persona). Deferred because: additive UX design change, not a defect.

models/staging/customers.sql and models/marts/customers.sql both render as "Reading customers model". Proposal: append the immediate parent dir when it differs from the dbt dir (packages/opencode/src/altimate/tool-label.ts::friendlyTarget).

Dominant language
TypeScript
Stars
813
Forks
134
Avg merge
2d 5h
Merged PRs (30d)
62

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AltimateAI/altimate-code

All issues in AltimateAI/altimate-code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.