@aifabrix/builder 2.52.1 → 2.53.1
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/lib/app/deploy-config.js +3 -2
- package/lib/channels/add-channel.js +11 -41
- package/lib/channels/approval-guides/index.js +3 -0
- package/lib/channels/approval-guides/microsoft-copilot.js +26 -17
- package/lib/channels/channel-add-existing.js +72 -0
- package/lib/channels/channel-runtime-resolver.js +5 -1
- package/lib/channels/channel-status-display.js +30 -3
- package/lib/channels/microsoft-copilot-entra-sso-form.js +73 -2
- package/lib/channels/microsoft-copilot-entra-sso.js +26 -5
- package/lib/channels/microsoft-copilot-limits.js +22 -3
- package/lib/channels/microsoft-copilot-package.js +59 -14
- package/lib/channels/microsoft-copilot-validate.js +40 -10
- package/lib/cli/attach-default-help-examples.js +102 -0
- package/lib/cli/index.js +2 -0
- package/lib/cli/setup-credential-deployment.js +7 -5
- package/lib/cli/setup-utility-validate.js +1 -0
- package/lib/commands/credential-push.js +37 -5
- package/lib/commands/package-score.js +72 -0
- package/lib/commands/role-assistant.js +46 -8
- package/lib/deployment/deployer-poll-run.js +2 -2
- package/lib/deployment/deployer.js +1 -1
- package/lib/deployment/environment.js +2 -2
- package/lib/external-system/deploy.js +11 -21
- package/lib/integration-definition/apply.js +12 -14
- package/lib/integration-definition/enrich-openapi-operations.js +9 -10
- package/lib/lab/package-parity-score.js +417 -0
- package/lib/programmatic/capability-registry.js +1 -0
- package/lib/programmatic/help-content/channel-onboarding.md +35 -0
- package/lib/programmatic/help-content/cip-overview.md +27 -0
- package/lib/programmatic/help-content/connected-system-ui.md +70 -0
- package/lib/programmatic/help-content/dimensions-guide.md +23 -0
- package/lib/programmatic/help-content/enterprise-sync-fabrix.md +123 -0
- package/lib/programmatic/help-content/overview.md +25 -0
- package/lib/programmatic/help-content/subscription-guide.md +27 -0
- package/lib/programmatic/help-content/workflow.md +50 -0
- package/lib/programmatic/openapi-component-schemas.js +1 -0
- package/lib/programmatic/openapi-descriptions.js +6 -0
- package/lib/programmatic/openapi-envelope-examples.js +11 -0
- package/lib/programmatic/openapi-operation-bindings.js +5 -0
- package/lib/programmatic/openapi-request-schemas.js +39 -13
- package/lib/programmatic/openapi-result-schemas.js +30 -0
- package/lib/programmatic/openapi-schema-descriptions-core.js +18 -0
- package/lib/programmatic/openapi-schema-descriptions-operations.js +19 -0
- package/lib/programmatic/persist-supplied-openapi.js +180 -0
- package/lib/programmatic/route-handler-map.js +6 -0
- package/lib/programmatic/run-integration-definition.js +13 -5
- package/lib/role-assistant/evidence-sync.js +55 -7
- package/lib/role-assistant/test-runner-attachments.js +118 -0
- package/lib/role-assistant/test-runner-bid-apply.js +100 -21
- package/lib/role-assistant/test-runner-bid-document.js +1 -1
- package/lib/role-assistant/test-runner-start-payload.js +96 -0
- package/lib/role-assistant/test-runner-workhub-answers.js +11 -7
- package/lib/role-assistant/test-runner-workhub-helpers.js +100 -0
- package/lib/role-assistant/test-runner-workhub-soft.js +86 -0
- package/lib/role-assistant/test-runner-workhub.js +68 -105
- package/lib/role-assistant/test-runner.js +5 -63
- package/lib/role-assistant/test-suite.js +33 -40
- package/lib/schema/external-datasource.schema.json +13 -4
- package/lib/utils/compose-generator.js +10 -1
- package/lib/utils/compose-traefik-extra-routes.js +107 -0
- package/lib/utils/docker-build.js +2 -2
- package/lib/utils/help-builder.js +2 -1
- package/lib/utils/promote-dev-docker-image.js +15 -10
- package/package.json +14 -16
- package/templates/README.md +12 -1
- package/templates/applications/dataplane/application.yaml +8 -1
- package/templates/applications/dataplane/env.template +1 -1
- package/templates/applications/miso-controller/application.yaml +2 -1
- package/templates/applications/miso-controller/rbac.yaml +1 -0
- package/templates/channels/microsoft-copilot/ai-plugin.template.json.hbs +6 -2
- package/templates/channels/microsoft-copilot/entra-sso-registration.template.md.hbs +8 -5
- package/templates/channels/microsoft-copilot/fi-fi.template.json.hbs +7 -0
- package/templates/channels/microsoft-copilot/install.template.md.hbs +74 -22
- package/templates/channels/microsoft-copilot/manifest.template.json.hbs +29 -14
- package/templates/channels/microsoft-copilot/oauth-plugin-vault-required.template.md.hbs +6 -2
- package/templates/python/docker-compose.hbs +36 -0
- package/templates/typescript/docker-compose.hbs +36 -0
- package/.cursor/plans/Archive/157.1-security-quality-violations-by-type.csv +0 -374
- package/.cursor/process/README.md +0 -9
- package/.cursor/rules/anchor-docs.mdc +0 -15
- package/.cursor/rules/assistant-driven-integration-build.mdc +0 -40
- package/.cursor/rules/cli-layout.mdc +0 -81
- package/.cursor/rules/cli-product-neutral.mdc +0 -43
- package/.cursor/rules/deploy-rules/docker-image-ip-policy.mdc +0 -49
- package/.cursor/rules/docs-rules.mdc +0 -32
- package/.cursor/rules/plan-rules/application-lifecycle.mdc +0 -30
- package/.cursor/rules/plan-rules/plan-frontmatter.mdc +0 -35
- package/.cursor/rules/plan-rules/plan-lifecycle.mdc +0 -31
- package/.cursor/rules/plan-rules/plan-validation-gate.mdc +0 -34
- package/.cursor/rules/project-rules.mdc +0 -913
- package/.cursor/skills/README.md +0 -15
- package/.dockerignore +0 -52
- package/.eslintignore +0 -22
- package/.markdownlint.json +0 -14
- package/anchor-docs/README.md +0 -10
- package/anchor-docs/_TEMPLATE +0 -24
- package/babel.config.js +0 -6
- package/bin/builder-api-cleanup.js +0 -26
- package/bin/builder-api-nest.js +0 -10
- package/bin/builder-api-spike.js +0 -19
- package/enterprise-knowledge/README.md +0 -50
- package/enterprise-knowledge/enterprise-integration-lifecycle/README.md +0 -22
- package/enterprise-knowledge/enterprise-integration-lifecycle/application.json +0 -15
- package/enterprise-knowledge/enterprise-integration-lifecycle/deploy.js +0 -69
- package/enterprise-knowledge/enterprise-integration-lifecycle/enterprise-integration-lifecycle-deploy.json +0 -52
- package/enterprise-knowledge/enterprise-integration-lifecycle/enterprise-integration-lifecycle-system.json +0 -29
- package/enterprise-knowledge/enterprise-integration-lifecycle/env.template +0 -2
- package/integration/README.md +0 -81
- package/integration/github/README.md +0 -53
- package/integration/github/application.json +0 -21
- package/integration/github/deploy.js +0 -72
- package/integration/github/env.template +0 -11
- package/integration/github/github-datasource-issue-comments.json +0 -239
- package/integration/github/github-datasource-issues.json +0 -399
- package/integration/github/github-datasource-repository.json +0 -354
- package/integration/github/github-deploy.json +0 -1202
- package/integration/github/github-system.json +0 -82
- package/integration/hubspot-test/README.md +0 -159
- package/integration/hubspot-test/application.json +0 -54
- package/integration/hubspot-test/companies.json +0 -2048
- package/integration/hubspot-test/create-hubspot.js +0 -523
- package/integration/hubspot-test/env.template +0 -4
- package/integration/hubspot-test/hubspot-test-datasource-company.json +0 -138
- package/integration/hubspot-test/hubspot-test-datasource-contact.json +0 -146
- package/integration/hubspot-test/hubspot-test-datasource-deal.json +0 -146
- package/integration/hubspot-test/hubspot-test-datasource-users.json +0 -76
- package/integration/hubspot-test/hubspot-test-deploy.json +0 -2160
- package/integration/hubspot-test/hubspot-test-system.json +0 -74
- package/integration/hubspot-test/rbac.json +0 -166
- package/integration/hubspot-test/test-artifacts/wizard-hubspot-credential-real.yaml +0 -20
- package/integration/hubspot-test/test-artifacts/wizard-hubspot-env-vars.yaml +0 -9
- package/integration/hubspot-test/test-artifacts/wizard-invalid-add-datasource.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-invalid-app-name.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-invalid-credential-create.yaml +0 -7
- package/integration/hubspot-test/test-artifacts/wizard-invalid-credential-select.yaml +0 -7
- package/integration/hubspot-test/test-artifacts/wizard-invalid-known-platform.yaml +0 -4
- package/integration/hubspot-test/test-artifacts/wizard-invalid-missing-app.yaml +0 -4
- package/integration/hubspot-test/test-artifacts/wizard-invalid-missing-source.yaml +0 -2
- package/integration/hubspot-test/test-artifacts/wizard-invalid-mode.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-invalid-openapi-file.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-invalid-openapi-url.yaml +0 -4
- package/integration/hubspot-test/test-artifacts/wizard-invalid-source.yaml +0 -4
- package/integration/hubspot-test/test-artifacts/wizard-valid-for-dimension-array-test.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-valid-for-dimension-key-test.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-valid-for-dimension-path-test.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-valid-for-dimension-test.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-valid-for-rbac-test.yaml +0 -5
- package/integration/hubspot-test/test-artifacts/wizard-valid-for-rbac-yaml-test.yaml +0 -5
- package/integration/hubspot-test/test-dataplane-down-helpers.js +0 -249
- package/integration/hubspot-test/test-dataplane-down-tests.js +0 -386
- package/integration/hubspot-test/test-dataplane-down.js +0 -209
- package/integration/hubspot-test/test.js +0 -1588
- package/integration/hubspot-test/wizard-hubspot-e2e.yaml +0 -16
- package/integration/hubspot-test/wizard-hubspot-platform.yaml +0 -8
- package/integration/hubspot-test/wizard-hubspot-test-headless.yaml +0 -23
- package/integration/roundtrip-test-local/README.md +0 -143
- package/integration/roundtrip-test-local/application.yaml +0 -13
- package/integration/roundtrip-test-local/env.template +0 -15
- package/integration/roundtrip-test-local/roundtrip-test-local-datasource-roundtrip-test-company.yaml +0 -14
- package/integration/roundtrip-test-local/roundtrip-test-local-deploy.json +0 -61
- package/integration/roundtrip-test-local/roundtrip-test-local-system.yaml +0 -25
- package/integration/roundtrip-test-local2/README.md +0 -143
- package/integration/roundtrip-test-local2/application.yaml +0 -13
- package/integration/roundtrip-test-local2/env.template +0 -15
- package/integration/roundtrip-test-local2/roundtrip-test-local2-datasource-company.yaml +0 -31
- package/integration/roundtrip-test-local2/roundtrip-test-local2-deploy.json +0 -86
- package/integration/roundtrip-test-local2/roundtrip-test-local2-system.yaml +0 -25
- package/integration/test/wizard.yaml +0 -8
- package/jest.config.coverage.js +0 -37
- package/jest.config.default.js +0 -11
- package/jest.config.integration.fixtures.js +0 -22
- package/jest.config.integration.js +0 -33
- package/jest.config.isolated.js +0 -11
- package/jest.config.manual.js +0 -30
- package/jest.global-live-fabrix-hooks.js +0 -36
- package/jest.isolated-projects.js +0 -283
- package/jest.projects.js +0 -79
- package/lib/integration-definition/openapi-enrichment/hubspot-crm-companies.json +0 -205
- package/packages/builder-api/README.md +0 -120
- package/packages/builder-api/package.json +0 -30
- package/packages/builder-api/src/app.module.ts +0 -7
- package/packages/builder-api/src/auth/auth.module.ts +0 -5
- package/packages/builder-api/src/external-system/external-system.module.ts +0 -5
- package/packages/builder-api/src/main.ts +0 -16
- package/packages/builder-api/tsconfig.json +0 -15
- package/scripts/check-builder-api-architecture-grep.js +0 -79
- package/scripts/check-datasource-test-run-schema-sync.js +0 -34
- package/scripts/ci-fix.sh +0 -19
- package/scripts/ci-simulate.sh +0 -19
- package/scripts/diagnose-cli.js +0 -150
- package/scripts/docker_image_content_gate.js +0 -47
- package/scripts/docker_image_content_gate.sh +0 -5
- package/scripts/export-builder-api-evidence.js +0 -262
- package/scripts/install-local.js +0 -490
- package/scripts/lib/builder-api-docker-staging-copy.js +0 -60
- package/scripts/lib/builder-api-docker-staging-core.js +0 -183
- package/scripts/lib/docker-image-content-gate-core.js +0 -166
- package/scripts/lib/plan-actor.js +0 -109
- package/scripts/lib/plan-config.js +0 -20
- package/scripts/lib/plan-gates.js +0 -154
- package/scripts/lib/plan-meta.js +0 -104
- package/scripts/lib/plan-parse.js +0 -162
- package/scripts/lib/plan-prevalidate-gates.js +0 -337
- package/scripts/lib/plan-run-core.js +0 -125
- package/scripts/lib/plan-run-report.js +0 -119
- package/scripts/plan-approve.js +0 -24
- package/scripts/plan-archive.js +0 -49
- package/scripts/plan-run.js +0 -13
- package/scripts/plan-set-actor.js +0 -21
- package/scripts/plan-validate.js +0 -80
- package/scripts/pnpm/af.mjs +0 -125
- package/scripts/pnpm/check-quiet.mjs +0 -32
- package/scripts/pnpm/dev-install.mjs +0 -29
- package/scripts/pnpm/dev-reload.mjs +0 -18
- package/scripts/pnpm/help.mjs +0 -55
- package/scripts/pnpm/lib/dev-reload-core.mjs +0 -189
- package/scripts/pnpm/lib/dev-reload-log-capture.mjs +0 -67
- package/scripts/pnpm/lib/dev-reload-log-utils.mjs +0 -32
- package/scripts/pnpm/lib/resolve-aifabrix-bin.mjs +0 -124
- package/scripts/pnpm/lib/resolve-app-url.mjs +0 -183
- package/scripts/pnpm/lib/spinner.mjs +0 -42
- package/scripts/pnpm-global-remove.js +0 -48
- package/scripts/stage_builder_api_for_docker.js +0 -65
- package/scripts/sync-builder-api-template.js +0 -44
- package/scripts/test-dataplane-bootstrap.js +0 -331
|
@@ -1,374 +0,0 @@
|
|
|
1
|
-
rule_title,location,symbol_or_detail,message,done
|
|
2
|
-
Comparison between inconvertible types,lib/app/certification-verify-rows.js:19,id,"Variable 'id' is of type date, object or regular expression, but it is compared to an expression of type null.",true
|
|
3
|
-
Comparison between inconvertible types,lib/certification/merge-certification-from-artifact.js:16,id,"Variable 'id' is of type date, object or regular expression, but it is compared to an expression of type null.",true
|
|
4
|
-
Comparison between inconvertible types,tests/local/lib/app-run-branch-coverage.test.js:232,error,"Variable 'error' cannot be of type null, but it is compared to an expression of type null.",true
|
|
5
|
-
Identical operands,lib/app/show.js:480,,Operands configD ... Sources and configD ... Sources are identical.,true
|
|
6
|
-
Identical operands,tests/lib/app/app-deploy.test.js:1159,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
7
|
-
Identical operands,tests/lib/generator/generator-validation.test.js:232,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
8
|
-
Identical operands,tests/lib/generator/generator-validation.test.js:285,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
9
|
-
Identical operands,tests/lib/generator/generator.test.js:1372,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
10
|
-
Identical operands,tests/lib/generator/generator.test.js:1376,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
11
|
-
Identical operands,tests/lib/generator/generator.test.js:1416,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
12
|
-
Identical operands,tests/lib/generator/generator.test.js:1420,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
13
|
-
Identical operands,tests/lib/generator/generator.test.js:145,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
14
|
-
Identical operands,tests/lib/generator/generator.test.js:1450,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
15
|
-
Identical operands,tests/lib/generator/generator.test.js:1462,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
16
|
-
Identical operands,tests/lib/generator/generator.test.js:1492,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
17
|
-
Identical operands,tests/lib/generator/generator.test.js:1525,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
18
|
-
Identical operands,tests/lib/generator/generator.test.js:155,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
19
|
-
Identical operands,tests/lib/generator/generator.test.js:1561,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
20
|
-
Identical operands,tests/lib/generator/generator.test.js:1596,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
21
|
-
Identical operands,tests/lib/generator/generator.test.js:1626,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
22
|
-
Identical operands,tests/lib/generator/generator.test.js:1656,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
23
|
-
Identical operands,tests/lib/generator/generator.test.js:1686,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
24
|
-
Identical operands,tests/lib/generator/generator.test.js:1716,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
25
|
-
Identical operands,tests/lib/generator/generator.test.js:1750,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
26
|
-
Identical operands,tests/lib/generator/generator.test.js:1756,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
27
|
-
Identical operands,tests/lib/generator/generator.test.js:1792,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
28
|
-
Identical operands,tests/lib/generator/generator.test.js:1798,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
29
|
-
Identical operands,tests/lib/generator/generator.test.js:1835,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
30
|
-
Identical operands,tests/lib/generator/generator.test.js:1841,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
31
|
-
Identical operands,tests/lib/generator/generator.test.js:1870,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
32
|
-
Identical operands,tests/lib/generator/generator.test.js:1882,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
33
|
-
Identical operands,tests/lib/generator/generator.test.js:1909,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
34
|
-
Identical operands,tests/lib/generator/generator.test.js:1935,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
35
|
-
Identical operands,tests/lib/generator/generator.test.js:1963,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
36
|
-
Identical operands,tests/lib/generator/generator.test.js:1991,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
37
|
-
Identical operands,tests/lib/generator/generator.test.js:2019,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
38
|
-
Identical operands,tests/lib/generator/generator.test.js:2046,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
39
|
-
Identical operands,tests/lib/generator/generator.test.js:2080,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
40
|
-
Identical operands,tests/lib/generator/generator.test.js:2109,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
41
|
-
Identical operands,tests/lib/generator/generator.test.js:2124,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
42
|
-
Identical operands,tests/lib/generator/generator.test.js:2158,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
43
|
-
Identical operands,tests/lib/generator/generator.test.js:2192,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
44
|
-
Identical operands,tests/lib/generator/generator.test.js:2272,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
45
|
-
Identical operands,tests/lib/generator/generator.test.js:2288,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
46
|
-
Identical operands,tests/lib/generator/generator.test.js:2326,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
47
|
-
Identical operands,tests/lib/generator/generator.test.js:252,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
48
|
-
Identical operands,tests/lib/generator/generator.test.js:301,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
49
|
-
Identical operands,tests/lib/generator/generator.test.js:328,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
50
|
-
Identical operands,tests/lib/generator/generator.test.js:332,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
51
|
-
Identical operands,tests/lib/generator/generator.test.js:365,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
52
|
-
Identical operands,tests/lib/generator/generator.test.js:381,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
53
|
-
Identical operands,tests/lib/generator/generator.test.js:387,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
54
|
-
Identical operands,tests/lib/validation/validator.test.js:1008,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
55
|
-
Identical operands,tests/lib/validation/validator.test.js:1014,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
56
|
-
Identical operands,tests/lib/validation/validator.test.js:963,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
57
|
-
Identical operands,tests/lib/validation/validator.test.js:969,,Operands filePat ... .yaml') and filePat ... .yaml') are identical.,true
|
|
58
|
-
Missing await,lib/validation/validator.js:227,validateRoles,,true
|
|
59
|
-
Unneeded defensive code,lib/infrastructure/helpers.js:184,,This guard always evaluates to false.,true
|
|
60
|
-
Unneeded defensive code,lib/infrastructure/helpers.js:184,,This guard always evaluates to false.,true
|
|
61
|
-
Unneeded defensive code,lib/utils/dev-config.js:48,,This guard always evaluates to false.,true
|
|
62
|
-
Unneeded defensive code,lib/utils/dev-config.js:48,,This guard always evaluates to false.,true
|
|
63
|
-
Unneeded defensive code,lib/utils/error-formatters/error-parser.js:28,,This guard always evaluates to false.,true
|
|
64
|
-
Unneeded defensive code,lib/utils/error-formatters/error-parser.js:28,,This guard always evaluates to false.,true
|
|
65
|
-
Unneeded defensive code,tests/lib/utils/token-manager.test.js:1072,,This guard always evaluates to false.,true
|
|
66
|
-
Unneeded defensive code,tests/lib/utils/token-manager.test.js:1075,,This guard always evaluates to false.,true
|
|
67
|
-
"Unused variable, import, function or class",tests/bin/aifabrix.test.js:117,,Unused variable mockSetupCommands.,true
|
|
68
|
-
"Unused variable, import, function or class",tests/bin/aifabrix.test.js:118,,Unused variable mockSetupAppCommands.,true
|
|
69
|
-
"Unused variable, import, function or class",tests/helpers/mock-controller.js:12,,Unused variable axios.,true
|
|
70
|
-
"Unused variable, import, function or class",tests/integration/hubspot/hubspot-integration.test.js:19,,Unused variable validateAgainstSchema.,true
|
|
71
|
-
"Unused variable, import, function or class",tests/integration/hubspot/hubspot-integration.test.js:25,,Unused variable generator.,true
|
|
72
|
-
"Unused variable, import, function or class",tests/integration/steps/step-01-create.test.js:11,,Unused variable fs.,true
|
|
73
|
-
"Unused variable, import, function or class",tests/integration/steps/step-02-dockerfile.test.js:24,,Unused variable port.,true
|
|
74
|
-
"Unused variable, import, function or class",tests/integration/steps/step-03-resolve.test.js:23,,Unused variable port.,true
|
|
75
|
-
"Unused variable, import, function or class",tests/integration/steps/step-04-json.test.js:23,,Unused variable port.,true
|
|
76
|
-
"Unused variable, import, function or class",tests/integration/steps/step-06-build.test.js:21,,Unused variable port.,true
|
|
77
|
-
"Unused variable, import, function or class",tests/integration/steps/step-09-validate-health.test.js:14,,Unused variable execCommand.,true
|
|
78
|
-
"Unused variable, import, function or class",tests/integration/workflow.test.js:29,,Unused variable port.,true
|
|
79
|
-
"Unused variable, import, function or class",tests/lib/api.test.js:33,,Unused variable getOrRefreshDeviceToken.,true
|
|
80
|
-
"Unused variable, import, function or class",tests/lib/app/app-deploy.test.js:14,,Unused variable app.,true
|
|
81
|
-
"Unused variable, import, function or class",tests/lib/app/app-helpers.test.js:383,,Unused variable variablesPath.,true
|
|
82
|
-
"Unused variable, import, function or class",tests/lib/app/app-list.test.js:41,,Unused variable formatAuthenticationError.,true
|
|
83
|
-
"Unused variable, import, function or class",tests/lib/app/app-run-helpers.test.js:105,,Unused variable readFile.,true
|
|
84
|
-
"Unused variable, import, function or class",tests/lib/app/app-run-uncovered.test.js:179,,Unused variable config.,true
|
|
85
|
-
"Unused variable, import, function or class",tests/lib/app/app-run-uncovered.test.js:209,,Unused variable execAsync.,true
|
|
86
|
-
"Unused variable, import, function or class",tests/lib/app/app-run-uncovered.test.js:34,,Unused variable fs.,true
|
|
87
|
-
"Unused variable, import, function or class",tests/lib/app/app.test.js:17,,Unused variable templates.,true
|
|
88
|
-
"Unused variable, import, function or class",tests/lib/app/app.test.js:19,,Unused variable githubGenerator.,true
|
|
89
|
-
"Unused variable, import, function or class",tests/lib/app/app.test.js:20,,Unused variable validator.,true
|
|
90
|
-
"Unused variable, import, function or class",tests/lib/app/app.test.js:21,,Unused variable secrets.,true
|
|
91
|
-
"Unused variable, import, function or class",tests/lib/app/app.test.js:485,,Unused variable execAsync.,true
|
|
92
|
-
"Unused variable, import, function or class",tests/lib/app/show.test.js:62,,Unused variable fs.,true
|
|
93
|
-
"Unused variable, import, function or class",tests/lib/app/show.test.js:75,,Unused variable loadVariablesFromPath.,true
|
|
94
|
-
"Unused variable, import, function or class",tests/lib/cli-additional-branches.test.js:19,,Unused variable app.,true
|
|
95
|
-
"Unused variable, import, function or class",tests/lib/cli-additional-branches.test.js:20,,Unused variable secrets.,true
|
|
96
|
-
"Unused variable, import, function or class",tests/lib/cli-additional-branches.test.js:23,,Unused variable keyGenerator.,true
|
|
97
|
-
"Unused variable, import, function or class",tests/lib/cli-additional-branches.test.js:24,,Unused variable handleCommandError.,true
|
|
98
|
-
"Unused variable, import, function or class",tests/lib/cli-additional-branches.test.js:24,,Unused variable setupCommands.,true
|
|
99
|
-
"Unused variable, import, function or class",tests/lib/cli-additional.test.js:20,,Unused variable secrets.,true
|
|
100
|
-
"Unused variable, import, function or class",tests/lib/cli-additional.test.js:21,,Unused variable generator.,true
|
|
101
|
-
"Unused variable, import, function or class",tests/lib/cli-additional.test.js:22,,Unused variable validator.,true
|
|
102
|
-
"Unused variable, import, function or class",tests/lib/cli-additional.test.js:23,,Unused variable keyGenerator.,true
|
|
103
|
-
"Unused variable, import, function or class",tests/lib/cli-additional.test.js:24,,Unused variable makeApiCall.,true
|
|
104
|
-
"Unused variable, import, function or class",tests/lib/cli-branch-coverage.test.js:20,,Unused variable infra.,true
|
|
105
|
-
"Unused variable, import, function or class",tests/lib/cli-branch-coverage.test.js:21,,Unused variable app.,true
|
|
106
|
-
"Unused variable, import, function or class",tests/lib/cli-branch-coverage.test.js:22,,Unused variable secrets.,true
|
|
107
|
-
"Unused variable, import, function or class",tests/lib/cli-branch-coverage.test.js:23,,Unused variable generator.,true
|
|
108
|
-
"Unused variable, import, function or class",tests/lib/cli-branch-coverage.test.js:24,,Unused variable validator.,true
|
|
109
|
-
"Unused variable, import, function or class",tests/lib/cli-branch-coverage.test.js:25,,Unused variable keyGenerator.,true
|
|
110
|
-
"Unused variable, import, function or class",tests/lib/cli-branch-coverage.test.js:26,,Unused variable saveConfig.,true
|
|
111
|
-
"Unused variable, import, function or class",tests/lib/cli-branch-coverage.test.js:27,,Unused variable makeApiCall.,true
|
|
112
|
-
"Unused variable, import, function or class",tests/lib/cli-branch-coverage.test.js:28,,Unused variable inquirer.,true
|
|
113
|
-
"Unused variable, import, function or class",tests/lib/cli-branch-coverage.test.js:29,,Unused variable exec.,true
|
|
114
|
-
"Unused variable, import, function or class",tests/lib/cli-command-actions.test.js:24,,Unused variable validator.,true
|
|
115
|
-
"Unused variable, import, function or class",tests/lib/cli-command-actions.test.js:25,,Unused variable keyGenerator.,true
|
|
116
|
-
"Unused variable, import, function or class",tests/lib/cli-command-actions.test.js:36,,Unused variable exec.,true
|
|
117
|
-
"Unused variable, import, function or class",tests/lib/cli-command-actions.test.js:684,,Unused variable options.,true
|
|
118
|
-
"Unused variable, import, function or class",tests/lib/cli-command-actions.test.js:697,,Unused variable envPrompt.,true
|
|
119
|
-
"Unused variable, import, function or class",tests/lib/cli-command-actions.test.js:72,,Unused variable method.,true
|
|
120
|
-
"Unused variable, import, function or class",tests/lib/cli-commands.test.js:9,,Unused variable cli.,true
|
|
121
|
-
"Unused variable, import, function or class",tests/lib/cli-comprehensive.test.js:106,,Unused variable keyGenerator.,true
|
|
122
|
-
"Unused variable, import, function or class",tests/lib/cli-comprehensive.test.js:111,,Unused variable exec.,true
|
|
123
|
-
"Unused variable, import, function or class",tests/lib/cli-coverage.test.js:15,,Unused variable keyGenerator.,true
|
|
124
|
-
"Unused variable, import, function or class",tests/lib/cli-error-paths.test.js:34,,Unused variable validator.,true
|
|
125
|
-
"Unused variable, import, function or class",tests/lib/cli-error-paths.test.js:36,,Unused variable logger.,true
|
|
126
|
-
"Unused variable, import, function or class",tests/lib/cli-error-paths.test.js:40,,Unused variable chalk.,true
|
|
127
|
-
"Unused variable, import, function or class",tests/lib/cli-setup.test.js:57,,Unused variable mockProgram.,true
|
|
128
|
-
"Unused variable, import, function or class",tests/lib/cli-uncovered-commands.test.js:487,,Unused variable appPath.,true
|
|
129
|
-
"Unused variable, import, function or class",tests/lib/cli.test.js:12,,Unused variable exec.,true
|
|
130
|
-
"Unused variable, import, function or class",tests/lib/cli.test.js:13,,Unused variable net.,true
|
|
131
|
-
"Unused variable, import, function or class",tests/lib/cli.test.js:143,,Unused variable mockSecretsPath.,true
|
|
132
|
-
"Unused variable, import, function or class",tests/lib/cli.test.js:9,,Unused variable fs.,true
|
|
133
|
-
"Unused variable, import, function or class",tests/lib/cli/setup-utility.test.js:99,,Unused variable schemaPath.,true
|
|
134
|
-
"Unused variable, import, function or class",tests/lib/commands-app-branch-coverage.test.js:10,,Unused variable fsSync.,true
|
|
135
|
-
"Unused variable, import, function or class",tests/lib/commands-app-direct.test.js:10,,Unused variable fsSync.,true
|
|
136
|
-
"Unused variable, import, function or class",tests/lib/commands-app-direct.test.js:36,,Unused variable app.,true
|
|
137
|
-
"Unused variable, import, function or class",tests/lib/commands-login.test.js:14,,Unused variable makeApiCall.,true
|
|
138
|
-
"Unused variable, import, function or class",tests/lib/commands-login.test.js:882,,Unused variable validationResult.,true
|
|
139
|
-
"Unused variable, import, function or class",tests/lib/commands/app-shell.test.js:47,,Unused variable p.,true
|
|
140
|
-
"Unused variable, import, function or class",tests/lib/commands/app.test.js:12,,Unused variable yaml.,true
|
|
141
|
-
"Unused variable, import, function or class",tests/lib/commands/convert.test.js:38,,Unused variable schemaBasePath.,true
|
|
142
|
-
"Unused variable, import, function or class",tests/lib/commands/credential-env.test.js:146,,Unused variable result.,true
|
|
143
|
-
"Unused variable, import, function or class",tests/lib/commands/credential-push.test.js:37,,Unused variable requireBearerForDataplanePipeline.,true
|
|
144
|
-
"Unused variable, import, function or class",tests/lib/commands/dev-down.test.js:7,,Unused variable promisify.,true
|
|
145
|
-
"Unused variable, import, function or class",tests/lib/commands/login-credentials.test.js:47,,Unused variable formatApiError.,true
|
|
146
|
-
"Unused variable, import, function or class",tests/lib/commands/login-device.test.js:420,,Unused variable originalGetEnvironmentKey.,true
|
|
147
|
-
"Unused variable, import, function or class",tests/lib/commands/login-device.test.js:60,,Unused variable ora.,true
|
|
148
|
-
"Unused variable, import, function or class",tests/lib/commands/login-error-paths.test.js:24,,Unused variable logger.,true
|
|
149
|
-
"Unused variable, import, function or class",tests/lib/commands/login-error-paths.test.js:25,,Unused variable tokenManager.,true
|
|
150
|
-
"Unused variable, import, function or class",tests/lib/commands/logout.test.js:56,,Unused variable mockConfigPath.,true
|
|
151
|
-
"Unused variable, import, function or class",tests/lib/commands/npm-config.test.js:32,,Unused variable path.,true
|
|
152
|
-
"Unused variable, import, function or class",tests/lib/commands/repair-datasource.test.js:22,,Unused variable MINIMAL_METADATA_SCHEMA.,true
|
|
153
|
-
"Unused variable, import, function or class",tests/lib/commands/repair.test.js:1874,,Unused variable result.,true
|
|
154
|
-
"Unused variable, import, function or class",tests/lib/commands/repair.test.js:1886,,Unused variable dsPath.,true
|
|
155
|
-
"Unused variable, import, function or class",tests/lib/commands/repair.test.js:265,,Unused variable result.,true
|
|
156
|
-
"Unused variable, import, function or class",tests/lib/commands/secrets-list.test.js:6,,Unused variable path.,true
|
|
157
|
-
"Unused variable, import, function or class",tests/lib/commands/secrets-remove.test.js:6,,Unused variable path.,true
|
|
158
|
-
"Unused variable, import, function or class",tests/lib/commands/up-common.test.js:71,,Unused variable controllerUrlMod.,true
|
|
159
|
-
"Unused variable, import, function or class",tests/lib/commands/upload.test.js:444,,Unused variable displayValidationResults.,true
|
|
160
|
-
"Unused variable, import, function or class",tests/lib/commands/upload.test.js:9,,Unused variable chalk.,true
|
|
161
|
-
"Unused variable, import, function or class",tests/lib/commands/wizard-core.test.js:64,,Unused variable datasourceDeploy.,true
|
|
162
|
-
"Unused variable, import, function or class",tests/lib/commands/wizard-core.test.js:65,,Unused variable wizardDataplane.,true
|
|
163
|
-
"Unused variable, import, function or class",tests/lib/commands/wizard.test.js:55,,Unused variable datasourceDeploy.,true
|
|
164
|
-
"Unused variable, import, function or class",tests/lib/commands/wizard.test.js:56,,Unused variable wizardDataplane.,true
|
|
165
|
-
"Unused variable, import, function or class",tests/lib/compose-generator.test.js:13,,Unused variable fs.,true
|
|
166
|
-
"Unused variable, import, function or class",tests/lib/core/config.test.js:11,,Unused variable fs.,true
|
|
167
|
-
"Unused variable, import, function or class",tests/lib/core/config.test.js:27,,Unused variable loadDeveloperId.,true
|
|
168
|
-
"Unused variable, import, function or class",tests/lib/core/diff.test.js:10,,Unused variable path.,true
|
|
169
|
-
"Unused variable, import, function or class",tests/lib/core/diff.test.js:11,,Unused variable chalk.,true
|
|
170
|
-
"Unused variable, import, function or class",tests/lib/core/diff.test.js:9,,Unused variable fs.,true
|
|
171
|
-
"Unused variable, import, function or class",tests/lib/core/key-generator.test.js:278,,Unused variable variablesPath.,true
|
|
172
|
-
"Unused variable, import, function or class",tests/lib/core/key-generator.test.js:47,,Unused variable variablesPath.,true
|
|
173
|
-
"Unused variable, import, function or class",tests/lib/core/secrets-utils.test.js:376,,Unused variable buildSecrets.,true
|
|
174
|
-
"Unused variable, import, function or class",tests/lib/core/secrets-utils.test.js:682,,Unused variable serviceVariablesPath.,true
|
|
175
|
-
"Unused variable, import, function or class",tests/lib/core/secrets-utils.test.js:693,,Unused variable serviceVariablesPath.,true
|
|
176
|
-
"Unused variable, import, function or class",tests/lib/core/secrets-utils.test.js:703,,Unused variable serviceVariablesPath.,true
|
|
177
|
-
"Unused variable, import, function or class",tests/lib/core/secrets-utils.test.js:722,,Unused variable serviceVariablesPath.,true
|
|
178
|
-
"Unused variable, import, function or class",tests/lib/core/secrets-utils.test.js:738,,Unused variable serviceVariablesPath.,true
|
|
179
|
-
"Unused variable, import, function or class",tests/lib/core/secrets-utils.test.js:754,,Unused variable serviceVariablesPath.,true
|
|
180
|
-
"Unused variable, import, function or class",tests/lib/core/secrets-utils.test.js:772,,Unused variable serviceVariablesPath.,true
|
|
181
|
-
"Unused variable, import, function or class",tests/lib/core/secrets-utils.test.js:792,,Unused variable serviceVariablesPath.,true
|
|
182
|
-
"Unused variable, import, function or class",tests/lib/core/secrets.test.js:1022,,Unused variable mockSecrets.,true
|
|
183
|
-
"Unused variable, import, function or class",tests/lib/core/secrets.test.js:114,,Unused variable mockEnvConfig.,true
|
|
184
|
-
"Unused variable, import, function or class",tests/lib/core/secrets.test.js:2417,,Unused variable builderPath.,true
|
|
185
|
-
"Unused variable, import, function or class",tests/lib/core/secrets.test.js:2761,,Unused variable result.,true
|
|
186
|
-
"Unused variable, import, function or class",tests/lib/core/secrets.test.js:3247,,Unused variable secretsPath.,true
|
|
187
|
-
"Unused variable, import, function or class",tests/lib/core/secrets.test.js:3274,,Unused variable secretsPath.,true
|
|
188
|
-
"Unused variable, import, function or class",tests/lib/core/secrets.test.js:3779,,Unused variable outputPath.,true
|
|
189
|
-
"Unused variable, import, function or class",tests/lib/core/secrets.test.js:3854,,Unused variable builderPath.,true
|
|
190
|
-
"Unused variable, import, function or class",tests/lib/core/secrets.test.js:3982,,Unused variable envPath.,true
|
|
191
|
-
"Unused variable, import, function or class",tests/lib/core/secrets.test.js:709,,Unused variable mockSecrets.,true
|
|
192
|
-
"Unused variable, import, function or class",tests/lib/datasource/datasource-deploy.test.js:9,,Unused variable fs.,true
|
|
193
|
-
"Unused variable, import, function or class",tests/lib/datasource/datasource-diff.test.js:9,,Unused variable chalk.,true
|
|
194
|
-
"Unused variable, import, function or class",tests/lib/datasource/datasource-list.test.js:9,,Unused variable chalk.,true
|
|
195
|
-
"Unused variable, import, function or class",tests/lib/datasource/datasource-validate.test.js:9,,Unused variable fs.,true
|
|
196
|
-
"Unused variable, import, function or class",tests/lib/datasource/log-viewer.test.js:154,,Unused variable path.,true
|
|
197
|
-
"Unused variable, import, function or class",tests/lib/deployment/deployer-error-paths.test.js:18,,Unused variable axios.,true
|
|
198
|
-
"Unused variable, import, function or class",tests/lib/deployment/deployer-error-paths.test.js:20,,Unused variable logger.,true
|
|
199
|
-
"Unused variable, import, function or class",tests/lib/deployment/deployer-error-paths.test.js:24,,Unused variable chalk.,true
|
|
200
|
-
"Unused variable, import, function or class",tests/lib/deployment/environment-deploy.test.js:10,,Unused variable chalk.,true
|
|
201
|
-
"Unused variable, import, function or class",tests/lib/deployment/environment-deploy.test.js:101,,Unused variable environmentsApi.,true
|
|
202
|
-
"Unused variable, import, function or class",tests/lib/deployment/push-error-paths.test.js:103,,Unused variable errorOutput.,true
|
|
203
|
-
"Unused variable, import, function or class",tests/lib/deployment/push-error-paths.test.js:11,,Unused variable chalk.,true
|
|
204
|
-
"Unused variable, import, function or class",tests/lib/deployment/push-error-paths.test.js:12,,Unused variable logger.,true
|
|
205
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-deploy-helpers.test.js:12,,Unused variable yaml.,true
|
|
206
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-deploy-helpers.test.js:202,,Unused variable fallbackPath1.,true
|
|
207
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-deploy-helpers.test.js:302,,Unused variable datasourcePath2.,true
|
|
208
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-deploy.test.js:10,,Unused variable fsPromises.,true
|
|
209
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-deploy.test.js:12,,Unused variable yaml.,true
|
|
210
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-deploy.test.js:128,,Unused variable variablesPath.,true
|
|
211
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-deploy.test.js:13,,Unused variable chalk.,true
|
|
212
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-deploy.test.js:9,,Unused variable fs.,true
|
|
213
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-download.test.js:110,,Unused variable tempDir.,true
|
|
214
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-download.test.js:12,,Unused variable chalk.,true
|
|
215
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-generator.test.js:13,,Unused variable chalk.,true
|
|
216
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-generator.test.js:14,,Unused variable handlebars.,true
|
|
217
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-generator.test.js:793,,Unused variable datasourcePaths.,true
|
|
218
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-test-error-paths.test.js:51,,Unused variable yaml.,true
|
|
219
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-test-helpers.test.js:10,,Unused variable logger.,true
|
|
220
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-test-helpers.test.js:12,,Unused variable externalSystemSchema.,true
|
|
221
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-test-helpers.test.js:243,,Unused variable datasourceSchema.,true
|
|
222
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-test-helpers.test.js:9,,Unused variable chalk.,true
|
|
223
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-test.test.js:10,,Unused variable yaml.,true
|
|
224
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-test.test.js:100,,Unused variable validateAgainstSchema.,true
|
|
225
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-test.test.js:103,,Unused variable displayTestResults.,true
|
|
226
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-test.test.js:104,,Unused variable displayIntegrationTestResults.,true
|
|
227
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-test.test.js:11,,Unused variable chalk.,true
|
|
228
|
-
"Unused variable, import, function or class",tests/lib/external-system/external-system-test.test.js:110,,Unused variable systemKey.,true
|
|
229
|
-
"Unused variable, import, function or class",tests/lib/generator/external-controller-manifest.test.js:11,,Unused variable yaml.,true
|
|
230
|
-
"Unused variable, import, function or class",tests/lib/generator/external-controller-manifest.test.js:368,,Unused variable generateControllerManifest.,true
|
|
231
|
-
"Unused variable, import, function or class",tests/lib/generator/external-controller-manifest.test.js:40,,Unused variable variablesPath.,true
|
|
232
|
-
"Unused variable, import, function or class",tests/lib/generator/generator-error-paths.test.js:189,,Unused variable variablesPath.,true
|
|
233
|
-
"Unused variable, import, function or class",tests/lib/generator/generator-error-paths.test.js:284,,Unused variable variablesPath.,true
|
|
234
|
-
"Unused variable, import, function or class",tests/lib/generator/generator-error-paths.test.js:339,,Unused variable systemFilePath.,true
|
|
235
|
-
"Unused variable, import, function or class",tests/lib/generator/generator-error-paths.test.js:358,,Unused variable systemFilePath.,true
|
|
236
|
-
"Unused variable, import, function or class",tests/lib/generator/generator-helpers.test.js:10,,Unused variable path.,true
|
|
237
|
-
"Unused variable, import, function or class",tests/lib/generator/generator-helpers.test.js:11,,Unused variable yaml.,true
|
|
238
|
-
"Unused variable, import, function or class",tests/lib/generator/generator-validation.test.js:16,,Unused variable keyGenerator.,true
|
|
239
|
-
"Unused variable, import, function or class",tests/lib/generator/generator.test.js:13,,Unused variable keyGenerator.,true
|
|
240
|
-
"Unused variable, import, function or class",tests/lib/generator/generator.test.js:2547,,Unused variable missingPath.,true
|
|
241
|
-
"Unused variable, import, function or class",tests/lib/generator/generator.test.js:264,,Unused variable result.,true
|
|
242
|
-
"Unused variable, import, function or class",tests/lib/generator/generator.test.js:306,,Unused variable result.,true
|
|
243
|
-
"Unused variable, import, function or class",tests/lib/generator/generator.test.js:63,,Unused variable variablesPath.,true
|
|
244
|
-
"Unused variable, import, function or class",tests/lib/generator/generator.test.js:65,,Unused variable rbacPath.,true
|
|
245
|
-
"Unused variable, import, function or class",tests/lib/generator/wizard-generator.test.js:70,,Unused variable yaml.,true
|
|
246
|
-
"Unused variable, import, function or class",tests/lib/health-check.test.js:10,,Unused variable exec.,true
|
|
247
|
-
"Unused variable, import, function or class",tests/lib/infrastructure/infra.test.js:136,,Unused variable mockTempComposePath.,true
|
|
248
|
-
"Unused variable, import, function or class",tests/lib/programmatic/openapi-description-enricher.test.js:19,,Unused variable name.,true
|
|
249
|
-
"Unused variable, import, function or class",tests/lib/utils/api.test.js:36,,Unused variable getOrRefreshDeviceToken.,true
|
|
250
|
-
"Unused variable, import, function or class",tests/lib/utils/app-register-config.test.js:41,,Unused variable yaml.,true
|
|
251
|
-
"Unused variable, import, function or class",tests/lib/utils/app-register-validator.test.js:22,,Unused variable originalRelative.,true
|
|
252
|
-
"Unused variable, import, function or class",tests/lib/utils/compose-generate-infra-pgpass.test.js:26,,Unused variable sys.,true
|
|
253
|
-
"Unused variable, import, function or class",tests/lib/utils/configuration-env-resolver.test.js:279,,Unused variable envPath.,true
|
|
254
|
-
"Unused variable, import, function or class",tests/lib/utils/controller-url.test.js:15,,Unused variable isControllerHealthReachable.,true
|
|
255
|
-
"Unused variable, import, function or class",tests/lib/utils/credential-display.test.js:20,,Unused variable STATUS_LABELS.,true
|
|
256
|
-
"Unused variable, import, function or class",tests/lib/utils/dev-cert-helper.test.js:8,,Unused variable os.,true
|
|
257
|
-
"Unused variable, import, function or class",tests/lib/utils/docker.test.js:30,,Unused variable execAsync.,true
|
|
258
|
-
"Unused variable, import, function or class",tests/lib/utils/env-generation.test.js:1839,,Unused variable outEnvPath.,true
|
|
259
|
-
"Unused variable, import, function or class",tests/lib/utils/env-generation.test.js:1882,,Unused variable outEnvPath.,true
|
|
260
|
-
"Unused variable, import, function or class",tests/lib/utils/env-ports.test.js:196,,Unused variable parsed.,true
|
|
261
|
-
"Unused variable, import, function or class",tests/lib/utils/error-formatters/error-parser.test.js:91,,Unused variable errorData.,true
|
|
262
|
-
"Unused variable, import, function or class",tests/lib/utils/external-env-template.test.js:6,,Unused variable path.,true
|
|
263
|
-
"Unused variable, import, function or class",tests/lib/utils/external-env-template.test.js:7,,Unused variable fs.,true
|
|
264
|
-
"Unused variable, import, function or class",tests/lib/utils/external-system-display.test.js:9,,Unused variable chalk.,true
|
|
265
|
-
"Unused variable, import, function or class",tests/lib/utils/external-system-readiness-core.test.js:11,,Unused variable summarizeDatasourceTiersA.,true
|
|
266
|
-
"Unused variable, import, function or class",tests/lib/utils/file-upload.test.js:10,,Unused variable path.,true
|
|
267
|
-
"Unused variable, import, function or class",tests/lib/utils/local-secrets.test.js:168,,Unused variable secretsDir.,true
|
|
268
|
-
"Unused variable, import, function or class",tests/lib/utils/local-secrets.test.js:29,,Unused variable yaml.,true
|
|
269
|
-
"Unused variable, import, function or class",tests/lib/utils/local-secrets.test.js:30,,Unused variable logger.,true
|
|
270
|
-
"Unused variable, import, function or class",tests/lib/utils/local-secrets.test.js:69,,Unused variable secretsPath.,true
|
|
271
|
-
"Unused variable, import, function or class",tests/lib/utils/mutagen-install.test.js:13,,Unused variable fs.,true
|
|
272
|
-
"Unused variable, import, function or class",tests/lib/utils/mutagen-install.test.js:15,,Unused variable exec.,true
|
|
273
|
-
"Unused variable, import, function or class",tests/lib/utils/mutagen-install.test.js:6,,Unused variable path.,true
|
|
274
|
-
"Unused variable, import, function or class",tests/lib/utils/paths-detect-app-type.test.js:19,,Unused variable fs.,true
|
|
275
|
-
"Unused variable, import, function or class",tests/lib/utils/paths.test.js:66,,Unused variable canUnsetJestWorker.,true
|
|
276
|
-
"Unused variable, import, function or class",tests/lib/utils/resolve-application-config-path.test.js:19,,Unused variable fs.,true
|
|
277
|
-
"Unused variable, import, function or class",tests/lib/utils/run-detect-app-type.js:6,,Unused variable path.,true
|
|
278
|
-
"Unused variable, import, function or class",tests/lib/utils/run-get-resolve-app-path.js:6,,Unused variable path.,true
|
|
279
|
-
"Unused variable, import, function or class",tests/lib/utils/schema-resolver.test.js:276,,Unused variable schemaBasePath.,true
|
|
280
|
-
"Unused variable, import, function or class",tests/lib/utils/schema-resolver.test.js:31,,Unused variable mockSchemaBasePath.,true
|
|
281
|
-
"Unused variable, import, function or class",tests/lib/utils/schema-resolver.test.js:9,,Unused variable fs.,true
|
|
282
|
-
"Unused variable, import, function or class",tests/lib/utils/secrets-generator.test.js:14,,Unused variable crypto.,true
|
|
283
|
-
"Unused variable, import, function or class",tests/lib/utils/secrets-generator.test.js:836,,Unused variable resolvedPath.,true
|
|
284
|
-
"Unused variable, import, function or class",tests/lib/utils/secrets-generator.test.js:881,,Unused variable dir.,true
|
|
285
|
-
"Unused variable, import, function or class",tests/lib/utils/secrets-path.test.js:12,,Unused variable yaml.,true
|
|
286
|
-
"Unused variable, import, function or class",tests/lib/utils/secrets-url.test.js:114,,Unused variable result.,true
|
|
287
|
-
"Unused variable, import, function or class",tests/lib/utils/secrets-url.test.js:141,,Unused variable result.,true
|
|
288
|
-
"Unused variable, import, function or class",tests/lib/utils/secrets-url.test.js:177,,Unused variable result.,true
|
|
289
|
-
"Unused variable, import, function or class",tests/lib/utils/secrets-url.test.js:85,,Unused variable result.,true
|
|
290
|
-
"Unused variable, import, function or class",tests/lib/utils/ssh-key-helper.test.js:82,,Unused variable ed25519Path.,true
|
|
291
|
-
"Unused variable, import, function or class",tests/lib/utils/template-helpers.test.js:105,,Unused variable configPath.,true
|
|
292
|
-
"Unused variable, import, function or class",tests/lib/utils/template-helpers.test.js:89,,Unused variable invalidContent.,true
|
|
293
|
-
"Unused variable, import, function or class",tests/lib/utils/token-manager.test.js:590,,Unused variable afterCall.,true
|
|
294
|
-
"Unused variable, import, function or class",tests/lib/utils/token-manager.test.js:622,,Unused variable afterCall.,true
|
|
295
|
-
"Unused variable, import, function or class",tests/lib/utils/token-manager.test.js:66,,Unused variable mockSecretsPath.,true
|
|
296
|
-
"Unused variable, import, function or class",tests/lib/utils/yaml-preserve.test.js:15,,Unused variable isEncrypted.,true
|
|
297
|
-
"Unused variable, import, function or class",tests/lib/validation/openapi-contract-surface-validator.test.js:7,,Unused variable fs.,true
|
|
298
|
-
"Unused variable, import, function or class",tests/lib/validation/template.test.js:103,,Unused variable templatePath.,true
|
|
299
|
-
"Unused variable, import, function or class",tests/lib/validation/template.test.js:117,,Unused variable templatePath.,true
|
|
300
|
-
"Unused variable, import, function or class",tests/lib/validation/template.test.js:229,,Unused variable subdirPath.,true
|
|
301
|
-
"Unused variable, import, function or class",tests/lib/validation/template.test.js:393,,Unused variable languageTemplatePath.,true
|
|
302
|
-
"Unused variable, import, function or class",tests/lib/validation/template.test.js:537,,Unused variable templatesDir.,true
|
|
303
|
-
"Unused variable, import, function or class",tests/lib/validation/template.test.js:90,,Unused variable templatePath.,true
|
|
304
|
-
"Unused variable, import, function or class",tests/lib/validation/validate.test.js:11,,Unused variable chalk.,true
|
|
305
|
-
"Unused variable, import, function or class",tests/lib/validation/validate.test.js:9,,Unused variable fs.,true
|
|
306
|
-
"Unused variable, import, function or class",tests/lib/validation/validator-external-rbac.test.js:203,,Unused variable result.,true
|
|
307
|
-
"Unused variable, import, function or class",tests/lib/validation/validator.test.js:149,,Unused variable mockSecretsPath.,true
|
|
308
|
-
"Unused variable, import, function or class",tests/lib/validation/validator.test.js:183,,Unused variable variablesPath.,true
|
|
309
|
-
"Unused variable, import, function or class",tests/lib/validation/validator.test.js:186,,Unused variable validVariables.,true
|
|
310
|
-
"Unused variable, import, function or class",tests/lib/validation/validator.test.js:216,,Unused variable invalidVariables.,true
|
|
311
|
-
"Unused variable, import, function or class",tests/lib/validation/validator.test.js:313,,Unused variable rbacPath.,true
|
|
312
|
-
"Unused variable, import, function or class",tests/lib/validation/validator.test.js:945,,Unused variable validVariables.,true
|
|
313
|
-
"Unused variable, import, function or class",tests/lib/validation/validator.test.js:955,,Unused variable validRbac.,true
|
|
314
|
-
"Unused variable, import, function or class",tests/local/lib/app-commands.test.js:102,,Unused variable options.,true
|
|
315
|
-
"Unused variable, import, function or class",tests/local/lib/app-commands.test.js:125,,Unused variable response.,true
|
|
316
|
-
"Unused variable, import, function or class",tests/local/lib/app-commands.test.js:134,,Unused variable appName.,true
|
|
317
|
-
"Unused variable, import, function or class",tests/local/lib/app-commands.test.js:135,,Unused variable environment.,true
|
|
318
|
-
"Unused variable, import, function or class",tests/local/lib/app-commands.test.js:174,,Unused variable environment.,true
|
|
319
|
-
"Unused variable, import, function or class",tests/local/lib/app-commands.test.js:248,,Unused variable environment.,true
|
|
320
|
-
"Unused variable, import, function or class",tests/local/lib/app-commands.test.js:257,,Unused variable variables.,true
|
|
321
|
-
"Unused variable, import, function or class",tests/local/lib/app-commands.test.js:331,,Unused variable environment.,true
|
|
322
|
-
"Unused variable, import, function or class",tests/local/lib/app-commands.test.js:99,,Unused variable appCommands.,true
|
|
323
|
-
"Unused variable, import, function or class",tests/local/lib/app-run-advanced.test.js:108,,Unused variable exec.,true
|
|
324
|
-
"Unused variable, import, function or class",tests/local/lib/app-run-advanced.test.js:110,,Unused variable net.,true
|
|
325
|
-
"Unused variable, import, function or class",tests/local/lib/app-run-advanced.test.js:299,,Unused variable execAsync.,true
|
|
326
|
-
"Unused variable, import, function or class",tests/local/lib/app-run-advanced.test.js:311,,Unused variable execAsync.,true
|
|
327
|
-
"Unused variable, import, function or class",tests/local/lib/app-run-advanced.test.js:323,,Unused variable execAsync.,true
|
|
328
|
-
"Unused variable, import, function or class",tests/local/lib/app-run-advanced.test.js:94,,Unused variable language.,true
|
|
329
|
-
"Unused variable, import, function or class",tests/local/lib/app-run-debug.test.js:163,,Unused variable getProjectRoot.,true
|
|
330
|
-
"Unused variable, import, function or class",tests/local/lib/app-uncovered-paths.test.js:139,,Unused variable config.,true
|
|
331
|
-
"Unused variable, import, function or class",tests/local/lib/app-uncovered-paths.test.js:323,,Unused variable updatedVariables.,true
|
|
332
|
-
"Unused variable, import, function or class",tests/local/lib/app-uncovered-paths.test.js:50,,Unused variable getProjectRoot.,true
|
|
333
|
-
"Unused variable, import, function or class",tests/local/lib/app/app-additional-coverage.test.js:42,,Unused variable build.,true
|
|
334
|
-
"Unused variable, import, function or class",tests/local/lib/app/app-additional-coverage.test.js:43,,Unused variable appRun.,true
|
|
335
|
-
"Unused variable, import, function or class",tests/local/lib/app/app-coverage-uncovered.test.js:155,,Unused variable config.,true
|
|
336
|
-
"Unused variable, import, function or class",tests/local/lib/app/app-coverage-uncovered.test.js:191,,Unused variable config.,true
|
|
337
|
-
"Unused variable, import, function or class",tests/local/lib/app/app-uncovered-lines.test.js:16,,Unused variable yaml.,true
|
|
338
|
-
"Unused variable, import, function or class",tests/local/lib/commands-app.test.js:146,,Unused variable variablesPath.,true
|
|
339
|
-
"Unused variable, import, function or class",tests/local/lib/commands-app.test.js:183,,Unused variable environment.,true
|
|
340
|
-
"Unused variable, import, function or class",tests/local/lib/commands-app.test.js:218,,Unused variable appKey.,true
|
|
341
|
-
"Unused variable, import, function or class",tests/local/lib/commands-app.test.js:219,,Unused variable environment.,true
|
|
342
|
-
"Unused variable, import, function or class",tests/local/lib/commands-app.test.js:83,,Unused variable result.,true
|
|
343
|
-
"Unused variable, import, function or class",tests/local/lib/commands-app.test.js:93,,Unused variable environment.,true
|
|
344
|
-
"Unused variable, import, function or class",tests/local/lib/resolvers/dimension-file.test.js:13,,Unused variable mkdirSync.,true
|
|
345
|
-
"Unused variable, import, function or class",tests/local/lib/utils/external-readme.test.js:10,,Unused variable fs.,true
|
|
346
|
-
"Unused variable, import, function or class",tests/local/lib/utils/external-readme.test.js:11,,Unused variable handlebars.,true
|
|
347
|
-
"Unused variable, import, function or class",tests/local/lib/utils/external-readme.test.js:174,,Unused variable originalGenerate.,true
|
|
348
|
-
"Unused variable, import, function or class",tests/local/lib/utils/external-readme.test.js:9,,Unused variable path.,true
|
|
349
|
-
"Unused variable, import, function or class",tests/scripts/test-wrapper.js:51,,Unused function filterExitHandlerError.,true
|
|
350
|
-
"Unused variable, import, function or class",tests/setup.js:164,,Unused variable originalMkdirSync.,true
|
|
351
|
-
"Unused variable, import, function or class",tests/setup.js:165,,Unused variable originalExistsSync.,true
|
|
352
|
-
Useless assignment to local variable,lib/commands/setup.js:294,,"The initial value of outcome is unused, since it is always overwritten.",true
|
|
353
|
-
Useless assignment to local variable,lib/core/audit-logger.js:241,,"The initial value of controllerUrl is unused, since it is always overwritten.",true
|
|
354
|
-
Useless assignment to local variable,lib/utils/external-env-template.js:145,,"The initial value of authMethod is unused, since it is always overwritten.",true
|
|
355
|
-
Useless assignment to local variable,lib/utils/manifest-source-emit.js:77,,"The initial value of tier is unused, since it is always overwritten.",true
|
|
356
|
-
Useless assignment to local variable,scripts/pnpm/lib/resolve-aifabrix-bin.mjs:95,,"The initial value of resolved is unused, since it is always overwritten.",true
|
|
357
|
-
Useless assignment to local variable,tests/lib/app/app-run-helpers.test.js:89,,The value assigned to opts here is unused.,true
|
|
358
|
-
Useless assignment to local variable,tests/lib/infrastructure/infra.test.js:162,,The value assigned to options here is unused.,true
|
|
359
|
-
Useless assignment to local variable,tests/lib/infrastructure/infra.test.js:211,,The value assigned to options here is unused.,true
|
|
360
|
-
Useless assignment to local variable,tests/lib/infrastructure/infra.test.js:300,,The value assigned to options here is unused.,true
|
|
361
|
-
Useless assignment to local variable,tests/lib/infrastructure/infra.test.js:331,,The value assigned to options here is unused.,true
|
|
362
|
-
Useless assignment to local variable,tests/lib/infrastructure/infra.test.js:368,,The value assigned to options here is unused.,true
|
|
363
|
-
Useless assignment to local variable,tests/lib/infrastructure/infra.test.js:504,,The value assigned to options here is unused.,true
|
|
364
|
-
Useless assignment to local variable,tests/lib/infrastructure/infra.test.js:548,,The value assigned to options here is unused.,true
|
|
365
|
-
Useless assignment to local variable,tests/lib/infrastructure/services.test.js:105,,The value assigned to opts here is unused.,true
|
|
366
|
-
Useless assignment to local variable,tests/lib/infrastructure/services.test.js:47,,The value assigned to opts here is unused.,true
|
|
367
|
-
Useless assignment to property,tests/lib/infrastructure/infra.test.js:578,checkInfraHealth,,true
|
|
368
|
-
Useless conditional,integration/hubspot-test/create-hubspot.js:339,filePatterns,This use of variable 'filePatterns' always evaluates to false.,true
|
|
369
|
-
Useless conditional,lib/app/show.js:350,controllerUrl,This use of variable 'controllerUrl' always evaluates to false.,true
|
|
370
|
-
Useless conditional,lib/commands/repair-openapi-sync.js:100,res,This use of variable 'res' always evaluates to true.,true
|
|
371
|
-
Useless conditional,lib/core/secrets-load.js:136,keySources,This use of variable 'keySources' always evaluates to true.,true
|
|
372
|
-
Useless conditional,lib/datasource/capability/relate-operations.js:26,list,This use of variable 'list' always evaluates to true.,true
|
|
373
|
-
Useless conditional,lib/utils/env-copy.js:390,variablesPath,This use of variable 'variablesPath' always evaluates to true.,true
|
|
374
|
-
Useless conditional,scripts/lib/plan-parse.js:114,,This call to parseSimpleYaml always evaluates to true.,true
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# Process documentation
|
|
2
|
-
|
|
3
|
-
Canonical process descriptions for aifabrix-builder automation and release workflows.
|
|
4
|
-
|
|
5
|
-
| Process | Description |
|
|
6
|
-
| ------- | ----------- |
|
|
7
|
-
| [deployment.md](./deployment.md) | NPM release: preflight, release branch CI, PR to `main`, publish and GitHub release |
|
|
8
|
-
|
|
9
|
-
Command specs (agent-executable) live under [`.cursor/commands/`](../commands/).
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Mandatory structure for Builder CLI anchor-docs.
|
|
3
|
-
globs: anchor-docs/**/*.md
|
|
4
|
-
alwaysApply: false
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# anchor-docs (Builder)
|
|
8
|
-
|
|
9
|
-
When editing `anchor-docs/**/*.md` (only `README.md` is exempt). Copy `anchor-docs/_TEMPLATE` to create a new anchor (no `.md` extension — not validated):
|
|
10
|
-
|
|
11
|
-
- Include YAML frontmatter: `title`, `navigation_id`, `owner`, `last_verified_commit`.
|
|
12
|
-
- `navigation_id` must match **aifabrix-docs** `docs/builder/navigation.yaml` entries (`builder/<url>`).
|
|
13
|
-
- Sections required: `## Summary`, `## Details`, `## Examples`, `## Paths`.
|
|
14
|
-
- Reference repo files with **`[path:aifabrix-builder/...]`**; avoid backtick-only paths for the same references.
|
|
15
|
-
- Align with CLI user-doc rules: keep HTTP/API endpoint names out of `docs/commands/` user text; technical anchors may cite code paths.
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: >-
|
|
3
|
-
Apply when Builder CLI, builder-api, or agents participate in assistant-driven
|
|
4
|
-
Connected System builds. Product-neutral; runtime-orchestration is the agent
|
|
5
|
-
Work MCP; no vendor special-cases in lib/.
|
|
6
|
-
globs:
|
|
7
|
-
- lib/commands/**/*
|
|
8
|
-
- lib/cli/**/*
|
|
9
|
-
- packages/builder-api/**/*
|
|
10
|
-
- builder/builder-api/**/*
|
|
11
|
-
- docs/commands/**/*
|
|
12
|
-
alwaysApply: false
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# Assistant-driven integration build (Builder)
|
|
16
|
-
|
|
17
|
-
**Dataplane SSOT (full law):**
|
|
18
|
-
`../aifabrix-dataplane/.cursor/rules/dev-rules/assistant-driven-integration-build.md`
|
|
19
|
-
(in monorepo layouts use the dataplane sibling path; do not fork the law text here.)
|
|
20
|
-
|
|
21
|
-
## Builder / CLI role
|
|
22
|
-
|
|
23
|
-
| Mode | Allowed |
|
|
24
|
-
| --- | --- |
|
|
25
|
-
| **Prep** | `validate` / `upload` / `repair` for **platform** apps (builder-api), evidence import, diagnose |
|
|
26
|
-
| **Proof** | Not primary — Role Assistant drives published builder-api via dataplane Runtime MCP |
|
|
27
|
-
| **Improve product** | Generic builder-api / CLI gaps for **any** `systemKey` — never HubSpot/lab branches in `lib/` |
|
|
28
|
-
|
|
29
|
-
## Non-negotiable
|
|
30
|
-
|
|
31
|
-
1. Obey [cli-product-neutral.mdc](cli-product-neutral.mdc) — no lab keys or plan IDs in product paths.
|
|
32
|
-
2. Agents proving vertical builds must orchestrate via dataplane **`runtime-orchestration`** MCP, not by inventing CLI greenfield as the proof.
|
|
33
|
-
3. Fix Builder when assistant proof shows a **generic** Builder bug; do not paper over with dataplane vendor shortcuts.
|
|
34
|
-
4. Dataplane capability execute binds **via COM only** — see dataplane `no-direct-communication-only-via-com.md` (no raw CIP digs in Runtime).
|
|
35
|
-
|
|
36
|
-
## Related
|
|
37
|
-
|
|
38
|
-
- Epic: `aifabrix-dataplane/.cursor/plans/2. worker/473.0-business-transformation-assistant.plan.md`
|
|
39
|
-
- Dataplane hardcoding law: `aifabrix-dataplane/.cursor/rules/dev-rules/no-integration-hardcoding-in-app.md`
|
|
40
|
-
- Dataplane COM binding law: `aifabrix-dataplane/.cursor/rules/dev-rules/no-direct-communication-only-via-com.md`
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Apply when adding or changing aifabrix CLI commands, subcommands, flags, help text, terminal output (chalk), TTY vs JSON/--json, or CLI tests. Ensures layout, glyphs, and output profiles match repo standards.
|
|
3
|
-
alwaysApply: false
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Builder CLI layout rules
|
|
7
|
-
|
|
8
|
-
When you touch **CLI surface** (`bin/aifabrix.js`, `lib/cli.js`, `lib/cli/**`, `lib/commands/**`) or **shared CLI formatters**, you must keep behavior aligned with the canonical docs in this folder.
|
|
9
|
-
|
|
10
|
-
**Product-neutral copy:** User-facing help, errors, and warnings must not reference internal plan IDs or hardcode lab-only integration names in generic code. See [cli-product-neutral.mdc](./cli-product-neutral.mdc).
|
|
11
|
-
|
|
12
|
-
## Sources of truth (read before shipping)
|
|
13
|
-
|
|
14
|
-
| Document | Role |
|
|
15
|
-
| -------- | ---- |
|
|
16
|
-
| [layout.md](./layout.md) | Visual and semantic spec: colors, sections, glyphs, blocking vs warning, non-TTY/CI, helper map to `cli-test-layout-chalk.js`. |
|
|
17
|
-
| [cli-output-command-matrix.md](./cli-output-command-matrix.md) | **One row per leaf command**: expected **output profile** (layout-blocks, tty-summary, stream-logs, json-opt, stdout-only, delegate) and **Manifest roots (141)** (when to emit gray manifest path line — see plan 141). |
|
|
18
|
-
|
|
19
|
-
If implementation and `layout.md` disagree, **fix implementation** or **update docs** in the same change so they stay one story.
|
|
20
|
-
|
|
21
|
-
## Output profiles (from the matrix)
|
|
22
|
-
|
|
23
|
-
Use the matrix row for your command to decide UX:
|
|
24
|
-
|
|
25
|
-
- **layout-blocks** — Structured blocks (header, verdict, lists, failures). Prefer helpers from `lib/utils/cli-test-layout-chalk.js` (or `lib/utils/cli-layout-chalk.js` re-export). Respect **`--json`**: skip TTY-only layout when the command is classified **json-opt** or when JSON mode is documented for that flow.
|
|
26
|
-
- **tty-summary** — Short chalk lines / tables; still use canonical glyphs and semantic colors.
|
|
27
|
-
- **stream-logs** — Tail/stream style; do not force layout-blocks around raw log lines unless product asks for a wrapper.
|
|
28
|
-
- **json-opt** — Human TTY layout when interactive; **machine-oriented** output when `--json` (no decorative layout).
|
|
29
|
-
- **stdout-only** — Stable, script-friendly stdout; minimal chalk; often used for diffs or piping.
|
|
30
|
-
- **delegate** — Output comes from delegated library (wizard, etc.); still avoid forbidden glyphs and spurious decoration in anything you add.
|
|
31
|
-
|
|
32
|
-
**New leaf command:** add a row to [cli-output-command-matrix.md](./cli-output-command-matrix.md) with the correct profile combination and **Manifest roots (141)** code (`141`, `141+`, `int`, `cfg`, `—`).
|
|
33
|
-
|
|
34
|
-
## Manifest path visibility (plan 141)
|
|
35
|
-
|
|
36
|
-
When a command’s matrix cell is **141**, **141+**, or **int** and the implementation reads an `application.yaml` (or integration equivalent), print **one** gray metadata line for humans (e.g. `Manifest: cwd/builder — /abs/path/application.yaml`) using `metadata()` or a small helper from `cli-test-layout-chalk.js`. Do not spam per-substep. Follow [.cursor/plans/141-manifest-location.plan.md](../plans/141-manifest-location.plan.md).
|
|
37
|
-
|
|
38
|
-
**`aifabrix setup`:** destructive / conflict prompts that list folders to be replaced must use **resolved absolute paths** for every directory (plan § Guided setup — not only `builder/<app>/` under an otherwise absolute builder root).
|
|
39
|
-
|
|
40
|
-
From [layout.md](./layout.md) contributor appendix:
|
|
41
|
-
|
|
42
|
-
| Role | Use | Do not use |
|
|
43
|
-
| ---- | --- | ----------- |
|
|
44
|
-
| Success | **✔** | ✓, heavy check, decorative check emoji |
|
|
45
|
-
| Warning | **⚠** | ‼, random emoji |
|
|
46
|
-
| Failure | **✖** | ✗, `x`, decorative X |
|
|
47
|
-
| Skipped | **⏭** | — |
|
|
48
|
-
| In progress | **⏳** | Hourglass as pure decoration |
|
|
49
|
-
|
|
50
|
-
- **Red = blocking only** (hard failure / non-zero exit when that line is the verdict). **Yellow = non-blocking** warnings. Never use red for warnings.
|
|
51
|
-
- **Non-TTY / CI** (`NO_COLOR`, chalk level 0): **same glyphs and line structure**; colors become no-ops. Do not invent a second plain-text vocabulary (e.g. `[OK]` instead of ✔) unless the command is explicitly **stdout-only machine** output.
|
|
52
|
-
|
|
53
|
-
Markdown headings in `layout.md` may use emoji for doc navigation; **user-facing terminal strings** follow the semantic glyph table only.
|
|
54
|
-
|
|
55
|
-
## Implementation
|
|
56
|
-
|
|
57
|
-
- **Canonical helpers:** `lib/utils/cli-test-layout-chalk.js` (see symbol → helper table in [layout.md](./layout.md) § “Implementation map”).
|
|
58
|
-
- **Preferred import alias:** `lib/utils/cli-layout-chalk.js` re-exports the same API when the path should not contain `test`.
|
|
59
|
-
- **Prefer** `formatSuccessLine`, `formatSuccessParagraph`, `formatWarningLine`, `formatBlockingError`, `failureGlyph`, `successGlyph`, and other exported section helpers over ad hoc `` chalk.green(`✔ …`) `` for one-off success/error lines.
|
|
60
|
-
- **Composite / indented lines** (e.g. `successGlyph()` + `chalk.white(…)`, or ` ✔ …` in validate-style output) may stay raw chalk **only** when a single helper would not match the spec; keep glyphs canonical.
|
|
61
|
-
- **Tests:** extend or add tests under `tests/lib/utils/cli-test-layout-chalk.test.js` (and command tests) when behavior or snapshots encode layout.
|
|
62
|
-
|
|
63
|
-
## Code entry points and maintenance
|
|
64
|
-
|
|
65
|
-
- **Shared formatters:** `lib/utils/cli-test-layout-chalk.js` (canonical exports).
|
|
66
|
-
- **Neutral re-export:** `lib/utils/cli-layout-chalk.js` → same module.
|
|
67
|
-
- **Unit tests:** `tests/lib/utils/cli-test-layout-chalk.test.js`.
|
|
68
|
-
|
|
69
|
-
**Optional follow-up:** If you touch centralized command error handling (e.g. `handleCommandError`), consider aligning it with `formatBlockingError` (but preserve `--json` / stdout-only behavior for script modes).
|
|
70
|
-
|
|
71
|
-
## Commander and UX checklist
|
|
72
|
-
|
|
73
|
-
- [ ] **Help**: `.description()` and `.option()` texts clear; default values and env overrides documented when behavior is non-obvious.
|
|
74
|
-
- [ ] **Profile**: Matrix row added/updated for every new **leaf** command path.
|
|
75
|
-
- [ ] **JSON / script**: If the command supports `--json` or machine output, JSON path skips TTY layout and stays stable for scripts.
|
|
76
|
-
- [ ] **Errors**: Blocking failures use **✖** + red via shared helpers where possible; non-blocking issues use **⚠** + yellow.
|
|
77
|
-
- [ ] **Docs**: User-facing CLI documentation lives under `docs/` per [docs-rules.mdc](./docs-rules.mdc) (command-centric; no raw HTTP/API tutorial in user docs unless that doc is explicitly contributor-focused).
|
|
78
|
-
|
|
79
|
-
## Related plans
|
|
80
|
-
|
|
81
|
-
Historical adoption context: `.cursor/plans/Done/129-cli_layout_adoption.plan.md`. Keep **cli-output-command-matrix.md** accurate when profiles or helper adoption change.
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Apply when changing aifabrix CLI code, help text, errors, or user-facing docs under docs/commands. Keeps product output free of internal plans, training labs, and hardcoded integration names.
|
|
3
|
-
alwaysApply: false
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# CLI product-neutral output (Builder)
|
|
7
|
-
|
|
8
|
-
The **aifabrix** CLI is a **product**. User-visible strings must not encode internal engineering artifacts.
|
|
9
|
-
|
|
10
|
-
## Forbidden in product paths
|
|
11
|
-
|
|
12
|
-
Applies to **`lib/cli/**`**, **`lib/commands/**`**, CLI help (Commander `.description()` / `.option()` / `addHelpText`), **`lib/utils/*-error*.js`**, terminal messages from **`lib/utils/cli-*`**, and **`docs/commands/**`** (see [docs-rules.mdc](./docs-rules.mdc)).
|
|
13
|
-
|
|
14
|
-
| Do not use | Use instead |
|
|
15
|
-
| ---------- | ----------- |
|
|
16
|
-
| Internal plan IDs (`Plan 331`, `plan 148`, `BK-1`) | User terms: *active datasource schema guards*, *schema replacement*, *overlap* |
|
|
17
|
-
| Training / lab-only system keys baked into `if` branches (`sharepoint-e2e`, `hubspot-demo` in runtime logic) | **Dynamic** behavior from `systemKey`, `appName`, manifest, env.template, or secrets map |
|
|
18
|
-
| Hardcoded vendor or connector names in generic helpers | Generic rules (path suffix, namespace, configuration keys from disk) |
|
|
19
|
-
| Cursor plan file paths in errors or help | Link only in `.cursor/plans/` and contributor docs |
|
|
20
|
-
|
|
21
|
-
**Examples in docs/commands** may name real apps (`hubspot-e2e`) when illustrating a command; **library code** must not special-case those names unless the user passed them as arguments.
|
|
22
|
-
|
|
23
|
-
## Required patterns
|
|
24
|
-
|
|
25
|
-
- **Missing `kv://` secrets:** Compare requested paths to the loaded secrets map generically (e.g. same path segment under a different namespace). Never hardcode `sharepoint` / `sharepoint-e2e` (or any other lab pair) in `lib/`.
|
|
26
|
-
- **`--force` messaging:** Describe dataplane behavior (*bypass active-datasource schema replacement guards*), not internal plan numbers. Do **not** append extra CLI hints by matching English substrings on API errors — the dataplane pipeline already returns remediation in the 400 body when schema replacement is blocked.
|
|
27
|
-
- **No `upload-pipeline-error-hints`-style modules:** Prefer forwarding `formatApiError` output; optional hints belong in the API contract, not duplicated heuristics in the CLI.
|
|
28
|
-
- **Auth / pipeline errors:** Describe what the user can do (`aifabrix login`, `AIFABRIX_DEPLOYMENT_AUTH=client-credentials`), not ticket or plan IDs.
|
|
29
|
-
- **JSDoc `@fileoverview`:** No plan numbers; optional brief behavior description only.
|
|
30
|
-
|
|
31
|
-
## Verification
|
|
32
|
-
|
|
33
|
-
Before merging CLI UX changes:
|
|
34
|
-
|
|
35
|
-
1. `rg -i 'plan [0-9]|BK-[0-9]|sharepoint-e2e' lib/cli lib/commands lib/utils --glob '*.js'` → no matches in generic helpers (fixture strings in tests are OK).
|
|
36
|
-
2. New error hints must work for **any** integration folder name the user owns.
|
|
37
|
-
3. [cli-layout.mdc](./cli-layout.mdc) and [docs-rules.mdc](./docs-rules.mdc) still apply for glyphs and user-doc scope.
|
|
38
|
-
|
|
39
|
-
## Related
|
|
40
|
-
|
|
41
|
-
- [cli-layout.mdc](./cli-layout.mdc) — terminal layout and output profiles
|
|
42
|
-
- [docs-rules.mdc](./docs-rules.mdc) — public CLI documentation audience
|
|
43
|
-
- [project-rules.mdc](./project-rules.mdc) — ISO / security baseline
|