feat(uipath-rpa): execution maps + pattern card — cut greenfield builds from ~36-40 to ≤10 turns#1827
Draft
AlvinStanescu wants to merge 10 commits into
Draft
feat(uipath-rpa): execution maps + pattern card — cut greenfield builds from ~36-40 to ≤10 turns#1827AlvinStanescu wants to merge 10 commits into
AlvinStanescu wants to merge 10 commits into
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…neys Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ith single validate gate Rule 18 rewritten (batch-author), Call Batching section replaced by Execution Maps pointer, Rule 21 gains pattern-card + memory precedence, greenfield skips the discovery subagent, completion saves memory patterns. workflow-guide.md and environment-setup.md aligned. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… CLI-verified on 26.6.1 All snippets validate+build clean on a Portable/VB scratch project. Build-verified traps encoded as Notes: BuildDataTable is Windows-only, ParsingMethod is designer-only (runtime: CSVParsing), ArrayRow needs s:Object[], DataTable group needs clr-namespace xmlns form. Queue consume loop dropped: GetTransactionItem absent cross-platform. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…erified Excel X family and SMTP SendMail deliberately excluded: Platform: Windows only per their docs, TypeLoadException on the cross-platform gate — card notes route them to Rule 21 on Windows targets. HTTP entry teaches modern NetHttpRequest (HttpClient is legacy) and the UiPath.Web.Activities assembly-name trap. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
run_limits.max_turns=10 (comparable pre-map task budgets 36-40 turns). Independent run_command build re-run guards against invocation-only passes; command_not_executed on get-default-xaml asserts the pattern card superseded per-activity discovery. Local coder-eval run pending (no tests/.env credentials in this environment) — must be run and claimed in the PR before merge. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…apture, single gate Adds the UIA capture+build journey at category-pointer level (no package-owned CLI syntax, per skills/uipath-rpa/CLAUDE.md boundary): T0 batches reads/prereqs/baseline/inventory; per-screen capture stays state-gated; authoring defaults to once-after-capture with ONE validate+build gate, superseding validate-after-each-screen-batch in SKILL.md, ui-automation-guide, and uia-configure-target-workflows. Memory protocol now permits process-level UIA lessons; selectors, targets, OR refs, and CLI syntax stay banned. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ure screens Pairs with UiPath/Activities#38006 (--screen-reference-id passthrough in the package skill); category-pointer only, syntax stays package-owned. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the turn-count reduction design for
uipath-rpa(spec:docs/superpowers/specs/2026-07-02-uipath-rpa-execution-map-design.md, plan:docs/superpowers/plans/2026-07-02-uipath-rpa-execution-maps.md). A greenfield XAML build collapses from per-activity discovery + validate-after-every-activity loops (~36–40 turn budgets on comparable tasks) to a 4-turn happy path with a single validate+build gate.Four pieces:
references/execution-maps-guide.md— turn-by-turn maps for four journeys (greenfield/brownfield × XAML/coded): T1 scaffold+context chain, T2 batch-author ∥ install, T3validate && build, T4 report. Includes activity source precedence (card → agent memory → Rule 21 triple), never-batch gates, failure exits, and a harness-conditional cross-session memory protocol.references/common-pattern-card.md— 8 multi-activity snippets, every one CLI-verified (uip rpa validate+buildclean) in a scratch Portable/VB project againstUiPath.System.Activities 26.6.1,UiPath.Excel.Activities 3.6.0-preview(CSV),UiPath.WebAPI.Activities 2.5.1. Card entries supersede the Rule 21 discovery triple for covered activities. Regeneration procedure:.maintenance/pattern-card-maintenance.md.workflow-guide.md+environment-setup.mdaligned.tests/tasks/uipath-rpa/execution_map/execution_map_greenfield.yaml— smoke task enforcing the budget (run_limits.max_turns: 10), with an independentrun_commandbuild re-run so invocation-only or garbage-workflow runs fail, and acommand_not_executedguard onget-default-xamlproving the card superseded discovery.Critical Rules change justification
XAML Rule 18 ("Start minimal, iterate to correct — one activity at a time, validate after each") is rewritten, not removed: authoring now batches, but the per-file
validate-to-clean requirement, projectbuildgate, 5-attempt caps, and fix-by-category flow (Rule 19) are unchanged. Card/memory-sourced activities carry low hallucination risk, which is what makes batch authoring safe; failures bisect.Build-verified traps encoded as card Notes
The validation gauntlet caught real doc/platform drift that
validatealone misses — now teaching material on the card:BuildDataTableabsent from cross-platform assemblies (TypeLoadException) →GenerateDataTableParsingMethodis designer-only; runtime member isCSVParsingx:TypeArguments="x:Object[]"fails at build →s:Object[]UiPath.Web.Activities, NOT package idUiPath.WebAPI.Activities;HttpResponseSummaryis in...Http.ModelsSendMailare Windows-only → deliberately off the card with a routing note until a Windows-target validation pass runsVerification
uip rpa validateclean + projectuip rpa buildclean (uip 1.0.0-alpha, Helm macOS)hooks/validate-skill-descriptions.sh,scripts/check-skill-status.py,scripts/check-cli-verbs.py(all uipath-rpa tasks): cleanskills/uipath-rpa/CLAUDE.mdboundary)Pending before merge (why this is a draft)
skill-rpa-execution-map-greenfieldnot yet run (notests/.envagent credentials in the authoring environment). Run:cd tests && make install && SKILLS_REPO_PATH=$(cd .. && pwd) .venv/bin/coder-eval run tasks/uipath-rpa/execution_map/execution_map_greenfield.yaml -e experiments/smoke.yaml, then record the claim here.🤖 Generated with Claude Code