@aifabrix/builder 2.59.0 → 2.61.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -11
- package/docs/README.md +80 -0
- package/docs/builder-help/evidence-patterns.json +155 -0
- package/docs/builder-help/golden-examples/crm-company.json +30 -0
- package/docs/builder-help/golden-examples/crm-deal.json +29 -0
- package/docs/builder-help/golden-examples/document-storage-keyed-get.json +85 -0
- package/docs/builder-help/golden-examples/document-storage.json +30 -0
- package/docs/builder-help/golden-examples/meeting-transcript.json +29 -0
- package/docs/builder-help/golden-examples/repository-template.json +29 -0
- package/docs/builder-help/golden-examples/service-ticket.json +29 -0
- package/docs/builder-help/platform-roles.json +98 -0
- package/docs/builder-help/resource-type-catalog.json +402 -0
- package/lib/agent-kit/git-identity.js +180 -0
- package/lib/agent-kit/setup.js +3 -0
- package/lib/agent-kit/start.js +45 -1
- package/lib/api/configuration.api.js +131 -0
- package/lib/api/role-assistant-test-job.api.js +60 -0
- package/lib/api/system-secrets.api.js +72 -0
- package/lib/api/work-search.api.js +13 -6
- package/lib/app/deploy.js +8 -1
- package/lib/app/run-docker-fallback.js +6 -1
- package/lib/app/run-helpers.js +2 -1
- package/lib/app/run-parameter-sync.js +142 -0
- package/lib/app/show-display.js +1 -0
- package/lib/app/show-online.js +15 -0
- package/lib/build/docker-build-args.js +5 -2
- package/lib/build/index.js +3 -2
- package/lib/build/standard-docker-build.js +6 -3
- package/lib/cli/setup-app.js +19 -1
- package/lib/cli/setup-environment.js +156 -0
- package/lib/cli/setup-utility.js +24 -1
- package/lib/commands/datasource-capability-upsert-cli.js +112 -0
- package/lib/commands/datasource-capability.js +4 -2
- package/lib/commands/env-secret-context.js +113 -0
- package/lib/commands/env-secret-list.js +200 -0
- package/lib/commands/env-secret-push-confirm.js +54 -0
- package/lib/commands/env-secret-push-run.js +227 -0
- package/lib/commands/env-secret-push.js +168 -0
- package/lib/commands/repair-datasource-apply.js +2 -0
- package/lib/commands/repair-datasource-keyed-document.js +122 -0
- package/lib/commands/repair-datasource-run.js +1 -0
- package/lib/commands/role-assistant.js +7 -0
- package/lib/commands/setup-modes.js +1 -8
- package/lib/commands/setup-prompts.js +2 -180
- package/lib/commands/verify-operations-skip-e2e.js +25 -1
- package/lib/commands/verify-operations-steps.js +13 -1
- package/lib/commands/wizard-config-normalizer.js +7 -4
- package/lib/commands/wizard-core.js +5 -157
- package/lib/commands/wizard-file-saving.js +163 -0
- package/lib/core/env-platform-expand.js +97 -0
- package/lib/core/secrets-env-content.js +42 -4
- package/lib/core/secrets-env-write.js +10 -3
- package/lib/core/secrets-load.js +4 -2
- package/lib/datasource/binary-documents-validator.js +190 -0
- package/lib/datasource/capability/run-capability-upsert.js +202 -0
- package/lib/datasource/capability/upsert-ingredients.js +291 -0
- package/lib/datasource/capability/upsert-operations.js +138 -0
- package/lib/datasource/capability/upsert-test-scaffold.js +189 -0
- package/lib/datasource/validate.js +12 -5
- package/lib/deployment/installation/azure-infra-stage.js +3 -1
- package/lib/deployment/installation/infra-catalog.js +2 -5
- package/lib/generator/builders.js +17 -0
- package/lib/generator/helpers.js +23 -2
- package/lib/generator/index.js +13 -6
- package/lib/lifecycle/product-model.js +4 -3
- package/lib/lifecycle/report-display.js +3 -2
- package/lib/parameters/infra-parameter-catalog.js +1 -1
- package/lib/programmatic/builder-help-enterprise-sync-fabrix.js +1 -1
- package/lib/programmatic/builder-help-governance.js +1 -1
- package/lib/programmatic/builder-help.js +1 -1
- package/lib/role-assistant/test-cases-search.js +3 -0
- package/lib/role-assistant/test-job-runner.js +125 -0
- package/lib/role-assistant/test-runner-search.js +44 -2
- package/lib/role-assistant/test-runner-workhub-answers.js +4 -1
- package/lib/role-assistant/test-runner-workhub-missing-fields.js +42 -0
- package/lib/role-assistant/test-runner-workhub-wait-stop.js +94 -0
- package/lib/role-assistant/test-runner-workhub.js +28 -19
- package/lib/schema/application-schema.json +205 -2
- package/lib/schema/external-datasource.schema.json +23 -3
- package/lib/schema/infra-parameter.schema.json +139 -33
- package/lib/schema/infra.parameter.yaml +416 -66
- package/lib/schema/infrastructure-schema.json +10 -35
- package/lib/utils/compose-generate-docker-compose.js +16 -9
- package/lib/utils/datasource-binary-evidence.js +92 -0
- package/lib/utils/datasource-test-run-capability-scope.js +44 -1
- package/lib/utils/datasource-test-run-debug-display.js +2 -0
- package/lib/utils/datasource-test-run-display.js +8 -2
- package/lib/utils/datasource-test-run-issue-guidance.js +176 -0
- package/lib/utils/datasource-test-run-tty-log.js +2 -0
- package/lib/utils/docker-build.js +29 -8
- package/lib/utils/docker-manifest-public-port.js +36 -0
- package/lib/utils/env-copy.js +11 -10
- package/lib/utils/external-system-system-test-tty.js +3 -2
- package/lib/utils/image-tags.js +2 -2
- package/lib/utils/platform-kv-ref.js +1 -1
- package/lib/utils/platform-resolution.js +226 -0
- package/lib/utils/prepare-local-data-mount.js +58 -0
- package/lib/utils/resolve-docker-image-ref.js +8 -3
- package/lib/utils/secrets-helpers.js +0 -1
- package/lib/utils/system-secret-mapping.js +125 -0
- package/lib/utils/test-log-writer.js +2 -1
- package/lib/validation/external-manifest-validator.js +5 -0
- package/lib/validation/openapi-contract-surface-validator.js +3 -1
- package/lib/validation/validate-external-file.js +5 -1
- package/package.json +5 -4
- package/templates/README.md +2 -1
- package/templates/agent-kit/agent-kit.yaml +4 -1
- package/templates/agent-kit/instructions/AGENTKIT.md +1 -1
- package/templates/agent-kit/instructions/root.AGENTS.md +2 -0
- package/templates/agent-kit/skills/aifabrix-connected-system/SKILL.md +35 -2
- package/templates/agent-kit/skills/aifabrix-connected-system/references/delivery-gates.md +15 -0
- package/templates/agent-kit/skills/aifabrix-connected-system/scripts/delivery-verdict.js +176 -0
- package/templates/agent-kit/skills/aifabrix-plan/SKILL.md +6 -2
- package/templates/agent-kit/skills/aifabrix-prove/SKILL.md +28 -2
- package/templates/agent-kit/skills/aifabrix-prove/references/evidence-lifecycle.md +22 -0
- package/templates/agent-kit/skills/aifabrix-role-assistant/SKILL.md +28 -1
- package/templates/agent-kit/skills/aifabrix-role-assistant/references/testing-playbook.md +117 -0
- package/templates/agent-kit/skills/shared/feedback.md +31 -0
- package/templates/agent-kit/skills/shared/hosts.md +13 -3
- package/templates/agent-kit/skills/shared/interaction.md +83 -0
- package/templates/agent-kit/skills/shared/status.md +76 -0
- package/templates/agent-kit/workspace/BUILDER_IMPROVEMENT_FINDINGS.md +27 -0
- package/templates/applications/builder-api/application.yaml +1 -1
- package/templates/applications/builder-api/env.template +5 -1
- package/templates/applications/dataplane/application.yaml +30 -2
- package/templates/applications/dataplane/env.template +36 -5
- package/templates/applications/keycloak/application.yaml +6 -1
- package/templates/applications/miso-controller/application.yaml +96 -1
- package/templates/applications/miso-controller/env.template +63 -37
- package/templates/applications/miso-controller/rbac.yaml +17 -0
- package/templates/external-system/external-datasource.yaml.hbs +7 -1
- package/templates/marketplace/main.json +73 -225
- package/templates/python/Dockerfile.hbs +2 -0
- package/templates/python/docker-compose.hbs +1 -1
- package/templates/typescript/Dockerfile.hbs +2 -0
- package/templates/typescript/docker-compose.hbs +12 -0
- package/templates/agent-kit/skills/aifabrix-plan/references/interaction.md +0 -34
- /package/{lib/programmatic/help-content → docs/builder-help/content}/channel-onboarding.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/cip-overview.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/connected-system-ui.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/dimensions-guide.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/enterprise-sync-fabrix.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/overview.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/subscription-guide.md +0 -0
- /package/{lib/programmatic/help-content → docs/builder-help/content}/workflow.md +0 -0
|
@@ -98,6 +98,10 @@ services:
|
|
|
98
98
|
{{/if}}
|
|
99
99
|
ports:
|
|
100
100
|
- "{{hostPort}}:{{containerPort}}"
|
|
101
|
+
{{#each additionalPorts}}
|
|
102
|
+
# {{this.name}}
|
|
103
|
+
- "{{this.hostPort}}:{{this.containerPort}}"
|
|
104
|
+
{{/each}}
|
|
101
105
|
networks:
|
|
102
106
|
- {{networkName}}
|
|
103
107
|
{{#if devMountPath}}
|
|
@@ -110,7 +114,9 @@ services:
|
|
|
110
114
|
- {{#if (eq devId 0)}}aifabrix_{{app.key}}_data{{else}}aifabrix_dev{{devId}}_{{app.key}}_data{{/if}}:/mnt/data
|
|
111
115
|
{{/if}}
|
|
112
116
|
{{/if}}
|
|
117
|
+
{{#unless runAsRoot}}
|
|
113
118
|
user: "${AIFABRIX_UID:-1000}:${AIFABRIX_GID:-1000}"
|
|
119
|
+
{{/unless}}
|
|
114
120
|
{{else}}
|
|
115
121
|
{{#if requiresStorage}}
|
|
116
122
|
volumes:
|
|
@@ -120,7 +126,9 @@ services:
|
|
|
120
126
|
- {{#if (eq devId 0)}}aifabrix_{{app.key}}_data{{else}}aifabrix_dev{{devId}}_{{app.key}}_data{{/if}}:/mnt/data
|
|
121
127
|
{{/if}}
|
|
122
128
|
{{#if localDataMountPath}}
|
|
129
|
+
{{#unless runAsRoot}}
|
|
123
130
|
user: "${AIFABRIX_UID:-1000}:${AIFABRIX_GID:-1000}"
|
|
131
|
+
{{/unless}}
|
|
124
132
|
{{/if}}
|
|
125
133
|
{{/if}}
|
|
126
134
|
{{/if}}
|
|
@@ -167,7 +175,9 @@ services:
|
|
|
167
175
|
- {{#if (eq devId 0)}}aifabrix_{{app.key}}_data{{else}}aifabrix_dev{{devId}}_{{app.key}}_data{{/if}}:/mnt/data
|
|
168
176
|
{{/if}}
|
|
169
177
|
{{/if}}
|
|
178
|
+
{{#unless runAsRoot}}
|
|
170
179
|
user: "${AIFABRIX_UID:-1000}:${AIFABRIX_GID:-1000}"
|
|
180
|
+
{{/unless}}
|
|
171
181
|
{{/if}}
|
|
172
182
|
depends_on:
|
|
173
183
|
{{app.key}}:
|
|
@@ -200,7 +210,9 @@ services:
|
|
|
200
210
|
- {{#if (eq devId 0)}}aifabrix_{{app.key}}_data{{else}}aifabrix_dev{{devId}}_{{app.key}}_data{{/if}}:/mnt/data
|
|
201
211
|
{{/if}}
|
|
202
212
|
{{/if}}
|
|
213
|
+
{{#unless runAsRoot}}
|
|
203
214
|
user: "${AIFABRIX_UID:-1000}:${AIFABRIX_GID:-1000}"
|
|
215
|
+
{{/unless}}
|
|
204
216
|
{{/if}}
|
|
205
217
|
depends_on:
|
|
206
218
|
{{#if workerSidecars.worker}}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# Phase and result interaction
|
|
2
|
-
|
|
3
|
-
Use structured questions. Do not start the next phase from chat prose alone.
|
|
4
|
-
|
|
5
|
-
## After success
|
|
6
|
-
|
|
7
|
-
Offer the next eligible phase. Proceed only on `next-yes`.
|
|
8
|
-
|
|
9
|
-
Shared option ids: `next-yes` · `next-no` · `next-stop`.
|
|
10
|
-
|
|
11
|
-
| Completed | Next offer |
|
|
12
|
-
| --- | --- |
|
|
13
|
-
| aifabrix-plan PLAN_READY | connected-system validate |
|
|
14
|
-
| connected-system READY | connected-system build |
|
|
15
|
-
| connected-system BUILT | connected-system publish |
|
|
16
|
-
| connected-system PASS or PASS_WITH_SKIPS | archive (separate) and/or prove validate |
|
|
17
|
-
| prove READY / BUILT / UPDATED | prove next phase |
|
|
18
|
-
| prove PASS or PASS_WITH_SKIPS | iterate validate/build |
|
|
19
|
-
|
|
20
|
-
Archive is a distinct user decision (`archive-yes` / `archive-no`). Never archive as a side effect of PASS.
|
|
21
|
-
|
|
22
|
-
## On gaps
|
|
23
|
-
|
|
24
|
-
- NEEDS_DECISIONS: AskQuestion challenge rows. No `cust-next`.
|
|
25
|
-
- BLOCKED / FAIL / NEEDS_FIXES / ABORTED: do not offer the next phase as if success.
|
|
26
|
-
|
|
27
|
-
## Phase detection (connected-system and prove)
|
|
28
|
-
|
|
29
|
-
1. Explicit phase from the user
|
|
30
|
-
2. Active plan and package state
|
|
31
|
-
3. Safe next eligible phase
|
|
32
|
-
4. Ask once if ambiguous
|
|
33
|
-
|
|
34
|
-
Never silently run the following phase after success.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{lib/programmatic/help-content → docs/builder-help/content}/enterprise-sync-fabrix.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|