test(uipath-troubleshoot): scrub diagnosis hints from legacy scenario manifests#1783
test(uipath-troubleshoot): scrub diagnosis hints from legacy scenario manifests#1783Stefan-Virgil wants to merge 2 commits into
Conversation
… manifests
Neutralize expected_calls descriptions in the null-reference-exception and
argument-null-exception manifests so the agent-visible fixtures no longer name
the exception type, fault location (ERN.xaml/CopyFile), evidence specifics
(InputArguments={}), or hypothesis labels. Mock dispatch is unaffected (rules
unchanged).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Claude finished @Stefan-Virgil's task in 1m 37s —— View job PR Review: Scrub diagnosis hints from legacy scenario manifests
SummaryScrubs answer-leaking text from Change-by-Change Review1.
|
| Area | Status | Notes |
|---|---|---|
| Frontmatter | N/A | No skill frontmatter changed |
| E2E Tests | OK | Fixture-only change; mock dispatch behavior identical |
| Skill Body | N/A | No skill body changed |
| References & Assets | OK | Descriptions are neutral and still convey coverage intent |
| Repo Hygiene | OK | Changes scoped to two files, no secrets, no cross-skill refs |
Issues for Manual Review
None found.
Conclusion
Clean PR. The replacement descriptions are neutral and procedural — they preserve the coverage-analysis purpose of expected_calls without leaking diagnosis answers to the agent. The rules and min fields are untouched so mock dispatch is identical. No issues found; this is ready to merge.
…manifests generate_scenario.py now flags — in the module docstring, the emitted manifest _doc, and the post-apply next-steps output — that manifest.json is agent-visible, so _doc and author-added expected_calls[].description must stay procedural (no exception type, fault location, or root-cause hints). The diagnosis belongs only in the jobs get/logs payloads. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
What
Prevents and cleans up diagnosis-hint leaks in agent-visible scenario fixtures.
1. Scrub the two legacy manifests
Removes answer-leaking text from
expected_calls[].descriptionin the pre-existingnull-reference-exceptionandargument-null-exceptionscenarios. The sandbox stagesfixtures/, so a thorough agent could read these and skip the diagnosis.null-reference-exception: "read the NullReferenceException message and the stack frame pointing at ERN.xaml/CopyFile"argument-null-exception: "read the ArgumentNullException stack and InputArguments={}", "confirm the fault at CopyFile", "rule out caller-supplied In arguments (H3)"Replaced with neutral procedural text (e.g. "Agent fetches the job's execution details."). Only
descriptionfields change —rulesare untouched, so mock dispatch is identical and no re-validation is needed.2. Guard against recurrence in the generator
generate_scenario.pynow flags the rule in three places so it's caught at generation time, not review:_doc(carried into every new scenario)--applynext-steps outputScope / safety
_docof the legacy manifests left as-is (generic dev notes, not hints). XAML annotations andproject.jsondescriptions were audited and carry no hints.README.md/RESOLUTION.mdare not staged to the agent.🤖 Generated with Claude Code