Repository navigation
feat(uipath-platform): teach agents to write and query trace decisions - #4025
dushyant-uipath wants to merge 1 commit into
Conversation
|
Claude finished @dushyant-uipath's task in 2m 56s —— View job PR Review: feat(uipath-platform): teach agents to write and query trace decisions
SummaryAdds a Change-by-Change Review1.
|
| Area | Status | Notes |
|---|---|---|
| Frontmatter | OK | description unchanged (under 1024), when_to_use updated correctly |
| E2E Tests | OK | Smoke test present; e2e deferred until CLI ships (acceptable) |
| Skill Body | OK | Routing table, trigger phrases, reference list all updated |
| References & Assets | OK (minor) | New reference is well-structured; list required-flags clarity is the only gap |
| Repo Hygiene | OK | No new skill folder — registries/CODEOWNERS untouched. No secrets or personal paths. All links resolve |
Issues for Manual Review
- CLI flag accuracy: The
createflag table lists--field,--proposed-by,--proposed-by-kind,--rejected-outcome,--evidence,--timestamp,--process-key, etc. These come from UiPath/cli#5280 which hasn't shipped — verify the actual flag names match once the CLI is released. decisionIdgeneration behavior: Confirm whether the server auto-generatesdecisionIdonly for flag-form input or also for JSON file input. The doc currently says "required" in the file shape but "optional" via--id.
Conclusion
Clean, well-scoped addition that follows the existing traces reference pattern. The two Low-severity findings (list-flag clarity and the decisionId required-vs-optional note) are polish items — neither blocks an agent from using the commands correctly. Approve.
|
|
Claude finished @dushyant-uipath's task in 3m 0s —— View job Coder-eval task lint (advisory)
Coder-eval task lint (advisory)1 task YAML changed; verdict counts: 0 Critical, 1 High, 0 Medium, 0 Low, 0 OK. Rubric: .claude/commands/lint-task.md. This check is advisory and never blocks merge. Evidence of passing run❌ High — PR body does not claim the changed task has been run and passed. Please edit the PR description to add a line like: Per-task lint
|
3cebf96 to
e62e710
Compare
|
Addressed both review comments in skills/uipath-platform/references/traces/decisions.md, amended into the existing commit (e62e710):
|
|
e62e710 to
24fda69
Compare
Adds references/traces/decisions.md for uip traces decisions create, get and list, links it from SKILL.md, traces.md and uip-commands.md, and adds a smoke task. Addressed review feedback: added a Required column to the list flags table; clarified that decisionId is required in --input files, unlike the flag form which generates one when --id is omitted. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
24fda69 to
fe0a88d
Compare



Problem
An agent asked to record a reviewer's decision on a trace has no skill guidance. The Decisions API needs a trace ID, a folder key, and a request body where every decided field carries a proposer. Without a documented command the agent builds a raw HTTP call and guesses the body.
The commands this teaches are added in UiPath/cli#5280 (
uip traces decisions create|get|list), which calls the Decisions service added to the TypeScript SDK in UiPath/uipath-typescript#827 (merged, released in SDK 1.8.4). The CLI change is not merged yet, souip traces decisionsis not in a released CLI until it lands.Change
uipath-platformgets a decisions reference next to the existing trace feedback reference. No new skill folder, soassets/skill-status.json,skills.sh.json, CODEOWNERS and the README table stay as they are.skills/uipath-platform/references/traces/decisions.mdcreateflag table, input file shape,get,list, error table, anti-patternsskills/uipath-platform/SKILL.mdwhen_to_usegains the decision phrases, the Traces bullet, the routing table row and the reference list entry link the new fileskills/uipath-platform/references/traces/traces.mdskills/uipath-platform/references/uip-commands.mdtests/tasks/uipath-platform/traces/traces_decisions_smoke.yamltraces decisions createandtraces decisions listagainst a recordeduipmockflowchart LR A[User asks to record a decision] --> B[uipath-platform SKILL.md] B --> C[references/traces/decisions.md] C --> D[uip traces decisions create] C --> E[uip traces decisions list / get] D --> F[Decisions service - uipath-typescript#827] E --> F F --> G[llmops Decisions API]Tradeoffs
uipath-platformtraces/feedback.md, same CLI tool and same backendwhen_to_usegrows by one phraseuipath-decisionsskilltraces/feedback.mddescriptionis unchanged because it sits 2 characters under the 1024 cap; the new trigger phrases go inwhen_to_use. The CLI verb catalog does not listtraces decisionsuntil the CLI change is released and the catalog refresh runs.[ACTN-0000]