@agent-teams/engineering-foundation 3.0.1 → 4.0.0
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 +12 -0
- package/dist/capabilities/public-api-compatibility/adapters/inbound/configuration/load-capability-config.js +2 -1
- package/dist/capabilities/public-api-compatibility/adapters/inbound/configuration/load-capability-config.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/inbound/configuration/parse-growth-config.d.ts +0 -3
- package/dist/capabilities/public-api-compatibility/adapters/inbound/configuration/parse-growth-config.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/inbound/configuration/parse-growth-config.js +1 -9
- package/dist/capabilities/public-api-compatibility/adapters/inbound/configuration/parse-growth-config.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/model/growth-configuration.d.ts +1 -1
- package/dist/capabilities/public-api-compatibility/application/model/growth-configuration.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/model/growth-workspace.d.ts +3 -0
- package/dist/capabilities/public-api-compatibility/application/model/growth-workspace.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/policies/growth-report-destination.d.ts +3 -0
- package/dist/capabilities/public-api-compatibility/application/policies/growth-report-destination.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/growth-report-destination.js +10 -0
- package/dist/capabilities/public-api-compatibility/application/policies/growth-report-destination.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/growth-workspace-observation-key.d.ts +7 -0
- package/dist/capabilities/public-api-compatibility/application/policies/growth-workspace-observation-key.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/policies/growth-workspace-observation-key.js +24 -0
- package/dist/capabilities/public-api-compatibility/application/policies/growth-workspace-observation-key.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/ports/growth-workspace.d.ts +2 -4
- package/dist/capabilities/public-api-compatibility/application/ports/growth-workspace.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/run-sdk-growth-check.d.ts +16 -0
- package/dist/capabilities/public-api-compatibility/application/use-cases/run-sdk-growth-check.d.ts.map +1 -0
- package/dist/capabilities/public-api-compatibility/application/use-cases/run-sdk-growth-check.js +46 -0
- package/dist/capabilities/public-api-compatibility/application/use-cases/run-sdk-growth-check.js.map +1 -0
- package/dist/capabilities/public-api-compatibility/authority-module.js +1 -1
- package/dist/capabilities/public-api-compatibility/authority-module.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/module.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/module.js +5 -9
- package/dist/capabilities/public-api-compatibility/module.js.map +1 -1
- package/dist/capabilities/quality-gate-runner/api.d.ts +1 -0
- package/dist/capabilities/quality-gate-runner/api.d.ts.map +1 -1
- package/dist/capabilities/quality-gate-runner/application/use-cases/create-quality-gate-command.d.ts +1 -0
- package/dist/capabilities/quality-gate-runner/application/use-cases/create-quality-gate-command.d.ts.map +1 -1
- package/dist/capabilities/quality-gate-runner/application/use-cases/create-quality-gate-command.js +15 -0
- package/dist/capabilities/quality-gate-runner/application/use-cases/create-quality-gate-command.js.map +1 -1
- package/dist/capabilities/quality-gate-runner/application/use-cases/run-quality-gate-profile.d.ts +1 -0
- package/dist/capabilities/quality-gate-runner/application/use-cases/run-quality-gate-profile.d.ts.map +1 -1
- package/dist/capabilities/quality-gate-runner/application/use-cases/run-quality-gate-profile.js +26 -3
- package/dist/capabilities/quality-gate-runner/application/use-cases/run-quality-gate-profile.js.map +1 -1
- package/dist/capabilities/quality-gate-runner/composition/node-quality-gate-command.d.ts.map +1 -1
- package/dist/capabilities/quality-gate-runner/composition/node-quality-gate-command.js +19 -1
- package/dist/capabilities/quality-gate-runner/composition/node-quality-gate-command.js.map +1 -1
- package/dist/capabilities/quality-gate-runner/module.d.ts +3 -1
- package/dist/capabilities/quality-gate-runner/module.d.ts.map +1 -1
- package/dist/capabilities/quality-gate-runner/module.js +2 -0
- package/dist/capabilities/quality-gate-runner/module.js.map +1 -1
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-discovery.d.ts +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-discovery.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-discovery.js +19 -4
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-discovery.js.map +1 -1
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-census-reader.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-census-reader.js +12 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-census-reader.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/ports/source-census-reader.d.ts +4 -0
- package/dist/capabilities/source-dependencies/application/ports/source-census-reader.d.ts.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/adapters/inbound/filesystem/load-capability-config.d.ts +2 -2
- package/dist/capabilities/workspace-dependency-declarations/adapters/inbound/filesystem/load-capability-config.d.ts.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/adapters/inbound/filesystem/load-capability-config.js +4 -1
- package/dist/capabilities/workspace-dependency-declarations/adapters/inbound/filesystem/load-capability-config.js.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/application/configuration-input.d.ts +1 -0
- package/dist/capabilities/workspace-dependency-declarations/application/configuration-input.d.ts.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/module.d.ts.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/module.js +6 -3
- package/dist/capabilities/workspace-dependency-declarations/module.js.map +1 -1
- package/dist/composition/capability-modules.d.ts.map +1 -1
- package/dist/composition/capability-modules.js +3 -1
- package/dist/composition/capability-modules.js.map +1 -1
- package/dist/composition/command-host.d.ts.map +1 -1
- package/dist/composition/command-host.js +2 -0
- package/dist/composition/command-host.js.map +1 -1
- package/dist/composition/format-coverage.d.ts +4 -0
- package/dist/composition/format-coverage.d.ts.map +1 -0
- package/dist/composition/format-coverage.js +23 -0
- package/dist/composition/format-coverage.js.map +1 -0
- package/dist/composition/quality-coverage.d.ts.map +1 -1
- package/dist/composition/quality-coverage.js +13 -14
- package/dist/composition/quality-coverage.js.map +1 -1
- package/dist/features/command-host/adapters/inbound/cli/cli-arguments.d.ts +12 -1
- package/dist/features/command-host/adapters/inbound/cli/cli-arguments.d.ts.map +1 -1
- package/dist/features/command-host/adapters/inbound/cli/cli-arguments.js +97 -52
- package/dist/features/command-host/adapters/inbound/cli/cli-arguments.js.map +1 -1
- package/dist/features/command-host/adapters/inbound/cli/cli-output.d.ts.map +1 -1
- package/dist/features/command-host/adapters/inbound/cli/cli-output.js +1 -0
- package/dist/features/command-host/adapters/inbound/cli/cli-output.js.map +1 -1
- package/dist/features/command-host/adapters/inbound/cli/foundation-cli.d.ts.map +1 -1
- package/dist/features/command-host/adapters/inbound/cli/foundation-cli.js +83 -137
- package/dist/features/command-host/adapters/inbound/cli/foundation-cli.js.map +1 -1
- package/dist/features/command-host/api.d.ts +10 -0
- package/dist/features/command-host/api.d.ts.map +1 -1
- package/dist/features/command-host/api.js +5 -0
- package/dist/features/command-host/api.js.map +1 -1
- package/dist/features/command-host/application/baseline-command.d.ts +18 -0
- package/dist/features/command-host/application/baseline-command.d.ts.map +1 -0
- package/dist/features/command-host/application/baseline-command.js +28 -0
- package/dist/features/command-host/application/baseline-command.js.map +1 -0
- package/dist/features/command-host/application/check-command.d.ts +9 -0
- package/dist/features/command-host/application/check-command.d.ts.map +1 -0
- package/dist/features/command-host/application/check-command.js +20 -0
- package/dist/features/command-host/application/check-command.js.map +1 -0
- package/dist/features/command-host/application/command-services.d.ts +3 -0
- package/dist/features/command-host/application/command-services.d.ts.map +1 -1
- package/dist/features/command-host/application/information-command.d.ts +20 -0
- package/dist/features/command-host/application/information-command.d.ts.map +1 -0
- package/dist/features/command-host/application/information-command.js +46 -0
- package/dist/features/command-host/application/information-command.js.map +1 -0
- package/dist/features/command-host/application/local-mode-command.d.ts +20 -0
- package/dist/features/command-host/application/local-mode-command.d.ts.map +1 -0
- package/dist/features/command-host/application/local-mode-command.js +39 -0
- package/dist/features/command-host/application/local-mode-command.js.map +1 -0
- package/dist/features/command-host/application/quality-command.d.ts +11 -0
- package/dist/features/command-host/application/quality-command.d.ts.map +1 -0
- package/dist/features/command-host/application/quality-command.js +30 -0
- package/dist/features/command-host/application/quality-command.js.map +1 -0
- package/dist/features/command-host/composition/node-command-host.d.ts +1 -0
- package/dist/features/command-host/composition/node-command-host.d.ts.map +1 -1
- package/dist/features/command-host/composition/node-command-host.js +1 -0
- package/dist/features/command-host/composition/node-command-host.js.map +1 -1
- package/dist/features/configuration-input/node.d.ts +2 -0
- package/dist/features/configuration-input/node.d.ts.map +1 -1
- package/dist/features/configuration-input/node.js +1 -0
- package/dist/features/configuration-input/node.js.map +1 -1
- package/dist/features/foundation-check/adapters/inbound/config/foundation-config-reader.d.ts.map +1 -1
- package/dist/features/foundation-check/adapters/inbound/config/foundation-config-reader.js +5 -1
- package/dist/features/foundation-check/adapters/inbound/config/foundation-config-reader.js.map +1 -1
- package/dist/features/foundation-check/application/ports/foundation-config-input.d.ts +1 -1
- package/dist/features/foundation-check/application/ports/foundation-config-input.d.ts.map +1 -1
- package/dist/features/foundation-check/schemas.d.ts +1 -1
- package/dist/features/foundation-check/schemas.d.ts.map +1 -1
- package/dist/features/foundation-check/schemas.js +1 -0
- package/dist/features/foundation-check/schemas.js.map +1 -1
- package/dist/features/quality-coverage/adapters/configuration.d.ts +3 -1
- package/dist/features/quality-coverage/adapters/configuration.d.ts.map +1 -1
- package/dist/features/quality-coverage/adapters/configuration.js +15 -14
- package/dist/features/quality-coverage/adapters/configuration.js.map +1 -1
- package/dist/features/quality-coverage/adapters/consumer-execution.d.ts +1 -5
- package/dist/features/quality-coverage/adapters/consumer-execution.d.ts.map +1 -1
- package/dist/features/quality-coverage/adapters/consumer-execution.js +10 -19
- package/dist/features/quality-coverage/adapters/consumer-execution.js.map +1 -1
- package/dist/features/quality-coverage/adapters/consumer-observations.d.ts +10 -5
- package/dist/features/quality-coverage/adapters/consumer-observations.d.ts.map +1 -1
- package/dist/features/quality-coverage/adapters/consumer-observations.js +154 -98
- package/dist/features/quality-coverage/adapters/consumer-observations.js.map +1 -1
- package/dist/features/quality-coverage/adapters/consumer-toolchain.d.ts +2 -0
- package/dist/features/quality-coverage/adapters/consumer-toolchain.d.ts.map +1 -1
- package/dist/features/quality-coverage/adapters/consumer-toolchain.js +43 -0
- package/dist/features/quality-coverage/adapters/consumer-toolchain.js.map +1 -1
- package/dist/features/quality-coverage/adapters/format-authorities.d.ts +3 -0
- package/dist/features/quality-coverage/adapters/format-authorities.d.ts.map +1 -0
- package/dist/features/quality-coverage/adapters/format-authorities.js +25 -0
- package/dist/features/quality-coverage/adapters/format-authorities.js.map +1 -0
- package/dist/features/quality-coverage/adapters/format-command.d.ts +8 -0
- package/dist/features/quality-coverage/adapters/format-command.d.ts.map +1 -0
- package/dist/features/quality-coverage/adapters/format-command.js +17 -0
- package/dist/features/quality-coverage/adapters/format-command.js.map +1 -0
- package/dist/features/quality-coverage/adapters/format-observations.d.ts +11 -0
- package/dist/features/quality-coverage/adapters/format-observations.d.ts.map +1 -0
- package/dist/features/quality-coverage/adapters/format-observations.js +181 -0
- package/dist/features/quality-coverage/adapters/format-observations.js.map +1 -0
- package/dist/features/quality-coverage/adapters/format-toolchain.d.ts +3 -0
- package/dist/features/quality-coverage/adapters/format-toolchain.d.ts.map +1 -0
- package/dist/features/quality-coverage/adapters/format-toolchain.js +109 -0
- package/dist/features/quality-coverage/adapters/format-toolchain.js.map +1 -0
- package/dist/features/quality-coverage/adapters/oxlint-session.d.ts +1 -0
- package/dist/features/quality-coverage/adapters/oxlint-session.d.ts.map +1 -1
- package/dist/features/quality-coverage/adapters/oxlint-session.js +3 -1
- package/dist/features/quality-coverage/adapters/oxlint-session.js.map +1 -1
- package/dist/features/quality-coverage/adapters/profile-input.d.ts +3 -9
- package/dist/features/quality-coverage/adapters/profile-input.d.ts.map +1 -1
- package/dist/features/quality-coverage/adapters/profile-input.js +16 -125
- package/dist/features/quality-coverage/adapters/profile-input.js.map +1 -1
- package/dist/features/quality-coverage/adapters/protected-config.d.ts +2 -1
- package/dist/features/quality-coverage/adapters/protected-config.d.ts.map +1 -1
- package/dist/features/quality-coverage/adapters/protected-config.js +38 -30
- package/dist/features/quality-coverage/adapters/protected-config.js.map +1 -1
- package/dist/features/quality-coverage/adapters/quality-config-resolution.d.ts +15 -0
- package/dist/features/quality-coverage/adapters/quality-config-resolution.d.ts.map +1 -0
- package/dist/features/quality-coverage/adapters/quality-config-resolution.js +123 -0
- package/dist/features/quality-coverage/adapters/quality-config-resolution.js.map +1 -0
- package/dist/features/quality-coverage/adapters/quality-input-values.d.ts +7 -0
- package/dist/features/quality-coverage/adapters/quality-input-values.d.ts.map +1 -0
- package/dist/features/quality-coverage/adapters/quality-input-values.js +38 -0
- package/dist/features/quality-coverage/adapters/quality-input-values.js.map +1 -0
- package/dist/features/quality-coverage/adapters/quality-input-witness.d.ts +37 -0
- package/dist/features/quality-coverage/adapters/quality-input-witness.d.ts.map +1 -0
- package/dist/features/quality-coverage/adapters/quality-input-witness.js +357 -0
- package/dist/features/quality-coverage/adapters/quality-input-witness.js.map +1 -0
- package/dist/features/quality-coverage/adapters/topology-input.d.ts +4 -0
- package/dist/features/quality-coverage/adapters/topology-input.d.ts.map +1 -0
- package/dist/features/quality-coverage/adapters/topology-input.js +73 -0
- package/dist/features/quality-coverage/adapters/topology-input.js.map +1 -0
- package/dist/features/quality-coverage/api.d.ts +4 -1
- package/dist/features/quality-coverage/api.d.ts.map +1 -1
- package/dist/features/quality-coverage/api.js +2 -0
- package/dist/features/quality-coverage/api.js.map +1 -1
- package/dist/features/quality-coverage/application/capability.js +1 -1
- package/dist/features/quality-coverage/application/check-format-coverage.d.ts +10 -0
- package/dist/features/quality-coverage/application/check-format-coverage.d.ts.map +1 -0
- package/dist/features/quality-coverage/application/check-format-coverage.js +102 -0
- package/dist/features/quality-coverage/application/check-format-coverage.js.map +1 -0
- package/dist/features/quality-coverage/application/check-quality-coverage.d.ts.map +1 -1
- package/dist/features/quality-coverage/application/check-quality-coverage.js +27 -12
- package/dist/features/quality-coverage/application/check-quality-coverage.js.map +1 -1
- package/dist/features/quality-coverage/application/format-coverage-ports.d.ts +29 -0
- package/dist/features/quality-coverage/application/format-coverage-ports.d.ts.map +1 -0
- package/dist/features/quality-coverage/application/format-coverage-ports.js +2 -0
- package/dist/features/quality-coverage/application/format-coverage-ports.js.map +1 -0
- package/dist/features/quality-coverage/application/format-coverage.d.ts +24 -0
- package/dist/features/quality-coverage/application/format-coverage.d.ts.map +1 -0
- package/dist/features/quality-coverage/application/format-coverage.js +69 -0
- package/dist/features/quality-coverage/application/format-coverage.js.map +1 -0
- package/dist/features/quality-coverage/application/model.d.ts +18 -2
- package/dist/features/quality-coverage/application/model.d.ts.map +1 -1
- package/dist/features/quality-coverage/application/model.js.map +1 -1
- package/dist/features/quality-coverage/application/profile.d.ts +13 -10
- package/dist/features/quality-coverage/application/profile.d.ts.map +1 -1
- package/dist/features/quality-coverage/application/script-route.d.ts +1 -1
- package/dist/features/quality-coverage/application/script-route.d.ts.map +1 -1
- package/dist/features/quality-coverage/application/script-route.js +2 -2
- package/dist/features/quality-coverage/application/script-route.js.map +1 -1
- package/dist/features/quality-coverage/application/source-coverage.d.ts.map +1 -1
- package/dist/features/quality-coverage/application/source-coverage.js +12 -18
- package/dist/features/quality-coverage/application/source-coverage.js.map +1 -1
- package/dist/features/quality-coverage/node.d.ts +2 -0
- package/dist/features/quality-coverage/node.d.ts.map +1 -1
- package/dist/features/quality-coverage/node.js +2 -0
- package/dist/features/quality-coverage/node.js.map +1 -1
- package/dist/features/quality-coverage/schemas.d.ts +1 -1
- package/dist/features/quality-coverage/schemas.d.ts.map +1 -1
- package/dist/features/quality-coverage/schemas.js +3 -0
- package/dist/features/quality-coverage/schemas.js.map +1 -1
- package/dist/local-mode/adapters/node/local-entry-observation.d.ts +19 -0
- package/dist/local-mode/adapters/node/local-entry-observation.d.ts.map +1 -0
- package/dist/local-mode/adapters/node/local-entry-observation.js +85 -0
- package/dist/local-mode/adapters/node/local-entry-observation.js.map +1 -0
- package/dist/local-mode/adapters/node/local-operation-custody.d.ts +18 -0
- package/dist/local-mode/adapters/node/local-operation-custody.d.ts.map +1 -0
- package/dist/local-mode/adapters/node/local-operation-custody.js +56 -0
- package/dist/local-mode/adapters/node/local-operation-custody.js.map +1 -0
- package/dist/local-mode/adapters/node/local-state-store.d.ts +3 -2
- package/dist/local-mode/adapters/node/local-state-store.d.ts.map +1 -1
- package/dist/local-mode/adapters/node/local-state-store.js +261 -24
- package/dist/local-mode/adapters/node/local-state-store.js.map +1 -1
- package/dist/local-mode/adapters/node/mode-inspection.d.ts +2 -1
- package/dist/local-mode/adapters/node/mode-inspection.d.ts.map +1 -1
- package/dist/local-mode/adapters/node/mode-inspection.js +1 -1
- package/dist/local-mode/adapters/node/mode-inspection.js.map +1 -1
- package/dist/local-mode/adapters/node/registry-links.d.ts.map +1 -1
- package/dist/local-mode/adapters/node/registry-links.js +87 -10
- package/dist/local-mode/adapters/node/registry-links.js.map +1 -1
- package/dist/local-mode/adapters/node/registry-recovery.d.ts.map +1 -1
- package/dist/local-mode/adapters/node/registry-recovery.js +92 -12
- package/dist/local-mode/adapters/node/registry-recovery.js.map +1 -1
- package/dist/local-mode/application/attach-transaction.d.ts.map +1 -1
- package/dist/local-mode/application/attach-transaction.js +4 -4
- package/dist/local-mode/application/attach-transaction.js.map +1 -1
- package/dist/local-mode/application/inspection-failures.d.ts +1 -0
- package/dist/local-mode/application/inspection-failures.d.ts.map +1 -1
- package/dist/local-mode/application/inspection-failures.js +3 -0
- package/dist/local-mode/application/inspection-failures.js.map +1 -1
- package/dist/local-mode/application/service.d.ts.map +1 -1
- package/dist/local-mode/application/service.js +7 -3
- package/dist/local-mode/application/service.js.map +1 -1
- package/dist/local-mode/application/settle-local-operation.d.ts +3 -0
- package/dist/local-mode/application/settle-local-operation.d.ts.map +1 -0
- package/dist/local-mode/application/settle-local-operation.js +31 -0
- package/dist/local-mode/application/settle-local-operation.js.map +1 -0
- package/dist/local-mode/composition/service.d.ts +1 -1
- package/dist/local-mode/composition/service.d.ts.map +1 -1
- package/dist/local-mode/composition/service.js +9 -11
- package/dist/local-mode/composition/service.js.map +1 -1
- package/dist/process-execution/node-process-runner.d.ts.map +1 -1
- package/dist/process-execution/node-process-runner.js +1 -1
- package/dist/process-execution/node-process-runner.js.map +1 -1
- package/dist/schema-catalog.d.ts +1 -1
- package/dist/schema-catalog.d.ts.map +1 -1
- package/dist/schema-ids.d.ts +1 -1
- package/dist/schema-ids.d.ts.map +1 -1
- package/dist/source-inventory/adapters/outbound/filesystem/filesystem-source-tree-reader.d.ts.map +1 -1
- package/dist/source-inventory/adapters/outbound/filesystem/filesystem-source-tree-reader.js +15 -1
- package/dist/source-inventory/adapters/outbound/filesystem/filesystem-source-tree-reader.js.map +1 -1
- package/dist/workspace-inventory/module.d.ts +8 -1
- package/dist/workspace-inventory/module.d.ts.map +1 -1
- package/dist/workspace-inventory/module.js +4 -4
- package/dist/workspace-inventory/module.js.map +1 -1
- package/package.json +8 -4
- package/schemas/foundation-config/v3.schema.json +179 -0
- package/schemas/quality-format-coverage/v1.schema.json +203 -0
- package/schemas/quality-source-coverage/v5.schema.json +149 -0
- package/schemas/quality-source-topology/v1.schema.json +145 -0
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-teams.ai/engineering-foundation/quality-format-coverage/v1",
|
|
4
|
+
"title": "Opt-in complete formatting input coverage profile",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"owner",
|
|
10
|
+
"budgetMs",
|
|
11
|
+
"maintainedRoots",
|
|
12
|
+
"rootFiles",
|
|
13
|
+
"scripts",
|
|
14
|
+
"authorities",
|
|
15
|
+
"routes"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"schemaVersion": {
|
|
19
|
+
"const": 1
|
|
20
|
+
},
|
|
21
|
+
"owner": {
|
|
22
|
+
"$ref": "#/$defs/id"
|
|
23
|
+
},
|
|
24
|
+
"budgetMs": {
|
|
25
|
+
"type": "integer",
|
|
26
|
+
"minimum": 1,
|
|
27
|
+
"maximum": 2147483647
|
|
28
|
+
},
|
|
29
|
+
"maintainedRoots": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"minItems": 1,
|
|
32
|
+
"maxItems": 10000,
|
|
33
|
+
"uniqueItems": true,
|
|
34
|
+
"items": {
|
|
35
|
+
"$ref": "#/$defs/path"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"rootFiles": {
|
|
39
|
+
"const": "format-or-reject"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"required": ["format", "required"],
|
|
45
|
+
"properties": {
|
|
46
|
+
"format": {
|
|
47
|
+
"$ref": "#/$defs/id"
|
|
48
|
+
},
|
|
49
|
+
"required": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"minItems": 1,
|
|
52
|
+
"maxItems": 10000,
|
|
53
|
+
"uniqueItems": true,
|
|
54
|
+
"items": {
|
|
55
|
+
"$ref": "#/$defs/id"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"alternates": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"additionalProperties": false,
|
|
63
|
+
"required": ["configPath", "profileId"],
|
|
64
|
+
"properties": {
|
|
65
|
+
"configPath": {
|
|
66
|
+
"$ref": "#/$defs/path"
|
|
67
|
+
},
|
|
68
|
+
"profileId": {
|
|
69
|
+
"$ref": "#/$defs/id"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"authorities": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"minItems": 0,
|
|
76
|
+
"maxItems": 10000,
|
|
77
|
+
"uniqueItems": true,
|
|
78
|
+
"items": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"additionalProperties": false,
|
|
81
|
+
"required": ["id", "owner", "script", "execution"],
|
|
82
|
+
"properties": {
|
|
83
|
+
"id": {
|
|
84
|
+
"$ref": "#/$defs/id"
|
|
85
|
+
},
|
|
86
|
+
"owner": {
|
|
87
|
+
"$ref": "#/$defs/id"
|
|
88
|
+
},
|
|
89
|
+
"script": {
|
|
90
|
+
"$ref": "#/$defs/id"
|
|
91
|
+
},
|
|
92
|
+
"execution": {
|
|
93
|
+
"const": "read-only-source-validation"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"routes": {
|
|
99
|
+
"type": "array",
|
|
100
|
+
"minItems": 0,
|
|
101
|
+
"maxItems": 10000,
|
|
102
|
+
"uniqueItems": true,
|
|
103
|
+
"items": {
|
|
104
|
+
"type": "object",
|
|
105
|
+
"additionalProperties": false,
|
|
106
|
+
"required": ["authority", "kind", "files", "trees"],
|
|
107
|
+
"properties": {
|
|
108
|
+
"authority": {
|
|
109
|
+
"$ref": "#/$defs/id"
|
|
110
|
+
},
|
|
111
|
+
"kind": {
|
|
112
|
+
"enum": ["retained", "managed", "generated", "validated-data"]
|
|
113
|
+
},
|
|
114
|
+
"files": {
|
|
115
|
+
"type": "array",
|
|
116
|
+
"minItems": 0,
|
|
117
|
+
"maxItems": 10000,
|
|
118
|
+
"uniqueItems": true,
|
|
119
|
+
"items": {
|
|
120
|
+
"$ref": "#/$defs/path"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"trees": {
|
|
124
|
+
"type": "array",
|
|
125
|
+
"minItems": 0,
|
|
126
|
+
"maxItems": 10000,
|
|
127
|
+
"uniqueItems": true,
|
|
128
|
+
"items": {
|
|
129
|
+
"type": "object",
|
|
130
|
+
"additionalProperties": false,
|
|
131
|
+
"required": ["path", "suffixes"],
|
|
132
|
+
"properties": {
|
|
133
|
+
"path": {
|
|
134
|
+
"$ref": "#/$defs/path"
|
|
135
|
+
},
|
|
136
|
+
"suffixes": {
|
|
137
|
+
"type": "array",
|
|
138
|
+
"minItems": 1,
|
|
139
|
+
"maxItems": 10000,
|
|
140
|
+
"uniqueItems": true,
|
|
141
|
+
"items": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"minLength": 1,
|
|
144
|
+
"maxLength": 64,
|
|
145
|
+
"pattern": "^\\.[A-Za-z0-9][A-Za-z0-9.-]*$"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"anyOf": [
|
|
153
|
+
{
|
|
154
|
+
"properties": {
|
|
155
|
+
"files": {
|
|
156
|
+
"type": "array",
|
|
157
|
+
"minItems": 1
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"properties": {
|
|
163
|
+
"trees": {
|
|
164
|
+
"type": "array",
|
|
165
|
+
"minItems": 1
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"allOf": [
|
|
174
|
+
{
|
|
175
|
+
"if": {
|
|
176
|
+
"properties": {
|
|
177
|
+
"authorities": {
|
|
178
|
+
"minItems": 1,
|
|
179
|
+
"type": "array"
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"then": {
|
|
184
|
+
"properties": { "alternates": { "$ref": "#/properties/alternates" } },
|
|
185
|
+
"required": ["alternates"]
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"$defs": {
|
|
190
|
+
"id": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"minLength": 1,
|
|
193
|
+
"maxLength": 240,
|
|
194
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$"
|
|
195
|
+
},
|
|
196
|
+
"path": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"minLength": 1,
|
|
199
|
+
"maxLength": 4096,
|
|
200
|
+
"pattern": "^(?!/)(?!.*[\\\\:\\u0000-\\u001f\\u007f])(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*//)(?!.*(?:^|/)(?:\\.git|node_modules)(?:/|$))(?!.*[. /]$).+$"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-teams.ai/engineering-foundation/quality-source-coverage/v5",
|
|
4
|
+
"title": "Production quality source coverage profile",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"sourcePolicyPath",
|
|
10
|
+
"suppressionPolicyPath",
|
|
11
|
+
"topologyPath",
|
|
12
|
+
"lintConfigPath",
|
|
13
|
+
"toolchainConfigPath",
|
|
14
|
+
"scripts",
|
|
15
|
+
"budgetMs"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"schemaVersion": {
|
|
19
|
+
"const": 5
|
|
20
|
+
},
|
|
21
|
+
"sourcePolicyPath": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1,
|
|
24
|
+
"maxLength": 240,
|
|
25
|
+
"pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+\\.(?:ya?ml|json)$"
|
|
26
|
+
},
|
|
27
|
+
"suppressionPolicyPath": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 1,
|
|
30
|
+
"maxLength": 240,
|
|
31
|
+
"pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+\\.(?:ya?ml|json)$"
|
|
32
|
+
},
|
|
33
|
+
"lintConfigPath": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"minLength": 1,
|
|
36
|
+
"maxLength": 240,
|
|
37
|
+
"pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+\\.(?:ya?ml|json)$"
|
|
38
|
+
},
|
|
39
|
+
"bridgeAdmissionsPath": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"minLength": 1,
|
|
42
|
+
"maxLength": 240,
|
|
43
|
+
"pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+\\.(?:ya?ml|json)$"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"required": ["fast", "full", "scope", "typed"],
|
|
49
|
+
"properties": {
|
|
50
|
+
"fast": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"minLength": 1,
|
|
53
|
+
"maxLength": 128,
|
|
54
|
+
"pattern": "^[A-Za-z0-9_:-]+$"
|
|
55
|
+
},
|
|
56
|
+
"full": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"minLength": 1,
|
|
59
|
+
"maxLength": 128,
|
|
60
|
+
"pattern": "^[A-Za-z0-9_:-]+$"
|
|
61
|
+
},
|
|
62
|
+
"scope": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"minLength": 1,
|
|
65
|
+
"maxLength": 128,
|
|
66
|
+
"pattern": "^[A-Za-z0-9_:-]+$"
|
|
67
|
+
},
|
|
68
|
+
"typed": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"minLength": 1,
|
|
71
|
+
"maxLength": 128,
|
|
72
|
+
"pattern": "^[A-Za-z0-9_:-]+$"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"nativeChecks": {
|
|
77
|
+
"type": "array",
|
|
78
|
+
"maxItems": 1000,
|
|
79
|
+
"uniqueItems": true,
|
|
80
|
+
"items": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"additionalProperties": false,
|
|
83
|
+
"required": ["boundaryId", "script"],
|
|
84
|
+
"properties": {
|
|
85
|
+
"boundaryId": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"minLength": 1,
|
|
88
|
+
"maxLength": 240
|
|
89
|
+
},
|
|
90
|
+
"script": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"minLength": 1,
|
|
93
|
+
"maxLength": 128,
|
|
94
|
+
"pattern": "^[A-Za-z0-9_:-]+$"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"assets": {
|
|
100
|
+
"type": "array",
|
|
101
|
+
"maxItems": 1000,
|
|
102
|
+
"uniqueItems": true,
|
|
103
|
+
"items": {
|
|
104
|
+
"type": "object",
|
|
105
|
+
"additionalProperties": false,
|
|
106
|
+
"required": ["path", "kind", "boundaryId", "script"],
|
|
107
|
+
"properties": {
|
|
108
|
+
"path": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"minLength": 1,
|
|
111
|
+
"maxLength": 240,
|
|
112
|
+
"pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*[?*]).+\\.(?:proto|sql)$"
|
|
113
|
+
},
|
|
114
|
+
"kind": {
|
|
115
|
+
"enum": ["protobuf", "sql-migration"]
|
|
116
|
+
},
|
|
117
|
+
"boundaryId": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"minLength": 1,
|
|
120
|
+
"maxLength": 240
|
|
121
|
+
},
|
|
122
|
+
"script": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"minLength": 1,
|
|
125
|
+
"maxLength": 128,
|
|
126
|
+
"pattern": "^[A-Za-z0-9_:-]+$"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"toolchainConfigPath": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"minLength": 1,
|
|
134
|
+
"maxLength": 240,
|
|
135
|
+
"pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+\\.(?:ya?ml|json)$"
|
|
136
|
+
},
|
|
137
|
+
"topologyPath": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"minLength": 1,
|
|
140
|
+
"maxLength": 240,
|
|
141
|
+
"pattern": "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+\\.(?:ya?ml|json)$"
|
|
142
|
+
},
|
|
143
|
+
"budgetMs": {
|
|
144
|
+
"type": "integer",
|
|
145
|
+
"minimum": 1000,
|
|
146
|
+
"maximum": 1800000
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schemas.agent-teams.ai/engineering-foundation/quality-source-topology/v1",
|
|
4
|
+
"title": "Consumer quality source topology",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"censusRoots",
|
|
10
|
+
"packageRoots",
|
|
11
|
+
"sourceRoots",
|
|
12
|
+
"testRoots",
|
|
13
|
+
"excludedRoots",
|
|
14
|
+
"toolingFiles"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"schemaVersion": {
|
|
18
|
+
"const": 1
|
|
19
|
+
},
|
|
20
|
+
"censusRoots": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"maxItems": 10000,
|
|
23
|
+
"uniqueItems": true,
|
|
24
|
+
"items": {
|
|
25
|
+
"anyOf": [
|
|
26
|
+
{
|
|
27
|
+
"const": "."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1,
|
|
32
|
+
"maxLength": 240,
|
|
33
|
+
"pattern": "^(?!/)(?![A-Za-z]:)(?!.*[\\\\\\u0000-\\u001f\\u007f*?\\[\\]{}])(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*(?:^|/)\\.(?:/|$))(?!.*//).+(?<!/)$"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"packageRoots": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"maxItems": 10000,
|
|
41
|
+
"uniqueItems": true,
|
|
42
|
+
"items": {
|
|
43
|
+
"anyOf": [
|
|
44
|
+
{
|
|
45
|
+
"const": "."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "string",
|
|
49
|
+
"minLength": 1,
|
|
50
|
+
"maxLength": 240,
|
|
51
|
+
"pattern": "^(?!/)(?![A-Za-z]:)(?!.*[\\\\\\u0000-\\u001f\\u007f*?\\[\\]{}])(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*(?:^|/)\\.(?:/|$))(?!.*//).+(?<!/)$"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"sourceRoots": {
|
|
57
|
+
"type": "array",
|
|
58
|
+
"maxItems": 10000,
|
|
59
|
+
"uniqueItems": true,
|
|
60
|
+
"items": {
|
|
61
|
+
"anyOf": [
|
|
62
|
+
{
|
|
63
|
+
"const": "."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "string",
|
|
67
|
+
"minLength": 1,
|
|
68
|
+
"maxLength": 240,
|
|
69
|
+
"pattern": "^(?!/)(?![A-Za-z]:)(?!.*[\\\\\\u0000-\\u001f\\u007f*?\\[\\]{}])(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*(?:^|/)\\.(?:/|$))(?!.*//).+(?<!/)$"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"testRoots": {
|
|
75
|
+
"type": "array",
|
|
76
|
+
"maxItems": 10000,
|
|
77
|
+
"uniqueItems": true,
|
|
78
|
+
"items": {
|
|
79
|
+
"anyOf": [
|
|
80
|
+
{
|
|
81
|
+
"const": "."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": "string",
|
|
85
|
+
"minLength": 1,
|
|
86
|
+
"maxLength": 240,
|
|
87
|
+
"pattern": "^(?!/)(?![A-Za-z]:)(?!.*[\\\\\\u0000-\\u001f\\u007f*?\\[\\]{}])(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*(?:^|/)\\.(?:/|$))(?!.*//).+(?<!/)$"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"excludedRoots": {
|
|
93
|
+
"type": "array",
|
|
94
|
+
"maxItems": 10000,
|
|
95
|
+
"uniqueItems": true,
|
|
96
|
+
"items": {
|
|
97
|
+
"anyOf": [
|
|
98
|
+
{
|
|
99
|
+
"const": "."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "string",
|
|
103
|
+
"minLength": 1,
|
|
104
|
+
"maxLength": 240,
|
|
105
|
+
"pattern": "^(?!/)(?![A-Za-z]:)(?!.*[\\\\\\u0000-\\u001f\\u007f*?\\[\\]{}])(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*(?:^|/)\\.(?:/|$))(?!.*//).+(?<!/)$"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"toolingFiles": {
|
|
111
|
+
"type": "array",
|
|
112
|
+
"maxItems": 10000,
|
|
113
|
+
"uniqueItems": true,
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"minLength": 1,
|
|
117
|
+
"maxLength": 240,
|
|
118
|
+
"pattern": "^(?!/)(?![A-Za-z]:)(?!.*[\\\\\\u0000-\\u001f\\u007f*?\\[\\]{}])(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*(?:^|/)\\.(?:/|$))(?!.*//).+(?<!/)$"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"derivedFrom": {
|
|
122
|
+
"type": "array",
|
|
123
|
+
"minItems": 1,
|
|
124
|
+
"maxItems": 32,
|
|
125
|
+
"uniqueItems": true,
|
|
126
|
+
"items": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"additionalProperties": false,
|
|
129
|
+
"required": ["path", "sha256"],
|
|
130
|
+
"properties": {
|
|
131
|
+
"path": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"minLength": 1,
|
|
134
|
+
"maxLength": 240,
|
|
135
|
+
"pattern": "^(?!/)(?![A-Za-z]:)(?!.*[\\\\\\u0000-\\u001f\\u007f*?\\[\\]{}])(?!.*(?:^|/)\\.\\.(?:/|$))(?!.*(?:^|/)\\.(?:/|$))(?!.*//).+(?<!/)$"
|
|
136
|
+
},
|
|
137
|
+
"sha256": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|