Files
Waleed 66eaa704a5 improvement(workflow-code): round 11 audit — fix found bugs, remove dead and compatibility code, one home for shared rules (#10379)
* chore(workflow-code): round 11 package fixes for workflow-code, workflow-sdk and workspace-code

- compile: keep refs to unknown outputs out of W_JSON_REF_UNTYPED past the warning cap
- babelMessage lives in babel.ts and strips (line:column) from code-file syntax errors
- SDK_MAJOR defined once in workflow-code/sdk; workspace-code and the CLI starter use it
- drop SPECIAL_BUILDER_KEYS, dead subflow edge branches, duplicate env/stored/key helpers
- isModelField, RESOURCE_KEY_HINT, isStoredCall shared; casts narrowed
- builder snippets fill McpServerRef, FolderRef and FileRef params
- doc fixes: MCP url identity, auth schemes, not-executable message, limits and TSDoc

* chore(workflow-code): server lane — dedupe source refusals, shared refusal codes, human subject for source scope, drop legacy-id catalog projection, doc fixes

* chore(workflow-code): cli lock, workspace binding and exit-code help from one table

- workflow check and status hold the command lock (read-only), so they never read a
  directory an apply or get is rewriting; check help names exit 10
- recordedWorkspace binds check, create and params to the workspace a directory records
- workspace check: no login keeps its AUTH_REQUIRED refusal (exit 13); drop requireCachedCatalog
- typeCheckWorkspace shared by the workspace check and a workflow folder check
- status commands declare no apply operation
- every source command's exit-code help built from the one table, status included
- drop renamedVariables; reword apply's workflowId argument, name SOURCE_WORKFLOW_MISMATCH
- workspace get never exits 7; INTERRUPTED_EXIT_CODE defined once

* chore(workflow-code): the workflow guide's file-shape example names the SDK major from its constant

* chore(workflow-code): simplify round 11 — the reporter records where each code was reported, one env-name pattern, one createdBy, recordedWorkspace reads the flag

* test(workflow-code): the warning-cap test derives its count from FINDING_LIMITS and asserts the cap was hit

* fix(workflow-code): status help names exit 9, a 429 that outlasts the retries
2026-11-24 12:36:35 -08:00
..