@thebackstoryis/engineering-with-ai 0.2.9
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/Docs/README.md +50 -0
- package/Docs/adoption/consultancy-and-multi-project-rollout.md +135 -0
- package/Docs/adoption/non-technical-team-guide.md +126 -0
- package/Docs/archaeology-technology-and-hosting-discovery.md +212 -0
- package/Docs/blast-radius-and-impact-routing-guide.md +325 -0
- package/Docs/blueprints/internal-blueprint-catalogue.md +146 -0
- package/Docs/blueprints/maintaining-organisation-blueprints.md +154 -0
- package/Docs/blueprints/validation-and-troubleshooting.md +168 -0
- package/Docs/cli-reference.md +113 -0
- package/Docs/completed-phase-evidence-amendments.md +74 -0
- package/Docs/consultancy-network-rollout-control-plane-guide.md +202 -0
- package/Docs/context-aware-delivery-companion-guide.md +198 -0
- package/Docs/context-aware-delivery-companion-user-guide.md +184 -0
- package/Docs/context-management-and-token-efficiency.md +113 -0
- package/Docs/design-systems/design-system-implementation-guide.md +85 -0
- package/Docs/design-systems/design-system-pack-authoring-guide.md +95 -0
- package/Docs/design-systems/design-system-review-guide.md +51 -0
- package/Docs/design-systems/design-system-user-guide.md +96 -0
- package/Docs/design-systems/product-owner-guide.md +49 -0
- package/Docs/designing-organisation-blueprint-packs.md +384 -0
- package/Docs/developer-delivery-guide.md +224 -0
- package/Docs/error-reporting-guide.md +110 -0
- package/Docs/error-reporting-provider-guide.md +49 -0
- package/Docs/examples/error-report-adapter.md +70 -0
- package/Docs/examples/meeting-review.md +76 -0
- package/Docs/examples/minimal-design-system.md +67 -0
- package/Docs/examples/prototype-review-inputs.md +175 -0
- package/Docs/examples/reproducible-archaeology-depth-example.md +144 -0
- package/Docs/examples/test-scenario-input.md +68 -0
- package/Docs/examples/worked-examples.md +147 -0
- package/Docs/existing-project-onboarding-guide.md +214 -0
- package/Docs/explanation/core-concepts.md +26 -0
- package/Docs/explanation/delivery-workflow.md +48 -0
- package/Docs/governance/governance-team-guide.md +139 -0
- package/Docs/governed-starter-project-materialisation-guide.md +284 -0
- package/Docs/guide-catalogue.md +117 -0
- package/Docs/guided-discovery-facilitator-guide.md +172 -0
- package/Docs/guided-intent-workspace-guide.md +109 -0
- package/Docs/guided-phase-evidence-drafting-guide.md +119 -0
- package/Docs/human-approval-and-assurance-guide.md +146 -0
- package/Docs/knowledge-proposals-implementer-guide.md +106 -0
- package/Docs/knowledge-proposals-user-guide.md +247 -0
- package/Docs/maintainers/context-benchmarks.md +29 -0
- package/Docs/maintainers/contributing.md +58 -0
- package/Docs/maintainers/evidence-depth-acceptance.md +72 -0
- package/Docs/maintainers/verification-walkthroughs.md +104 -0
- package/Docs/meeting-evidence-implementer-guide.md +132 -0
- package/Docs/meeting-evidence-user-guide.md +200 -0
- package/Docs/operations/dashboard-and-delivery-state.md +153 -0
- package/Docs/operations/dashboard-configuration.md +87 -0
- package/Docs/operations/installation-updating-and-entitlements.md +135 -0
- package/Docs/operations/premium-personas-setup.md +76 -0
- package/Docs/operations/troubleshooting-and-recovery.md +205 -0
- package/Docs/organisation-rollout-guide.md +142 -0
- package/Docs/persona-entitlement-provider-guide.md +199 -0
- package/Docs/persona-guided-prototype-iteration.md +129 -0
- package/Docs/personas/organisation-specific-personas.md +103 -0
- package/Docs/personas/persona-authoring-cookbook.md +176 -0
- package/Docs/personas/persona-engagement-ui.md +133 -0
- package/Docs/personas/persona-governance.md +118 -0
- package/Docs/platform-export-analysis-guide.md +336 -0
- package/Docs/policies/governance-owner-guide.md +36 -0
- package/Docs/policies/implementation-guide.md +42 -0
- package/Docs/policies/organisation-policy-design-gates.md +58 -0
- package/Docs/policies/policy-pack-authoring-guide.md +108 -0
- package/Docs/policies/product-owner-guide.md +43 -0
- package/Docs/policies/technical-owner-guide.md +37 -0
- package/Docs/product-owner-guide.md +327 -0
- package/Docs/project-portfolio-orchestration-guide.md +199 -0
- package/Docs/quality/manual-qa-and-acceptance.md +162 -0
- package/Docs/quality/persona-driven-test-scenarios.md +172 -0
- package/Docs/quality/reproducible-archaeology-depth-review-checklist.md +89 -0
- package/Docs/reference/capabilities-and-project-layout.md +678 -0
- package/Docs/reference/cli-and-configuration.md +398 -0
- package/Docs/reference/contributions-api.md +23 -0
- package/Docs/reference/security-adapter-authoring.md +81 -0
- package/Docs/reference/starter-adapter-authoring.md +74 -0
- package/Docs/repository-source-map-guide.md +381 -0
- package/Docs/reproducible-archaeology-and-discovery-depth.md +292 -0
- package/Docs/screen-prototype-creation-guide.md +324 -0
- package/Docs/security-validation-guide.md +353 -0
- package/Docs/solution-readiness-review-guide.md +123 -0
- package/Docs/standards/project-standards-authoring.md +157 -0
- package/Docs/team-hub-guide.md +162 -0
- package/Docs/team-hub-resource-registry-guide.md +167 -0
- package/Docs/tutorials/first-delivery.md +83 -0
- package/Docs/tutorials/first-session.md +62 -0
- package/Docs/using-lifecycle-hooks.md +381 -0
- package/Docs/working-with-personas.md +274 -0
- package/LICENSE +165 -0
- package/README.md +96 -0
- package/agents-src/claude/ewai-security-reviewer.md +15 -0
- package/bin/ewai +5 -0
- package/config/archaeology-record-families.yaml +59 -0
- package/config/delivery-artifacts.yaml +121 -0
- package/config/delivery-stages.yaml +77 -0
- package/config/design-system.schema.json +46 -0
- package/config/error-reporting.schema.json +79 -0
- package/config/evidence-depth.schema.json +53 -0
- package/config/intent.schema.json +90 -0
- package/config/knowledge-proposals-proposal.schema.json +34 -0
- package/config/lifecycle-event.schema.json +68 -0
- package/config/lifecycle-handler.schema.json +45 -0
- package/config/lifecycle-hook-ack.schema.json +19 -0
- package/config/meeting-evidence-candidate.schema.json +102 -0
- package/config/organisation-policy.schema.json +137 -0
- package/config/pack.schema.json +250 -0
- package/config/persona-pack.schema.json +21 -0
- package/config/persona.schema.json +17 -0
- package/config/policy-evaluation.schema.json +77 -0
- package/config/policy-facts.schema.json +140 -0
- package/config/portfolio.schema.json +68 -0
- package/config/project.schema.json +313 -0
- package/config/prototype-iteration.schema.json +128 -0
- package/config/rollout.schema.json +87 -0
- package/config/security-adapter.schema.json +31 -0
- package/config/security-scan-request.schema.json +64 -0
- package/config/security-scan-response.schema.json +52 -0
- package/config/security-validation-policy.schema.json +74 -0
- package/config/starter-source-acknowledgement.schema.json +13 -0
- package/config/starter-source-adapter.schema.json +38 -0
- package/config/starter-source-request.schema.json +61 -0
- package/package.json +77 -0
- package/packs/core/pack.yaml +7 -0
- package/packs/design-systems/default/experience-promise.md +9 -0
- package/packs/design-systems/default/intentional-review.md +10 -0
- package/packs/design-systems/default/interaction-and-entry.md +9 -0
- package/packs/design-systems/default/meaningful-content-and-states.md +9 -0
- package/packs/design-systems/default/pack.yaml +44 -0
- package/packs/design-systems/default/principles.md +10 -0
- package/packs/personas/core/pack.yaml +7 -0
- package/packs/personas/core/personas/archaeologist.md +37 -0
- package/packs/personas/core/personas/end-user.md +17 -0
- package/packs/personas/core/personas/maintainer.md +17 -0
- package/packs/personas/core/personas/operator.md +17 -0
- package/packs/personas/core/personas/specs-knowledge-curator.md +35 -0
- package/packs/technologies/laravel/pack.yaml +30 -0
- package/packs/technologies/laravel-nuxt/pack.yaml +30 -0
- package/packs/technologies/nuxt/pack.yaml +30 -0
- package/packs/technologies/power-platform/pack.yaml +31 -0
- package/packs/technologies/salesforce/pack.yaml +25 -0
- package/public/app.js +4896 -0
- package/public/apple-touch-icon.png +0 -0
- package/public/assets/backstory-icon.png +0 -0
- package/public/dashboard-navigation.js +98 -0
- package/public/favicon-16.png +0 -0
- package/public/favicon-32.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/index.html +789 -0
- package/public/styles.css +2693 -0
- package/public/team-hub/app.js +202 -0
- package/public/team-hub/index.html +79 -0
- package/public/team-hub/styles.css +90 -0
- package/scripts/publication-check.mjs +140 -0
- package/scripts/setup.mjs +21 -0
- package/skills-src/ewai-archaeology/SKILL.md +334 -0
- package/skills-src/ewai-archaeology/agents/openai.yaml +4 -0
- package/skills-src/ewai-archaeology/references/archaeology-contract.md +201 -0
- package/skills-src/ewai-archaeology/references/lifecycle-reconstruction.md +177 -0
- package/skills-src/ewai-archaeology/references/maximum-detail-reconstruction.md +97 -0
- package/skills-src/ewai-archaeology/references/model-routing.md +26 -0
- package/skills-src/ewai-architecture/SKILL.md +108 -0
- package/skills-src/ewai-architecture/agents/openai.yaml +4 -0
- package/skills-src/ewai-architecture/references/architecture-contract.md +176 -0
- package/skills-src/ewai-context/SKILL.md +68 -0
- package/skills-src/ewai-context/agents/openai.yaml +4 -0
- package/skills-src/ewai-context-import/SKILL.md +118 -0
- package/skills-src/ewai-context-import/agents/openai.yaml +4 -0
- package/skills-src/ewai-context-import/references/context-import-contract.md +106 -0
- package/skills-src/ewai-dashboard-configuration/SKILL.md +20 -0
- package/skills-src/ewai-deliver/SKILL.md +122 -0
- package/skills-src/ewai-deliver/references/delivery-evidence.md +92 -0
- package/skills-src/ewai-deliver/references/phase-routing.md +31 -0
- package/skills-src/ewai-design-system-apply/SKILL.md +27 -0
- package/skills-src/ewai-design-system-apply/agents/openai.yaml +4 -0
- package/skills-src/ewai-design-system-apply/references/application-contract.md +36 -0
- package/skills-src/ewai-design-system-author/SKILL.md +28 -0
- package/skills-src/ewai-design-system-author/agents/openai.yaml +4 -0
- package/skills-src/ewai-design-system-author/references/authoring-contract.md +38 -0
- package/skills-src/ewai-design-system-review/SKILL.md +26 -0
- package/skills-src/ewai-design-system-review/agents/openai.yaml +4 -0
- package/skills-src/ewai-design-system-review/references/review-contract.md +40 -0
- package/skills-src/ewai-error-reporting/SKILL.md +46 -0
- package/skills-src/ewai-error-reporting/agents/openai.yaml +4 -0
- package/skills-src/ewai-error-reporting/references/provider-contract.md +74 -0
- package/skills-src/ewai-evidence-depth/SKILL.md +72 -0
- package/skills-src/ewai-evidence-depth/agents/openai.yaml +4 -0
- package/skills-src/ewai-evidence-depth/references/evidence-depth-contract.md +127 -0
- package/skills-src/ewai-intent/SKILL.md +68 -0
- package/skills-src/ewai-intent/agents/openai.yaml +4 -0
- package/skills-src/ewai-intent/references/intent-contract.md +42 -0
- package/skills-src/ewai-knowledge-proposals/SKILL.md +105 -0
- package/skills-src/ewai-knowledge-proposals/agents/openai.yaml +4 -0
- package/skills-src/ewai-knowledge-proposals/references/proposal-contract.md +59 -0
- package/skills-src/ewai-meeting-evidence/SKILL.md +106 -0
- package/skills-src/ewai-meeting-evidence/agents/openai.yaml +4 -0
- package/skills-src/ewai-meeting-evidence/references/candidate-contract.md +64 -0
- package/skills-src/ewai-organisation-policy/SKILL.md +62 -0
- package/skills-src/ewai-organisation-policy/agents/openai.yaml +4 -0
- package/skills-src/ewai-organisation-policy/references/policy-contract.md +94 -0
- package/skills-src/ewai-palace-housekeeping/SKILL.md +55 -0
- package/skills-src/ewai-palace-housekeeping/agents/openai.yaml +4 -0
- package/skills-src/ewai-persona-entitlement/SKILL.md +60 -0
- package/skills-src/ewai-persona-entitlement/agents/openai.yaml +4 -0
- package/skills-src/ewai-phase-evidence/SKILL.md +79 -0
- package/skills-src/ewai-phase-evidence/agents/openai.yaml +4 -0
- package/skills-src/ewai-pipeline/SKILL.md +130 -0
- package/skills-src/ewai-pipeline/agents/openai.yaml +4 -0
- package/skills-src/ewai-pipeline/references/cli.md +86 -0
- package/skills-src/ewai-pipeline/references/specs-contract.md +16 -0
- package/skills-src/ewai-portfolio/SKILL.md +70 -0
- package/skills-src/ewai-portfolio/agents/openai.yaml +4 -0
- package/skills-src/ewai-portfolio/references/portfolio-contract.md +67 -0
- package/skills-src/ewai-project-discovery/SKILL.md +95 -0
- package/skills-src/ewai-project-discovery/agents/openai.yaml +4 -0
- package/skills-src/ewai-project-discovery/references/discovery-contract.md +34 -0
- package/skills-src/ewai-prototype-iteration/SKILL.md +30 -0
- package/skills-src/ewai-prototype-iteration/agents/openai.yaml +4 -0
- package/skills-src/ewai-prototype-iteration/references/review-contract.md +49 -0
- package/skills-src/ewai-retro/SKILL.md +48 -0
- package/skills-src/ewai-retro/agents/openai.yaml +4 -0
- package/skills-src/ewai-retro/references/asset-routing.md +14 -0
- package/skills-src/ewai-rollout/SKILL.md +74 -0
- package/skills-src/ewai-rollout/agents/openai.yaml +4 -0
- package/skills-src/ewai-rollout/references/rollout-contract.md +74 -0
- package/skills-src/ewai-shape-intents/SKILL.md +84 -0
- package/skills-src/ewai-shape-intents/agents/openai.yaml +4 -0
- package/skills-src/ewai-shape-intents/references/intent-mapping-contract.md +109 -0
- package/skills-src/ewai-solution-readiness/SKILL.md +55 -0
- package/skills-src/ewai-solution-readiness/agents/openai.yaml +4 -0
- package/skills-src/ewai-standards-check/SKILL.md +93 -0
- package/skills-src/ewai-standards-check/agents/openai.yaml +4 -0
- package/skills-src/ewai-standards-check/references/report-contract.md +116 -0
- package/skills-src/ewai-test-scenarios/SKILL.md +94 -0
- package/skills-src/ewai-test-scenarios/agents/openai.yaml +4 -0
- package/skills-src/ewai-test-scenarios/references/scenario-contract.md +88 -0
- package/src/afk-worker.mjs +16 -0
- package/src/archaeology.mjs +1333 -0
- package/src/checkin.mjs +261 -0
- package/src/cli.mjs +2427 -0
- package/src/companion-guidance.mjs +257 -0
- package/src/companion-opening.mjs +62 -0
- package/src/companion.mjs +256 -0
- package/src/context.mjs +210 -0
- package/src/dashboard-preferences.mjs +80 -0
- package/src/delivery-artifacts.mjs +204 -0
- package/src/delivery-documents.mjs +248 -0
- package/src/delivery-gates.mjs +317 -0
- package/src/delivery.mjs +1433 -0
- package/src/design-system-application.mjs +291 -0
- package/src/design-system-authoring.mjs +101 -0
- package/src/design-systems.mjs +466 -0
- package/src/discovery.mjs +1314 -0
- package/src/error-reporting.mjs +323 -0
- package/src/evidence-depth.mjs +543 -0
- package/src/execution-state.mjs +243 -0
- package/src/install.mjs +166 -0
- package/src/intent-dependencies.mjs +117 -0
- package/src/intent-maps.mjs +402 -0
- package/src/intents.mjs +747 -0
- package/src/knowledge-proposals.mjs +717 -0
- package/src/launcher.mjs +51 -0
- package/src/meeting-evidence.mjs +703 -0
- package/src/network-rollout.mjs +386 -0
- package/src/organisation-blueprints.mjs +438 -0
- package/src/organisation-policies.mjs +448 -0
- package/src/packs.mjs +44 -0
- package/src/paths.mjs +62 -0
- package/src/persona-entitlements.mjs +438 -0
- package/src/persona-licence-config.mjs +98 -0
- package/src/persona-website-provider.mjs +134 -0
- package/src/persona-zip.mjs +87 -0
- package/src/personas.mjs +159 -0
- package/src/platform-metadata-analysis.mjs +314 -0
- package/src/policy-design-gates.mjs +623 -0
- package/src/policy-gate-integration.mjs +318 -0
- package/src/portfolio.mjs +509 -0
- package/src/power-platform-source-map.mjs +190 -0
- package/src/project.mjs +449 -0
- package/src/prototype-iterations.mjs +730 -0
- package/src/repository-source-map.mjs +603 -0
- package/src/runtime/afk-conductor.mjs +973 -0
- package/src/runtime/context-assembly.mjs +457 -0
- package/src/runtime/context-benchmarks.mjs +115 -0
- package/src/runtime/dashboard-actions.mjs +109 -0
- package/src/runtime/dashboard-handoffs.mjs +149 -0
- package/src/runtime/dashboard-server.mjs +1272 -0
- package/src/runtime/dashboard.mjs +197 -0
- package/src/runtime/database.mjs +789 -0
- package/src/runtime/error-reporting.mjs +581 -0
- package/src/runtime/evidence-depth-workspace.mjs +412 -0
- package/src/runtime/execution-leases.mjs +299 -0
- package/src/runtime/guided-discovery.mjs +350 -0
- package/src/runtime/guided-intents.mjs +517 -0
- package/src/runtime/impact-analysis.mjs +535 -0
- package/src/runtime/intents.mjs +222 -0
- package/src/runtime/knowledge.mjs +86 -0
- package/src/runtime/lifecycle-hooks.mjs +1239 -0
- package/src/runtime/mcp-config.mjs +110 -0
- package/src/runtime/mcp-server.mjs +1885 -0
- package/src/runtime/palace.mjs +362 -0
- package/src/runtime/paths.mjs +58 -0
- package/src/runtime/persona-engagement.mjs +255 -0
- package/src/runtime/phase-contributions.mjs +594 -0
- package/src/runtime/policy-workspace.mjs +170 -0
- package/src/runtime/prototype-iterations.mjs +235 -0
- package/src/runtime/provider-adapters.mjs +163 -0
- package/src/runtime/repository-index.mjs +838 -0
- package/src/runtime/runs.mjs +185 -0
- package/src/runtime/security-validation.mjs +1230 -0
- package/src/runtime/starter-materialisation.mjs +1155 -0
- package/src/runtime/team-hub-client.mjs +479 -0
- package/src/runtime/team-hub-database.mjs +288 -0
- package/src/runtime/team-hub-server.mjs +191 -0
- package/src/runtime/team-hub.mjs +110 -0
- package/src/runtime/tree-sitter-index.mjs +390 -0
- package/src/runtime/version.mjs +1 -0
- package/src/runtime/work.mjs +633 -0
- package/src/salesforce-source-map.mjs +212 -0
- package/src/security-validation-config.mjs +224 -0
- package/src/solution-readiness.mjs +620 -0
- package/src/starter-materialisation-contract.mjs +407 -0
- package/src/task-graph.mjs +544 -0
- package/src/team-hub-resources.mjs +239 -0
- package/src/team-hub.mjs +242 -0
- package/src/test-scenarios.mjs +622 -0
- package/src/validation-config.mjs +289 -0
- package/templates/SPECS/1.Scope/personas/registry.yaml +12 -0
- package/templates/SPECS/5.Strategy/patterns/context-packet.md +119 -0
- package/templates/SPECS/6.Build/_tracker-template.md +16 -0
- package/templates/SPECS/pipeline.yaml +62 -0
- package/templates/discovery-answers.yaml +86 -0
- package/templates/intent-body.md +21 -0
- package/tests/fixtures/context-benchmarks.json +9 -0
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://engineeringwith.ai/schemas/project-v1.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": ["schema", "project", "specs", "repositories", "approvals", "validation"],
|
|
6
|
+
"properties": {
|
|
7
|
+
"schema": { "const": "ewai.project/v1" },
|
|
8
|
+
"dashboard": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"properties": {
|
|
12
|
+
"sidebar_collapsed": { "type": "boolean", "default": false },
|
|
13
|
+
"optional_views": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"properties": {
|
|
17
|
+
"portfolio": { "type": "boolean", "default": false },
|
|
18
|
+
"team-hub": { "type": "boolean", "default": false },
|
|
19
|
+
"rollout": { "type": "boolean", "default": false },
|
|
20
|
+
"starters": { "type": "boolean", "default": false },
|
|
21
|
+
"policies": { "type": "boolean", "default": false },
|
|
22
|
+
"security": { "type": "boolean", "default": false },
|
|
23
|
+
"hooks": { "type": "boolean", "default": false },
|
|
24
|
+
"context-inspector": { "type": "boolean", "default": false },
|
|
25
|
+
"phase-studio": { "type": "boolean", "default": false }
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"project": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"required": ["name"],
|
|
33
|
+
"properties": { "name": { "type": "string", "minLength": 1 } }
|
|
34
|
+
},
|
|
35
|
+
"specs": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"required": ["root"],
|
|
38
|
+
"properties": { "root": { "type": "string", "minLength": 1 } }
|
|
39
|
+
},
|
|
40
|
+
"repositories": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"minItems": 1,
|
|
43
|
+
"items": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"required": ["name", "path", "role"],
|
|
46
|
+
"properties": {
|
|
47
|
+
"name": { "type": "string", "minLength": 1 },
|
|
48
|
+
"path": { "type": "string", "minLength": 1 },
|
|
49
|
+
"role": { "type": "string", "minLength": 1 }
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"personas": {
|
|
54
|
+
"type": "object",
|
|
55
|
+
"properties": {
|
|
56
|
+
"premium": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"provider": { "const": "wordpress-edd" },
|
|
60
|
+
"server": { "type": "string", "pattern": "^https://" }
|
|
61
|
+
},
|
|
62
|
+
"additionalProperties": false
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"blueprints": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"properties": {
|
|
69
|
+
"organisation": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"required": ["root", "packs", "selection_digest", "enabled_modules", "applied_modules", "approved_by", "approved_at", "evidence"],
|
|
72
|
+
"properties": {
|
|
73
|
+
"root": { "$ref": "#/$defs/blueprintPin" },
|
|
74
|
+
"packs": {
|
|
75
|
+
"type": "array",
|
|
76
|
+
"minItems": 1,
|
|
77
|
+
"items": { "$ref": "#/$defs/blueprintPin" }
|
|
78
|
+
},
|
|
79
|
+
"selection_digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
80
|
+
"enabled_modules": {
|
|
81
|
+
"type": "array",
|
|
82
|
+
"uniqueItems": true,
|
|
83
|
+
"items": { "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" }
|
|
84
|
+
},
|
|
85
|
+
"applied_modules": {
|
|
86
|
+
"type": "array",
|
|
87
|
+
"minItems": 1,
|
|
88
|
+
"uniqueItems": true,
|
|
89
|
+
"items": { "type": "string", "minLength": 1 }
|
|
90
|
+
},
|
|
91
|
+
"approved_by": { "type": "string", "minLength": 1 },
|
|
92
|
+
"approved_at": { "type": "string", "format": "date-time" },
|
|
93
|
+
"evidence": { "const": "SPECS/5.Strategy/organisation-blueprint.md" }
|
|
94
|
+
},
|
|
95
|
+
"additionalProperties": false
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"additionalProperties": false
|
|
99
|
+
},
|
|
100
|
+
"design_system": { "$ref": "#/$defs/designSystemSelection" },
|
|
101
|
+
"organisation_policy": { "$ref": "#/$defs/organisationPolicySelection" },
|
|
102
|
+
"starter_materialisation": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"required": ["targets"],
|
|
105
|
+
"properties": {
|
|
106
|
+
"targets": {
|
|
107
|
+
"type": "array",
|
|
108
|
+
"minItems": 1,
|
|
109
|
+
"items": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"required": ["role", "repository", "path"],
|
|
112
|
+
"properties": {
|
|
113
|
+
"role": { "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" },
|
|
114
|
+
"repository": { "type": "string", "minLength": 1 },
|
|
115
|
+
"path": { "type": "string", "minLength": 1 }
|
|
116
|
+
},
|
|
117
|
+
"additionalProperties": false
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"additionalProperties": false
|
|
122
|
+
},
|
|
123
|
+
"source_map": {
|
|
124
|
+
"type": "object",
|
|
125
|
+
"required": ["profiles"],
|
|
126
|
+
"properties": {
|
|
127
|
+
"profiles": {
|
|
128
|
+
"type": "array",
|
|
129
|
+
"minItems": 1,
|
|
130
|
+
"items": { "$ref": "#/$defs/sourceMapProfile" }
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"additionalProperties": false
|
|
134
|
+
},
|
|
135
|
+
"approvals": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"required": ["build", "destructive_operations"],
|
|
138
|
+
"properties": {
|
|
139
|
+
"build": { "enum": ["required", "optional"] },
|
|
140
|
+
"destructive_operations": { "const": "required" }
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"validation": {
|
|
144
|
+
"type": "object",
|
|
145
|
+
"required": ["standards", "external"],
|
|
146
|
+
"properties": {
|
|
147
|
+
"standards": {
|
|
148
|
+
"type": "object",
|
|
149
|
+
"required": ["required", "allow_waiver"],
|
|
150
|
+
"properties": {
|
|
151
|
+
"required": { "const": true },
|
|
152
|
+
"allow_waiver": { "const": false }
|
|
153
|
+
},
|
|
154
|
+
"additionalProperties": false
|
|
155
|
+
},
|
|
156
|
+
"external": {
|
|
157
|
+
"type": "object",
|
|
158
|
+
"required": ["policy", "independent_only", "providers", "checkpoints"],
|
|
159
|
+
"properties": {
|
|
160
|
+
"policy": { "const": "configured" },
|
|
161
|
+
"independent_only": { "const": true },
|
|
162
|
+
"providers": {
|
|
163
|
+
"type": "object",
|
|
164
|
+
"required": ["claude", "codex", "antigravity"],
|
|
165
|
+
"properties": {
|
|
166
|
+
"claude": { "$ref": "#/$defs/provider" },
|
|
167
|
+
"codex": { "$ref": "#/$defs/provider" },
|
|
168
|
+
"antigravity": { "$ref": "#/$defs/provider" }
|
|
169
|
+
},
|
|
170
|
+
"additionalProperties": false
|
|
171
|
+
},
|
|
172
|
+
"checkpoints": {
|
|
173
|
+
"type": "object",
|
|
174
|
+
"required": ["implementation-plan", "test-plan", "code"],
|
|
175
|
+
"properties": {
|
|
176
|
+
"implementation-plan": { "$ref": "#/$defs/checkpoint" },
|
|
177
|
+
"test-plan": { "$ref": "#/$defs/checkpoint" },
|
|
178
|
+
"code": { "$ref": "#/$defs/checkpoint" }
|
|
179
|
+
},
|
|
180
|
+
"additionalProperties": false
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"additionalProperties": false
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"additionalProperties": false
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"$defs": {
|
|
190
|
+
"sourceMapProfile": {
|
|
191
|
+
"type": "object",
|
|
192
|
+
"required": ["id", "patterns", "analyser", "classification"],
|
|
193
|
+
"properties": {
|
|
194
|
+
"id": { "type": "string", "pattern": "^[a-z0-9]+(?:[.-][a-z0-9]+)*$" },
|
|
195
|
+
"patterns": {
|
|
196
|
+
"type": "array",
|
|
197
|
+
"minItems": 1,
|
|
198
|
+
"uniqueItems": true,
|
|
199
|
+
"items": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"minLength": 1,
|
|
202
|
+
"maxLength": 240,
|
|
203
|
+
"not": { "pattern": "(^/|^!|[\\\\{}()\\[\\]]|(^|/)\\.\\.(/|$))" }
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"analyser": { "enum": ["inventory-only", "text-summary", "structured-keys", "tree-sitter", "power-platform-metadata", "salesforce-metadata"] },
|
|
207
|
+
"classification": { "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" },
|
|
208
|
+
"priority": { "type": "integer", "minimum": -10000, "maximum": 10000 },
|
|
209
|
+
"repositories": {
|
|
210
|
+
"type": "array",
|
|
211
|
+
"uniqueItems": true,
|
|
212
|
+
"items": { "type": "string", "minLength": 1 }
|
|
213
|
+
},
|
|
214
|
+
"max_bytes": { "type": "integer", "minimum": 1, "maximum": 900000 }
|
|
215
|
+
},
|
|
216
|
+
"additionalProperties": false
|
|
217
|
+
},
|
|
218
|
+
"blueprintPin": {
|
|
219
|
+
"type": "object",
|
|
220
|
+
"required": ["id", "version", "digest"],
|
|
221
|
+
"properties": {
|
|
222
|
+
"id": { "type": "string", "pattern": "^org\\.[a-z0-9-]+\\.[a-z0-9.-]+$" },
|
|
223
|
+
"version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$" },
|
|
224
|
+
"digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" }
|
|
225
|
+
},
|
|
226
|
+
"additionalProperties": false
|
|
227
|
+
},
|
|
228
|
+
"designSystemPin": {
|
|
229
|
+
"type": "object",
|
|
230
|
+
"required": ["id", "version", "digest", "source_class"],
|
|
231
|
+
"properties": {
|
|
232
|
+
"id": { "type": "string", "pattern": "^(?:ewai\\.[a-z0-9.-]+|org\\.[a-z0-9-]+\\.[a-z0-9.-]+)$" },
|
|
233
|
+
"version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$" },
|
|
234
|
+
"digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
235
|
+
"source_class": { "enum": ["bundled", "personal", "project", "installed"] }
|
|
236
|
+
},
|
|
237
|
+
"additionalProperties": false
|
|
238
|
+
},
|
|
239
|
+
"designSystemSelection": {
|
|
240
|
+
"type": "object",
|
|
241
|
+
"required": ["root", "packs", "effective_digest", "approved_by", "approved_at", "evidence"],
|
|
242
|
+
"properties": {
|
|
243
|
+
"root": { "$ref": "#/$defs/designSystemPin" },
|
|
244
|
+
"packs": { "type": "array", "minItems": 1, "items": { "$ref": "#/$defs/designSystemPin" } },
|
|
245
|
+
"effective_digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
246
|
+
"approved_by": { "type": "string", "minLength": 1 },
|
|
247
|
+
"approved_at": { "type": "string", "format": "date-time" },
|
|
248
|
+
"evidence": { "const": "SPECS/5.Strategy/design-system.md" }
|
|
249
|
+
},
|
|
250
|
+
"additionalProperties": false
|
|
251
|
+
},
|
|
252
|
+
"organisationPolicySelection": {
|
|
253
|
+
"type": "object",
|
|
254
|
+
"required": ["status", "packs", "blueprint_digest", "effective_digest", "approved_by", "approved_at", "evidence"],
|
|
255
|
+
"properties": {
|
|
256
|
+
"status": { "const": "enabled" },
|
|
257
|
+
"packs": { "type": "array", "minItems": 1, "items": { "$ref": "#/$defs/designSystemPin" } },
|
|
258
|
+
"blueprint_digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
259
|
+
"effective_digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
260
|
+
"approved_by": { "type": "string", "minLength": 1 },
|
|
261
|
+
"approved_at": { "type": "string", "format": "date-time" },
|
|
262
|
+
"evidence": { "const": "SPECS/4.Constraints/organisation-policy/baseline.json" }
|
|
263
|
+
},
|
|
264
|
+
"additionalProperties": false
|
|
265
|
+
},
|
|
266
|
+
"provider": {
|
|
267
|
+
"type": "object",
|
|
268
|
+
"required": ["state", "enabled"],
|
|
269
|
+
"properties": {
|
|
270
|
+
"state": { "enum": ["available", "unavailable"] },
|
|
271
|
+
"enabled": { "type": "boolean" }
|
|
272
|
+
},
|
|
273
|
+
"additionalProperties": false
|
|
274
|
+
},
|
|
275
|
+
"checkpoint": {
|
|
276
|
+
"type": "object",
|
|
277
|
+
"required": ["enabled", "max_cycles", "validators", "review"],
|
|
278
|
+
"properties": {
|
|
279
|
+
"enabled": { "type": "boolean" },
|
|
280
|
+
"max_cycles": { "type": "integer", "minimum": 1, "maximum": 3 },
|
|
281
|
+
"validators": {
|
|
282
|
+
"oneOf": [
|
|
283
|
+
{ "const": "auto" },
|
|
284
|
+
{
|
|
285
|
+
"type": "array",
|
|
286
|
+
"uniqueItems": true,
|
|
287
|
+
"items": { "enum": ["claude", "codex", "antigravity"] }
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
"review": {
|
|
292
|
+
"type": "object",
|
|
293
|
+
"required": ["breadth", "depth", "output"],
|
|
294
|
+
"properties": {
|
|
295
|
+
"breadth": {
|
|
296
|
+
"enum": ["targeted", "change-set", "capability", "system"]
|
|
297
|
+
},
|
|
298
|
+
"depth": {
|
|
299
|
+
"enum": [
|
|
300
|
+
"issues-only",
|
|
301
|
+
"issues-and-fixes",
|
|
302
|
+
"analysis-and-recommendations"
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
"output": { "enum": ["small", "medium", "large"] }
|
|
306
|
+
},
|
|
307
|
+
"additionalProperties": false
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"additionalProperties": false
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://engineeringwith.ai/schemas/prototype-iteration-v1.json",
|
|
4
|
+
"title": "EWAI persona-guided prototype iteration",
|
|
5
|
+
"oneOf": [
|
|
6
|
+
{ "$ref": "#/$defs/planInput" },
|
|
7
|
+
{ "$ref": "#/$defs/planPreparation" },
|
|
8
|
+
{ "$ref": "#/$defs/planSubmission" },
|
|
9
|
+
{ "$ref": "#/$defs/planReview" },
|
|
10
|
+
{ "$ref": "#/$defs/cycleInput" },
|
|
11
|
+
{ "$ref": "#/$defs/cyclePreparation" },
|
|
12
|
+
{ "$ref": "#/$defs/cycleSubmission" },
|
|
13
|
+
{ "$ref": "#/$defs/cycleReview" }
|
|
14
|
+
],
|
|
15
|
+
"$defs": {
|
|
16
|
+
"safeId": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._:@/-]{0,199}$" },
|
|
17
|
+
"digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
18
|
+
"persona": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"additionalProperties": false,
|
|
21
|
+
"required": ["id", "name", "tier", "category", "matchedSignals", "engagementReason"],
|
|
22
|
+
"properties": {
|
|
23
|
+
"id": { "$ref": "#/$defs/safeId" },
|
|
24
|
+
"name": { "type": "string", "minLength": 1, "maxLength": 160 },
|
|
25
|
+
"tier": { "enum": ["core", "project", "personal", "premium"] },
|
|
26
|
+
"category": { "type": "string", "maxLength": 120 },
|
|
27
|
+
"matchedSignals": { "type": "array", "maxItems": 20, "uniqueItems": true, "items": { "type": "string", "minLength": 1, "maxLength": 120 } },
|
|
28
|
+
"engagementReason": { "type": "string", "minLength": 1, "maxLength": 500 }
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"engagement": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"additionalProperties": false,
|
|
34
|
+
"required": ["schema", "stage", "activePersonas", "availability", "baseline", "authority"],
|
|
35
|
+
"properties": {
|
|
36
|
+
"schema": { "const": "ewai.prototype-persona-engagement/v1" },
|
|
37
|
+
"stage": { "enum": ["plan", "design"] },
|
|
38
|
+
"selectionFingerprint": { "$ref": "#/$defs/digest" },
|
|
39
|
+
"activePersonas": { "type": "array", "maxItems": 8, "items": { "$ref": "#/$defs/persona" } },
|
|
40
|
+
"availability": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"additionalProperties": false,
|
|
43
|
+
"required": ["standardModel", "core", "project", "personal", "premium"],
|
|
44
|
+
"properties": {
|
|
45
|
+
"standardModel": { "$ref": "#/$defs/availabilityEntry" },
|
|
46
|
+
"core": { "$ref": "#/$defs/availabilityEntry" },
|
|
47
|
+
"project": { "$ref": "#/$defs/availabilityEntry" },
|
|
48
|
+
"personal": { "$ref": "#/$defs/availabilityEntry" },
|
|
49
|
+
"premium": { "$ref": "#/$defs/availabilityEntry" }
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"baseline": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"additionalProperties": false,
|
|
55
|
+
"required": ["completeWithoutOptionalPersonas"],
|
|
56
|
+
"properties": { "completeWithoutOptionalPersonas": { "const": true } }
|
|
57
|
+
},
|
|
58
|
+
"notices": { "type": "array", "maxItems": 10, "uniqueItems": true, "items": { "type": "string", "minLength": 1, "maxLength": 500 } },
|
|
59
|
+
"authority": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"additionalProperties": false,
|
|
62
|
+
"required": ["advisory", "maySelectPrototype", "mayApproveManualQa"],
|
|
63
|
+
"properties": {
|
|
64
|
+
"advisory": { "const": true },
|
|
65
|
+
"maySelectPrototype": { "const": false },
|
|
66
|
+
"mayApproveManualQa": { "const": false }
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"availabilityEntry": {
|
|
72
|
+
"type": "object",
|
|
73
|
+
"additionalProperties": false,
|
|
74
|
+
"required": ["available"],
|
|
75
|
+
"properties": {
|
|
76
|
+
"available": { "type": "boolean" },
|
|
77
|
+
"count": { "type": "integer", "minimum": 0, "maximum": 10000 }
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"finding": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"additionalProperties": false,
|
|
83
|
+
"required": ["personaId", "concernCode", "severity", "observation", "recommendation", "evidenceRefs"],
|
|
84
|
+
"properties": {
|
|
85
|
+
"id": { "$ref": "#/$defs/safeId" },
|
|
86
|
+
"personaId": { "$ref": "#/$defs/safeId" },
|
|
87
|
+
"concernCode": { "$ref": "#/$defs/safeId" },
|
|
88
|
+
"severity": { "enum": ["advisory", "material", "critical"] },
|
|
89
|
+
"observation": { "type": "string", "minLength": 1, "maxLength": 2000 },
|
|
90
|
+
"recommendation": { "type": "string", "minLength": 1, "maxLength": 2000 },
|
|
91
|
+
"evidenceRefs": { "type": "array", "minItems": 1, "maxItems": 50, "uniqueItems": true, "items": { "$ref": "#/$defs/safeId" } }
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"assessment": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": false,
|
|
97
|
+
"required": ["findingId", "disposition", "rationale"],
|
|
98
|
+
"properties": {
|
|
99
|
+
"findingId": { "$ref": "#/$defs/safeId" },
|
|
100
|
+
"disposition": { "enum": ["incorporate", "incorporate-with-modification", "defer", "reject", "escalate"] },
|
|
101
|
+
"rationale": { "type": "string", "minLength": 12, "maxLength": 2000 },
|
|
102
|
+
"modification": { "type": "string", "maxLength": 2000 },
|
|
103
|
+
"owner": { "type": "string", "maxLength": 160 }
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"planInput": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"additionalProperties": false,
|
|
109
|
+
"required": ["schema", "deliverySlug", "intentDigest", "designSystem", "plan", "engagement"],
|
|
110
|
+
"properties": {
|
|
111
|
+
"schema": { "const": "ewai.prototype-plan-input/v1" },
|
|
112
|
+
"deliverySlug": { "$ref": "#/$defs/safeId" },
|
|
113
|
+
"intentDigest": { "$ref": "#/$defs/digest" },
|
|
114
|
+
"designSystem": { "type": "object" },
|
|
115
|
+
"plan": { "type": "object" },
|
|
116
|
+
"engagement": { "$ref": "#/$defs/engagement" },
|
|
117
|
+
"predecessorDigest": { "oneOf": [{ "$ref": "#/$defs/digest" }, { "const": "" }] }
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"planPreparation": { "type": "object", "required": ["schema", "preparationDigest"], "properties": { "schema": { "const": "ewai.prototype-plan-preparation/v1" }, "preparationDigest": { "$ref": "#/$defs/digest" } } },
|
|
121
|
+
"planSubmission": { "type": "object", "required": ["schema", "expectedPreparationDigest", "reviewedBy", "findings", "assessments"], "properties": { "schema": { "const": "ewai.prototype-plan-review-submission/v1" }, "expectedPreparationDigest": { "$ref": "#/$defs/digest" }, "reviewedBy": { "type": "string" }, "findings": { "type": "array", "items": { "$ref": "#/$defs/finding" } }, "assessments": { "type": "array", "items": { "$ref": "#/$defs/assessment" } } } },
|
|
122
|
+
"planReview": { "type": "object", "required": ["schema", "contentDigest"], "properties": { "schema": { "const": "ewai.prototype-plan-review/v1" }, "contentDigest": { "$ref": "#/$defs/digest" } } },
|
|
123
|
+
"cycleInput": { "type": "object", "required": ["schema"], "properties": { "schema": { "const": "ewai.prototype-cycle-input/v1" } } },
|
|
124
|
+
"cyclePreparation": { "type": "object", "required": ["schema", "preparationDigest"], "properties": { "schema": { "const": "ewai.prototype-cycle-preparation/v1" }, "preparationDigest": { "$ref": "#/$defs/digest" } } },
|
|
125
|
+
"cycleSubmission": { "type": "object", "required": ["schema"], "properties": { "schema": { "const": "ewai.prototype-cycle-review-submission/v1" } } },
|
|
126
|
+
"cycleReview": { "type": "object", "required": ["schema", "contentDigest"], "properties": { "schema": { "const": "ewai.prototype-cycle-review/v1" }, "contentDigest": { "$ref": "#/$defs/digest" } } }
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://engineeringwith.ai/schemas/rollout-v1.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": ["schema", "id", "name", "owner", "stale_after_days", "baselines", "cohorts"],
|
|
6
|
+
"properties": {
|
|
7
|
+
"schema": { "const": "ewai.rollout/v1" },
|
|
8
|
+
"id": { "$ref": "#/$defs/slug" },
|
|
9
|
+
"name": { "$ref": "#/$defs/name" },
|
|
10
|
+
"owner": { "$ref": "#/$defs/owner" },
|
|
11
|
+
"stale_after_days": { "type": "integer", "minimum": 1, "maximum": 3650 },
|
|
12
|
+
"baselines": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"minItems": 1,
|
|
15
|
+
"maxItems": 25,
|
|
16
|
+
"items": { "$ref": "#/$defs/baseline" }
|
|
17
|
+
},
|
|
18
|
+
"cohorts": {
|
|
19
|
+
"type": "array",
|
|
20
|
+
"minItems": 1,
|
|
21
|
+
"maxItems": 50,
|
|
22
|
+
"items": { "$ref": "#/$defs/cohort" }
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"additionalProperties": false,
|
|
26
|
+
"$defs": {
|
|
27
|
+
"slug": { "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$", "maxLength": 100 },
|
|
28
|
+
"name": { "type": "string", "minLength": 1, "maxLength": 160 },
|
|
29
|
+
"owner": { "type": "string", "minLength": 1, "maxLength": 160 },
|
|
30
|
+
"pack": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"required": ["id", "version"],
|
|
33
|
+
"properties": {
|
|
34
|
+
"id": { "type": "string", "pattern": "^org\\.[a-z0-9-]+\\.[a-z0-9.-]+$" },
|
|
35
|
+
"version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$" },
|
|
36
|
+
"digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" }
|
|
37
|
+
},
|
|
38
|
+
"additionalProperties": false
|
|
39
|
+
},
|
|
40
|
+
"baseline": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"required": ["id", "name", "owner", "pack"],
|
|
43
|
+
"properties": {
|
|
44
|
+
"id": { "$ref": "#/$defs/slug" },
|
|
45
|
+
"name": { "$ref": "#/$defs/name" },
|
|
46
|
+
"owner": { "$ref": "#/$defs/owner" },
|
|
47
|
+
"pack": { "$ref": "#/$defs/pack" }
|
|
48
|
+
},
|
|
49
|
+
"additionalProperties": false
|
|
50
|
+
},
|
|
51
|
+
"assignment": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"required": ["id", "owner"],
|
|
54
|
+
"properties": {
|
|
55
|
+
"id": { "$ref": "#/$defs/slug" },
|
|
56
|
+
"owner": { "$ref": "#/$defs/owner" },
|
|
57
|
+
"review_owner": { "$ref": "#/$defs/owner" }
|
|
58
|
+
},
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
},
|
|
61
|
+
"cohort": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"required": ["id", "name", "baseline", "owner", "review_by", "required_evidence", "projects"],
|
|
64
|
+
"properties": {
|
|
65
|
+
"id": { "$ref": "#/$defs/slug" },
|
|
66
|
+
"name": { "$ref": "#/$defs/name" },
|
|
67
|
+
"baseline": { "$ref": "#/$defs/slug" },
|
|
68
|
+
"owner": { "$ref": "#/$defs/owner" },
|
|
69
|
+
"review_by": { "type": "string", "format": "date" },
|
|
70
|
+
"required_evidence": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"minItems": 1,
|
|
73
|
+
"maxItems": 5,
|
|
74
|
+
"uniqueItems": true,
|
|
75
|
+
"items": { "enum": ["blueprint", "delivery", "standards", "manual-qa", "security"] }
|
|
76
|
+
},
|
|
77
|
+
"projects": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"minItems": 1,
|
|
80
|
+
"maxItems": 100,
|
|
81
|
+
"items": { "$ref": "#/$defs/assignment" }
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"additionalProperties": false
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://engineeringwithai.dev/schemas/security-adapter.schema.json",
|
|
4
|
+
"title": "EWAI security adapter manifest",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema", "id", "name", "publisher", "version", "protocolVersion", "capabilities", "entrypoint"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema": { "const": "ewai.security-adapter/v1" },
|
|
10
|
+
"id": { "type": "string", "pattern": "^[a-z][a-z0-9.-]{1,79}$" },
|
|
11
|
+
"name": { "type": "string", "minLength": 1, "maxLength": 120 },
|
|
12
|
+
"publisher": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": ["id", "name"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"id": { "type": "string", "pattern": "^[a-z][a-z0-9.-]{1,79}$" },
|
|
18
|
+
"name": { "type": "string", "minLength": 1, "maxLength": 120 }
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(?:[-+][0-9A-Za-z.-]+)?$" },
|
|
22
|
+
"protocolVersion": { "const": "1" },
|
|
23
|
+
"capabilities": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "enum": ["source-static", "dependency-sbom", "secret-detection", "infrastructure-configuration", "llm-runtime-red-team"] } },
|
|
24
|
+
"entrypoint": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"minLength": 1,
|
|
27
|
+
"maxLength": 240,
|
|
28
|
+
"not": { "pattern": "^(?:/|\\\\|[A-Za-z]:|\\.\\.(?:/|\\\\|$)|.*(?:/|\\\\)\\.\\.(?:/|\\\\|$))" }
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://engineeringwithai.dev/schemas/security-scan-request.schema.json",
|
|
4
|
+
"title": "EWAI security scan request",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schema", "runId", "profile", "project", "scope"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schema": { "const": "ewai.security-scan-request/v1" },
|
|
10
|
+
"runId": { "type": "string", "minLength": 1, "maxLength": 80 },
|
|
11
|
+
"profile": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"additionalProperties": false,
|
|
14
|
+
"required": ["id", "capability"],
|
|
15
|
+
"properties": {
|
|
16
|
+
"id": { "type": "string", "pattern": "^[a-z][a-z0-9-]{1,63}$" },
|
|
17
|
+
"capability": { "$ref": "#/$defs/capability" }
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"project": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"required": ["revision"],
|
|
24
|
+
"properties": { "revision": { "type": "string", "minLength": 1, "maxLength": 240 } }
|
|
25
|
+
},
|
|
26
|
+
"scope": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"additionalProperties": false,
|
|
29
|
+
"required": ["include", "exclude"],
|
|
30
|
+
"properties": {
|
|
31
|
+
"include": { "$ref": "#/$defs/projectPaths" },
|
|
32
|
+
"exclude": { "$ref": "#/$defs/projectPaths" }
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"target": {
|
|
36
|
+
"oneOf": [
|
|
37
|
+
{ "type": "null" },
|
|
38
|
+
{
|
|
39
|
+
"type": "object",
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"required": ["class", "ref"],
|
|
42
|
+
"properties": {
|
|
43
|
+
"class": { "enum": ["local", "development", "test", "staging"] },
|
|
44
|
+
"ref": { "type": "string", "minLength": 1, "maxLength": 160 }
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"$defs": {
|
|
51
|
+
"capability": { "enum": ["source-static", "dependency-sbom", "secret-detection", "infrastructure-configuration", "llm-runtime-red-team"] },
|
|
52
|
+
"projectPaths": {
|
|
53
|
+
"type": "array",
|
|
54
|
+
"maxItems": 100,
|
|
55
|
+
"uniqueItems": true,
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"minLength": 1,
|
|
59
|
+
"maxLength": 240,
|
|
60
|
+
"not": { "pattern": "^(?:/|\\\\|[A-Za-z]:|\\.\\.(?:/|\\\\|$)|.*(?:/|\\\\)\\.\\.(?:/|\\\\|$))" }
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|