@uipath/delegate-sdk 1.203.1 → 1.203.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -3
- package/dist/index.mjs +2 -2
- package/dist/skills/business-analysis/SKILL.md +722 -0
- package/dist/skills/business-analysis/as-is-capture.md +440 -0
- package/dist/skills/business-analysis/assets/progress.yaml +19 -0
- package/dist/skills/business-analysis/assets/task-list.md +34 -0
- package/dist/skills/business-analysis/automation-hub-publishing.md +47 -0
- package/dist/skills/business-analysis/bpmn-to-be-design.md +274 -0
- package/dist/skills/business-analysis/case-to-be-design.md +223 -0
- package/dist/skills/business-analysis/diagram-authoring.md +215 -0
- package/dist/skills/business-analysis/industry-gaps.md +134 -0
- package/dist/skills/business-analysis/interview-spine.md +297 -0
- package/dist/skills/business-analysis/locales/de.json +54 -0
- package/dist/skills/business-analysis/locales/en.json +54 -0
- package/dist/skills/business-analysis/locales/es-MX.json +54 -0
- package/dist/skills/business-analysis/locales/es.json +54 -0
- package/dist/skills/business-analysis/locales/fr.json +54 -0
- package/dist/skills/business-analysis/locales/ja.json +54 -0
- package/dist/skills/business-analysis/locales/ko.json +54 -0
- package/dist/skills/business-analysis/locales/pt-BR.json +54 -0
- package/dist/skills/business-analysis/locales/pt.json +54 -0
- package/dist/skills/business-analysis/locales/ro.json +54 -0
- package/dist/skills/business-analysis/locales/tr.json +54 -0
- package/dist/skills/business-analysis/locales/zh-CN.json +54 -0
- package/dist/skills/business-analysis/locales/zh-TW.json +54 -0
- package/dist/skills/business-analysis/pdd-generation.md +204 -0
- package/dist/skills/business-analysis/pdd-template.md +562 -0
- package/dist/skills/business-analysis/progress-presentation.json +13 -0
- package/dist/skills/business-analysis/recording-first.md +19 -0
- package/dist/skills/business-analysis/recording-processing.md +152 -0
- package/dist/skills/business-analysis/references/automation-hub-open-api.md +57 -0
- package/dist/skills/business-analysis/references/case-definition-spec.md +90 -0
- package/dist/skills/business-analysis/references/case-design-patterns/loan-origination-spec.md +86 -0
- package/dist/skills/business-analysis/references/component-type-mapping.md +52 -0
- package/dist/skills/business-analysis/references/uipath-products/case-management-schema.md +62 -0
- package/dist/skills/business-analysis/references/uipath-products/maestro-case-framework.md +65 -0
- package/dist/skills/business-analysis/references/uipath-products/maestro-case-management.md +49 -0
- package/dist/skills/business-analysis/research-offer.md +104 -0
- package/dist/skills/business-analysis/research-pass.md +149 -0
- package/dist/skills/business-analysis/scripts/assemble-pdd.ps1 +294 -0
- package/dist/skills/business-analysis/scripts/assemble-pdd.sh +453 -0
- package/dist/skills/business-analysis/scripts/check-phase-ready.ps1 +72 -0
- package/dist/skills/business-analysis/scripts/check-phase-ready.sh +98 -0
- package/dist/skills/business-analysis/scripts/lint-diagram.ps1 +524 -0
- package/dist/skills/business-analysis/scripts/lint-diagram.sh +519 -0
- package/dist/skills/business-analysis/scripts/stamp-pages.ps1 +363 -0
- package/dist/skills/business-analysis/scripts/stamp-pages.sh +360 -0
- package/dist/skills/business-analysis/to-be-design.md +199 -0
- package/dist/skills/confluence/SKILL.md +386 -0
- package/dist/skills/doc-coauthoring/SKILL.md +295 -0
- package/dist/skills/excel-architect/SKILL.macos.md +161 -0
- package/dist/skills/excel-architect/SKILL.md +180 -0
- package/dist/skills/excel-architect/SKILL.windows.md +61 -0
- package/dist/skills/excel-architect/archetypes/01-financial-model-advanced.md +332 -0
- package/dist/skills/excel-architect/archetypes/01-financial-model.md +248 -0
- package/dist/skills/excel-architect/archetypes/02-data-analysis.md +171 -0
- package/dist/skills/excel-architect/archetypes/03-tracking-dashboard.md +160 -0
- package/dist/skills/excel-architect/archetypes/04-project-planning.md +193 -0
- package/dist/skills/excel-architect/archetypes/05-simple-table.md +111 -0
- package/dist/skills/excel-architect/building.md +279 -0
- package/dist/skills/excel-architect/create.md +64 -0
- package/dist/skills/excel-architect/data-and-formulas.md +186 -0
- package/dist/skills/excel-architect/generator.md +272 -0
- package/dist/skills/excel-architect/macos/scripts/add-data-validation.applescript +242 -0
- package/dist/skills/excel-architect/macos/scripts/append-rows.applescript +310 -0
- package/dist/skills/excel-architect/macos/scripts/apply-conditional-format.applescript +565 -0
- package/dist/skills/excel-architect/macos/scripts/autofit-columns.applescript +79 -0
- package/dist/skills/excel-architect/macos/scripts/benchmark.sh +135 -0
- package/dist/skills/excel-architect/macos/scripts/check-compile.sh +30 -0
- package/dist/skills/excel-architect/macos/scripts/clear-range.applescript +152 -0
- package/dist/skills/excel-architect/macos/scripts/copy-paste.applescript +179 -0
- package/dist/skills/excel-architect/macos/scripts/create-chart.applescript +531 -0
- package/dist/skills/excel-architect/macos/scripts/create-pivot.applescript +443 -0
- package/dist/skills/excel-architect/macos/scripts/create-sheets.applescript +264 -0
- package/dist/skills/excel-architect/macos/scripts/create-workbook.applescript +92 -0
- package/dist/skills/excel-architect/macos/scripts/delete-chart.applescript +105 -0
- package/dist/skills/excel-architect/macos/scripts/delete-sheet.applescript +127 -0
- package/dist/skills/excel-architect/macos/scripts/filter-data.applescript +213 -0
- package/dist/skills/excel-architect/macos/scripts/find-replace.applescript +238 -0
- package/dist/skills/excel-architect/macos/scripts/format-range.applescript +531 -0
- package/dist/skills/excel-architect/macos/scripts/freeze-panes.applescript +133 -0
- package/dist/skills/excel-architect/macos/scripts/get-current-file.applescript +24 -0
- package/dist/skills/excel-architect/macos/scripts/get-sheet-dimensions.applescript +115 -0
- package/dist/skills/excel-architect/macos/scripts/health-check.applescript +704 -0
- package/dist/skills/excel-architect/macos/scripts/list-open-workbooks.applescript +80 -0
- package/dist/skills/excel-architect/macos/scripts/maximize-window.applescript +47 -0
- package/dist/skills/excel-architect/macos/scripts/merge-cells.applescript +227 -0
- package/dist/skills/excel-architect/macos/scripts/open-workbook.applescript +139 -0
- package/dist/skills/excel-architect/macos/scripts/read-range.applescript +267 -0
- package/dist/skills/excel-architect/macos/scripts/rename-sheet.applescript +231 -0
- package/dist/skills/excel-architect/macos/scripts/select-sheet.applescript +133 -0
- package/dist/skills/excel-architect/macos/scripts/set-tab-color.applescript +109 -0
- package/dist/skills/excel-architect/macos/scripts/sort-data.applescript +136 -0
- package/dist/skills/excel-architect/macos/scripts/undo.applescript +59 -0
- package/dist/skills/excel-architect/macos/scripts/workbook-lifecycle.applescript +149 -0
- package/dist/skills/excel-architect/macos/scripts/write-formula.applescript +225 -0
- package/dist/skills/excel-architect/macos/scripts/write-range.applescript +351 -0
- package/dist/skills/excel-architect/reference/api/advanced.md +381 -0
- package/dist/skills/excel-architect/reference/api/basic.md +747 -0
- package/dist/skills/excel-architect/reference/guides.md +348 -0
- package/dist/skills/excel-architect/reference/repair.md +174 -0
- package/dist/skills/excel-architect/reference/troubleshooting.md +46 -0
- package/dist/skills/excel-architect/scripting.md +266 -0
- package/dist/skills/excel-architect/styling-and-features.md +433 -0
- package/dist/skills/excel-architect/windows/api/composites.md +337 -0
- package/dist/skills/excel-architect/windows/api/scripting.md +139 -0
- package/dist/skills/excel-architect/windows/examples/level-1-workflows.md +485 -0
- package/dist/skills/excel-architect/windows/examples/level-2-advanced.md +690 -0
- package/dist/skills/excel-architect/windows/examples/level-3-scripting.md +337 -0
- package/dist/skills/github/SKILL.md +446 -0
- package/dist/skills/github/recipes/add-comment.md +85 -0
- package/dist/skills/github/recipes/check-pr-status.md +122 -0
- package/dist/skills/github/recipes/compare-branches.md +79 -0
- package/dist/skills/github/recipes/create-issue.md +103 -0
- package/dist/skills/github/recipes/create-pr.md +97 -0
- package/dist/skills/github/recipes/get-file-contents.md +76 -0
- package/dist/skills/github/recipes/get-last-commit.md +128 -0
- package/dist/skills/github/recipes/list-my-open-prs.md +105 -0
- package/dist/skills/github/recipes/list-recent-commits.md +84 -0
- package/dist/skills/github/recipes/search-issues.md +115 -0
- package/dist/skills/google-workspace/SKILL.md +217 -0
- package/dist/skills/google-workspace/services/calendar.md +311 -0
- package/dist/skills/google-workspace/services/docs.md +426 -0
- package/dist/skills/google-workspace/services/drive.md +504 -0
- package/dist/skills/google-workspace/services/gmail.md +466 -0
- package/dist/skills/google-workspace/services/sheets.md +370 -0
- package/dist/skills/internal-comms/SKILL.md +35 -0
- package/dist/skills/internal-comms/examples/3p-updates.md +47 -0
- package/dist/skills/internal-comms/examples/company-newsletter.md +65 -0
- package/dist/skills/internal-comms/examples/faq-answers.md +30 -0
- package/dist/skills/internal-comms/examples/general-comms.md +15 -0
- package/dist/skills/jira/SKILL.md +397 -0
- package/dist/skills/jira/recipes/add-comment.md +123 -0
- package/dist/skills/jira/recipes/assign-issue.md +157 -0
- package/dist/skills/jira/recipes/create-issue.md +274 -0
- package/dist/skills/jira/recipes/get-issue-details.md +154 -0
- package/dist/skills/jira/recipes/list-projects.md +151 -0
- package/dist/skills/jira/recipes/my-issues.md +180 -0
- package/dist/skills/jira/recipes/search-issues.md +215 -0
- package/dist/skills/jira/recipes/transition-issue.md +154 -0
- package/dist/skills/jira/recipes/troubleshooting.md +387 -0
- package/dist/skills/knowledge-base/SKILL.md +289 -0
- package/dist/skills/media-tools/SKILL.md +204 -0
- package/dist/skills/media-tools/references/encode-runbook.md +24 -0
- package/dist/skills/media-tools/references/resolve-binaries.md +81 -0
- package/dist/skills/media-tools/scripts/macos/ff-launch.sh +22 -0
- package/dist/skills/media-tools/scripts/macos/ff-poll.sh +10 -0
- package/dist/skills/media-tools/scripts/windows/ff-launch.ps1 +34 -0
- package/dist/skills/media-tools/scripts/windows/ff-poll.ps1 +20 -0
- package/dist/skills/office-download/SKILL.md +161 -0
- package/dist/skills/outlook-365/SKILL.macos.md +331 -0
- package/dist/skills/outlook-365/SKILL.md +171 -0
- package/dist/skills/outlook-365/SKILL.windows.md +124 -0
- package/dist/skills/outlook-365/api/bulk-email-operations.md +178 -0
- package/dist/skills/outlook-365/api/check-availability.md +87 -0
- package/dist/skills/outlook-365/api/create-inbox-rule.md +182 -0
- package/dist/skills/outlook-365/api/download-attachments.md +149 -0
- package/dist/skills/outlook-365/api/find-and-email-contact.md +185 -0
- package/dist/skills/outlook-365/api/manage-calendar-events.md +189 -0
- package/dist/skills/outlook-365/api/organize-with-folders.md +178 -0
- package/dist/skills/outlook-365/api/reply-to-conversation.md +68 -0
- package/dist/skills/outlook-365/api/schedule-meeting.md +73 -0
- package/dist/skills/outlook-365/api/search-and-read-email.md +93 -0
- package/dist/skills/outlook-365/api/send-email-with-attachments.md +94 -0
- package/dist/skills/outlook-365/api/send-email.md +396 -0
- package/dist/skills/outlook-365/api/set-out-of-office.md +196 -0
- package/dist/skills/outlook-365/macos/scripts/bulk-operations.applescript +429 -0
- package/dist/skills/outlook-365/macos/scripts/calendar.applescript +642 -0
- package/dist/skills/outlook-365/macos/scripts/contacts.applescript +635 -0
- package/dist/skills/outlook-365/macos/scripts/helpers.applescript +227 -0
- package/dist/skills/outlook-365/macos/scripts/read-emails.applescript +299 -0
- package/dist/skills/outlook-365/macos/scripts/search-emails.applescript +339 -0
- package/dist/skills/outlook-365/macos/scripts/send-email.applescript +245 -0
- package/dist/skills/outlook-365/uia/BASIC_OPERATIONS.md +278 -0
- package/dist/skills/outlook-365/uia/CALENDAR_OPERATIONS.md +386 -0
- package/dist/skills/outlook-365/uia/COMPOSE_EMAIL.md +426 -0
- package/dist/skills/outlook-365/uia/README.md +75 -0
- package/dist/skills/outlook-365/windows/com/bulk-operations.ps1 +241 -0
- package/dist/skills/outlook-365/windows/com/calendar.ps1 +227 -0
- package/dist/skills/outlook-365/windows/com/contacts.ps1 +270 -0
- package/dist/skills/outlook-365/windows/com/helpers.ps1 +158 -0
- package/dist/skills/outlook-365/windows/com/read-emails.ps1 +115 -0
- package/dist/skills/outlook-365/windows/com/search-emails.ps1 +141 -0
- package/dist/skills/outlook-365/windows/com/send-email.ps1 +121 -0
- package/dist/skills/pdf-architect/SKILL.md +640 -0
- package/dist/skills/powerpoint-architect/SKILL.macos.md +271 -0
- package/dist/skills/powerpoint-architect/SKILL.md +853 -0
- package/dist/skills/powerpoint-architect/SKILL.windows.md +458 -0
- package/dist/skills/powerpoint-architect/custom_themes.md +141 -0
- package/dist/skills/powerpoint-architect/editing-guide.md +424 -0
- package/dist/skills/powerpoint-architect/generator-reference.md +668 -0
- package/dist/skills/powerpoint-architect/images-guide.md +207 -0
- package/dist/skills/powerpoint-architect/issue-fix-mapping.md +768 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-html-to-slide.applescript +389 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-slide.applescript +255 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-speaker-notes.applescript +132 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-text.applescript +245 -0
- package/dist/skills/powerpoint-architect/macos/scripts/apply-slide-layout.applescript +80 -0
- package/dist/skills/powerpoint-architect/macos/scripts/apply-theme.applescript +122 -0
- package/dist/skills/powerpoint-architect/macos/scripts/autofit-placeholders.applescript +62 -0
- package/dist/skills/powerpoint-architect/macos/scripts/close-presentation.applescript +24 -0
- package/dist/skills/powerpoint-architect/macos/scripts/copy-slides.applescript +303 -0
- package/dist/skills/powerpoint-architect/macos/scripts/create-chart-with-data.applescript +305 -0
- package/dist/skills/powerpoint-architect/macos/scripts/create-with-theme.applescript +56 -0
- package/dist/skills/powerpoint-architect/macos/scripts/delete-slides.applescript +137 -0
- package/dist/skills/powerpoint-architect/macos/scripts/export-presentation.applescript +100 -0
- package/dist/skills/powerpoint-architect/macos/scripts/extract-slide-data.applescript +138 -0
- package/dist/skills/powerpoint-architect/macos/scripts/format-shape.applescript +192 -0
- package/dist/skills/powerpoint-architect/macos/scripts/format-slide-content.applescript +336 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-current-slide-number.applescript +38 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-file-path.applescript +94 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-layout-elements.applescript +141 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-layouts.applescript +58 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-opened-files.applescript +50 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-presentation-info.applescript +150 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-recent-files.applescript +68 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-slide-count.applescript +37 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-slide-info.applescript +105 -0
- package/dist/skills/powerpoint-architect/macos/scripts/health-check.applescript +690 -0
- package/dist/skills/powerpoint-architect/macos/scripts/insert-shape.applescript +188 -0
- package/dist/skills/powerpoint-architect/macos/scripts/insert-table.applescript +112 -0
- package/dist/skills/powerpoint-architect/macos/scripts/insert-text-box.applescript +225 -0
- package/dist/skills/powerpoint-architect/macos/scripts/manage-image.applescript +486 -0
- package/dist/skills/powerpoint-architect/macos/scripts/maximize-window.applescript +48 -0
- package/dist/skills/powerpoint-architect/macos/scripts/navigate-to-slide.applescript +84 -0
- package/dist/skills/powerpoint-architect/macos/scripts/open-presentation.applescript +38 -0
- package/dist/skills/powerpoint-architect/macos/scripts/reorder-slides.applescript +106 -0
- package/dist/skills/powerpoint-architect/macos/scripts/replace-text.applescript +193 -0
- package/dist/skills/powerpoint-architect/macos/scripts/save-presentation.applescript +54 -0
- package/dist/skills/powerpoint-architect/macos/scripts/set-animation.applescript +203 -0
- package/dist/skills/powerpoint-architect/macos/scripts/set-transition.applescript +130 -0
- package/dist/skills/powerpoint-architect/visual-styling-guide.md +206 -0
- package/dist/skills/powerpoint-architect/windows/api/advanced.md +317 -0
- package/dist/skills/powerpoint-architect/windows/api/basic.md +392 -0
- package/dist/skills/powerpoint-architect/windows/examples/10-slide-presentation.md +140 -0
- package/dist/skills/powerpoint-architect/windows/examples/custom-theme-workflow.md +219 -0
- package/dist/skills/powerpoint-architect/windows/examples/level-1-workflows.md +531 -0
- package/dist/skills/powerpoint-architect/windows/examples/level-2-scripting.md +239 -0
- package/dist/skills/powerpoint-architect/windows/scripts/create-with-theme.ps1 +81 -0
- package/dist/skills/project-task-list/SKILL.md +174 -0
- package/dist/skills/slack-operation/SKILL.md +97 -0
- package/dist/skills/slack-operation/api/advanced-api/GUIDE.md +277 -0
- package/dist/skills/slack-operation/api/search-and-read/EXAMPLE.md +75 -0
- package/dist/skills/slack-operation/api/search-and-read/GUIDE.md +108 -0
- package/dist/skills/slack-operation/api/send-message/EXAMPLE.md +112 -0
- package/dist/skills/slack-operation/api/send-message/GUIDE.md +63 -0
- package/dist/skills/slack-operation/api/share-files/EXAMPLE.md +94 -0
- package/dist/skills/slack-operation/api/share-files/GUIDE.md +63 -0
- package/dist/skills/slack-operation/ui/desktop-automation/GUIDE.md +55 -0
- package/dist/skills/system-diagnostics/SKILL.md +263 -0
- package/dist/skills/teams-operation/SKILL.md +79 -0
- package/dist/skills/teams-operation/api/advanced-api/GUIDE.md +234 -0
- package/dist/skills/teams-operation/api/meetings/EXAMPLE.md +63 -0
- package/dist/skills/teams-operation/api/meetings/GUIDE.md +52 -0
- package/dist/skills/teams-operation/api/search-and-read/EXAMPLE.md +72 -0
- package/dist/skills/teams-operation/api/search-and-read/GUIDE.md +54 -0
- package/dist/skills/teams-operation/api/send-message/EXAMPLE.md +92 -0
- package/dist/skills/teams-operation/api/send-message/GUIDE.md +60 -0
- package/dist/skills/teams-operation/ui/desktop-automation/GUIDE.md +66 -0
- package/dist/skills/transcribe-media/SKILL.md +142 -0
- package/dist/skills/uipath-integrations/SKILL.md +370 -0
- package/dist/skills/uipath-integrations/reference/connectors.md +331 -0
- package/dist/skills/uipath-integrations/reference/endpoints.md +220 -0
- package/dist/skills/uipath-integrations/reference/errors.md +211 -0
- package/dist/skills/uipath-integrations/reference/metadata.md +317 -0
- package/dist/skills/uipath-integrations/reference/operations.md +297 -0
- package/dist/skills/uipath-orchestrator/SKILL.md +312 -0
- package/dist/skills/uipath-orchestrator/recipes/assets.md +282 -0
- package/dist/skills/uipath-orchestrator/recipes/audit-logs.md +215 -0
- package/dist/skills/uipath-orchestrator/recipes/buckets.md +205 -0
- package/dist/skills/uipath-orchestrator/recipes/jobs.md +286 -0
- package/dist/skills/uipath-orchestrator/recipes/list-folders.md +207 -0
- package/dist/skills/uipath-orchestrator/recipes/queue-items.md +292 -0
- package/dist/skills/uipath-orchestrator/recipes/queues.md +232 -0
- package/dist/skills/uipath-orchestrator/recipes/releases.md +212 -0
- package/dist/skills/uipath-orchestrator/recipes/robots-sessions.md +274 -0
- package/dist/skills/uipath-orchestrator/recipes/schedules.md +280 -0
- package/dist/skills/uipath-orchestrator/reference/endpoints.md +85 -0
- package/dist/skills/uipath-orchestrator/reference/schemas.md +153 -0
- package/dist/skills/uipath-taskautomation/SKILL.md +310 -0
- package/dist/skills/uipath-taskautomation/assets/CodedWorkflow.template.cs +98 -0
- package/dist/skills/uipath-taskautomation/assets/ExampleWorkflow.cs +146 -0
- package/dist/skills/uipath-taskautomation/references/action-activity-map.json +32 -0
- package/dist/skills/uipath-taskautomation/references/action-activity-map.md +44 -0
- package/dist/skills/uipath-taskautomation/references/app-profiles.md +63 -0
- package/dist/skills/uipath-taskautomation/references/automation-spec.md +88 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/before-after-hooks-template.md +115 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/codedworkflow-template.md +186 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/helper-utility-template.md +22 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/json-template.md +91 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/testcase-template.md +92 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/cli-reference.md +249 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/codedworkflow-reference.md +275 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/coding-guidelines.md +229 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/inspect-package-guide.md +81 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/integration-service-guide.md +507 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/operations-guide.md +410 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/third-party-packages-guide.md +67 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/data-manipulation-guide.md +110 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/environment-setup.md +194 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/error-handling-guide.md +195 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/powershell-interop-guide.md +57 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/project-structure-guide.md +114 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/project-structure.md +126 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/uia-elements-interaction-guide.md +109 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/validation-guide.md +147 -0
- package/dist/skills/uipath-taskautomation/references/coded-workflow-authoring.md +219 -0
- package/dist/skills/uipath-taskautomation/references/profiling-output.md +80 -0
- package/dist/skills/uipath-taskautomation/references/reliability-guide.md +83 -0
- package/dist/skills/uipath-taskautomation/references/task-automation-cheatsheet.md +272 -0
- package/dist/skills/uipath-taskautomation/references/template-preflight.md +17 -0
- package/dist/skills/uipath-workflow-documenter/SKILL.md +430 -0
- package/dist/skills/uipath-workflow-documenter/layouts/pdd-template.md +265 -0
- package/dist/skills/uipath-workflow-documenter/routines/from-orchestrator.md +11 -0
- package/dist/skills/uipath-workflow-documenter/routines/from-workflow.md +11 -0
- package/dist/skills/word-architect/SKILL.macos.md +147 -0
- package/dist/skills/word-architect/SKILL.md +502 -0
- package/dist/skills/word-architect/SKILL.windows.md +55 -0
- package/dist/skills/word-architect/api/advanced.md +522 -0
- package/dist/skills/word-architect/api/basic.md +378 -0
- package/dist/skills/word-architect/api/expert.md +302 -0
- package/dist/skills/word-architect/generation.md +308 -0
- package/dist/skills/word-architect/layouts/01-professional.md +168 -0
- package/dist/skills/word-architect/layouts/02-educational-kids.md +354 -0
- package/dist/skills/word-architect/layouts/03-academic.md +83 -0
- package/dist/skills/word-architect/layouts/04-creative.md +242 -0
- package/dist/skills/word-architect/layouts/05-operational.md +94 -0
- package/dist/skills/word-architect/macos/scripts/apply-heading-style.applescript +215 -0
- package/dist/skills/word-architect/macos/scripts/apply-style.applescript +272 -0
- package/dist/skills/word-architect/macos/scripts/autofit-tables.applescript +53 -0
- package/dist/skills/word-architect/macos/scripts/close-document.applescript +287 -0
- package/dist/skills/word-architect/macos/scripts/create-chart-with-data.applescript +379 -0
- package/dist/skills/word-architect/macos/scripts/create-chart.applescript +191 -0
- package/dist/skills/word-architect/macos/scripts/delete-selection.applescript +223 -0
- package/dist/skills/word-architect/macos/scripts/export-document.applescript +167 -0
- package/dist/skills/word-architect/macos/scripts/extract-table.applescript +168 -0
- package/dist/skills/word-architect/macos/scripts/find-by-style.applescript +173 -0
- package/dist/skills/word-architect/macos/scripts/find-text.applescript +199 -0
- package/dist/skills/word-architect/macos/scripts/format-table.applescript +234 -0
- package/dist/skills/word-architect/macos/scripts/format-text.applescript +431 -0
- package/dist/skills/word-architect/macos/scripts/get-document-properties.applescript +95 -0
- package/dist/skills/word-architect/macos/scripts/get-document-structure.applescript +371 -0
- package/dist/skills/word-architect/macos/scripts/get-header-footer-text.applescript +106 -0
- package/dist/skills/word-architect/macos/scripts/get-images.applescript +166 -0
- package/dist/skills/word-architect/macos/scripts/get-opened-files.applescript +103 -0
- package/dist/skills/word-architect/macos/scripts/get-paragraph-bounds.applescript +133 -0
- package/dist/skills/word-architect/macos/scripts/get-paragraph-format.applescript +134 -0
- package/dist/skills/word-architect/macos/scripts/get-recent-files.applescript +82 -0
- package/dist/skills/word-architect/macos/scripts/get-styled-text.applescript +256 -0
- package/dist/skills/word-architect/macos/scripts/get-tables.applescript +126 -0
- package/dist/skills/word-architect/macos/scripts/get-text-formatting.applescript +224 -0
- package/dist/skills/word-architect/macos/scripts/get-text.applescript +383 -0
- package/dist/skills/word-architect/macos/scripts/get-theme-colors.applescript +123 -0
- package/dist/skills/word-architect/macos/scripts/health-check.applescript +606 -0
- package/dist/skills/word-architect/macos/scripts/insert-cover-page.applescript +77 -0
- package/dist/skills/word-architect/macos/scripts/insert-header-footer.applescript +87 -0
- package/dist/skills/word-architect/macos/scripts/insert-horizontal-line.applescript +112 -0
- package/dist/skills/word-architect/macos/scripts/insert-html.applescript +440 -0
- package/dist/skills/word-architect/macos/scripts/insert-hyperlink.applescript +191 -0
- package/dist/skills/word-architect/macos/scripts/insert-image.applescript +320 -0
- package/dist/skills/word-architect/macos/scripts/insert-list.applescript +317 -0
- package/dist/skills/word-architect/macos/scripts/insert-pagebreak.applescript +181 -0
- package/dist/skills/word-architect/macos/scripts/insert-smartart.applescript +104 -0
- package/dist/skills/word-architect/macos/scripts/insert-table.applescript +238 -0
- package/dist/skills/word-architect/macos/scripts/insert-text.applescript +677 -0
- package/dist/skills/word-architect/macos/scripts/insert-textbox.applescript +261 -0
- package/dist/skills/word-architect/macos/scripts/maximize-window.applescript +67 -0
- package/dist/skills/word-architect/macos/scripts/normalize-formatting.applescript +56 -0
- package/dist/skills/word-architect/macos/scripts/open-document.applescript +222 -0
- package/dist/skills/word-architect/macos/scripts/replace-text.applescript +390 -0
- package/dist/skills/word-architect/macos/scripts/save-document.applescript +230 -0
- package/dist/skills/word-architect/macos/scripts/select-range.applescript +142 -0
- package/dist/skills/word-architect/macos/scripts/set-document-properties.applescript +195 -0
- package/dist/skills/word-architect/macos/scripts/set-page-layout.applescript +273 -0
- package/dist/skills/word-architect/macos/scripts/set-theme-colors.applescript +264 -0
- package/dist/skills/word-architect/macos/scripts/undo-redo.applescript +61 -0
- package/dist/skills/word-architect/macos/scripts/update-toc.applescript +112 -0
- package/dist/skills/word-architect/reference/formatting.md +119 -0
- package/dist/skills/word-architect/reference/html-layouts/01-executive-summary-box.md +36 -0
- package/dist/skills/word-architect/reference/html-layouts/02-kpi-summary-table.md +68 -0
- package/dist/skills/word-architect/reference/html-layouts/03-comparison-table.md +63 -0
- package/dist/skills/word-architect/reference/html-layouts/04-pros-cons-table.md +86 -0
- package/dist/skills/word-architect/reference/html-layouts/05-timeline-table.md +114 -0
- package/dist/skills/word-architect/reference/html-layouts/06-raci-matrix.md +95 -0
- package/dist/skills/word-architect/reference/html-layouts/07-data-table-alternating.md +84 -0
- package/dist/skills/word-architect/reference/html-layouts/08-callout-box.md +102 -0
- package/dist/skills/word-architect/reference/html-layouts/09-vertical-milestone.md +100 -0
- package/dist/skills/word-architect/reference/quality-assurance.md +102 -0
- package/dist/skills/word-architect/reference/tables.md +62 -0
- package/dist/skills/word-architect/reference/tracked-changes.md +34 -0
- package/dist/skills/word-architect/reference/uia-fallback.md +231 -0
- package/dist/skills/word-architect/reference/visual-elements.md +82 -0
- package/dist/skills/word-architect/windows/scripts/apply-heading-style.ps1 +190 -0
- package/dist/skills/word-architect/windows/scripts/autofit-tables.ps1 +64 -0
- package/dist/skills/word-architect/windows/scripts/create-chart-with-data.ps1 +133 -0
- package/dist/skills/word-architect/windows/scripts/create-chart.ps1 +73 -0
- package/dist/skills/word-architect/windows/scripts/export-document.ps1 +86 -0
- package/dist/skills/word-architect/windows/scripts/get-current-file.ps1 +27 -0
- package/dist/skills/word-architect/windows/scripts/insert-cover-page.ps1 +79 -0
- package/dist/skills/word-architect/windows/scripts/insert-horizontal-line.ps1 +74 -0
- package/dist/skills/word-architect/windows/scripts/insert-image.ps1 +98 -0
- package/dist/skills/word-architect/windows/scripts/insert-smartart.ps1 +118 -0
- package/dist/skills/word-architect/windows/scripts/insert-text-box.ps1 +90 -0
- package/dist/skills/word-architect/windows/scripts/normalize-formatting.ps1 +63 -0
- package/package.json +5 -4
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# stamp-pages.sh -- set the OKF v0.2 trust stamps on wiki pages (macOS / Linux).
|
|
3
|
+
#
|
|
4
|
+
# Replaces the per-page timestamp edit. One run stamps every page listed, with
|
|
5
|
+
# ONE timestamp for the whole run, so a write round costs one tool call instead
|
|
6
|
+
# of one EditFile per page, and a milestone confirmation cannot stamp the same
|
|
7
|
+
# page twice with two clock readings.
|
|
8
|
+
#
|
|
9
|
+
# Usage: stamp-pages.sh [--generated <by>] [--verified <by>] [--status <value>] <file> [<file> ...]
|
|
10
|
+
# --generated <by> : set generated.by, set generated.at to now; creates the block when missing
|
|
11
|
+
# --verified <by> : append ONE verified entry { by, at: now }; existing entries are never touched
|
|
12
|
+
# --status <value> : set the status field
|
|
13
|
+
# At least one of --generated / --verified / --status is required.
|
|
14
|
+
#
|
|
15
|
+
# Output: STAMP:ok <file> (page rewritten)
|
|
16
|
+
# STAMP:error <code> <file> (page left untouched)
|
|
17
|
+
# STAMP:done stamped=<n> errors=<m>
|
|
18
|
+
# Codes: not-found | no-frontmatter | malformed-frontmatter | duplicate-verified | write-failed
|
|
19
|
+
# Exit: 0 = every page stamped, 1 = at least one page errored, 2 = usage problem.
|
|
20
|
+
#
|
|
21
|
+
# duplicate-verified is the re-stamp guard: the last verified entry already
|
|
22
|
+
# carries this `by` and is newer than generated.at, so the content has not
|
|
23
|
+
# changed since that confirmation. Passing --generated in the same run moves
|
|
24
|
+
# generated.at to now and the guard stands down, which is the "rewrote it, then
|
|
25
|
+
# the user re-confirmed it" case.
|
|
26
|
+
#
|
|
27
|
+
# Only frontmatter bytes change; the body is copied through unmodified,
|
|
28
|
+
# including CRLF line endings and a missing final newline. `generated` is
|
|
29
|
+
# rewritten in the canonical OKF block form even when the page carried the
|
|
30
|
+
# inline `{ by, at }` form, and extra keys inside the block do not survive the
|
|
31
|
+
# rewrite -- OKF v0.2 defines `by` and `at` only.
|
|
32
|
+
#
|
|
33
|
+
# This script also runs under the app's just-bash interpreter, which constrains
|
|
34
|
+
# the implementation: no `awk -f progfile` (the program is inline), no custom
|
|
35
|
+
# awk `RS` (record splitting is per line, so the whole file is buffered and
|
|
36
|
+
# re-emitted by hand), no `--` end-of-options for `tail`, and no `continue` in
|
|
37
|
+
# an awk loop body (it silently abandons the rest of the program) -- guard with
|
|
38
|
+
# a condition instead.
|
|
39
|
+
set -u
|
|
40
|
+
|
|
41
|
+
GEN_BY=""
|
|
42
|
+
VER_BY=""
|
|
43
|
+
STATUS_VAL=""
|
|
44
|
+
DO_GEN=0
|
|
45
|
+
DO_VER=0
|
|
46
|
+
DO_STATUS=0
|
|
47
|
+
|
|
48
|
+
while [ $# -gt 0 ]; do
|
|
49
|
+
case "$1" in
|
|
50
|
+
--generated|-Generated)
|
|
51
|
+
if [ $# -lt 2 ]; then
|
|
52
|
+
echo "STAMP:error usage $1 requires an actor"
|
|
53
|
+
exit 2
|
|
54
|
+
fi
|
|
55
|
+
GEN_BY="$2"; DO_GEN=1; shift 2
|
|
56
|
+
;;
|
|
57
|
+
--verified|-Verified)
|
|
58
|
+
if [ $# -lt 2 ]; then
|
|
59
|
+
echo "STAMP:error usage $1 requires an actor"
|
|
60
|
+
exit 2
|
|
61
|
+
fi
|
|
62
|
+
VER_BY="$2"; DO_VER=1; shift 2
|
|
63
|
+
;;
|
|
64
|
+
--status|-Status)
|
|
65
|
+
if [ $# -lt 2 ]; then
|
|
66
|
+
echo "STAMP:error usage $1 requires a value"
|
|
67
|
+
exit 2
|
|
68
|
+
fi
|
|
69
|
+
STATUS_VAL="$2"; DO_STATUS=1; shift 2
|
|
70
|
+
;;
|
|
71
|
+
--)
|
|
72
|
+
shift
|
|
73
|
+
break
|
|
74
|
+
;;
|
|
75
|
+
-*)
|
|
76
|
+
echo "STAMP:error usage unknown argument: $1"
|
|
77
|
+
exit 2
|
|
78
|
+
;;
|
|
79
|
+
*)
|
|
80
|
+
break
|
|
81
|
+
;;
|
|
82
|
+
esac
|
|
83
|
+
done
|
|
84
|
+
|
|
85
|
+
if [ "$DO_GEN" -eq 0 ] && [ "$DO_VER" -eq 0 ] && [ "$DO_STATUS" -eq 0 ]; then
|
|
86
|
+
echo "STAMP:error usage one of --generated <by>, --verified <by>, --status <value> is required"
|
|
87
|
+
exit 2
|
|
88
|
+
fi
|
|
89
|
+
if [ $# -lt 1 ]; then
|
|
90
|
+
echo "STAMP:error usage no page listed"
|
|
91
|
+
exit 2
|
|
92
|
+
fi
|
|
93
|
+
|
|
94
|
+
# A `by` actor is written as an unquoted YAML plain scalar, so reject the values
|
|
95
|
+
# that would silently change the parse: an indicator as the first character, a
|
|
96
|
+
# `: ` or ` #` inside, a trailing blank. `business-analysis/1.2`, `human:jane.doe`
|
|
97
|
+
# and `human:Jane Doe` all pass -- a colon with no space after it is not an
|
|
98
|
+
# indicator.
|
|
99
|
+
unsafe_actor() {
|
|
100
|
+
awk -v v="$1" 'BEGIN {
|
|
101
|
+
if (v == "") exit 0
|
|
102
|
+
if (v ~ /^[^A-Za-z0-9]/) exit 0
|
|
103
|
+
if (v ~ /[ \t]$/) exit 0
|
|
104
|
+
if (v ~ /: /) exit 0
|
|
105
|
+
if (v ~ / #/) exit 0
|
|
106
|
+
if (v ~ /[\r\n]/) exit 0
|
|
107
|
+
exit 1
|
|
108
|
+
}'
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if [ "$DO_GEN" -eq 1 ]; then
|
|
112
|
+
unsafe_actor "$GEN_BY"
|
|
113
|
+
if [ $? -eq 0 ]; then
|
|
114
|
+
echo "STAMP:error usage --generated actor is not a safe YAML scalar: $GEN_BY"
|
|
115
|
+
exit 2
|
|
116
|
+
fi
|
|
117
|
+
fi
|
|
118
|
+
if [ "$DO_VER" -eq 1 ]; then
|
|
119
|
+
unsafe_actor "$VER_BY"
|
|
120
|
+
if [ $? -eq 0 ]; then
|
|
121
|
+
echo "STAMP:error usage --verified actor is not a safe YAML scalar: $VER_BY"
|
|
122
|
+
exit 2
|
|
123
|
+
fi
|
|
124
|
+
fi
|
|
125
|
+
if [ "$DO_STATUS" -eq 1 ]; then
|
|
126
|
+
unsafe_actor "$STATUS_VAL"
|
|
127
|
+
if [ $? -eq 0 ]; then
|
|
128
|
+
echo "STAMP:error usage --status value is not a safe YAML scalar: $STATUS_VAL"
|
|
129
|
+
exit 2
|
|
130
|
+
fi
|
|
131
|
+
fi
|
|
132
|
+
|
|
133
|
+
# One clock reading for the whole run. Two pages stamped by the same
|
|
134
|
+
# confirmation must carry the same instant, and a re-run must be visibly a
|
|
135
|
+
# different instant.
|
|
136
|
+
NOW="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
|
|
137
|
+
|
|
138
|
+
STAMPED=0
|
|
139
|
+
ERRORS=0
|
|
140
|
+
|
|
141
|
+
for FILE in "$@"; do
|
|
142
|
+
if [ ! -f "$FILE" ]; then
|
|
143
|
+
echo "STAMP:error not-found $FILE"
|
|
144
|
+
ERRORS=$((ERRORS + 1))
|
|
145
|
+
else
|
|
146
|
+
# Command substitution eats trailing newlines, so an empty last byte
|
|
147
|
+
# means the file ended with one. `tail --` is rejected by just-bash.
|
|
148
|
+
LASTBYTE="$(tail -c 1 "$FILE")"
|
|
149
|
+
NOTRAIL=1
|
|
150
|
+
if [ -z "$LASTBYTE" ]; then NOTRAIL=0; fi
|
|
151
|
+
|
|
152
|
+
TMP="$FILE.stamp-tmp"
|
|
153
|
+
awk -v now="$NOW" -v gen_by="$GEN_BY" -v ver_by="$VER_BY" -v status_val="$STATUS_VAL" \
|
|
154
|
+
-v do_gen="$DO_GEN" -v do_ver="$DO_VER" -v do_status="$DO_STATUS" -v notrail="$NOTRAIL" '
|
|
155
|
+
function trimr(s) { sub(/\r$/, "", s); sub(/[ \t]+$/, "", s); return s }
|
|
156
|
+
# Canonical OKF v0.2 key order, used to place a key the page does not carry yet.
|
|
157
|
+
# 0 means "no opinion": an unknown key never blocks an insertion.
|
|
158
|
+
function rank(k) {
|
|
159
|
+
if (k == "generated") return 6
|
|
160
|
+
if (k == "verified") return 7
|
|
161
|
+
if (k == "status") return 8
|
|
162
|
+
if (k == "stale_after") return 9
|
|
163
|
+
if (k == "sources") return 10
|
|
164
|
+
return 0
|
|
165
|
+
}
|
|
166
|
+
function topkey(s, m) {
|
|
167
|
+
if (s !~ /^[A-Za-z_][A-Za-z0-9_.-]*:([ \t\r]|$)/) return ""
|
|
168
|
+
m = s
|
|
169
|
+
sub(/:.*$/, "", m)
|
|
170
|
+
return m
|
|
171
|
+
}
|
|
172
|
+
# Read one member out of an inline `{ by: x, at: y }` mapping. The leading `.*`
|
|
173
|
+
# is greedy, so the LAST `{`/`,` before the key wins, which is the members own
|
|
174
|
+
# separator rather than an earlier value that happens to contain the name.
|
|
175
|
+
function flowval(s, key, t) {
|
|
176
|
+
t = s
|
|
177
|
+
if (t !~ ("[{,][ \t]*" key ":")) return ""
|
|
178
|
+
sub(".*[{,][ \t]*" key ":[ \t]*", "", t)
|
|
179
|
+
sub(/[ \t]*[,}].*$/, "", t)
|
|
180
|
+
return trimr(t)
|
|
181
|
+
}
|
|
182
|
+
function firstKeyAtOrAfter(r, j, res) {
|
|
183
|
+
res = 0
|
|
184
|
+
for (j = 1; j <= nkeys; j++) {
|
|
185
|
+
if (res == 0 && rank(keyName[j]) >= r) res = keyIdx[j]
|
|
186
|
+
}
|
|
187
|
+
return res
|
|
188
|
+
}
|
|
189
|
+
function genBlock() { return "generated:" cr "\n by: " gen_by cr "\n at: " now cr "\n" }
|
|
190
|
+
function verEntry(ind) { return ind "- by: " ver_by cr "\n" ind " at: " now cr "\n" }
|
|
191
|
+
function verBlock() { return "verified:" cr "\n" verEntry(" ") }
|
|
192
|
+
{ L[NR] = $0 }
|
|
193
|
+
END {
|
|
194
|
+
n = NR
|
|
195
|
+
if (n < 2) exit 3
|
|
196
|
+
if (L[1] !~ /^---[ \t]*\r?$/) exit 3
|
|
197
|
+
cr = ""
|
|
198
|
+
if (L[1] ~ /\r$/) cr = "\r"
|
|
199
|
+
|
|
200
|
+
closeIdx = 0
|
|
201
|
+
for (i = 2; i <= n; i++) {
|
|
202
|
+
if (closeIdx == 0 && L[i] ~ /^---[ \t]*\r?$/) closeIdx = i
|
|
203
|
+
}
|
|
204
|
+
if (closeIdx == 0) exit 4
|
|
205
|
+
|
|
206
|
+
malformed = 0
|
|
207
|
+
nkeys = 0
|
|
208
|
+
curKey = ""
|
|
209
|
+
lastNonBlank = 0
|
|
210
|
+
for (i = 2; i < closeIdx; i++) {
|
|
211
|
+
line = L[i]
|
|
212
|
+
isBlank = (line ~ /^[ \t]*\r?$/)
|
|
213
|
+
isComment = (line ~ /^[ \t]*#/)
|
|
214
|
+
k = ""
|
|
215
|
+
if (!isBlank && !isComment) k = topkey(line)
|
|
216
|
+
if (k != "") {
|
|
217
|
+
if (curKey != "") blockEnd[curKey] = lastNonBlank
|
|
218
|
+
curKey = k
|
|
219
|
+
blockStart[k] = i
|
|
220
|
+
lastNonBlank = i
|
|
221
|
+
nkeys++
|
|
222
|
+
keyIdx[nkeys] = i
|
|
223
|
+
keyName[nkeys] = k
|
|
224
|
+
} else {
|
|
225
|
+
# A column-0 line that is neither a key nor a block-sequence dash
|
|
226
|
+
# is not a mapping entry, so the frontmatter is not what the OKF
|
|
227
|
+
# consumers parse.
|
|
228
|
+
if (!isBlank && !isComment && line ~ /^[^ \t]/ && line !~ /^-([ \t]|$)/) malformed = 1
|
|
229
|
+
if (!isBlank && !isComment && curKey == "") malformed = 1
|
|
230
|
+
if (!isBlank) lastNonBlank = i
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
if (curKey != "") blockEnd[curKey] = lastNonBlank
|
|
234
|
+
|
|
235
|
+
hasGen = ("generated" in blockStart)
|
|
236
|
+
genAt = ""
|
|
237
|
+
if (hasGen) {
|
|
238
|
+
head = L[blockStart["generated"]]
|
|
239
|
+
if (head ~ /^generated:[ \t]*\{/) genAt = flowval(head, "at")
|
|
240
|
+
else if (head !~ /^generated:[ \t]*\r?$/) malformed = 1
|
|
241
|
+
for (i = blockStart["generated"]; i <= blockEnd["generated"]; i++) {
|
|
242
|
+
if (L[i] ~ /^[ \t]+at:[ \t]*/) {
|
|
243
|
+
v = L[i]
|
|
244
|
+
sub(/^[ \t]+at:[ \t]*/, "", v)
|
|
245
|
+
genAt = trimr(v)
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
hasVer = ("verified" in blockStart)
|
|
251
|
+
lastVerBy = ""
|
|
252
|
+
verIndent = ""
|
|
253
|
+
verEntries = 0
|
|
254
|
+
if (hasVer) {
|
|
255
|
+
head = L[blockStart["verified"]]
|
|
256
|
+
if (head !~ /^verified:[ \t]*\r?$/) malformed = 1
|
|
257
|
+
for (i = blockStart["verified"] + 1; i <= blockEnd["verified"]; i++) {
|
|
258
|
+
line = L[i]
|
|
259
|
+
if (line ~ /^[ \t]*-([ \t]|\r?$)/) {
|
|
260
|
+
verEntries++
|
|
261
|
+
lastVerBy = ""
|
|
262
|
+
lastVerAt = ""
|
|
263
|
+
if (verIndent == "") {
|
|
264
|
+
verIndent = line
|
|
265
|
+
sub(/-.*$/, "", verIndent)
|
|
266
|
+
}
|
|
267
|
+
rest = line
|
|
268
|
+
sub(/^[ \t]*-[ \t]*/, "", rest)
|
|
269
|
+
if (rest ~ /^\{/) {
|
|
270
|
+
lastVerBy = flowval(rest, "by")
|
|
271
|
+
lastVerAt = flowval(rest, "at")
|
|
272
|
+
} else if (rest ~ /^by:/) {
|
|
273
|
+
v = rest; sub(/^by:[ \t]*/, "", v); lastVerBy = trimr(v)
|
|
274
|
+
} else if (rest ~ /^at:/) {
|
|
275
|
+
v = rest; sub(/^at:[ \t]*/, "", v); lastVerAt = trimr(v)
|
|
276
|
+
}
|
|
277
|
+
} else if (line ~ /^[ \t]+by:/) {
|
|
278
|
+
v = line; sub(/^[ \t]+by:[ \t]*/, "", v); lastVerBy = trimr(v)
|
|
279
|
+
} else if (line ~ /^[ \t]+at:/) {
|
|
280
|
+
v = line; sub(/^[ \t]+at:[ \t]*/, "", v); lastVerAt = trimr(v)
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
if (verEntries == 0) malformed = 1
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
hasStatus = ("status" in blockStart)
|
|
287
|
+
if (hasStatus && blockEnd["status"] > blockStart["status"]) malformed = 1
|
|
288
|
+
|
|
289
|
+
if (malformed) exit 4
|
|
290
|
+
|
|
291
|
+
if (do_ver && hasVer && lastVerBy == ver_by && lastVerBy != "" && lastVerAt != "") {
|
|
292
|
+
effGenAt = genAt
|
|
293
|
+
if (do_gen) effGenAt = now
|
|
294
|
+
if (effGenAt != "" && (lastVerAt "") > (effGenAt "")) exit 5
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
insGen = -1
|
|
298
|
+
insVer = -1
|
|
299
|
+
insStatus = -1
|
|
300
|
+
if (do_gen && !hasGen) insGen = firstKeyAtOrAfter(6)
|
|
301
|
+
if (do_ver && !hasVer) insVer = firstKeyAtOrAfter(7)
|
|
302
|
+
if (do_status && !hasStatus) insStatus = firstKeyAtOrAfter(8)
|
|
303
|
+
|
|
304
|
+
out = L[1] "\n"
|
|
305
|
+
for (i = 2; i < closeIdx; i++) {
|
|
306
|
+
if (insGen == i) out = out genBlock()
|
|
307
|
+
if (insVer == i) out = out verBlock()
|
|
308
|
+
if (insStatus == i) out = out "status: " status_val cr "\n"
|
|
309
|
+
if (do_gen && hasGen && i >= blockStart["generated"] && i <= blockEnd["generated"]) {
|
|
310
|
+
if (i == blockStart["generated"]) out = out genBlock()
|
|
311
|
+
} else if (do_status && hasStatus && i == blockStart["status"]) {
|
|
312
|
+
out = out "status: " status_val cr "\n"
|
|
313
|
+
} else {
|
|
314
|
+
out = out L[i] "\n"
|
|
315
|
+
if (do_ver && hasVer && i == blockEnd["verified"]) {
|
|
316
|
+
ind = verIndent
|
|
317
|
+
if (ind == "") ind = " "
|
|
318
|
+
out = out verEntry(ind)
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
if (insGen == 0) out = out genBlock()
|
|
323
|
+
if (insVer == 0) out = out verBlock()
|
|
324
|
+
if (insStatus == 0) out = out "status: " status_val cr "\n"
|
|
325
|
+
|
|
326
|
+
for (i = closeIdx; i <= n; i++) out = out L[i] "\n"
|
|
327
|
+
if (notrail) sub(/\n$/, "", out)
|
|
328
|
+
printf "%s", out
|
|
329
|
+
exit 0
|
|
330
|
+
}' "$FILE" > "$TMP"
|
|
331
|
+
RC=$?
|
|
332
|
+
|
|
333
|
+
if [ "$RC" -ne 0 ]; then
|
|
334
|
+
rm -f "$TMP"
|
|
335
|
+
CODE="write-failed"
|
|
336
|
+
case "$RC" in
|
|
337
|
+
3) CODE="no-frontmatter" ;;
|
|
338
|
+
4) CODE="malformed-frontmatter" ;;
|
|
339
|
+
5) CODE="duplicate-verified" ;;
|
|
340
|
+
esac
|
|
341
|
+
echo "STAMP:error $CODE $FILE"
|
|
342
|
+
ERRORS=$((ERRORS + 1))
|
|
343
|
+
else
|
|
344
|
+
mv -f "$TMP" "$FILE"
|
|
345
|
+
MVRC=$?
|
|
346
|
+
if [ "$MVRC" -ne 0 ]; then
|
|
347
|
+
rm -f "$TMP"
|
|
348
|
+
echo "STAMP:error write-failed $FILE"
|
|
349
|
+
ERRORS=$((ERRORS + 1))
|
|
350
|
+
else
|
|
351
|
+
echo "STAMP:ok $FILE"
|
|
352
|
+
STAMPED=$((STAMPED + 1))
|
|
353
|
+
fi
|
|
354
|
+
fi
|
|
355
|
+
fi
|
|
356
|
+
done
|
|
357
|
+
|
|
358
|
+
echo "STAMP:done stamped=$STAMPED errors=$ERRORS"
|
|
359
|
+
if [ "$ERRORS" -gt 0 ]; then exit 1; fi
|
|
360
|
+
exit 0
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
# Phase 2 — RPA TO-BE Design
|
|
2
|
+
|
|
3
|
+
User-facing wording: business terms only (current process, future process, process map, completeness check). Internal labels in this guide (TO-BE, wiki, Mermaid) are for you, never spoken to the user.
|
|
4
|
+
|
|
5
|
+
For Case work, read `case-to-be-design.md` instead. For BPMN process-model work, read `bpmn-to-be-design.md` instead. This guide remains the RPA / automation TO-BE flow.
|
|
6
|
+
|
|
7
|
+
Transforms the AS-IS into a **UiPath automation design**: which steps run fully automated, assisted by a user, with an agent, with human review, or stay manual; how exceptions route. Every TO-BE step gets a mode. Populates `to-be/` and produces a TO-BE Mermaid map. Three light moves, intentionally shorter than Phase 1.
|
|
8
|
+
|
|
9
|
+
## What This Phase Produces
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
to-be/overview.md # future-state framing prose
|
|
13
|
+
to-be/diagram.md # PDD-ready fenced Mermaid TO-BE map
|
|
14
|
+
to-be/stages.md # stage ledger when the user describes named stages
|
|
15
|
+
to-be/delivery-model.md # table: unit | AS-IS steps | mode | notes
|
|
16
|
+
to-be/steps/ # one MD per step or group, 01-..., 02-...
|
|
17
|
+
to-be/business-rules.md # new or changed future-state rules and automation validations
|
|
18
|
+
to-be/benefits.md # qualitative: cycle time, error reduction, FTE capacity, auditability
|
|
19
|
+
to-be/kpis.md # numeric: one row per KPI — AS-IS baseline, target, acceptance signal, owner
|
|
20
|
+
to-be/exception-handling.md # only when exceptions differ from AS-IS
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**What marks this phase successful.** `to-be/diagram.md` exists on disk when the phase closes — a future design that lives only in the conversation has not been designed. The fragment carries a `flowchart` header (a `sequenceDiagram` or `classDiagram` is not a process map), balanced subgraph and bracket pairs, no prose inside the fence, and at least one edge. Every outgoing branch of a split decision is labelled — `-->|Yes|` or `-- Yes -->` — while a merge diamond with a single outgoing edge is not a decision and needs none. The map carries a node for every automation unit or step the pages behind it define.
|
|
24
|
+
|
|
25
|
+
## Entry Guard
|
|
26
|
+
|
|
27
|
+
**The route was locked at the opener.** This guide runs when the work is task automation — confirmed at Decision 1 (the task double-check at the opener) or explicitly named by the user. No routing question fires here: TO-BE opens with the universal intent questions only. If mid-design the "task" grows into a multi-actor process, reopen routing (Decision 2 in SKILL.md) instead of silently continuing; a managed lifecycle routes to `case-to-be-design.md`, a BPMN process to `bpmn-to-be-design.md`.
|
|
28
|
+
|
|
29
|
+
The Opening Discovery Router decides whether RPA work is Existing + RPA or New + RPA before this guide starts.
|
|
30
|
+
|
|
31
|
+
- **Existing + RPA** requires AS-IS first. If neither `as-is/process.bpmn`, canonical `as-is/diagram.md`, nor legacy `as-is/overview.md` has a user-confirmed current-process map (or the user hasn't said AS-IS is done in conversation), refuse entry in business terms: *"Let's finish the current process first so the future design has a stable baseline."* A valid `as-is/process.bpmn` (authored during capture, or user-supplied) is the current-process map of record and is sufficient; do not require a duplicate Mermaid map.
|
|
32
|
+
- **New + RPA** does not require AS-IS. Do not invent `as-is/` pages for work that does not exist today; start at the RPA ANALYSIS checkpoint and capture the future automation shape directly.
|
|
33
|
+
|
|
34
|
+
Don't begin Move 1 until the route-specific guard passes.
|
|
35
|
+
|
|
36
|
+
## Route-Specific Behavior
|
|
37
|
+
|
|
38
|
+
### Existing RPA
|
|
39
|
+
|
|
40
|
+
Read the confirmed current process first. Propose automation units from the AS-IS steps and pain points. Ask the user to confirm the unit list before mode selection.
|
|
41
|
+
|
|
42
|
+
### Net-New RPA
|
|
43
|
+
|
|
44
|
+
Do not create AS-IS pages. Interview the future automation shape directly using `interview-spine.md`: task boundary, trigger, applications/screens, inputs/outputs, rules, exceptions, credentials/access, volume/frequency, and SLA or time-saved target. Confirm the unit list before mode selection.
|
|
45
|
+
|
|
46
|
+
## Pre-Read: TO-BE Seeds From Phase 1
|
|
47
|
+
|
|
48
|
+
Before Move 1, read any existing `to-be/` files (`delivery-model.md`, `constraints.md`, `seeds.md`) and `process-knowledge.md` if present. Phase 1 may have parked vendor decisions, "we should automate this step" notes, process-knowledge best practices, or sketched flows there. Use them to skip questions the user already answered.
|
|
49
|
+
|
|
50
|
+
## Progressive Process Knowledge During TO-BE
|
|
51
|
+
|
|
52
|
+
Latched run first (SKILL.md, The latch): `{WikiPath}/research-pass.md` records `Process Knowledge state:` `closed` or `opted-out` → make none of the calls below, log `Phase: TO-BE — skipped` once in `process-knowledge.md`, and this phase's checkpoint is complete. Never send a decision to unlock them.
|
|
53
|
+
|
|
54
|
+
Use Process Knowledge mainly for industry best practices and UiPath automation design suggestions. The current-process wiki remains the source of truth; retrieved content is used to propose a better future-state design.
|
|
55
|
+
|
|
56
|
+
Call it at these TO-BE checkpoints:
|
|
57
|
+
|
|
58
|
+
1. **Before Move 1 mode selection.** Include matched process display names, confirmed AS-IS step groups, applications, pain points, constraints, and any `to-be/seeds.md`. Ask for industry best-practice target-state patterns, task/work types, automation candidates, human review points, common controls, and exception routes.
|
|
59
|
+
2. **After drafting `to-be/delivery-model.md`.** Include the proposed modes and ask for missing best-practice controls, review gates, integration opportunities, UiPath product fit, and risky manual steps that should be reconsidered.
|
|
60
|
+
3. **Before TO-BE map confirmation.** Ask for a target-state completeness check: missing steps, exception paths, handoffs, queues, audit evidence, monitoring, and fallback paths.
|
|
61
|
+
4. **Before drafting benefits.** Ask for qualitative benefit themes common to the matched process references: cycle time, quality, compliance, auditability, employee capacity, customer/supplier experience. No ROI math.
|
|
62
|
+
|
|
63
|
+
For follow-up calls, keep the same API shape and put the context into the `description`:
|
|
64
|
+
|
|
65
|
+
```text
|
|
66
|
+
Continue using these matched process references: <display names from process-knowledge.md>.
|
|
67
|
+
Confirmed current process: <brief AS-IS summary>.
|
|
68
|
+
Proposed future design so far: <mode summary / key choices>.
|
|
69
|
+
Need now: industry best practices and UiPath automation design suggestions for target-state steps, controls, exception handling, and product fit.
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
When using returned best practices:
|
|
73
|
+
|
|
74
|
+
- Turn them into options, not facts.
|
|
75
|
+
- Validate with the user before committing them to `to-be/`.
|
|
76
|
+
- Prefer recommendations that address confirmed pain points, controls, exceptions, or manual effort.
|
|
77
|
+
- Do not add a best-practice step just because it appears in the reference; it must fit the user's scope and constraints.
|
|
78
|
+
|
|
79
|
+
Phase gate: follow the Gate's fit judgment (SKILL.md) for whether to call again here, never while the latch holds. When you do, append to `process-knowledge.md` a new entry with `Phase: TO-BE` and the result status before presenting automation units, a future-state design, a TO-BE map, or writing `to-be/` files. If the call errors, retry once; if the retry also errors, record the error in `process-knowledge.md` and ask the user whether to continue from confirmed AS-IS/source facts.
|
|
80
|
+
|
|
81
|
+
## RPA ANALYSIS checkpoint
|
|
82
|
+
|
|
83
|
+
Before drafting the RPA TO-BE map, make sure the future automation shape is clear enough to document. Ask only the highest-value missing question at a time; do not run a fixed questionnaire.
|
|
84
|
+
|
|
85
|
+
Required future-state analysis:
|
|
86
|
+
- automation task boundary
|
|
87
|
+
- applications and screens
|
|
88
|
+
- inputs and outputs
|
|
89
|
+
- data fields
|
|
90
|
+
- business rules
|
|
91
|
+
- exception handling
|
|
92
|
+
- credentials / access constraints
|
|
93
|
+
- volume / frequency / peak load
|
|
94
|
+
- SLA or time-saved target
|
|
95
|
+
- attended/unattended only when relevant
|
|
96
|
+
|
|
97
|
+
Missing shape-changing answers block the RPA map: task boundary, applications/screens, input/output data, exception path, trigger, ownership, or SLA/timing. Other unknowns can move to the PDD as assumptions, risks, dependencies, or next steps.
|
|
98
|
+
|
|
99
|
+
If the user describes named stages, capture them in `to-be/stages.md` before the map. Primary and secondary stages are the only stage types. Normalize loose "stage" language into either a process stage or an automation unit, but never silently drop a user-provided/requested stage; excluded stages stay in `to-be/stages.md` with the exclusion reason.
|
|
100
|
+
|
|
101
|
+
When the future design changes, introduces, removes, or automates a business rule, write it to `to-be/business-rules.md`. Preserve AS-IS rule IDs when overriding an existing rule; assign new sequential BR IDs only for genuinely new future-state rules. Include the rule, where it is enforced, evidence retained, and whether it is confirmed or an open decision. State any confidence or quality threshold numerically (e.g. "DU confidence < 0.88 → halt and route to re-scan"), never as vague language like "low confidence."
|
|
102
|
+
|
|
103
|
+
## Move 1 — Automation Mode per Step or Group
|
|
104
|
+
|
|
105
|
+
Build the automation units from the route:
|
|
106
|
+
|
|
107
|
+
- **Existing + RPA**: read the AS-IS steps folder if you haven't this session. Group the steps into units (one step or a natural cluster — agent decides the grouping).
|
|
108
|
+
- **New + RPA**: derive units from the RPA ANALYSIS answers: task boundary, trigger, applications/screens, inputs, outputs, business rules, exceptions, and SLA/time-saved target. If the future activities are not explicit, ask the user to confirm the unit list before mode selection. Do not read or invent AS-IS steps for a new automation.
|
|
109
|
+
|
|
110
|
+
Then ask the user which mode fits each unit.
|
|
111
|
+
|
|
112
|
+
After the unit list is confirmed, issue ONE AskUser call with one single-select text question per unit, asking *"For {unit}, which mode fits?"*. These closed-choice mode questions may be batched because they are finite, low-friction decisions. Use this `options:` list verbatim per question and omit `{"kind":"userinput"}` (closed taxonomy):
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
Fully Automated, Assisted, Agent, Human Review, Manual, Take your best assumption
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
"Take your best assumption" resolves that unit per the mode-selection guidance below (work type + system access), recorded and disclosed in the Future Process Review's assumption ledger.
|
|
119
|
+
|
|
120
|
+
Modes:
|
|
121
|
+
- Fully Automated — rule-based, headless
|
|
122
|
+
- Assisted — runs alongside a user, often triggered by them
|
|
123
|
+
- Agent — LLM-driven
|
|
124
|
+
- Human Review — automated, with a human approval/review touchpoint
|
|
125
|
+
- Manual — stays human
|
|
126
|
+
|
|
127
|
+
Pick the mode from the work type + system access, not a default. Ground in retrieved Process Knowledge work/task types and industry best practices where they match. Map by system: UI-only / no API → Assisted or Manual; API or IS connector available → Fully Automated or Agent; human judgment / sign-off required → Human Review. Don't default every step to Fully Automated. If every unit lands on Manual or Assisted, the design is the as-is relabeled, not a future-state design — revisit at least the top pain-point units before finalizing.
|
|
128
|
+
|
|
129
|
+
On completion: write `to-be/delivery-model.md` with the route-specific table:
|
|
130
|
+
|
|
131
|
+
- Existing + RPA: `Unit | AS-IS Steps | Mode | Notes`
|
|
132
|
+
- New + RPA: `Unit | Future automation activity | Mode | Source / confirmation | Notes`
|
|
133
|
+
|
|
134
|
+
## Move 2 — Clarifying / Design Questions as Warranted
|
|
135
|
+
|
|
136
|
+
Ask whatever's genuinely needed; no fixed list. Skip if nothing needs clarifying. Universal axes to consider: trigger (schedule vs event/queue), human review (approval, review, escalation channels), error handling (upstream down or garbage data), controls/audit evidence, monitoring, fallback, and which industry best practices from Process Knowledge should be adopted or rejected.
|
|
137
|
+
|
|
138
|
+
## Move 3 — Draft and Iterate
|
|
139
|
+
|
|
140
|
+
The map gets confirmed BEFORE the heavy drafting — a map shape change throws away rework.
|
|
141
|
+
|
|
142
|
+
**Close this phase on its output.** Before presenting the review, run the readiness check as the
|
|
143
|
+
last silent step — it lists what is still unwritten, and a review presented with the
|
|
144
|
+
pages missing has closed nothing:
|
|
145
|
+
|
|
146
|
+
```
|
|
147
|
+
bash "{BusinessAnalysisSkillDir}/scripts/check-phase-ready.sh" --wiki "{WikiPath}" --phase to-be --route rpa
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
On Windows:
|
|
151
|
+
|
|
152
|
+
```
|
|
153
|
+
& "{BusinessAnalysisSkillDir}\scripts\check-phase-ready.ps1" -Wiki "{WikiPath}" -Phase to-be -Route rpa
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
`PHASEREADY:ok` is the only result that closes the phase. On `PHASEREADY:not-ready`,
|
|
157
|
+
write the pages and columns it names from the facts you have already confirmed, then
|
|
158
|
+
run it again. It never writes anything, so re-running it is free, and it fails open
|
|
159
|
+
with `PHASEREADY:skipped` if it cannot resolve the wiki — which is not a pass.
|
|
160
|
+
|
|
161
|
+
Closing sequence — do all, in order, silently until step 7:
|
|
162
|
+
|
|
163
|
+
1. Draft 2-3 sentences of future-state framing in `to-be/overview.md`. Existing + RPA draws from the AS-IS overview/diagram and the delivery model. New + RPA draws from the confirmed RPA ANALYSIS facts and the delivery model; do not backfill an AS-IS baseline. Wait for the write result.
|
|
164
|
+
2. **TaskList synchronization gate.** Make the next mutation one `project-task-list` update of every affected ANALYSIS row in `TaskListPath`, with the intended answers, provenance, and statuses. Reconcile any earlier unsynchronized TO-BE factual writes in the same update. Do not write the diagram until this gate succeeds.
|
|
165
|
+
3. Write the complete PDD-ready Mermaid fragment to `to-be/diagram.md` (see "Diagram fragment guidance" below). The Delegate interface renders the diagram file — do NOT paste the block into chat, not even when asking for feedback. A diagram-only correction needs another task list mutation only when it changes a business fact; in that case update the supporting factual page and pass the synchronization gate before presenting it.
|
|
166
|
+
4. Read `to-be/diagram.md` back and complete the diagram source audit in `diagram-authoring.md`. Repair and re-read it until the audit passes. Do not present the map or advance TO-BE while the canonical diagram is missing or fails the audit. Then run this phase's one self-review, before the review and never after it (SKILL.md "One Review Per Phase"): one pass, one fix round, and whatever it still leaves goes into **Assumptions and open gaps** — never a second pass.
|
|
167
|
+
5. Run the readiness check above and clear it to `PHASEREADY:ok`, writing any page it names from facts already confirmed. A review sent before this has closed nothing, and the phase ends at step 6 whether or not the pages exist.
|
|
168
|
+
6. Record this phase's Process Knowledge checkpoint in `process-knowledge.md` — its phase, focus and result status — for every retrieval the phase made, including the ones that matched nothing. A call whose result was never written down is not a checkpoint, and the next session reads the file, not this conversation: an unrecorded retrieval is one the project has to make again.
|
|
169
|
+
7. **MANDATORY STOP — Future Process Review (the phase checkpoint).** Send it only after the map passes validation — the validated diagram is already rendering in the side panel. Render the complete review body as normal assistant Markdown immediately before one AskUser call in the same turn. Use these fixed headings: **Future flow** (unit list with modes), **Automation mix** (*"{A} automated, {B} assisted, {C} agent, {D} human review, {E} manual"*, drop zero-count modes), **Changes from today's process**, **Rules and exception routes**, and **Assumptions and open gaps**. Never compress the review into the AskUser `intro` or `question`; a short "map ready" recap is not the Future Process Review. AskUser contains only the final decision: *"Confirm / Change / Attach or record more evidence?"* Iterate until the user confirms; don't regenerate without new user input. Don't draft steps / exception-handling / benefits until confirmed. On confirmation, stamp `verified` on the confirmed `to-be/` pages per SKILL.md Page Trust Stamps, and call `AskUserFeedback` with `checkpoint: 'ba.toBeCreated'` (one non-blocking call; do not announce it or wait for a rating; skip silently if the tool is unavailable).
|
|
170
|
+
8. On confirmation, draft the rest **silently**:
|
|
171
|
+
- `to-be/steps/` — one MD per step or group (any mode, including Manual): trigger, mode, the named system/application, the concrete action performed, and inputs/outputs — a step with no system or action is incomplete, not just terse.
|
|
172
|
+
- `to-be/business-rules.md` — new, changed, removed, or automated rules; include enforcement point, evidence retained, and confirmation status.
|
|
173
|
+
- `to-be/exception-handling.md` — only if exceptions differ from AS-IS.
|
|
174
|
+
- `to-be/benefits.md` — qualitative: cycle time, error reduction, FTE capacity, auditability. No ROI math, no payback periods.
|
|
175
|
+
- `to-be/kpis.md` — the numeric artifact, one row per KPI: `KPI | AS-IS baseline (value + measurement method) | Target | Acceptance signal | Owner`. Carry each baseline figure verbatim from `as-is/metrics.md` with the measurement method beside it, and each target verbatim from the confirmed target discussion — never recompute, round, or derive either one. On net-new work there is no baseline: write `no current baseline (net-new)` in that cell and keep the target, the acceptance signal and the owner. Where a target was never discussed, keep the row with its baseline filled and write the target as a concrete open question rather than dropping the KPI. This file is where every number the document quotes as a target comes from: `benefits.md` stays qualitative, and a qualitative page cannot source PDD §1.2's baseline-and-target pair or §10's target table.
|
|
176
|
+
Append any new open items or carried assumptions from this phase to `queries/open-questions.md`. After each completed factual write round, make task list synchronization the next mutation before continuing with another write round. Update `{WikiPath}/index.md` only after the detail pages and their task list synchronization boundaries are complete. Do not re-confirm the detail pages — the snapshot confirmation covered the shape; iterate only when the user comments. Drafting new detail pages is free; changing a fact on a page the confirmation stamped `verified` is named in chat, in the same reply that makes it (SKILL.md "Editing a confirmed page").
|
|
177
|
+
|
|
178
|
+
## Diagram fragment guidance
|
|
179
|
+
|
|
180
|
+
Author per the shared contract in `diagram-authoring.md` (syntax subset, semantic classes, classDef policy, source audit). RPA TO-BE parameters:
|
|
181
|
+
|
|
182
|
+
- `to-be/diagram.md` contains only one complete fenced Mermaid block, `diagramFamily=generic` on the opening fence, framing prose in `to-be/overview.md`. If the user asks for a BPMN process model or a Case design instead of an RPA automation design, stop this guide and route to `bpmn-to-be-design.md` or `case-to-be-design.md` instead.
|
|
183
|
+
- For `generic`, always author `flowchart TB` for the narrow, tall side panel; every node has exactly one `kind-*` and one `mode-*`; do not use `LR` or `RL`.
|
|
184
|
+
- Never author `classDef`; colors and semantics come from each node's single explicit semantic `class` statement.
|
|
185
|
+
- Existing projects whose Mermaid map still lives in `to-be/overview.md` remain readable as a legacy display fallback. Any create, regenerate, or revision writes `to-be/diagram.md` only.
|
|
186
|
+
|
|
187
|
+
Example (TO-BE node with three semantic dimensions):
|
|
188
|
+
|
|
189
|
+
```
|
|
190
|
+
class approveInvoice mode-agent,kind-decision,owner-finance
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
## Closing Phase 2
|
|
194
|
+
|
|
195
|
+
The snapshot confirmation closes the phase. State in one line that the process document can be generated whenever they're ready — the first ```sf chip carries `Generate the process document`. Do not ask an additional "generate now?" question; enter Phase 3 only on the user's explicit request.
|
|
196
|
+
|
|
197
|
+
## Out of Scope
|
|
198
|
+
|
|
199
|
+
No complexity matrix or feasibility scoring. No ROI / FTE savings / payback math (qualitative narrative in `benefits.md` only). No XAML-vs-Coded workflow decision (build-time, not design-time).
|