procesio-cli 0.1.1__py3-none-any.whl
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.
- procesio_cli/__init__.py +18 -0
- procesio_cli/_cli.py +71 -0
- procesio_cli/agents/__init__.py +0 -0
- procesio_cli/agents/_lib/__init__.py +0 -0
- procesio_cli/agents/_lib/actiondef.py +24 -0
- procesio_cli/agents/_lib/errors.py +40 -0
- procesio_cli/agents/_lib/reversibility.py +236 -0
- procesio_cli/agents/_lib/toolrunner.py +141 -0
- procesio_cli/agents/connector-builder/CONNECTOR-BUILDER-PLAYBOOK.md +62 -0
- procesio_cli/agents/connector-builder/CONNECTOR-BUILDER-PROCESIO-INTEROP.md +76 -0
- procesio_cli/agents/connector-builder/CONNECTOR-BUILDER-TROUBLESHOOTING.md +60 -0
- procesio_cli/agents/connector-builder/README.md +51 -0
- procesio_cli/agents/connector-builder/agent.yaml +61 -0
- procesio_cli/agents/connector-builder/context.py +19 -0
- procesio_cli/agents/connector-builder/handlers/__init__.py +1 -0
- procesio_cli/agents/connector-builder/handlers/checklist.py +71 -0
- procesio_cli/agents/connector-builder/handlers/guidance.py +37 -0
- procesio_cli/agents/connector-builder/handlers/nextstep.py +221 -0
- procesio_cli/agents/connector-builder/handlers/status.py +35 -0
- procesio_cli/agents/connector-builder/knowledge.py +47 -0
- procesio_cli/agents/connector-builder/main.py +93 -0
- procesio_cli/agents/connector-builder/tests/conftest.py +95 -0
- procesio_cli/agents/connector-builder/tests/test_cba_agent.py +148 -0
- procesio_cli/agents/orchestrator/__init__.py +0 -0
- procesio_cli/agents/orchestrator/bootstraplib.py +166 -0
- procesio_cli/agents/procesio/IMPLEMENTATION-PATTERNS/00-INDEX.md +60 -0
- procesio_cli/agents/procesio/IMPLEMENTATION-PATTERNS/01-PROCESSES.md +230 -0
- procesio_cli/agents/procesio/IMPLEMENTATION-PATTERNS/02-FORMS.md +287 -0
- procesio_cli/agents/procesio/IMPLEMENTATION-PATTERNS/03-INTEGRATIONS.md +384 -0
- procesio_cli/agents/procesio/IMPLEMENTATION-PATTERNS/04-DATABASE.md +293 -0
- procesio_cli/agents/procesio/PROCESIO-API-RELIABILITY-DOCTRINE.md +113 -0
- procesio_cli/agents/procesio/PROCESIO-BEST-PRACTICES.md +316 -0
- procesio_cli/agents/procesio/PROCESIO-BUILD-AND-TEST-PLAYBOOK.md +217 -0
- procesio_cli/agents/procesio/PROCESIO-DATASTORE.md +72 -0
- procesio_cli/agents/procesio/PROCESIO-ENVIRONMENTS.md +62 -0
- procesio_cli/agents/procesio/PROCESIO-SCHEDULING.md +47 -0
- procesio_cli/agents/procesio/PROCESIO-VISUAL-ORGANIZATION.md +175 -0
- procesio_cli/agents/procesio/README.md +97 -0
- procesio_cli/agents/procesio/__init__.py +0 -0
- procesio_cli/agents/procesio/agent.yaml +73 -0
- procesio_cli/agents/procesio/audit.py +226 -0
- procesio_cli/agents/procesio/checklist.py +135 -0
- procesio_cli/agents/procesio/context.py +19 -0
- procesio_cli/agents/procesio/handlers/__init__.py +0 -0
- procesio_cli/agents/procesio/handlers/audit.py +39 -0
- procesio_cli/agents/procesio/handlers/checklist.py +34 -0
- procesio_cli/agents/procesio/handlers/guidance.py +36 -0
- procesio_cli/agents/procesio/handlers/status.py +33 -0
- procesio_cli/agents/procesio/handlers/verify.py +39 -0
- procesio_cli/agents/procesio/knowledge.py +115 -0
- procesio_cli/agents/procesio/main.py +89 -0
- procesio_cli/agents/procesio/tests/__init__.py +0 -0
- procesio_cli/agents/procesio/tests/conftest.py +62 -0
- procesio_cli/agents/procesio/tests/test_audit.py +91 -0
- procesio_cli/agents/procesio/tests/test_checklist.py +28 -0
- procesio_cli/agents/procesio/tests/test_guidance.py +78 -0
- procesio_cli/agents/procesio/tests/test_manifest_sync.py +48 -0
- procesio_cli/agents/procesio/tests/test_verify.py +134 -0
- procesio_cli/agents/procesio/tests/test_workspace_scope.py +97 -0
- procesio_cli/agents/procesio/verifylib.py +222 -0
- procesio_cli/dashboard/README.md +117 -0
- procesio_cli/dashboard/__init__.py +18 -0
- procesio_cli/dashboard/serve.py +98 -0
- procesio_cli/dashboard/server/__init__.py +1 -0
- procesio_cli/dashboard/server/config_schemas.py +92 -0
- procesio_cli/dashboard/server/google.py +103 -0
- procesio_cli/dashboard/server/handler.py +160 -0
- procesio_cli/dashboard/server/inventory.py +213 -0
- procesio_cli/dashboard/server/jobs.py +118 -0
- procesio_cli/dashboard/server/llmtest.py +181 -0
- procesio_cli/dashboard/server/procesio_env.py +94 -0
- procesio_cli/dashboard/server/routes.py +74 -0
- procesio_cli/dashboard/server/runner.py +150 -0
- procesio_cli/dashboard/server/security.py +29 -0
- procesio_cli/dashboard/server/setup.py +211 -0
- procesio_cli/dashboard/server/validate.py +152 -0
- procesio_cli/dashboard/tests/conftest.py +16 -0
- procesio_cli/dashboard/tests/test_dashboard.py +225 -0
- procesio_cli/dashboard/tests/test_procesio_env.py +159 -0
- procesio_cli/dashboard/web/actions.js +274 -0
- procesio_cli/dashboard/web/api.js +79 -0
- procesio_cli/dashboard/web/app.js +385 -0
- procesio_cli/dashboard/web/copilot.js +72 -0
- procesio_cli/dashboard/web/google.js +121 -0
- procesio_cli/dashboard/web/index.html +67 -0
- procesio_cli/dashboard/web/procesio_env.js +187 -0
- procesio_cli/dashboard/web/styles.css +207 -0
- procesio_cli/registry.py +370 -0
- procesio_cli/scripts/build-router.py +249 -0
- procesio_cli/scripts/build-tool-skill.py +202 -0
- procesio_cli/scripts/check-requirements.py +131 -0
- procesio_cli/scripts/check-skill-governance.py +174 -0
- procesio_cli/scripts/evaluate-skill-routing.py +217 -0
- procesio_cli/scripts/evaluate-skills.py +316 -0
- procesio_cli/scripts/get-skill.py +122 -0
- procesio_cli/scripts/list-skills.py +68 -0
- procesio_cli/scripts/list-tools.py +73 -0
- procesio_cli/scripts/run-agent.py +59 -0
- procesio_cli/scripts/run-tool.py +123 -0
- procesio_cli/scripts/secret_scan.py +584 -0
- procesio_cli/scripts/set-credential.py +126 -0
- procesio_cli/scripts/validate-skills.py +530 -0
- procesio_cli/skills/PORTFOLIO.md +134 -0
- procesio_cli/skills/__init__.py +6 -0
- procesio_cli/skills/agent-skill-engineer/SKILL.md +226 -0
- procesio_cli/skills/agent-skill-engineer/evals/evals.json +422 -0
- procesio_cli/skills/agent-skill-engineer/references/authoring-standard.md +178 -0
- procesio_cli/skills/agent-skill-engineer/references/decision-framework.md +107 -0
- procesio_cli/skills/agent-skill-engineer/references/domain-evidence-protocol.md +248 -0
- procesio_cli/skills/agent-skill-engineer/references/evaluation-standard.md +191 -0
- procesio_cli/skills/agent-skill-engineer/references/expert-lenses.md +167 -0
- procesio_cli/skills/agent-skill-engineer/references/field-gate-standard.md +231 -0
- procesio_cli/skills/agent-skill-engineer/references/optimization-protocol.md +233 -0
- procesio_cli/skills/agent-skill-engineer/references/optimizer-contract.md +268 -0
- procesio_cli/skills/agent-skill-engineer/references/portability-standard.md +99 -0
- procesio_cli/skills/agent-skill-engineer/references/research-basis.md +128 -0
- procesio_cli/skills/agent-skill-engineer/references/review-standard.md +143 -0
- procesio_cli/skills/agent-skill-engineer/scripts/audit_skill.py +959 -0
- procesio_cli/skills/agent-skill-engineer/scripts/optimize_skill.py +891 -0
- procesio_cli/skills/agent-skill-engineer/scripts/scaffold_skill.py +397 -0
- procesio_cli/skills/evals/baseline-catalog.json +14 -0
- procesio_cli/skills/evals/baseline-routing-v2.json +38 -0
- procesio_cli/skills/evals/baseline.json +37 -0
- procesio_cli/skills/evals/behavioral.json +367 -0
- procesio_cli/skills/evals/field-boundary-development-v1.json +126 -0
- procesio_cli/skills/evals/field-closeout-correction-development-v1.json +23 -0
- procesio_cli/skills/evals/field-closeout-development-v1.json +89 -0
- procesio_cli/skills/evals/portfolio-pressure-training-v1.json +83 -0
- procesio_cli/skills/evals/routing.json +363 -0
- procesio_cli/skills/evals/validation-baseline.json +4 -0
- procesio_cli/skills/procesio-cli/SKILL.md +134 -0
- procesio_cli/skills/procesio-cli/evals/evals.json +111 -0
- procesio_cli/skills/procesio-cli/evals/workflows.json +16 -0
- procesio_cli/skills/procesio-cli/references/connector-lifecycle.md +47 -0
- procesio_cli/skills/procesio-cli/references/credentials-admin.md +113 -0
- procesio_cli/skills/procesio-cli/references/data-verification.md +71 -0
- procesio_cli/skills/procesio-cli/references/documents-files.md +44 -0
- procesio_cli/skills/procesio-cli/references/form-e2e.md +57 -0
- procesio_cli/skills/procesio-cli/references/operation-contract.md +138 -0
- procesio_cli/skills/procesio-cli/references/process-debugging.md +65 -0
- procesio_cli/skills/procesio-cli/references/process-lifecycle.md +88 -0
- procesio_cli/skills/procesio-cli/references/schedules-webhooks.md +58 -0
- procesio_cli/skills/procesio-cli/references/transport-environments.md +53 -0
- procesio_cli/skills/procesio-cli-maintainer/SKILL.md +84 -0
- procesio_cli/skills/procesio-cli-maintainer/evals/evals.json +116 -0
- procesio_cli/skills/procesio-cli-maintainer/references/change-contract.md +34 -0
- procesio_cli/skills/procesio-cli-maintainer/references/mcp-compatibility.md +13 -0
- procesio_cli/skills/procesio-cli-maintainer/references/skill-authoring.md +51 -0
- procesio_cli/skills/procesio-platform-advisor/SKILL.md +82 -0
- procesio_cli/skills/procesio-platform-advisor/evals/evals.json +116 -0
- procesio_cli/skills/procesio-platform-advisor/references/capability-map.md +22 -0
- procesio_cli/skills/procesio-platform-advisor/references/fit-framework.md +35 -0
- procesio_cli/skills/procesio-platform-advisor/references/freshness-policy.md +25 -0
- procesio_cli/skills/procesio-platform-advisor/references/sizing-method.md +70 -0
- procesio_cli/skills/procesio-platform-advisor/scripts/estimate_capacity.py +99 -0
- procesio_cli/skills/procesio-setup/SKILL.md +180 -0
- procesio_cli/skills/sql-server-optimizer/SKILL.md +86 -0
- procesio_cli/skills/sql-server-optimizer/evals/evals.json +116 -0
- procesio_cli/skills/sql-server-optimizer/references/db-context.md +44 -0
- procesio_cli/skills/sql-server-optimizer/references/generic-mode.md +32 -0
- procesio_cli/skills/sql-server-optimizer/references/procesio-mode.md +40 -0
- procesio_cli/skills/sql-server-optimizer/references/sql-rules.md +43 -0
- procesio_cli/skills/sql-server-optimizer/scripts/export-indexes.sql +178 -0
- procesio_cli/skills/sql-server-optimizer/scripts/export-procs-and-functions.sql +118 -0
- procesio_cli/skills/sql-server-optimizer/scripts/export-tables.sql +367 -0
- procesio_cli/skills/tests/__init__.py +0 -0
- procesio_cli/skills/tests/test_agent_skill_engineer.py +240 -0
- procesio_cli/skills/tests/test_auth_failure_stop.py +25 -0
- procesio_cli/skills/tests/test_capacity_estimator.py +85 -0
- procesio_cli/skills/tests/test_field_boundary_learning.py +100 -0
- procesio_cli/skills/tests/test_field_closeout_learning.py +123 -0
- procesio_cli/skills/tests/test_field_gate_standard.py +76 -0
- procesio_cli/skills/tests/test_operational_playbooks.py +51 -0
- procesio_cli/skills/tests/test_portfolio_pressure_training.py +35 -0
- procesio_cli/skills/tests/test_process_lifecycle_single_run.py +25 -0
- procesio_cli/skills/tests/test_skill_evaluator.py +67 -0
- procesio_cli/skills/tests/test_skill_optimizer.py +473 -0
- procesio_cli/skills/tests/test_skill_portfolio_review.py +70 -0
- procesio_cli/skills/tests/test_skill_release_binding.py +204 -0
- procesio_cli/skills/tests/test_skill_routing.py +74 -0
- procesio_cli/skills/tests/test_skill_scaffold_v2.py +116 -0
- procesio_cli/skills/tests/test_validate_skills.py +115 -0
- procesio_cli/tools/__init__.py +0 -0
- procesio_cli/tools/_lib/README.md +119 -0
- procesio_cli/tools/_lib/__init__.py +0 -0
- procesio_cli/tools/_lib/accounting.py +120 -0
- procesio_cli/tools/_lib/contacts.py +544 -0
- procesio_cli/tools/_lib/creds.py +83 -0
- procesio_cli/tools/_lib/creds_backends.py +578 -0
- procesio_cli/tools/_lib/dbprofiles.py +147 -0
- procesio_cli/tools/_lib/dbquery.py +286 -0
- procesio_cli/tools/_lib/dbschema.py +225 -0
- procesio_cli/tools/_lib/io.py +54 -0
- procesio_cli/tools/_lib/manifest.py +297 -0
- procesio_cli/tools/_lib/skill_release.py +127 -0
- procesio_cli/tools/_lib/skill_resources.py +118 -0
- procesio_cli/tools/_lib/userdata.py +228 -0
- procesio_cli/tools/_lib/webserialize/__init__.py +16 -0
- procesio_cli/tools/_lib/webserialize/admin.py +61 -0
- procesio_cli/tools/_lib/webserialize/client.py +264 -0
- procesio_cli/tools/_lib/webserialize/config.py +96 -0
- procesio_cli/tools/_lib/webserialize/errors.py +27 -0
- procesio_cli/tools/_lib/webserialize/framing.py +45 -0
- procesio_cli/tools/_lib/webserialize/registry.py +47 -0
- procesio_cli/tools/_lib/webserialize/runtime.py +61 -0
- procesio_cli/tools/_lib/webserialize/server.py +510 -0
- procesio_cli/tools/_lib/websession.py +194 -0
- procesio_cli/tools/connector-builder/CONNECTOR-BUILDER-API-NOTES.md +91 -0
- procesio_cli/tools/connector-builder/README.md +101 -0
- procesio_cli/tools/connector-builder/SKILL.md +248 -0
- procesio_cli/tools/connector-builder/__init__.py +7 -0
- procesio_cli/tools/connector-builder/actiondef.py +24 -0
- procesio_cli/tools/connector-builder/client.py +251 -0
- procesio_cli/tools/connector-builder/errors.py +44 -0
- procesio_cli/tools/connector-builder/gen_manifest.py +142 -0
- procesio_cli/tools/connector-builder/handlers/__init__.py +1 -0
- procesio_cli/tools/connector-builder/handlers/admin.py +182 -0
- procesio_cli/tools/connector-builder/handlers/auth.py +74 -0
- procesio_cli/tools/connector-builder/handlers/builds.py +396 -0
- procesio_cli/tools/connector-builder/handlers/common.py +104 -0
- procesio_cli/tools/connector-builder/handlers/files.py +111 -0
- procesio_cli/tools/connector-builder/handlers/raw.py +38 -0
- procesio_cli/tools/connector-builder/handlers/telemetry.py +39 -0
- procesio_cli/tools/connector-builder/main.py +94 -0
- procesio_cli/tools/connector-builder/tests/conftest.py +146 -0
- procesio_cli/tools/connector-builder/tests/test_cb_client.py +86 -0
- procesio_cli/tools/connector-builder/tests/test_cb_dispatch.py +105 -0
- procesio_cli/tools/connector-builder/tests/test_cb_manifest_sync.py +76 -0
- procesio_cli/tools/connector-builder/tests/test_cb_wait.py +123 -0
- procesio_cli/tools/connector-builder/tool.yaml +671 -0
- procesio_cli/tools/framework-map/.gitattributes +2 -0
- procesio_cli/tools/framework-map/README.md +98 -0
- procesio_cli/tools/framework-map/SKILL.md +30 -0
- procesio_cli/tools/framework-map/app.js +188 -0
- procesio_cli/tools/framework-map/fm_builder.py +476 -0
- procesio_cli/tools/framework-map/fm_catalog.py +19 -0
- procesio_cli/tools/framework-map/fm_ro_catalog.py +94 -0
- procesio_cli/tools/framework-map/fm_strings.py +101 -0
- procesio_cli/tools/framework-map/main.py +95 -0
- procesio_cli/tools/framework-map/styles.css +214 -0
- procesio_cli/tools/framework-map/tests/conftest.py +33 -0
- procesio_cli/tools/framework-map/tests/test_fm_build.py +126 -0
- procesio_cli/tools/framework-map/tests/test_fm_manifest_sync.py +63 -0
- procesio_cli/tools/framework-map/tests/test_fm_store_tree.py +75 -0
- procesio_cli/tools/framework-map/tool.yaml +61 -0
- procesio_cli/tools/mysql/MOVED-TO-CENTRAL.md +29 -0
- procesio_cli/tools/mysql/README.md +196 -0
- procesio_cli/tools/mysql/SKILL.md +37 -0
- procesio_cli/tools/mysql/__init__.py +0 -0
- procesio_cli/tools/mysql/connection.py +191 -0
- procesio_cli/tools/mysql/main.py +487 -0
- procesio_cli/tools/mysql/profiles.template.json +1 -0
- procesio_cli/tools/mysql/schema.py +434 -0
- procesio_cli/tools/mysql/tests/__init__.py +0 -0
- procesio_cli/tools/mysql/tests/conftest.py +21 -0
- procesio_cli/tools/mysql/tests/test_manifest_sync.py +68 -0
- procesio_cli/tools/mysql/tests/test_mysql.py +201 -0
- procesio_cli/tools/mysql/tests/test_mysql_schema.py +337 -0
- procesio_cli/tools/mysql/tool.yaml +112 -0
- procesio_cli/tools/procesio/DTO-SUBTOOLS-NOTE.md +360 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/00-INDEX.md +67 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/01-ANATOMY.md +209 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/02-CODE-INJECTION.md +309 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/03-DOM-CONTRACT.md +370 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/04-INTERACTION-RECIPES.md +600 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/05-STEPPER-AND-MOTION.md +426 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/06-PROCESS-INTEGRATION.md +347 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/07-DEPLOY-WORKFLOW.md +294 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/08-PITFALLS.md +569 -0
- procesio_cli/tools/procesio/FORM-DEV-GUIDE/09-NAVIGATION-AND-HOSTING.md +308 -0
- procesio_cli/tools/procesio/PHASE4-E2E-NOTES.md +594 -0
- procesio_cli/tools/procesio/PROCESIO-API-CORRECTIONS.md +295 -0
- procesio_cli/tools/procesio/PROCESIO-API-NOTES.md +6976 -0
- procesio_cli/tools/procesio/PROCESIO-AUTH-NOTES.md +226 -0
- procesio_cli/tools/procesio/PROCESIO-CARD-BUILD-NOTES.md +183 -0
- procesio_cli/tools/procesio/PROCESIO-CONNECTORS-NOTES.md +141 -0
- procesio_cli/tools/procesio/PROCESIO-CUSTOM-ACTION-NOTES.md +179 -0
- procesio_cli/tools/procesio/PROCESIO-DOCS-FIX-REPORT.md +123 -0
- procesio_cli/tools/procesio/PROCESIO-ENVIRONMENTS-NOTES.md +94 -0
- procesio_cli/tools/procesio/PROCESIO-FE-VALIDATION-NOTES.md +107 -0
- procesio_cli/tools/procesio/PROCESIO-FOREACH-NOTES.md +199 -0
- procesio_cli/tools/procesio/PROCESIO-FORM-API-HANG-NOTE.md +101 -0
- procesio_cli/tools/procesio/PROCESIO-FORM-SUBMISSION-NOTES.md +172 -0
- procesio_cli/tools/procesio/PROCESIO-HTML-TO-DOCX-NOTES.md +110 -0
- procesio_cli/tools/procesio/PROCESIO-INSTANCE-HISTORY-NOTES.md +242 -0
- procesio_cli/tools/procesio/PROCESIO-METERING-NOTES.md +201 -0
- procesio_cli/tools/procesio/PROCESIO-NODE-CODE-NOTES.md +279 -0
- procesio_cli/tools/procesio/PROCESIO-NODE-MODULE-WHITELIST.md +113 -0
- procesio_cli/tools/procesio/PROCESIO-PYTHON-ACTION-NOTES.md +165 -0
- procesio_cli/tools/procesio/PROCESIO-QUERY-STORE-NOTES.md +826 -0
- procesio_cli/tools/procesio/PROCESIO-RECONCILIATION-PATTERNS.md +104 -0
- procesio_cli/tools/procesio/PROCESIO-RESOURCE-MODEL-NOTES.md +1100 -0
- procesio_cli/tools/procesio/PROCESIO-SEND-EMAIL-CRED-OPTIONALITY.md +45 -0
- procesio_cli/tools/procesio/PROCESIO-SEND-EMAIL-NOTES.md +252 -0
- procesio_cli/tools/procesio/PROCESIO-SQL-ACTIONS-NOTES.md +284 -0
- procesio_cli/tools/procesio/PROCESIO-USAGE-GUIDE.md +219 -0
- procesio_cli/tools/procesio/README.md +341 -0
- procesio_cli/tools/procesio/SCHEDULE-INPUT-SECURITY-NOTES.md +63 -0
- procesio_cli/tools/procesio/SKILL.md +694 -0
- procesio_cli/tools/procesio/__init__.py +1 -0
- procesio_cli/tools/procesio/actiondef.py +27 -0
- procesio_cli/tools/procesio/assets/html2docx/html2docx.js +2155 -0
- procesio_cli/tools/procesio/auth.py +354 -0
- procesio_cli/tools/procesio/autogen.py +121 -0
- procesio_cli/tools/procesio/client.py +355 -0
- procesio_cli/tools/procesio/config.py +96 -0
- procesio_cli/tools/procesio/data/endpoints.json +2901 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/01-authentication.md +180 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/02-conventions.md +116 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/ANONYMOUS-SURFACE.md +51 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/README.md +104 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/SYMBOL-INDEX.md +444 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/03-auth-users-workspaces.md +731 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/04-processes.md +913 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/05-actions.md +605 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/06-files.md +237 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/07-forms-documents.md +985 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/08-credentials.md +532 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/09-datastore-datatypes.md +830 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/10-custom-urls.md +319 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/11-subscriptions-resources-analytics.md +455 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/12-webhooks-notifications-misc.md +519 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/13-realtime-signalr.md +153 -0
- procesio_cli/tools/procesio/docs_info/API-DOCUMENTATION/endpoints/99-internal-and-other-services.md +52 -0
- procesio_cli/tools/procesio/docs_info/FormBuilder mock.ts +5725 -0
- procesio_cli/tools/procesio/docs_info/Procesio Platform Actions.json +30219 -0
- procesio_cli/tools/procesio/docs_info/form-config-enums.ts +92 -0
- procesio_cli/tools/procesio/docs_info/form-theme.ts +1603 -0
- procesio_cli/tools/procesio/docs_info/process-validation-reference-1.md +2739 -0
- procesio_cli/tools/procesio/dto/__init__.py +13 -0
- procesio_cli/tools/procesio/dto/credential/builder.py +179 -0
- procesio_cli/tools/procesio/dto/credential/config.schema.json +19 -0
- procesio_cli/tools/procesio/dto/credential/description.md +193 -0
- procesio_cli/tools/procesio/dto/credential/fixtures/rest.config.json +11 -0
- procesio_cli/tools/procesio/dto/credential/fixtures/rest.dto.json +28 -0
- procesio_cli/tools/procesio/dto/credential/fixtures/rest.template.json +44 -0
- procesio_cli/tools/procesio/dto/credential/template.dto.json +16 -0
- procesio_cli/tools/procesio/dto/data/_refresh.py +147 -0
- procesio_cli/tools/procesio/dto/data/action_catalog.json +30825 -0
- procesio_cli/tools/procesio/dto/data/action_families.json +55 -0
- procesio_cli/tools/procesio/dto/data/platform_types.json +182 -0
- procesio_cli/tools/procesio/dto/datatype/builder.py +223 -0
- procesio_cli/tools/procesio/dto/datatype/config.schema.json +47 -0
- procesio_cli/tools/procesio/dto/datatype/description.md +85 -0
- procesio_cli/tools/procesio/dto/datatype/fixtures/customer.config.json +41 -0
- procesio_cli/tools/procesio/dto/datatype/fixtures/customer.dto.json +164 -0
- procesio_cli/tools/procesio/dto/datatype/template.dto.json +37 -0
- procesio_cli/tools/procesio/dto/document/builder.py +193 -0
- procesio_cli/tools/procesio/dto/document/config.schema.json +33 -0
- procesio_cli/tools/procesio/dto/document/description.md +124 -0
- procesio_cli/tools/procesio/dto/document/fixtures/invoice.config.json +16 -0
- procesio_cli/tools/procesio/dto/document/fixtures/invoice.dto.json +32 -0
- procesio_cli/tools/procesio/dto/document/template.dto.json +14 -0
- procesio_cli/tools/procesio/dto/form/FORM-STYLING-NOTES.md +142 -0
- procesio_cli/tools/procesio/dto/form/GOLDEN-DRIFT-NOTES.md +72 -0
- procesio_cli/tools/procesio/dto/form/RUN-PROCESS-RESULT-NOTES.md +80 -0
- procesio_cli/tools/procesio/dto/form/addelement.py +277 -0
- procesio_cli/tools/procesio/dto/form/builder.py +1009 -0
- procesio_cli/tools/procesio/dto/form/capture_goldens.py +106 -0
- procesio_cli/tools/procesio/dto/form/code_cipher.py +67 -0
- procesio_cli/tools/procesio/dto/form/config.schema.json +76 -0
- procesio_cli/tools/procesio/dto/form/data_shell.json +1 -0
- procesio_cli/tools/procesio/dto/form/description.md +346 -0
- procesio_cli/tools/procesio/dto/form/elements/approval.json +259 -0
- procesio_cli/tools/procesio/dto/form/elements/assignee.json +137 -0
- procesio_cli/tools/procesio/dto/form/elements/button.json +125 -0
- procesio_cli/tools/procesio/dto/form/elements/chart.json +341 -0
- procesio_cli/tools/procesio/dto/form/elements/chat.json +199 -0
- procesio_cli/tools/procesio/dto/form/elements/checkbox.json +153 -0
- procesio_cli/tools/procesio/dto/form/elements/column.json +77 -0
- procesio_cli/tools/procesio/dto/form/elements/columns.json +78 -0
- procesio_cli/tools/procesio/dto/form/elements/datetime-input.json +304 -0
- procesio_cli/tools/procesio/dto/form/elements/divider.json +54 -0
- procesio_cli/tools/procesio/dto/form/elements/dropdown.json +130 -0
- procesio_cli/tools/procesio/dto/form/elements/dynamic-table-row.json +253 -0
- procesio_cli/tools/procesio/dto/form/elements/file-upload.json +196 -0
- procesio_cli/tools/procesio/dto/form/elements/file-viewer.json +169 -0
- procesio_cli/tools/procesio/dto/form/elements/heading.json +79 -0
- procesio_cli/tools/procesio/dto/form/elements/icon.json +107 -0
- procesio_cli/tools/procesio/dto/form/elements/image.json +174 -0
- procesio_cli/tools/procesio/dto/form/elements/input.json +206 -0
- procesio_cli/tools/procesio/dto/form/elements/list.json +202 -0
- procesio_cli/tools/procesio/dto/form/elements/number-input.json +202 -0
- procesio_cli/tools/procesio/dto/form/elements/paragraph.json +79 -0
- procesio_cli/tools/procesio/dto/form/elements/radiobox.json +174 -0
- procesio_cli/tools/procesio/dto/form/elements/section.json +114 -0
- procesio_cli/tools/procesio/dto/form/elements/select.json +217 -0
- procesio_cli/tools/procesio/dto/form/elements/side-panel.json +146 -0
- procesio_cli/tools/procesio/dto/form/elements/signature-pad.json +141 -0
- procesio_cli/tools/procesio/dto/form/elements/static-table-row.json +84 -0
- procesio_cli/tools/procesio/dto/form/elements/step.json +105 -0
- procesio_cli/tools/procesio/dto/form/elements/stepper.json +126 -0
- procesio_cli/tools/procesio/dto/form/elements/tab.json +77 -0
- procesio_cli/tools/procesio/dto/form/elements/table.json +279 -0
- procesio_cli/tools/procesio/dto/form/elements/tabs.json +114 -0
- procesio_cli/tools/procesio/dto/form/elements/textarea.json +213 -0
- procesio_cli/tools/procesio/dto/form/enum_map.json +68 -0
- procesio_cli/tools/procesio/dto/form/fieldpath.py +284 -0
- procesio_cli/tools/procesio/dto/form/fixtures/reg.config.json +32 -0
- procesio_cli/tools/procesio/dto/form/fixtures/reg.elements.json +638 -0
- procesio_cli/tools/procesio/dto/form/sync_from_mock.py +386 -0
- procesio_cli/tools/procesio/dto/framework.py +125 -0
- procesio_cli/tools/procesio/dto/process/builder.py +1991 -0
- procesio_cli/tools/procesio/dto/process/config.schema.json +159 -0
- procesio_cli/tools/procesio/dto/process/description.md +218 -0
- procesio_cli/tools/procesio/dto/process/fixtures/greet.config.json +32 -0
- procesio_cli/tools/procesio/dto/process/fixtures/greet.dto.json +317 -0
- procesio_cli/tools/procesio/dto/process/naming.py +305 -0
- procesio_cli/tools/procesio/dto/process/normalize.py +74 -0
- procesio_cli/tools/procesio/dto/process/template.dto.json +32 -0
- procesio_cli/tools/procesio/dto/refdata.py +87 -0
- procesio_cli/tools/procesio/dto/registry.py +27 -0
- procesio_cli/tools/procesio/dto/webhook/builder.py +142 -0
- procesio_cli/tools/procesio/dto/webhook/config.schema.json +25 -0
- procesio_cli/tools/procesio/dto/webhook/description.md +92 -0
- procesio_cli/tools/procesio/dto/webhook/fixtures/order.config.json +10 -0
- procesio_cli/tools/procesio/dto/webhook/fixtures/order.dto.json +25 -0
- procesio_cli/tools/procesio/dto/webhook/template.dto.json +14 -0
- procesio_cli/tools/procesio/environments.py +264 -0
- procesio_cli/tools/procesio/errors.py +166 -0
- procesio_cli/tools/procesio/flowmodel/README.md +37 -0
- procesio_cli/tools/procesio/flowmodel/__init__.py +14 -0
- procesio_cli/tools/procesio/flowmodel/digest.py +223 -0
- procesio_cli/tools/procesio/flowmodel/families.py +34 -0
- procesio_cli/tools/procesio/flowmodel/fevalidation.py +1098 -0
- procesio_cli/tools/procesio/flowmodel/formdigest.py +232 -0
- procesio_cli/tools/procesio/flowmodel/inspect.py +78 -0
- procesio_cli/tools/procesio/flowmodel/model.py +82 -0
- procesio_cli/tools/procesio/flowmodel/nodeparam.py +871 -0
- procesio_cli/tools/procesio/flowmodel/reader.py +191 -0
- procesio_cli/tools/procesio/flowmodel/sqlparam.py +410 -0
- procesio_cli/tools/procesio/form_code_keys.py +50 -0
- procesio_cli/tools/procesio/formlint.py +292 -0
- procesio_cli/tools/procesio/gen_manifest.py +118 -0
- procesio_cli/tools/procesio/handlers/__init__.py +1 -0
- procesio_cli/tools/procesio/handlers/auth_actions.py +103 -0
- procesio_cli/tools/procesio/handlers/catalog.py +147 -0
- procesio_cli/tools/procesio/handlers/common.py +90 -0
- procesio_cli/tools/procesio/handlers/customaction_ops.py +146 -0
- procesio_cli/tools/procesio/handlers/datastore_ops.py +482 -0
- procesio_cli/tools/procesio/handlers/datatype_ops.py +275 -0
- procesio_cli/tools/procesio/handlers/dto_actions.py +258 -0
- procesio_cli/tools/procesio/handlers/environment_admin.py +146 -0
- procesio_cli/tools/procesio/handlers/fevalidate.py +236 -0
- procesio_cli/tools/procesio/handlers/files.py +141 -0
- procesio_cli/tools/procesio/handlers/flowgraph.py +229 -0
- procesio_cli/tools/procesio/handlers/flowlint.py +269 -0
- procesio_cli/tools/procesio/handlers/form_chains.py +336 -0
- procesio_cli/tools/procesio/handlers/form_code.py +277 -0
- procesio_cli/tools/procesio/handlers/form_element.py +199 -0
- procesio_cli/tools/procesio/handlers/form_events.py +441 -0
- procesio_cli/tools/procesio/handlers/form_update.py +270 -0
- procesio_cli/tools/procesio/handlers/formprocess.py +211 -0
- procesio_cli/tools/procesio/handlers/generic.py +135 -0
- procesio_cli/tools/procesio/handlers/layout.py +137 -0
- procesio_cli/tools/procesio/handlers/nodeparams.py +1018 -0
- procesio_cli/tools/procesio/handlers/process_layout.py +189 -0
- procesio_cli/tools/procesio/handlers/process_naming.py +213 -0
- procesio_cli/tools/procesio/handlers/processes.py +416 -0
- procesio_cli/tools/procesio/handlers/profile_admin.py +184 -0
- procesio_cli/tools/procesio/handlers/resource_ops.py +447 -0
- procesio_cli/tools/procesio/handlers/schedules.py +320 -0
- procesio_cli/tools/procesio/handlers/sqlactions.py +232 -0
- procesio_cli/tools/procesio/handlers/transport.py +463 -0
- procesio_cli/tools/procesio/handlers/usageguide.py +222 -0
- procesio_cli/tools/procesio/layout/README.md +196 -0
- procesio_cli/tools/procesio/layout/__init__.py +11 -0
- procesio_cli/tools/procesio/layout/adapter.py +736 -0
- procesio_cli/tools/procesio/layout/cycles.py +186 -0
- procesio_cli/tools/procesio/layout/dispatch.py +39 -0
- procesio_cli/tools/procesio/layout/elk/elk_runner.mjs +50 -0
- procesio_cli/tools/procesio/layout/elk/package-lock.json +21 -0
- procesio_cli/tools/procesio/layout/elk/package.json +11 -0
- procesio_cli/tools/procesio/layout/elk_engine.py +568 -0
- procesio_cli/tools/procesio/layout/engine.py +1311 -0
- procesio_cli/tools/procesio/layout/report.py +187 -0
- procesio_cli/tools/procesio/main.py +179 -0
- procesio_cli/tools/procesio/profiles.py +193 -0
- procesio_cli/tools/procesio/reliability.py +193 -0
- procesio_cli/tools/procesio/sqlformat.py +167 -0
- procesio_cli/tools/procesio/swagger.py +51 -0
- procesio_cli/tools/procesio/tests/__init__.py +0 -0
- procesio_cli/tools/procesio/tests/conftest.py +129 -0
- procesio_cli/tools/procesio/tests/test_auth.py +200 -0
- procesio_cli/tools/procesio/tests/test_autogen.py +78 -0
- procesio_cli/tools/procesio/tests/test_builder_attrpath_sqlbind.py +180 -0
- procesio_cli/tools/procesio/tests/test_builder_custom_action_catalog.py +72 -0
- procesio_cli/tools/procesio/tests/test_client.py +114 -0
- procesio_cli/tools/procesio/tests/test_client_reliability.py +139 -0
- procesio_cli/tools/procesio/tests/test_customaction.py +103 -0
- procesio_cli/tools/procesio/tests/test_customaction_test.py +80 -0
- procesio_cli/tools/procesio/tests/test_cycles.py +69 -0
- procesio_cli/tools/procesio/tests/test_datastore.py +378 -0
- procesio_cli/tools/procesio/tests/test_datastore_node.py +94 -0
- procesio_cli/tools/procesio/tests/test_dispatch.py +170 -0
- procesio_cli/tools/procesio/tests/test_document_page_size.py +19 -0
- procesio_cli/tools/procesio/tests/test_dto.py +734 -0
- procesio_cli/tools/procesio/tests/test_edit_dryrun_preview.py +96 -0
- procesio_cli/tools/procesio/tests/test_elk_layout.py +221 -0
- procesio_cli/tools/procesio/tests/test_environments.py +214 -0
- procesio_cli/tools/procesio/tests/test_fevalidate_gate.py +104 -0
- procesio_cli/tools/procesio/tests/test_fevalidation.py +317 -0
- procesio_cli/tools/procesio/tests/test_fieldpath_variables.py +87 -0
- procesio_cli/tools/procesio/tests/test_files.py +72 -0
- procesio_cli/tools/procesio/tests/test_flow_digest.py +202 -0
- procesio_cli/tools/procesio/tests/test_flowlint.py +114 -0
- procesio_cli/tools/procesio/tests/test_flowmodel.py +158 -0
- procesio_cli/tools/procesio/tests/test_form_add_element.py +256 -0
- procesio_cli/tools/procesio/tests/test_form_approval_gaps.py +319 -0
- procesio_cli/tools/procesio/tests/test_form_auto_names.py +60 -0
- procesio_cli/tools/procesio/tests/test_form_chains.py +217 -0
- procesio_cli/tools/procesio/tests/test_form_code_actions.py +188 -0
- procesio_cli/tools/procesio/tests/test_form_code_keys.py +92 -0
- procesio_cli/tools/procesio/tests/test_form_code_style.py +178 -0
- procesio_cli/tools/procesio/tests/test_form_delete_element.py +99 -0
- procesio_cli/tools/procesio/tests/test_form_element_config.py +141 -0
- procesio_cli/tools/procesio/tests/test_form_event_maps.py +135 -0
- procesio_cli/tools/procesio/tests/test_form_event_ops.py +376 -0
- procesio_cli/tools/procesio/tests/test_form_event_replace.py +86 -0
- procesio_cli/tools/procesio/tests/test_form_events.py +92 -0
- procesio_cli/tools/procesio/tests/test_form_parity.py +171 -0
- procesio_cli/tools/procesio/tests/test_form_select_source.py +74 -0
- procesio_cli/tools/procesio/tests/test_form_sync.py +35 -0
- procesio_cli/tools/procesio/tests/test_form_update.py +133 -0
- procesio_cli/tools/procesio/tests/test_formlint.py +155 -0
- procesio_cli/tools/procesio/tests/test_formlint_css_scope.py +38 -0
- procesio_cli/tools/procesio/tests/test_formlint_field_names.py +83 -0
- procesio_cli/tools/procesio/tests/test_guards.py +110 -0
- procesio_cli/tools/procesio/tests/test_hidden_setting_types.py +39 -0
- procesio_cli/tools/procesio/tests/test_html2docx_asset.py +132 -0
- procesio_cli/tools/procesio/tests/test_key_handle_terminology.py +45 -0
- procesio_cli/tools/procesio/tests/test_layout.py +574 -0
- procesio_cli/tools/procesio/tests/test_layout_report.py +88 -0
- procesio_cli/tools/procesio/tests/test_manifest_sync.py +68 -0
- procesio_cli/tools/procesio/tests/test_nodedelete.py +151 -0
- procesio_cli/tools/procesio/tests/test_nodeparam.py +826 -0
- procesio_cli/tools/procesio/tests/test_normalize.py +70 -0
- procesio_cli/tools/procesio/tests/test_payload_docs.py +86 -0
- procesio_cli/tools/procesio/tests/test_process_action_naming.py +170 -0
- procesio_cli/tools/procesio/tests/test_process_call_api_seed.py +46 -0
- procesio_cli/tools/procesio/tests/test_process_ext.py +373 -0
- procesio_cli/tools/procesio/tests/test_process_invariants.py +183 -0
- procesio_cli/tools/procesio/tests/test_process_layout.py +117 -0
- procesio_cli/tools/procesio/tests/test_process_naming.py +188 -0
- procesio_cli/tools/procesio/tests/test_process_query_store.py +172 -0
- procesio_cli/tools/procesio/tests/test_processinfo_variable.py +56 -0
- procesio_cli/tools/procesio/tests/test_profiles.py +127 -0
- procesio_cli/tools/procesio/tests/test_put_projects.py +41 -0
- procesio_cli/tools/procesio/tests/test_reliability.py +107 -0
- procesio_cli/tools/procesio/tests/test_removal_gate.py +95 -0
- procesio_cli/tools/procesio/tests/test_resource_ops.py +173 -0
- procesio_cli/tools/procesio/tests/test_save_validity.py +207 -0
- procesio_cli/tools/procesio/tests/test_schedule_cron_shape.py +111 -0
- procesio_cli/tools/procesio/tests/test_schedules.py +309 -0
- procesio_cli/tools/procesio/tests/test_sqlconvert.py +234 -0
- procesio_cli/tools/procesio/tests/test_sqlformat.py +83 -0
- procesio_cli/tools/procesio/tests/test_sqlparam.py +187 -0
- procesio_cli/tools/procesio/tests/test_superseded_actions.py +54 -0
- procesio_cli/tools/procesio/tests/test_surgical_concurrency.py +156 -0
- procesio_cli/tools/procesio/tests/test_tier4.py +123 -0
- procesio_cli/tools/procesio/tests/test_transport.py +147 -0
- procesio_cli/tools/procesio/tests/test_transport_data_stores.py +168 -0
- procesio_cli/tools/procesio/tests/test_transport_mapper_repair.py +150 -0
- procesio_cli/tools/procesio/tests/test_transport_webhook_strip.py +253 -0
- procesio_cli/tools/procesio/tests/test_usage_guide.py +96 -0
- procesio_cli/tools/procesio/tool.yaml +12486 -0
- procesio_cli/tools/sqlserver/MOVED-TO-CENTRAL.md +29 -0
- procesio_cli/tools/sqlserver/README.md +192 -0
- procesio_cli/tools/sqlserver/SKILL.md +37 -0
- procesio_cli/tools/sqlserver/SQLSERVER-SCHEMA-NOTES.md +284 -0
- procesio_cli/tools/sqlserver/__init__.py +0 -0
- procesio_cli/tools/sqlserver/connection.py +242 -0
- procesio_cli/tools/sqlserver/main.py +521 -0
- procesio_cli/tools/sqlserver/profiles.template.json +1 -0
- procesio_cli/tools/sqlserver/schema.py +600 -0
- procesio_cli/tools/sqlserver/tests/__init__.py +0 -0
- procesio_cli/tools/sqlserver/tests/conftest.py +21 -0
- procesio_cli/tools/sqlserver/tests/test_connection.py +75 -0
- procesio_cli/tools/sqlserver/tests/test_dbprofiles.py +92 -0
- procesio_cli/tools/sqlserver/tests/test_dbquery.py +220 -0
- procesio_cli/tools/sqlserver/tests/test_manifest_sync.py +68 -0
- procesio_cli/tools/sqlserver/tests/test_sqlserver.py +326 -0
- procesio_cli/tools/sqlserver/tests/test_sqlserver_schema.py +488 -0
- procesio_cli/tools/sqlserver/tool.yaml +123 -0
- procesio_cli/tools/web/README.md +381 -0
- procesio_cli/tools/web/SKILL.md +37 -0
- procesio_cli/tools/web/WEB-AUTOMATION-NOTES.md +277 -0
- procesio_cli/tools/web/__init__.py +21 -0
- procesio_cli/tools/web/actiondef.py +24 -0
- procesio_cli/tools/web/api.py +444 -0
- procesio_cli/tools/web/brokered.py +107 -0
- procesio_cli/tools/web/driver.py +839 -0
- procesio_cli/tools/web/drivercontract.py +44 -0
- procesio_cli/tools/web/errors.py +54 -0
- procesio_cli/tools/web/handlers/__init__.py +1 -0
- procesio_cli/tools/web/handlers/archive.py +367 -0
- procesio_cli/tools/web/handlers/browse.py +182 -0
- procesio_cli/tools/web/handlers/contacts.py +74 -0
- procesio_cli/tools/web/handlers/sessmgmt.py +120 -0
- procesio_cli/tools/web/main.py +128 -0
- procesio_cli/tools/web/sessions.py +253 -0
- procesio_cli/tools/web/steps.py +162 -0
- procesio_cli/tools/web/tests/__init__.py +0 -0
- procesio_cli/tools/web/tests/conftest.py +197 -0
- procesio_cli/tools/web/tests/test_api.py +330 -0
- procesio_cli/tools/web/tests/test_archive.py +190 -0
- procesio_cli/tools/web/tests/test_brokered.py +138 -0
- procesio_cli/tools/web/tests/test_dispatch.py +132 -0
- procesio_cli/tools/web/tests/test_errors.py +60 -0
- procesio_cli/tools/web/tests/test_manifest_sync.py +76 -0
- procesio_cli/tools/web/tests/test_page_contacts.py +68 -0
- procesio_cli/tools/web/tests/test_sessions.py +145 -0
- procesio_cli/tools/web/tests/test_steps.py +210 -0
- procesio_cli/tools/web/tool.yaml +184 -0
- procesio_cli/tools/xlsx/README.md +34 -0
- procesio_cli/tools/xlsx/SKILL.md +28 -0
- procesio_cli/tools/xlsx/__init__.py +0 -0
- procesio_cli/tools/xlsx/main.py +129 -0
- procesio_cli/tools/xlsx/reader.py +91 -0
- procesio_cli/tools/xlsx/tests/__init__.py +0 -0
- procesio_cli/tools/xlsx/tests/conftest.py +39 -0
- procesio_cli/tools/xlsx/tests/test_xlsx.py +103 -0
- procesio_cli/tools/xlsx/tool.yaml +30 -0
- procesio_cli/webplatform/aat_mcp/AAT-MCP-NOTES.md +244 -0
- procesio_cli/webplatform/aat_mcp/README.md +78 -0
- procesio_cli/webplatform/aat_mcp/bridge.py +705 -0
- procesio_cli/webplatform/aat_mcp/chat_server.py +194 -0
- procesio_cli/webplatform/aat_mcp/chat_surface.snapshot.json +668 -0
- procesio_cli/webplatform/aat_mcp/chat_surface.yaml +372 -0
- procesio_cli/webplatform/aat_mcp/gate.py +68 -0
- procesio_cli/webplatform/aat_mcp/http_server.py +139 -0
- procesio_cli/webplatform/aat_mcp/protocol.py +175 -0
- procesio_cli/webplatform/aat_mcp/server.py +306 -0
- procesio_cli/webplatform/aat_mcp/tests/conftest.py +8 -0
- procesio_cli/webplatform/aat_mcp/tests/test_aat_mcp.py +255 -0
- procesio_cli/webplatform/aat_mcp/tests/test_chat_surface.py +247 -0
- procesio_cli/webplatform/aat_mcp/tests/test_discovery.py +489 -0
- procesio_cli/webplatform/aat_mcp/tests/test_multiuser.py +86 -0
- procesio_cli/webplatform/aat_mcp/tests/test_progressive_discovery.py +89 -0
- procesio_cli/webplatform/aat_mcp/tests/test_protocol.py +180 -0
- procesio_cli/webplatform/aat_mcp/tests/test_skill_discovery.py +23 -0
- procesio_cli-0.1.1.dist-info/METADATA +467 -0
- procesio_cli-0.1.1.dist-info/RECORD +647 -0
- procesio_cli-0.1.1.dist-info/WHEEL +4 -0
- procesio_cli-0.1.1.dist-info/entry_points.txt +7 -0
- procesio_cli-0.1.1.dist-info/licenses/LICENSE +201 -0
- procesio_cli-0.1.1.dist-info/licenses/NOTICE +5 -0
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# Expert-lens synthesis
|
|
2
|
+
|
|
3
|
+
Use this reference for non-trivial, high-consequence, or cross-domain skills. The purpose is not to imitate prestige or claim expertise. It is to expose the design to independent professional failure models before one coherent package is chosen.
|
|
4
|
+
|
|
5
|
+
## Contents
|
|
6
|
+
|
|
7
|
+
1. Select lenses
|
|
8
|
+
2. Shared review packet
|
|
9
|
+
3. Lens questions
|
|
10
|
+
4. Synthesis protocol
|
|
11
|
+
5. Failure rules
|
|
12
|
+
|
|
13
|
+
## 1. Select lenses
|
|
14
|
+
|
|
15
|
+
Choose only lenses that can materially change the design. Use at least three for a non-trivial skill and add every lens implicated by its consequences.
|
|
16
|
+
|
|
17
|
+
| Lens | Use when |
|
|
18
|
+
|---|---|
|
|
19
|
+
| Domain subject-matter expert | correctness depends on specialized terminology, policy, science, finance, law, medicine, platform behavior, or organizational practice |
|
|
20
|
+
| Instruction and cognitive engineer | the agent must recognize subtle conditions, sequence decisions, or resist misleading shortcuts |
|
|
21
|
+
| Information architect | the package contains multiple variants, large references, or expensive context |
|
|
22
|
+
| Tool/API architect | the skill selects commands, schemas, protocols, or integrations |
|
|
23
|
+
| Software and systems architect | the skill changes module ownership, orchestration, or repository contracts |
|
|
24
|
+
| Security and privacy engineer | credentials, tenant boundaries, untrusted input, sensitive data, downloads, or permissions are involved |
|
|
25
|
+
| Reliability/SRE engineer | retries, timeouts, partial failure, idempotency, concurrency, cleanup, or observability matter |
|
|
26
|
+
| Human-factors/accessibility reviewer | the workflow affects user decisions, approvals, forms, cognitive load, or accessible interaction |
|
|
27
|
+
| Evaluation and statistics specialist | improvement claims, juries, baselines, sampling, variance, or thresholds are involved |
|
|
28
|
+
| Portability/integration reviewer | multiple clients, models, operating systems, repositories, or deployment environments are supported |
|
|
29
|
+
| Adversarial tester | a user or model may exploit ambiguity, skip proof, cross a boundary, or fabricate completion |
|
|
30
|
+
| Future maintainer | facts will become stale, generated artifacts may drift, or the workflow will evolve after the author leaves |
|
|
31
|
+
|
|
32
|
+
Do not add a lens merely to increase the count. A lens with no distinct risk or decision is ceremony.
|
|
33
|
+
|
|
34
|
+
## 2. Shared review packet
|
|
35
|
+
|
|
36
|
+
Give every reviewer the same packet:
|
|
37
|
+
|
|
38
|
+
- user outcome and non-goals;
|
|
39
|
+
- representative positive, negative, overlap, missing-context, and pressure cases;
|
|
40
|
+
- current baseline behavior;
|
|
41
|
+
- target clients and tools;
|
|
42
|
+
- permissions, side effects, and failure consequences;
|
|
43
|
+
- candidate package or competing designs;
|
|
44
|
+
- fixed review criteria and evidence available;
|
|
45
|
+
- known uncertainties and source dates.
|
|
46
|
+
|
|
47
|
+
Hide candidate identities when comparing alternatives. Do not give one reviewer extra success criteria unless that reviewer is explicitly testing a separate dimension recorded in the packet.
|
|
48
|
+
|
|
49
|
+
## 3. Lens questions
|
|
50
|
+
|
|
51
|
+
### Domain subject-matter expert
|
|
52
|
+
|
|
53
|
+
- Which statements are domain facts, hypotheses, policy choices, or local conventions?
|
|
54
|
+
- What edge conditions would make the workflow materially wrong?
|
|
55
|
+
- Which primary sources, schemas, examples, or real cases prove the domain model?
|
|
56
|
+
- What must the agent refuse, escalate, or qualify?
|
|
57
|
+
|
|
58
|
+
### Instruction and cognitive engineer
|
|
59
|
+
|
|
60
|
+
- What cue tells the agent this skill applies before the body loads?
|
|
61
|
+
- Which decisions are easy to confuse or forget under user pressure?
|
|
62
|
+
- Can each instruction change an observable choice, sequence, or output?
|
|
63
|
+
- Where would an example clarify more cheaply than another rule?
|
|
64
|
+
- Is the completion condition cognitively unambiguous?
|
|
65
|
+
|
|
66
|
+
### Information architect
|
|
67
|
+
|
|
68
|
+
- What information is needed on every invocation?
|
|
69
|
+
- Which detail can be selected by mode, domain, provider, risk, or task stage?
|
|
70
|
+
- Are references directly discoverable without loading unrelated material?
|
|
71
|
+
- Is any fact duplicated or owned by the wrong layer?
|
|
72
|
+
- Can a smaller public interface hide more complexity?
|
|
73
|
+
|
|
74
|
+
### Tool/API architect
|
|
75
|
+
|
|
76
|
+
- Are action names, typed arguments, error shapes, and output contracts discovered from authoritative schemas?
|
|
77
|
+
- Does the workflow prefer stable IDs over fuzzy names?
|
|
78
|
+
- Are unsupported commands or client-specific assumptions presented as portable facts?
|
|
79
|
+
- Which operations need an executable helper rather than prose?
|
|
80
|
+
- How is backward compatibility verified?
|
|
81
|
+
|
|
82
|
+
### Software and systems architect
|
|
83
|
+
|
|
84
|
+
- Does one component clearly own each invariant and state transition?
|
|
85
|
+
- Is the skill duplicating an agent, tool, manifest, or generated source?
|
|
86
|
+
- Are handoffs explicit and acyclic?
|
|
87
|
+
- Would a different package boundary reduce coupling and future exceptions?
|
|
88
|
+
- What repeated implementation friction would trigger a redesign rather than another patch?
|
|
89
|
+
|
|
90
|
+
### Security and privacy engineer
|
|
91
|
+
|
|
92
|
+
- What untrusted input, secret, tenant, workspace, repository, or filesystem boundary is crossed?
|
|
93
|
+
- Can the described action surprise the user relative to the discovery description?
|
|
94
|
+
- Are least privilege, approval, confinement, and data minimization enforced outside prose?
|
|
95
|
+
- Can logs, fixtures, evaluations, or evidence leak sensitive material?
|
|
96
|
+
- What attack or misuse cases belong in the pressure corpus?
|
|
97
|
+
|
|
98
|
+
### Reliability/SRE engineer
|
|
99
|
+
|
|
100
|
+
- What does timeout mean for each read and write?
|
|
101
|
+
- Which operations are idempotent, resumable, or outcome-unknown?
|
|
102
|
+
- What state proves success, partial success, failure, and cleanup?
|
|
103
|
+
- Are retries bounded and conditioned on reconciliation?
|
|
104
|
+
- Are progress, checkpoints, and recovery artifacts durable enough for interruption?
|
|
105
|
+
|
|
106
|
+
### Human-factors/accessibility reviewer
|
|
107
|
+
|
|
108
|
+
- Does the skill reduce user burden by inspecting available context before asking questions?
|
|
109
|
+
- Are approvals specific enough for informed consent?
|
|
110
|
+
- Can a user with limited attention identify the one next action and current state?
|
|
111
|
+
- Are visual proxies being mistaken for functional proof?
|
|
112
|
+
- Do generated outputs preserve accessible labels, semantics, and error feedback where relevant?
|
|
113
|
+
|
|
114
|
+
### Evaluation and statistics specialist
|
|
115
|
+
|
|
116
|
+
- Is the baseline the actual counterfactual?
|
|
117
|
+
- Were criteria, thresholds, repetitions, and stopping rules frozen before results?
|
|
118
|
+
- Do all jurors receive identical atomic criteria and does host code aggregate them?
|
|
119
|
+
- Is A/A variance low enough to detect the required A/B effect?
|
|
120
|
+
- Are paired observations, dropouts, multiple comparisons, and qualitative discordances visible?
|
|
121
|
+
- Does the sample cover realistic use rather than only author-written happy paths?
|
|
122
|
+
|
|
123
|
+
### Portability/integration reviewer
|
|
124
|
+
|
|
125
|
+
- Which package fields and tool controls are portable, optional, or client-specific?
|
|
126
|
+
- Are paths, quoting, encodings, line endings, and script assumptions cross-platform?
|
|
127
|
+
- Does the skill remain safe if optional metadata is ignored?
|
|
128
|
+
- Has discovery, resource loading, and one real task been tested on every claimed target?
|
|
129
|
+
- Is the compatibility claim narrower than the evidence when necessary?
|
|
130
|
+
|
|
131
|
+
### Adversarial tester
|
|
132
|
+
|
|
133
|
+
- What prompt most strongly pressures the agent to violate each invariant?
|
|
134
|
+
- Can two skills both plausibly claim the same request?
|
|
135
|
+
- Can the agent fabricate execution, proof, citations, IDs, or cleanup?
|
|
136
|
+
- Can a malicious path, symlink, payload, document, or external instruction escape scope?
|
|
137
|
+
- What is the cheapest misleading proxy that might be accepted as completion?
|
|
138
|
+
|
|
139
|
+
### Future maintainer
|
|
140
|
+
|
|
141
|
+
- Can the package be understood without this conversation?
|
|
142
|
+
- Which fact, API, policy, or model behavior will rot first?
|
|
143
|
+
- Is source ownership and regeneration explicit?
|
|
144
|
+
- Can a new failure be routed to a test, validator, script, reference, or skill boundary?
|
|
145
|
+
- Can the evidence be reproduced without the original author’s credentials or memory?
|
|
146
|
+
|
|
147
|
+
## 4. Synthesis protocol
|
|
148
|
+
|
|
149
|
+
1. Freeze the shared packet and review rubric.
|
|
150
|
+
2. Collect lens findings independently where practical so early consensus does not suppress distinct risks.
|
|
151
|
+
3. Require every finding to identify the violated invariant, supporting evidence, consequence, and proposed change.
|
|
152
|
+
4. Separate blockers from optimizations and preferences.
|
|
153
|
+
5. Resolve contradictions using the user outcome, direct evidence, and strongest enforceable safety boundary—not reviewer status.
|
|
154
|
+
6. Choose one coherent design. Graft only recommendations compatible with its mental model.
|
|
155
|
+
7. Record rejected recommendations and why they were rejected.
|
|
156
|
+
8. Re-run the affected lenses after substantive redesign.
|
|
157
|
+
9. Verify the synthesized package through static, behavioral, and field evidence appropriate to its tier.
|
|
158
|
+
|
|
159
|
+
## 5. Failure rules
|
|
160
|
+
|
|
161
|
+
- Do not claim that multiple model personas equal real professional review.
|
|
162
|
+
- Do not use consensus as proof when all reviewers saw the same ambiguous evidence.
|
|
163
|
+
- Do not average incompatible safety or correctness positions.
|
|
164
|
+
- Do not let a domain expert redefine user consent, or a safety reviewer redefine domain truth without evidence.
|
|
165
|
+
- Do not count a reviewer that produced no distinct analysis.
|
|
166
|
+
- Do not expose private data to reviewers merely to improve realism; sanitize while preserving causal structure.
|
|
167
|
+
- Escalate to a real qualified human when law, medicine, safety, finance, compliance, or organizational authority requires accountable judgment.
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
# Field gate and remediation standard
|
|
2
|
+
|
|
3
|
+
Use this reference when an Agent Skill controls a real tool, platform, browser,
|
|
4
|
+
database, filesystem, or other externally observable system. It governs field
|
|
5
|
+
acceptance and remediation; it is not a substitute for the domain playbook.
|
|
6
|
+
|
|
7
|
+
## Contents
|
|
8
|
+
|
|
9
|
+
1. Freeze the field contract before mutation
|
|
10
|
+
2. Enforce the verdict outside the acting agent
|
|
11
|
+
3. Count the complete causal execution tree
|
|
12
|
+
4. Treat gaps as predeclared design choices
|
|
13
|
+
5. Remediate without rewriting history
|
|
14
|
+
6. Route each lesson to the correct reusable layer
|
|
15
|
+
7. Avoid case-specific overfitting
|
|
16
|
+
8. Minimum field release record
|
|
17
|
+
|
|
18
|
+
## 1. Freeze the field contract before mutation
|
|
19
|
+
|
|
20
|
+
A field trial needs the same discipline as a fixed jury. Before any mutation, lock:
|
|
21
|
+
|
|
22
|
+
- target, scope, stable resource identities, and expected end state;
|
|
23
|
+
- exact agent/model/tool settings and a fingerprint of the complete skill package,
|
|
24
|
+
including `SKILL.md`, references, scripts, and assets—not only the entrypoint;
|
|
25
|
+
- ordered required check IDs with binary pass conditions;
|
|
26
|
+
- direct proof source for each check;
|
|
27
|
+
- explicitly permitted degraded modes, fallbacks, or gaps;
|
|
28
|
+
- resource, write, submission, launch, and execution budgets;
|
|
29
|
+
- safety containment, evidence preservation, and cleanup/rollback obligations as
|
|
30
|
+
separate checks, including their ordering and authorization;
|
|
31
|
+
- unknown-outcome and retry policy;
|
|
32
|
+
- promotion rule and the host component that computes the verdict.
|
|
33
|
+
|
|
34
|
+
A prose goal plus an agent-authored report is not a fixed field contract. The acting
|
|
35
|
+
agent must not get to redefine success after seeing platform behavior.
|
|
36
|
+
|
|
37
|
+
### Safety closeout is independent of business acceptance
|
|
38
|
+
|
|
39
|
+
Distinguish reversible safety containment from evidence-destroying cleanup. After target
|
|
40
|
+
and effect reconciliation, perform containment within existing approval independently of
|
|
41
|
+
business-output decoding; then re-read the actual safety state. If authorization is absent,
|
|
42
|
+
request the exact bounded action and report the remaining risk—do not infer permission.
|
|
43
|
+
Preserve needed evidence before authorized deletion or other evidence-destroying cleanup.
|
|
44
|
+
If evidence preservation and immediate containment conflict, follow the predeclared safety
|
|
45
|
+
policy or escalate; neither silently discard evidence nor leave exposure unreported.
|
|
46
|
+
A safe end state does not pass the business gate, and failed business proof does not cancel
|
|
47
|
+
an independently authorized safety obligation. The owning runner/controller must enforce
|
|
48
|
+
this separation even when report parsing fails; skill prose alone cannot guarantee it.
|
|
49
|
+
|
|
50
|
+
## 2. Enforce the verdict outside the acting agent
|
|
51
|
+
|
|
52
|
+
The execution agent may collect evidence and return each fixed check, but a controller
|
|
53
|
+
or deterministic reviewer should validate:
|
|
54
|
+
|
|
55
|
+
- every required check ID is present exactly once and in the registered order;
|
|
56
|
+
- every required value is a real Boolean and is true for a pass;
|
|
57
|
+
- no unexpected check silently replaces a required one;
|
|
58
|
+
- no unknown mutation or run outcome remains;
|
|
59
|
+
- every allowed mutation and resource count stayed within scope;
|
|
60
|
+
- temporary resources were reconciled and cleaned up;
|
|
61
|
+
- the claimed evidence comes from the required observation boundary;
|
|
62
|
+
- the report's gap status is permitted by the frozen contract.
|
|
63
|
+
|
|
64
|
+
The host computes the aggregate verdict. An agent-written `passed` or
|
|
65
|
+
`passed_with_gap` field is evidence to validate, not authority.
|
|
66
|
+
|
|
67
|
+
Independence means a different causal observation path, not another success flag. A writer
|
|
68
|
+
and verifier can share the same erroneous intermediate and agree on the wrong value. Bind
|
|
69
|
+
storage checks to the original request, exact keys and field types; predeclare transition
|
|
70
|
+
cases whose before-states can actually falsify the claim. A value already null cannot
|
|
71
|
+
prove that a concrete value was cleared. Multiple offline assertions are not independent
|
|
72
|
+
native observations, and final loop snapshots need not describe all earlier iterations.
|
|
73
|
+
|
|
74
|
+
For confidentiality claims, identify the first persistence boundary before running the
|
|
75
|
+
experiment. Sensitive values may reach response variables or controller logs before later
|
|
76
|
+
sanitization. Use source evidence or explicitly approved isolated synthetic canaries, not
|
|
77
|
+
real secrets, to test that boundary. Inactive creation and runtime acceptance are separate.
|
|
78
|
+
|
|
79
|
+
## 3. Count the complete causal execution tree
|
|
80
|
+
|
|
81
|
+
Budget the real side effects, not only top-level commands. One form submission,
|
|
82
|
+
webhook launch, schedule occurrence, or parent-process run may create several process
|
|
83
|
+
instances through awaited subprocesses or nested normalizers.
|
|
84
|
+
|
|
85
|
+
Record separately:
|
|
86
|
+
|
|
87
|
+
- external submissions or trigger deliveries;
|
|
88
|
+
- top-level process instances;
|
|
89
|
+
- child and nested process instances;
|
|
90
|
+
- data writes and affected business keys;
|
|
91
|
+
- created, edited, enabled, disabled, and deleted resources;
|
|
92
|
+
- generated files, notifications, and external calls.
|
|
93
|
+
|
|
94
|
+
A budget that says “one run” while ignoring its child instances is ambiguous and
|
|
95
|
+
cannot support a reliable cost or safety claim.
|
|
96
|
+
Unknown counts remain unknown: null is not zero, and absence of a declared child path
|
|
97
|
+
is not direct evidence that no child executed.
|
|
98
|
+
|
|
99
|
+
## 4. Treat gaps as predeclared design choices
|
|
100
|
+
|
|
101
|
+
A required outcome that fails is not converted into a gap merely because adjacent
|
|
102
|
+
behavior worked or the platform limitation is understandable.
|
|
103
|
+
|
|
104
|
+
A field phase may pass with a gap only when all of the following were registered
|
|
105
|
+
before execution:
|
|
106
|
+
|
|
107
|
+
1. the specific degraded mode is permitted;
|
|
108
|
+
2. the permitted fallback is bounded;
|
|
109
|
+
3. the fallback proves the user-relevant outcome at the same observation boundary;
|
|
110
|
+
4. safety and cleanup constraints still pass;
|
|
111
|
+
5. the final report names the missing native capability without implying it worked.
|
|
112
|
+
|
|
113
|
+
Otherwise the phase is blocked or failed. Discovery of a platform limitation is
|
|
114
|
+
valuable evidence, but it is not completion of the missing acceptance criterion.
|
|
115
|
+
|
|
116
|
+
Keep phase-local and aggregate verdicts distinct. A phase verdict covers only that
|
|
117
|
+
phase's frozen obligations and newly observed outcomes. An approved gap from an earlier
|
|
118
|
+
phase remains in project lineage or the aggregate report; it does not force every later
|
|
119
|
+
phase to report `passed_with_gap`. Conversely, a new local failure cannot be hidden as
|
|
120
|
+
an inherited gap. Host code should compute and preserve both verdict scopes separately.
|
|
121
|
+
|
|
122
|
+
## 5. Remediate without rewriting history
|
|
123
|
+
|
|
124
|
+
A verifier/parser error does not by itself establish that the action failed; a valid
|
|
125
|
+
observation of a missing required effect can. First ask whether existing attributable evidence
|
|
126
|
+
can answer the missing check without another execution. Reuse it
|
|
127
|
+
only when identity, input/version, observation boundary and freshness fit that claim.
|
|
128
|
+
A historical runtime result cannot prove current configuration or safety state after drift.
|
|
129
|
+
If evidence is insufficient, name the missing observation boundary; additional execution
|
|
130
|
+
still needs a separately approved budget. An observation-contract repair produces a new
|
|
131
|
+
attributable result, not an overwritten failure or silent relaxation of frozen checks.
|
|
132
|
+
|
|
133
|
+
When a field gate misses a required outcome:
|
|
134
|
+
|
|
135
|
+
1. preserve the original report, logs, IDs, screenshots, and before/after evidence;
|
|
136
|
+
2. classify the cause: domain assumption, skill instruction, source-owned reference,
|
|
137
|
+
tool/runtime, platform capability, observation method, or field-contract defect;
|
|
138
|
+
3. write a separately approved versioned remediation contract with a narrower mutation
|
|
139
|
+
and execution budget;
|
|
140
|
+
4. generate stable non-secret business keys before any retryable operation;
|
|
141
|
+
5. re-read current state and save pre-edit snapshots;
|
|
142
|
+
6. repair the smallest responsible layer;
|
|
143
|
+
7. rerun only the missing acceptance claim, never a successful destructive claim for
|
|
144
|
+
cosmetic extra evidence;
|
|
145
|
+
8. reconcile unknown outcomes before another submit, launch, write, or run;
|
|
146
|
+
9. let deterministic host code validate remediation reports and promote the original
|
|
147
|
+
phase only after all required checks pass;
|
|
148
|
+
10. archive the pre-remediation report and disclose the additional cost and mutations.
|
|
149
|
+
|
|
150
|
+
Credential exposure is monotonic for the exposed credential. Deleting a file, masking
|
|
151
|
+
a screenshot, or redacting a transcript copy does not make a completed
|
|
152
|
+
`no_secret_exposure` check true. Preserve the incident, revoke or rotate the credential
|
|
153
|
+
under a separately approved remediation, prove the old value is rejected and the new
|
|
154
|
+
value is distributed only through approved boundaries, invalidate stale exports or
|
|
155
|
+
reports, and then compute a new attributable promotion result.
|
|
156
|
+
|
|
157
|
+
Never edit the old report in place to pretend the first attempt passed. Promotion is a
|
|
158
|
+
new, attributable result built on preserved evidence.
|
|
159
|
+
|
|
160
|
+
Separate approval recording, checkpoint eligibility and execution receipts. A controller
|
|
161
|
+
must bind one approval to the exact phase, payload and reconciled before-state; recording
|
|
162
|
+
approval before discovering an ineligible checkpoint does not establish a completed action
|
|
163
|
+
or permission to replay another phase. Repeated manual archive/resume recipes belong in a
|
|
164
|
+
source-owned state machine with adversarial tests, not ever-longer skill instructions.
|
|
165
|
+
|
|
166
|
+
## 6. Route each lesson to the correct reusable layer
|
|
167
|
+
|
|
168
|
+
Do not turn every field incident into more top-level skill prose.
|
|
169
|
+
|
|
170
|
+
| Signal | Durable home |
|
|
171
|
+
|---|---|
|
|
172
|
+
| Stable platform/API semantic | Source-owned tool description or domain reference |
|
|
173
|
+
| Repeated deterministic construction error | Builder, schema, validator, lint, or script |
|
|
174
|
+
| General operational decision | Domain skill core or progressive reference |
|
|
175
|
+
| Evaluation/field-gate integrity defect | Meta-skill standard and controller test |
|
|
176
|
+
| Project-specific ID, title, payload, or workaround | Versioned field contract/evidence only |
|
|
177
|
+
| One unexplained observation | Preserve as provisional evidence; do not generalize yet |
|
|
178
|
+
|
|
179
|
+
Prefer a source-owned correction over duplication. Link to it from the skill when the
|
|
180
|
+
agent must change a decision, but do not copy volatile schemas into several places.
|
|
181
|
+
|
|
182
|
+
Separate repaired artifact proof from causal skill improvement. A successful typed-null
|
|
183
|
+
workaround after simultaneous script/mapping/instruction edits demonstrates that bounded
|
|
184
|
+
artifact outcome, not which skill edit caused it. Freeze sanitized incident cases in a
|
|
185
|
+
separate development corpus; preserve formal holdouts and historical failures. A changed
|
|
186
|
+
reference changes the skill package and needs fresh fingerprint-bound evaluation before
|
|
187
|
+
new release or superiority claims. Do not relabel old field passes as evidence for new bytes.
|
|
188
|
+
|
|
189
|
+
## 7. Avoid case-specific overfitting
|
|
190
|
+
|
|
191
|
+
Before changing a reusable skill, ask:
|
|
192
|
+
|
|
193
|
+
- Is the observation supported by a live schema, source, repeated trajectory, or a
|
|
194
|
+
controlled counterexample?
|
|
195
|
+
- Does the proposed instruction change a recurring decision rather than narrate one
|
|
196
|
+
project's history?
|
|
197
|
+
- Is this actually a skill issue, or can a tool/schema/controller enforce it better?
|
|
198
|
+
- Can the rule be stated without workspace IDs, project titles, one-off evidence keys,
|
|
199
|
+
or exact remediation filenames?
|
|
200
|
+
- Which baseline success could the new rule break?
|
|
201
|
+
- What targeted regression case will prove the rule without making the full skill more
|
|
202
|
+
specific to this incident?
|
|
203
|
+
|
|
204
|
+
A useful field lesson should become a small invariant, validator, or source-owned
|
|
205
|
+
reference. The detailed incident remains in evidence, not in the always-loaded skill.
|
|
206
|
+
|
|
207
|
+
Express the candidate rule as trigger → decision → limit. Add a structurally similar case
|
|
208
|
+
in a different domain and a counterexample where it must not apply, alongside a preserved
|
|
209
|
+
baseline success. If transfer requires the original field names or workaround, keep it
|
|
210
|
+
local or provisional. These are development cases, not transfer-performance evidence;
|
|
211
|
+
measured generalization still requires fresh held-out observations. Reject a new paragraph
|
|
212
|
+
when an existing rule already covers the decision; repair routing or enforcement instead.
|
|
213
|
+
|
|
214
|
+
## 8. Minimum field release record
|
|
215
|
+
|
|
216
|
+
Record:
|
|
217
|
+
|
|
218
|
+
- frozen contract/version and required check IDs;
|
|
219
|
+
- complete skill-package fingerprint plus model/tool settings;
|
|
220
|
+
- target and stable IDs, with secrets removed;
|
|
221
|
+
- model/client/tool versions when they affect execution;
|
|
222
|
+
- permitted gaps and actual gaps;
|
|
223
|
+
- phase-local verdicts and the separately computed aggregate/project verdict;
|
|
224
|
+
- exact mutation and full causal execution counts;
|
|
225
|
+
- direct proof per required check;
|
|
226
|
+
- unknown outcomes and reconciliation evidence;
|
|
227
|
+
- temporary-resource cleanup;
|
|
228
|
+
- credential exposures, revocation/rotation evidence, and stale-artifact invalidation;
|
|
229
|
+
- original and remediated reports when remediation occurred;
|
|
230
|
+
- source-owned documentation or code changes derived from the field evidence;
|
|
231
|
+
- residual limits and claims deliberately not made.
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
# Skill optimization protocol
|
|
2
|
+
|
|
3
|
+
Use this reference when a skill already exists or when the initial design is strong enough to enter formal iterative optimization.
|
|
4
|
+
|
|
5
|
+
## Contents
|
|
6
|
+
|
|
7
|
+
1. Optimization contract
|
|
8
|
+
2. Data and split discipline
|
|
9
|
+
3. Outcome vector
|
|
10
|
+
4. Trajectory collection
|
|
11
|
+
5. Contrastive diagnosis
|
|
12
|
+
6. Candidate generation
|
|
13
|
+
7. Bounded textual learning rate
|
|
14
|
+
8. Validation promotion
|
|
15
|
+
9. Rejected-edit memory and plateau handling
|
|
16
|
+
10. Statistical interpretation
|
|
17
|
+
11. No-ground-truth evaluation
|
|
18
|
+
12. Transfer and field proof
|
|
19
|
+
13. Reproducible controller
|
|
20
|
+
|
|
21
|
+
## 1. Optimization contract
|
|
22
|
+
|
|
23
|
+
Treat the skill package as external trainable state for a frozen target agent. Keep the target model, tool surface, system instructions, generation settings, and evaluator fixed during one experiment unless the experiment explicitly studies transfer.
|
|
24
|
+
|
|
25
|
+
Freeze before optimization:
|
|
26
|
+
|
|
27
|
+
- immutable baseline package and fingerprint;
|
|
28
|
+
- target task distribution and exclusions;
|
|
29
|
+
- train, validation, test, and field ownership;
|
|
30
|
+
- primary metric and direction;
|
|
31
|
+
- hard correctness, safety, permission, privacy, and collision constraints;
|
|
32
|
+
- secondary token, latency, tool-call, and maintenance costs;
|
|
33
|
+
- minimum meaningful effect;
|
|
34
|
+
- edit budget and allowed paths;
|
|
35
|
+
- maximum rounds, plateau limit, and infrastructure retry policy;
|
|
36
|
+
- fixed behavioral rubrics and evaluator version.
|
|
37
|
+
|
|
38
|
+
Changing one of these creates a new experiment. Do not reinterpret an old run under a new contract.
|
|
39
|
+
|
|
40
|
+
## 2. Data and split discipline
|
|
41
|
+
|
|
42
|
+
Use four logically distinct evidence sets:
|
|
43
|
+
|
|
44
|
+
| Set | Purpose | Permitted use |
|
|
45
|
+
|---|---|---|
|
|
46
|
+
| Train | discover failure modes and generate edit hypotheses | may be inspected repeatedly |
|
|
47
|
+
| Validation | decide whether a candidate replaces the current best | scores may be used for promotion; case content should not drive hand-written patching |
|
|
48
|
+
| Test | estimate final generalization after candidate selection | inspect once per final candidate; never optimize on it |
|
|
49
|
+
| Field | verify real tools, artifacts, side effects, and user outcomes | controlled execution with approval and cleanup |
|
|
50
|
+
|
|
51
|
+
Split by causal family rather than random text alone. Paraphrases, near-duplicate incidents, shared source documents, and variants of the same underlying task belong in one split. Keep a split manifest and fingerprint.
|
|
52
|
+
|
|
53
|
+
Do not place rubrics, expected answers, evaluator rationales, or validation/test outcomes in the skill package. Do not regenerate the split until a new experiment version is declared.
|
|
54
|
+
|
|
55
|
+
## 3. Outcome vector
|
|
56
|
+
|
|
57
|
+
Use lexicographic evaluation rather than a single weighted score:
|
|
58
|
+
|
|
59
|
+
1. **Eligibility:** structural validity, security, required permissions, hard correctness, no forbidden routing collisions, and mandatory field invariants.
|
|
60
|
+
2. **Primary effect:** task success, direct user preference, or another registered outcome.
|
|
61
|
+
3. **Non-regression:** preserve baseline successes and critical subgroups.
|
|
62
|
+
4. **Efficiency:** token use, latency, tool calls, retries, and context loaded.
|
|
63
|
+
5. **Maintainability:** package size, duplicate rules, source freshness, and extension cost.
|
|
64
|
+
|
|
65
|
+
A candidate failing eligibility is rejected even if its average task score is high. Weights may summarize trade-offs among already eligible candidates; they must not compensate for a safety or correctness violation.
|
|
66
|
+
|
|
67
|
+
For each paired item, classify the transition:
|
|
68
|
+
|
|
69
|
+
| Baseline | Candidate | Classification |
|
|
70
|
+
|---|---|---|
|
|
71
|
+
| fail | pass | repair |
|
|
72
|
+
| pass | fail | regression |
|
|
73
|
+
| pass | pass | preserved success |
|
|
74
|
+
| fail | fail | unresolved failure |
|
|
75
|
+
|
|
76
|
+
Publish repair and regression counts, not only the net average.
|
|
77
|
+
|
|
78
|
+
## 4. Trajectory collection
|
|
79
|
+
|
|
80
|
+
For every run preserve a sanitized record of:
|
|
81
|
+
|
|
82
|
+
- case and split identifiers;
|
|
83
|
+
- package, rubric, evaluator, model, harness, and settings fingerprints;
|
|
84
|
+
- selected skill and resources loaded;
|
|
85
|
+
- response, tool calls, errors, retries, and direct observations;
|
|
86
|
+
- criterion booleans and evidence spans;
|
|
87
|
+
- token, latency, and cost measures when available;
|
|
88
|
+
- infrastructure failures kept separate from task failures.
|
|
89
|
+
|
|
90
|
+
Use fresh contexts. Interleave baseline and candidate runs through opaque labels so provider drift and load do not align with one variant. Checkpoint each completed observation.
|
|
91
|
+
|
|
92
|
+
Collect successful trajectories as actively as failures. An optimizer that sees only failure examples tends to add rules that repair narrow cases while damaging concise successful behavior.
|
|
93
|
+
|
|
94
|
+
## 5. Contrastive diagnosis
|
|
95
|
+
|
|
96
|
+
Before editing, compare at least these groups:
|
|
97
|
+
|
|
98
|
+
- baseline success versus baseline failure;
|
|
99
|
+
- repaired failure versus unresolved failure;
|
|
100
|
+
- preserved success versus candidate regression;
|
|
101
|
+
- low-cost success versus high-cost success;
|
|
102
|
+
- near-success versus hard failure.
|
|
103
|
+
|
|
104
|
+
Extract the smallest repeated difference that could causally alter a decision. State one intervention hypothesis:
|
|
105
|
+
|
|
106
|
+
```text
|
|
107
|
+
When <observable cue>, the agent currently <failure behavior> because <supported mechanism>.
|
|
108
|
+
Changing <specific instruction/resource/control> should produce <observable state> without breaking <named baseline successes>.
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Reject diagnoses that merely restate the score, rely on one anecdote, or propose adding generic caution everywhere. Attribute tool, environment, observation, or evaluator defects to their own layer.
|
|
112
|
+
|
|
113
|
+
## 6. Candidate generation
|
|
114
|
+
|
|
115
|
+
For the first design or a major boundary failure, compare structurally different candidates. After a coherent base exists, generate local alternatives around one causal hypothesis.
|
|
116
|
+
|
|
117
|
+
Candidate operations are:
|
|
118
|
+
|
|
119
|
+
- **add:** introduce a missing discriminator, invariant, handoff, or proof requirement;
|
|
120
|
+
- **delete:** remove misleading, redundant, over-broad, or costly content;
|
|
121
|
+
- **replace:** substitute a more precise decision rule, example, resource route, or executable control;
|
|
122
|
+
- **move:** shift conditional detail from the always-loaded body into a direct reference or script;
|
|
123
|
+
- **split/merge:** redesign portfolio ownership only when routing evidence requires it.
|
|
124
|
+
|
|
125
|
+
Prefer deletion, replacement, and structural enforcement over accumulation. Generate at least one minimal candidate. More candidates are useful only when the validation process accounts for the larger search.
|
|
126
|
+
|
|
127
|
+
## 7. Bounded textual learning rate
|
|
128
|
+
|
|
129
|
+
Every candidate proposal must declare:
|
|
130
|
+
|
|
131
|
+
- parent fingerprint;
|
|
132
|
+
- hypothesis and affected cases;
|
|
133
|
+
- files permitted to change;
|
|
134
|
+
- added, deleted, and total changed-line limits;
|
|
135
|
+
- forbidden paths, especially formal evaluation data;
|
|
136
|
+
- expected repair and protected successes;
|
|
137
|
+
- rollback condition.
|
|
138
|
+
|
|
139
|
+
Use a small budget after each round. If the required edit exceeds the budget, stop and classify the need as a redesign rather than silently expanding the patch.
|
|
140
|
+
|
|
141
|
+
Never let the optimizer modify validation/test cases, rubrics, thresholds, evaluator code, or the result parser in the same experiment. Harness optimization is a separate experiment with its own immutable counterfactual.
|
|
142
|
+
|
|
143
|
+
## 8. Validation promotion
|
|
144
|
+
|
|
145
|
+
A candidate may replace the current best only when:
|
|
146
|
+
|
|
147
|
+
1. package and security checks pass;
|
|
148
|
+
2. report fingerprints match the candidate, parent, split, rubric, and evaluator;
|
|
149
|
+
3. every hard constraint passes;
|
|
150
|
+
4. primary validation performance strictly exceeds the registered threshold relative to the current best;
|
|
151
|
+
5. protected subgroups and baseline-success retention meet their floors;
|
|
152
|
+
6. secondary costs remain within registered tolerances;
|
|
153
|
+
7. the run contains enough valid paired observations.
|
|
154
|
+
|
|
155
|
+
Compare against the **current best**, not merely the original baseline. Copy the accepted package into a new immutable best snapshot. Never edit the best snapshot in place.
|
|
156
|
+
|
|
157
|
+
A tie is not an improvement unless a pre-registered secondary objective resolves it. Do not lower the threshold after seeing a result.
|
|
158
|
+
|
|
159
|
+
## 9. Rejected-edit memory and plateau handling
|
|
160
|
+
|
|
161
|
+
Record every rejected candidate with:
|
|
162
|
+
|
|
163
|
+
- parent and candidate fingerprints;
|
|
164
|
+
- hypothesis and exact patch summary;
|
|
165
|
+
- validation metrics and hard-constraint failures;
|
|
166
|
+
- repaired and regressed case families;
|
|
167
|
+
- rejection reason;
|
|
168
|
+
- evidence that would justify revisiting the idea.
|
|
169
|
+
|
|
170
|
+
Before generating a proposal, search this ledger for equivalent failed interventions. Reusing a rejected idea requires new evidence, not new wording.
|
|
171
|
+
|
|
172
|
+
Stop when any condition holds:
|
|
173
|
+
|
|
174
|
+
- plateau limit reached;
|
|
175
|
+
- edit or model-call budget exhausted;
|
|
176
|
+
- A/A evaluator noise exceeds the detectable effect;
|
|
177
|
+
- validation gains come only from one overrepresented family;
|
|
178
|
+
- complexity grows faster than task success;
|
|
179
|
+
- remaining failures belong to the tool, data, environment, observation, or evaluator;
|
|
180
|
+
- the final candidate cannot meet a hard constraint.
|
|
181
|
+
|
|
182
|
+
A later meta-update may consolidate repeatedly accepted lessons into a shorter decision model. Validate the consolidation exactly like any other candidate.
|
|
183
|
+
|
|
184
|
+
## 10. Statistical interpretation
|
|
185
|
+
|
|
186
|
+
Use paired analysis because baseline and candidate see the same cases. Report sample size, missing pairs, repairs, regressions, and the paired effect. For binary task success, include a confidence interval for the paired difference and use a matched-pair test such as McNemar's test when inferential claims matter.
|
|
187
|
+
|
|
188
|
+
Do not use significance as the only promotion rule. A tiny but statistically detectable gain may be operationally irrelevant; a large uncertain gain may need more repetitions. Pre-register both a minimum effect and an uncertainty rule appropriate to consequence.
|
|
189
|
+
|
|
190
|
+
When searching many candidates, validation becomes progressively selected. Preserve an untouched final test and disclose candidate count and stopping behavior. Analyze critical subgroups separately rather than trusting a global mean to expose a rare safety regression.
|
|
191
|
+
|
|
192
|
+
## 11. No-ground-truth evaluation
|
|
193
|
+
|
|
194
|
+
When exact answers are unavailable:
|
|
195
|
+
|
|
196
|
+
1. define observable behavioral attributes independently of candidate outputs;
|
|
197
|
+
2. compare baseline and candidate responses under opaque labels;
|
|
198
|
+
3. use multiple independent judgments or a calibrated evaluator where consequence justifies it;
|
|
199
|
+
4. extract criterion-level evidence rather than one holistic score;
|
|
200
|
+
5. gate promotion on held-out validation;
|
|
201
|
+
6. send discordant, ambiguous, and high-consequence pairs to accountable human review.
|
|
202
|
+
|
|
203
|
+
Self-preference by the same model that produced the answer is weak evidence. Pairwise preference is useful only when the preference question, evidence packet, and conflict handling are frozen.
|
|
204
|
+
|
|
205
|
+
## 12. Transfer and field proof
|
|
206
|
+
|
|
207
|
+
After final selection, test the untouched set and at least one adjacent model, client, or harness when portability is claimed. A skill that wins only on one optimizer-model combination may have learned harness-specific cues.
|
|
208
|
+
|
|
209
|
+
Operational skills also require a controlled field task. Record before-state, exact target, approval, execution ID, direct outcome, cleanup, and restored state. Synthetic grades cannot substitute for the actual artifact or external system.
|
|
210
|
+
|
|
211
|
+
## 13. Reproducible controller
|
|
212
|
+
|
|
213
|
+
Use the skill's `optimize_skill.py` helper to enforce local experiment state:
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
python skills/agent-skill-engineer/scripts/optimize_skill.py init \
|
|
217
|
+
--skill-root skills/example \
|
|
218
|
+
--workspace .skill-optimization/example \
|
|
219
|
+
--objective objective.json \
|
|
220
|
+
--baseline-report baseline-validation.json
|
|
221
|
+
|
|
222
|
+
python skills/agent-skill-engineer/scripts/optimize_skill.py stage \
|
|
223
|
+
--workspace .skill-optimization/example \
|
|
224
|
+
--candidate-root work/candidate \
|
|
225
|
+
--hypothesis "Replace the ambiguous retry rule with unknown-outcome reconciliation"
|
|
226
|
+
|
|
227
|
+
python skills/agent-skill-engineer/scripts/optimize_skill.py decide \
|
|
228
|
+
--workspace .skill-optimization/example \
|
|
229
|
+
--candidate-id c0001 \
|
|
230
|
+
--report c0001-validation.json
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
The controller does not invent edits or score model responses. It checks snapshots, path allowlists, bounded diffs, report fingerprints and held-out promotion, and records rejected candidates. Final test separation needs the external one-shot custody in `references/optimizer-contract.md`: the helper permits final-report resubmission and overwrites, so it does not enforce an untouched single final test.
|