@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,34 @@
|
|
|
1
|
+
# Discovery contract
|
|
2
|
+
|
|
3
|
+
`ewai discover` requires an initialized project with `SPECS/pipeline.yaml`.
|
|
4
|
+
|
|
5
|
+
## Outputs
|
|
6
|
+
|
|
7
|
+
- `SPECS/1.Scope/context.md`
|
|
8
|
+
- `SPECS/1.Scope/project-scope.md`
|
|
9
|
+
- `SPECS/2.Purpose/intent-brief.md`
|
|
10
|
+
- `SPECS/2.Purpose/explorations/project-discovery.md`
|
|
11
|
+
- `SPECS/3.Evidence/success-criteria.md`
|
|
12
|
+
- `SPECS/3.Evidence/risk/compliance-applicability.md`
|
|
13
|
+
- `SPECS/4.Constraints/project-constraints.md`
|
|
14
|
+
- `SPECS/5.Strategy/approach.md`
|
|
15
|
+
- `SPECS/5.Strategy/architecture/stack.md`
|
|
16
|
+
- `SPECS/5.Strategy/options/minimum-standards.md`
|
|
17
|
+
|
|
18
|
+
The command also records resolved technology packs and discovery paths in `SPECS/pipeline.yaml`.
|
|
19
|
+
|
|
20
|
+
For a new project with no repository evidence, the answers must record either selected pack identifiers, explicit custom technology, or an open stack decision. The owner should be interviewed about product and operating constraints before technology is recommended. Accepted stack practices belong in canonical constraints, patterns, or ADRs; the generated minimum-standards file remains a proposal until reviewed.
|
|
21
|
+
|
|
22
|
+
## Automation
|
|
23
|
+
|
|
24
|
+
Pass a YAML or JSON document using schema `ewai.discovery-answers/v1` with `--answers`. Required fields are:
|
|
25
|
+
|
|
26
|
+
- `project.name`
|
|
27
|
+
- `project.purpose`
|
|
28
|
+
- `project.problem`
|
|
29
|
+
- one or more `project.primaryUsers`
|
|
30
|
+
- one or more `project.desiredOutcomes`
|
|
31
|
+
|
|
32
|
+
Use `yes`, `no`, or `unknown` for tri-state assurance answers. Use `--force` only after reviewing the existing discovery artefacts; without it, the command refuses to overwrite them.
|
|
33
|
+
|
|
34
|
+
Use `available` or `unavailable` for `validation.claude`, `validation.codex`, and `validation.antigravity`. Only explicitly available providers may satisfy external-validation stages.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ewai-prototype-iteration
|
|
3
|
+
description: Review an EWAI prototype plan and each produced rendered design with the most relevant available core, project, personal, and already installed premium personas; assess every finding; and govern bounded iteration before human prototype selection. Use during UI Design after a design system has been applied, when planning screens and journeys, after producing or revising a runnable prototype, or when explaining why a persona-guided design cycle should iterate or stop.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# EWAI Persona-Guided Prototype Iteration
|
|
7
|
+
|
|
8
|
+
Create review evidence; do not grant design acceptance. Read [the review contract](references/review-contract.md) completely before recording a plan or design review.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. Confirm that UI Design is in scope, the design-system application receipt is valid, and a fresh prototype plan is available.
|
|
13
|
+
2. Prepare plan review with `ewai prototype-review plan-prepare DELIVERY --input FILE --project PROJECT --json` or `ewai_prototype_plan_prepare`. Use signals grounded in the intended actors, outcomes, journeys, screens, accessibility needs, domain and risk.
|
|
14
|
+
3. Show every actively engaged persona's safe ID, name, tier, matched signals and engagement reason. Use the returned ensemble only. Core and project personas plus standard model capabilities form a complete baseline; personal and already installed premium personas are optional enrichment. Never fetch, sync, reveal or persist persona bodies.
|
|
15
|
+
4. Ask each active persona to review the plan through its stated lens. Keep persona findings separate from assessment. Give each finding a stable concern code and cited plan evidence.
|
|
16
|
+
5. Give every finding exactly one disposition: `incorporate`, `incorporate-with-modification`, `defer`, `reject`, or `escalate`, with a substantive rationale. Record with `plan-record` or `ewai_prototype_plan_record`.
|
|
17
|
+
6. Apply incorporated feedback before producing the runnable prototype. If the plan changes materially, prepare it again; do not silently reuse the earlier persona ensemble.
|
|
18
|
+
7. Capture source and rendered-viewport evidence for the produced design. Record interaction, assistive-technology, user-research, Manual QA and release as independent channels; missing evidence remains missing.
|
|
19
|
+
8. Prepare a rendered-design cycle with `cycle-prepare` or `ewai_prototype_cycle_prepare`. Recompute relevant personas from the actual design and evidence. Do not inherit the plan ensemble merely because it was previously active.
|
|
20
|
+
9. Ask the active design-stage personas to review the rendered result, then assess and record every finding with `cycle-record` or `ewai_prototype_cycle_record`.
|
|
21
|
+
10. Follow the derived action: iterate, present the result for human selection, or route the unresolved decision to a named human. Default to two design cycles; configure only one to three. Never continue autonomous iteration beyond the limit.
|
|
22
|
+
11. Link the reviewed plan and final cycle in `ewai.prototype-manifest/v3`. Human prototype selection, Manual QA, deployment and release remain separate.
|
|
23
|
+
|
|
24
|
+
## Boundaries
|
|
25
|
+
|
|
26
|
+
- Treat persona output as a hypothesis, not user research or owner evidence.
|
|
27
|
+
- Never let a persona select the prototype, approve a deviation, accept Manual QA, or authorise release.
|
|
28
|
+
- Never collapse source, rendering, interaction, assistive-technology, user-research, Manual QA or release into one evidence claim.
|
|
29
|
+
- Never rewrite immutable review evidence. Prepare and record a successor linked by digest.
|
|
30
|
+
- Never count more findings as better review. Select relevant perspectives and cite material evidence.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Persona-Guided Prototype Review"
|
|
3
|
+
short_description: "Review prototype plans and renders with personas"
|
|
4
|
+
default_prompt: "Use $ewai-prototype-iteration to review this prototype plan and rendered design with the most relevant available personas."
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Persona-guided prototype review contract
|
|
2
|
+
|
|
3
|
+
## Two independent review stages
|
|
4
|
+
|
|
5
|
+
Plan review examines intended screens, journeys, outcomes, information architecture, constraints and decision ownership. Rendered-design review examines the produced prototype and the evidence actually captured for it. Persona relevance is recomputed for each stage.
|
|
6
|
+
|
|
7
|
+
Store only safe persona metadata: ID, name, tier, category, matched signals and engagement reason. The host model with installed core and project personas is complete. Personal and premium personas may enrich the review only when already installed.
|
|
8
|
+
|
|
9
|
+
## Finding and assessment separation
|
|
10
|
+
|
|
11
|
+
A finding records:
|
|
12
|
+
|
|
13
|
+
- active `personaId`;
|
|
14
|
+
- stable `concernCode`;
|
|
15
|
+
- `advisory`, `material`, or `critical` severity;
|
|
16
|
+
- observation and recommendation;
|
|
17
|
+
- bounded evidence references.
|
|
18
|
+
|
|
19
|
+
Its stable ID derives from persona, concern code and sorted evidence references, not explanatory prose.
|
|
20
|
+
|
|
21
|
+
Every finding receives exactly one assessment:
|
|
22
|
+
|
|
23
|
+
- `incorporate`: apply the recommendation;
|
|
24
|
+
- `incorporate-with-modification`: apply the recorded bounded modification;
|
|
25
|
+
- `defer`: retain it visibly for a later owned decision;
|
|
26
|
+
- `reject`: do not apply it, with rationale;
|
|
27
|
+
- `escalate`: require a named human decision.
|
|
28
|
+
|
|
29
|
+
An unassessed finding keeps the review incomplete. A material or critical deferral requires human decision. Incorporated feedback causes iteration unless the configured cycle limit has been reached, when it becomes `human-decision-required`.
|
|
30
|
+
|
|
31
|
+
## Evidence channels
|
|
32
|
+
|
|
33
|
+
Represent all channels independently:
|
|
34
|
+
|
|
35
|
+
| Channel | Required for persona design review | Authority boundary |
|
|
36
|
+
| --- | --- | --- |
|
|
37
|
+
| `source` | yes | supports source observations only |
|
|
38
|
+
| `rendered-viewport` | yes | supports visible rendered observations |
|
|
39
|
+
| `interaction` | when performed | does not imply assistive-technology evidence |
|
|
40
|
+
| `assistive-technology` | when performed | remains absent until actually exercised |
|
|
41
|
+
| `user-research` | when performed | persona simulation never substitutes for it |
|
|
42
|
+
| `manual-qa` | separate human gate | persona review cannot mark it available |
|
|
43
|
+
| `release` | separate release authority | persona review cannot mark it available |
|
|
44
|
+
|
|
45
|
+
## Immutable chain
|
|
46
|
+
|
|
47
|
+
Plan reviews and cycles are content-addressed under `SPECS/6.Build/<delivery>/ui-design-assets/prototype-iterations/`. A later design cycle names the immediately preceding cycle digest. `ewai.prototype-manifest/v3` links the reviewed plan and final cycle to the selected HTML entry point.
|
|
48
|
+
|
|
49
|
+
Historical manifest v1 and v2 records remain readable. Newly stamped v3 deliveries must not complete UI Design with only a design-system receipt and no reviewed prototype evidence.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ewai-retro
|
|
3
|
+
description: Close an EWAI feature, delivery, incident, or iteration by examining the actual artefacts and feedback, facilitating a blameless retrospective, recording owned actions under SPECS/3.Evidence/retros, and refining the applicable project-local SPECS, patterns, constraints, personas, stack guidance, templates, validators, and pipeline assets. Use after manual QA and delivery, after material failure, or whenever the user asks what was learned and how the system should improve.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# EWAI Retrospective
|
|
7
|
+
|
|
8
|
+
Turn delivery experience into durable improvement. Every completed capability gets a Retro, even when the conclusion is that no material change is needed.
|
|
9
|
+
|
|
10
|
+
Resolve the workspace and SPECS root from `.ewai-pipeline/project.json`; all logical `SPECS/...` paths below are relative to that configured root.
|
|
11
|
+
|
|
12
|
+
## Gather evidence
|
|
13
|
+
|
|
14
|
+
1. Read the configured `pipeline.yaml`, feature intent or capsule, delivery tracker, gate records, test evidence, review findings, manual QA feedback, and relevant Git history.
|
|
15
|
+
2. Review the previous Retro actions and record whether they were completed, deferred, or dropped with a reason.
|
|
16
|
+
3. Separate observed facts from interpretation. Keep missing timing, review, or test evidence visible.
|
|
17
|
+
|
|
18
|
+
## Facilitate learning
|
|
19
|
+
|
|
20
|
+
Ask one question at a time:
|
|
21
|
+
|
|
22
|
+
1. What should continue, and why did it work?
|
|
23
|
+
2. What should stop, and what was the underlying cause?
|
|
24
|
+
3. What should start, with an owner and review point?
|
|
25
|
+
4. What surprised us or contradicted the SPECS?
|
|
26
|
+
5. Which project or EWAI asset would have prevented the problem or amplified the success?
|
|
27
|
+
|
|
28
|
+
Use a minimum viable Retro when time is constrained, but do not skip the learning and asset-routing steps.
|
|
29
|
+
|
|
30
|
+
## Route accepted learning
|
|
31
|
+
|
|
32
|
+
- Update scope, domain language, or personas under `SPECS/1.Scope/`.
|
|
33
|
+
- Update intents, requirements, journeys, or explorations under `SPECS/2.Purpose/`.
|
|
34
|
+
- Keep the Retro and its evidence under `SPECS/3.Evidence/retros/`.
|
|
35
|
+
- Promote verified non-negotiables into `SPECS/4.Constraints/`.
|
|
36
|
+
- Update architecture, stack, decisions, options, patterns, SOPs, runbooks, or capsules under `SPECS/5.Strategy/`.
|
|
37
|
+
- Refine project-local skills, validators, templates, personas, or technology packs only when the project owns them.
|
|
38
|
+
- In a customer project, record an upstream EWAI improvement proposal rather than editing a global EWAI installation.
|
|
39
|
+
|
|
40
|
+
Do not promote one-off preference into a universal rule. Record first occurrences; extract a shared pattern when evidence shows reuse, with the established three-instance rule as the default threshold unless severity justifies earlier action.
|
|
41
|
+
|
|
42
|
+
## Complete Retro
|
|
43
|
+
|
|
44
|
+
Write `SPECS/3.Evidence/retros/<date>-<slug>.md` with facts, Continue/Stop/Start insights, root causes, asset changes, owned actions, previous-action review, and follow-up date. Link every applied asset change and every deferred proposal.
|
|
45
|
+
|
|
46
|
+
Retro passes only when accepted low-risk documentation improvements are applied, larger changes have owned work items, and the delivery tracker records the Retro artefact. Do not mark a capability complete merely because the meeting ended.
|
|
47
|
+
|
|
48
|
+
Read [asset routing](references/asset-routing.md) before applying learning beyond the Retro file.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Retrospective asset routing
|
|
2
|
+
|
|
3
|
+
| Learning | Canonical destination |
|
|
4
|
+
|---|---|
|
|
5
|
+
| Project boundary, domain term, or user understanding | `SPECS/1.Scope/` |
|
|
6
|
+
| Outcome, requirement, journey, or intent correction | `SPECS/2.Purpose/` |
|
|
7
|
+
| Retro, gate, incident, iteration, or risk evidence | `SPECS/3.Evidence/` |
|
|
8
|
+
| Verified rule that downstream work must inherit | `SPECS/4.Constraints/` |
|
|
9
|
+
| Architecture, approach, stack, decision, pattern, SOP, or runbook | `SPECS/5.Strategy/` |
|
|
10
|
+
| Capability delivery evidence | `SPECS/6.Build/<slug>/` |
|
|
11
|
+
|
|
12
|
+
Keep a recommendation in Evidence or Strategy until an accountable owner accepts it as a binding Constraint.
|
|
13
|
+
|
|
14
|
+
Project-local assets can be updated inside the project. Changes to EWAI's distributed core, commercial packs, or global installation require an upstream proposal and the normal EWAI review/release process.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ewai-rollout
|
|
3
|
+
description: Review a governed consultancy, organisation, or multi-project EWAI rollout using its bounded read-only snapshot, exact Organisation Blueprint comparisons, structural assurance evidence, standard host-model reasoning, and contextually engaged installed personas. Use when Codex needs to examine rollout cohorts, baseline adoption, Blueprint drift, missing, stale, unavailable, or invalid evidence, accountable review routes, or one selected project's rollout assurance without changing client projects.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# EWAI Rollout Review
|
|
7
|
+
|
|
8
|
+
Resolve the host project and configured SPECS root before acting. Read [the rollout contract](references/rollout-contract.md) before interpreting a workspace or producing advice.
|
|
9
|
+
|
|
10
|
+
Use the standard host LLM for the review. Installed project and core personas enrich the normal baseline. Installed personal and premium personas are optional specialist lenses, not prerequisites.
|
|
11
|
+
|
|
12
|
+
## Retrieve the governed projection
|
|
13
|
+
|
|
14
|
+
Validate the project-owned policy first:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
ewai rollout validate --project . --json
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Retrieve the whole rollout or select a concise concern so EWAI can engage relevant personas:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
ewai rollout status --project . --json
|
|
24
|
+
ewai rollout status --focus "Blueprint drift and security evidence" --project . --json
|
|
25
|
+
ewai rollout assurance client-portal --project . --json
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
When the EWAI MCP server is available, use `ewai_rollout_status` with optional `focus` and `projectId`. These surfaces are read-only. Do not provide a project-root override, credentials, approval, risk acceptance, raw client evidence, or mutation instructions.
|
|
29
|
+
|
|
30
|
+
Preserve `not-configured`, `invalid`, `ready`, and `attention` exactly. Preserve project adoption states `aligned`, `review-required`, `not-adopted`, `unavailable`, `stale`, and `invalid`. Missing or non-current evidence never means healthy.
|
|
31
|
+
|
|
32
|
+
When the focus or selected project changes materially, retrieve a fresh projection so the active persona ensemble can swap relevant lenses in and out.
|
|
33
|
+
|
|
34
|
+
## Disclose active personas
|
|
35
|
+
|
|
36
|
+
Before analysis, list each active persona's name, tier, matched signals, and engagement reason. Use only returned safe metadata.
|
|
37
|
+
|
|
38
|
+
- Apply project and core personas when selected by the current context.
|
|
39
|
+
- Apply personal or premium personas only when already installed and selected as relevant.
|
|
40
|
+
- Treat an absent premium library as nonblocking; the standard host model remains capable of the review.
|
|
41
|
+
- Never initiate entitlement checks, persona synchronisation, content retrieval, or installation from this skill.
|
|
42
|
+
- Never imitate, reconstruct, expose, or claim access to an unavailable persona body.
|
|
43
|
+
|
|
44
|
+
Personas surface questions and alternatives. They do not supply stakeholder evidence, approve a baseline, judge assurance adequacy, or become accountable decision-makers.
|
|
45
|
+
|
|
46
|
+
## Review in evidence order
|
|
47
|
+
|
|
48
|
+
1. Report `declared-policy`: the rollout owner, cohort, required evidence, assigned project, review owner, and exact Blueprint baseline.
|
|
49
|
+
2. Report `observed-project-evidence`: bounded child-owned Blueprint, delivery, standards, Manual QA, and security states with their stated limitations.
|
|
50
|
+
3. Report `automated-check`: exact Blueprint comparisons and freshness outcomes. Do not infer semantic-version precedence or compatibility.
|
|
51
|
+
4. Report `persona-hypothesis`: concerns, edge cases, or questions raised through a disclosed active persona lens.
|
|
52
|
+
5. Reserve `human-decision` for an actual named human decision. A suggested route is not the decision itself.
|
|
53
|
+
|
|
54
|
+
Use the returned review questions to find the baseline difference needing ownership, required evidence that is absent or unreliable, unsupported conclusions, and the named person who owns the next action.
|
|
55
|
+
|
|
56
|
+
## Produce an actionable review
|
|
57
|
+
|
|
58
|
+
Return:
|
|
59
|
+
|
|
60
|
+
1. rollout, cohort, project, and snapshot status;
|
|
61
|
+
2. active persona names, tiers, matched signals, and engagement reasons;
|
|
62
|
+
3. declared baseline and required evidence;
|
|
63
|
+
4. observed evidence, freshness, gaps, and limitations;
|
|
64
|
+
5. separately labelled automated checks and persona hypotheses;
|
|
65
|
+
6. the next route and named accountable owner; and
|
|
66
|
+
7. both returned advisory and security notices.
|
|
67
|
+
|
|
68
|
+
Keep absolute paths, repository roots, raw evidence documents, prompts, persona bodies, credentials, validator findings, risk dispositions, and unrestricted client content out of the response.
|
|
69
|
+
|
|
70
|
+
## Authority boundary
|
|
71
|
+
|
|
72
|
+
This skill is advisory and read-only. It cannot change rollout policy, update a Blueprint pin, write child SPECS, dispatch work, approve Build or Manual QA, accept residual risk, declare evidence adequate, certify security, change release readiness, deploy, or release.
|
|
73
|
+
|
|
74
|
+
Stop if validation fails, child evidence escapes the configured Portfolio topology, required fields are absent, the user asks the review to mutate a client project, or a conclusion would require treating model or persona output as human evidence. Route the decision to the returned project, review, cohort, Portfolio, security, or release owner.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Rollout review contract
|
|
2
|
+
|
|
3
|
+
Read this reference before interpreting `ewai.rollout-workspace/v1`, troubleshooting a rollout, or producing an LLM-assisted consultancy or network review.
|
|
4
|
+
|
|
5
|
+
## Canonical inputs
|
|
6
|
+
|
|
7
|
+
- `.ewai-pipeline/project.json` locates the host project and configured SPECS root.
|
|
8
|
+
- `SPECS/pipeline.yaml` owns configured repository names and safe workspace-relative roots.
|
|
9
|
+
- `SPECS/1.Scope/portfolio.yaml` owns the portfolio, programme, project hierarchy, topology, ownership, and declared dependencies.
|
|
10
|
+
- `SPECS/1.Scope/rollout.yaml` owns rollout baselines, cohorts, assignments, evidence expectations, freshness, and review ownership.
|
|
11
|
+
- Each assigned project owns its Organisation Blueprint pin, standards, delivery, Manual QA, and security evidence.
|
|
12
|
+
|
|
13
|
+
The rollout workspace is a disposable, bounded projection. It is not a second client registry and cannot write into a child project.
|
|
14
|
+
|
|
15
|
+
## Workspace and adoption states
|
|
16
|
+
|
|
17
|
+
| Status | Meaning | Safe response |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| `not-configured` | No rollout policy exists. | Point to the implementation guide; do not create policy without authority. |
|
|
20
|
+
| `invalid` | Policy, Portfolio, project topology, or evidence structure failed validation. | Report stable diagnostics and stop interpretation. |
|
|
21
|
+
| `ready` | The policy is valid and all projected adoption and required evidence states are current. | Review the evidence; do not call this approval or certification. |
|
|
22
|
+
| `attention` | At least one project adoption or required-evidence state needs review. | Preserve the reason and route it to the named owner. |
|
|
23
|
+
|
|
24
|
+
Project adoption can be `aligned`, `review-required`, `not-adopted`, `unavailable`, `stale`, or `invalid`. Required evidence can be `present`, `missing`, `stale`, `not-configured`, or `unavailable`. Absence and uncertainty never imply alignment.
|
|
25
|
+
|
|
26
|
+
## Safe public fields
|
|
27
|
+
|
|
28
|
+
The projection may expose:
|
|
29
|
+
|
|
30
|
+
- bounded rollout, Portfolio, cohort, baseline, and project IDs, names, owners, review dates, and required evidence classes;
|
|
31
|
+
- exact expected and observed Blueprint ID, version, and optional digest;
|
|
32
|
+
- structural adoption and evidence states, safe timestamps, limitations, and accountable routes;
|
|
33
|
+
- latest delivery status, phase, Build-approval boolean, and Manual QA state;
|
|
34
|
+
- security-validation configuration and structural run state without findings or dispositions;
|
|
35
|
+
- active persona ID, name, tier, matched signals, and engagement reason;
|
|
36
|
+
- installed-tier availability counts, review questions, evidence classes, and mandatory notices.
|
|
37
|
+
|
|
38
|
+
It must not expose absolute roots, raw policy or persona bodies, source documents, prompts, credentials, validator output, findings, risk decisions, adapter code, or request-supplied authority.
|
|
39
|
+
|
|
40
|
+
## Exact Blueprint comparison
|
|
41
|
+
|
|
42
|
+
V1 compares the project-owned Blueprint pin with the cohort baseline by exact ID and version, plus digest when the baseline declares one. An exact match is `aligned`. Any difference is `review-required`.
|
|
43
|
+
|
|
44
|
+
The checker does not infer semantic-version precedence, upgrade safety, compatibility, replacement, equivalence, or migration completeness. A named accountable human owns that decision.
|
|
45
|
+
|
|
46
|
+
## Evidence taxonomy
|
|
47
|
+
|
|
48
|
+
| Class | Meaning | Authority |
|
|
49
|
+
| --- | --- | --- |
|
|
50
|
+
| `declared-policy` | Baseline, cohort, assignment, ownership, or evidence expectation recorded by the host project. | A governed declaration, not proof of adoption. |
|
|
51
|
+
| `observed-project-evidence` | Allowlisted structural evidence read from an assigned project. | Bounded observation with freshness and limitations. |
|
|
52
|
+
| `automated-check` | Exact comparison or deterministic freshness result. | A repeatable check, not an adequacy judgement. |
|
|
53
|
+
| `persona-hypothesis` | Concern or interpretation from a disclosed persona lens. | Advisory proposition requiring evidence or human resolution. |
|
|
54
|
+
| `human-decision` | Decision actually recorded by a named accountable person. | The only decision class; limited to its recorded scope. |
|
|
55
|
+
|
|
56
|
+
The selected-project assurance view is explicitly structural-only and returns no adequacy verdict.
|
|
57
|
+
|
|
58
|
+
## Persona and LLM method
|
|
59
|
+
|
|
60
|
+
`review.standardLlmAvailable` means the ordinary host model can perform the bounded review. Installed project and core personas improve context at baseline. Installed, relevant personal or premium personas may enrich a focused review.
|
|
61
|
+
|
|
62
|
+
Retrieve the projection again when the focus changes so irrelevant personas leave the active ensemble and newly relevant ones can enter. Disclose the returned name, tier, matched signals, and engagement reason. Missing premium content is nonblocking. Never fetch, synchronise, imitate, or reconstruct unavailable premium content from this skill.
|
|
63
|
+
|
|
64
|
+
Persona output remains `persona-hypothesis` unless supported by project evidence or resolved by a named human. It cannot become `human-decision` evidence by repetition or confidence.
|
|
65
|
+
|
|
66
|
+
## Human and assurance boundary
|
|
67
|
+
|
|
68
|
+
Always preserve both workspace notices:
|
|
69
|
+
|
|
70
|
+
> Rollout and persona analysis is advisory. Organisation Blueprint adoption, evidence adequacy, accepted risk, Manual QA, deployment and release decisions remain with named accountable humans.
|
|
71
|
+
|
|
72
|
+
> Security validation is evidence, not certification or proof that this system is secure. Tools can miss vulnerabilities and produce false positives. A qualified human must review the scope, findings, limitations and residual risk before release.
|
|
73
|
+
|
|
74
|
+
Rollout analysis cannot change policy, write child SPECS, approve Build or Manual QA, accept risk, certify security, dispatch work, change readiness, deploy, or release.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ewai-shape-intents
|
|
3
|
+
description: Explore a broad product idea, capability, workflow, or feature request with a project owner and turn it into a reviewed, interconnected map of draft EWAI intents. Use when a user wants to add several related features, shape an initiative, decompose a large idea, discover an MVP or release slice, build a backlog from a function, or decide which intents should exist before refining them individually.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# EWAI Shape Intents
|
|
7
|
+
|
|
8
|
+
Turn a human idea into an understandable product map before creating individual intents. Stay conversational, ask one useful question at a time, and never start planning, delivery, or implementation from this skill.
|
|
9
|
+
|
|
10
|
+
Read [intent mapping contract](references/intent-mapping-contract.md) before proposing or creating the map.
|
|
11
|
+
|
|
12
|
+
## Establish project truth
|
|
13
|
+
|
|
14
|
+
1. Run `ewai checkin --project <path> --json`.
|
|
15
|
+
2. Read the project purpose, users, existing intents, technology strategy, constraints, imported context, and relevant Archaeology findings under `SPECS/`.
|
|
16
|
+
3. Search existing intents for overlapping outcomes. Prefer extending or relating existing work over creating duplicates.
|
|
17
|
+
4. If the project has not completed discovery, pause intent shaping and use `$ewai-project-discovery` first.
|
|
18
|
+
|
|
19
|
+
## Select the shaping perspective
|
|
20
|
+
|
|
21
|
+
Query the installed persona index:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
ewai persona index \
|
|
25
|
+
--project <path> \
|
|
26
|
+
--query "product definition prioritization requirements release shaping" \
|
|
27
|
+
--json
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
- Prefer the premium `product-owner` persona when the index confirms it is installed. Read its full persona privately and use its product-shaping method to drive the interview.
|
|
31
|
+
- If premium access exists but the persona library is not installed or has an offered update, ask before running `ewai persona premium sync --project <path> --yes`.
|
|
32
|
+
- If it is unavailable, say so briefly and continue using the project's purpose, users, evidence, and core personas. Never impersonate or reconstruct an unlicensed premium persona.
|
|
33
|
+
- If the premium `product-owner` persona is installed and selected, record it as a shaping persona on the map. Otherwise record another available shaping persona or omit the field. Never create an unlicensed reference or false provenance. Attach a shaping persona to an individual intent only when its perspective is needed throughout that intent's lifecycle.
|
|
34
|
+
|
|
35
|
+
## Explore the idea
|
|
36
|
+
|
|
37
|
+
Begin with what is on the user's mind. Then ask one question at a time, adapting to what is already known. Establish:
|
|
38
|
+
|
|
39
|
+
- the problem, desired outcome, and why it matters now;
|
|
40
|
+
- the people affected and the jobs or journeys they need to complete;
|
|
41
|
+
- the rules, decisions, hand-offs, integrations, data, and operational consequences;
|
|
42
|
+
- the smallest valuable outcome and what is explicitly out of scope;
|
|
43
|
+
- security, privacy, assurance, accessibility, support, and failure expectations;
|
|
44
|
+
- evidence of success, assumptions, and unknowns that could change the shape.
|
|
45
|
+
|
|
46
|
+
Do not interrogate the user for information already present in project evidence. Summarise your evolving understanding and invite correction.
|
|
47
|
+
|
|
48
|
+
## Shape interconnected intents
|
|
49
|
+
|
|
50
|
+
Split by independently valuable, testable outcomes—not by frontend, backend, database, or engineering task. Keep one intent when one coherent outcome is the honest shape.
|
|
51
|
+
|
|
52
|
+
Use discovery spikes only when an unresolved choice blocks responsible intent definition. Mark relationships explicitly as `depends-on`, `enables`, `complements`, `conflicts-with`, `supersedes`, or `relates-to`.
|
|
53
|
+
|
|
54
|
+
For each proposed intent, add a delivery-shape preview. Most intents created from this skill should be `single`; use `split` or `decision-required` only when the map still contains an umbrella item that needs further decomposition before delivery.
|
|
55
|
+
|
|
56
|
+
Present:
|
|
57
|
+
|
|
58
|
+
1. the overall idea and intended outcome;
|
|
59
|
+
2. a compact table of proposed intents, users, value, and boundaries;
|
|
60
|
+
3. a readable relationship map and suggested sequence;
|
|
61
|
+
4. assumptions, open decisions, overlap with existing intents, and possible deferrals.
|
|
62
|
+
|
|
63
|
+
Ask the user to merge, split, rename, resequence, defer, or reject items. Iterate until they explicitly approve the map.
|
|
64
|
+
|
|
65
|
+
## Create only after approval
|
|
66
|
+
|
|
67
|
+
Use the `ewai_create_intent_map` MCP tool with `confirmed: true`. If MCP is unavailable, write the approved request to JSON or YAML and run:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
ewai intent map-create <request-file> \
|
|
71
|
+
--project <path> \
|
|
72
|
+
--yes \
|
|
73
|
+
--approved-by "<name>"
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The operation must create the durable map plus every linked draft intent atomically. Do not create intents speculatively or one-by-one before approval.
|
|
77
|
+
|
|
78
|
+
After creation, offer:
|
|
79
|
+
|
|
80
|
+
- to refine one draft through `$ewai-intent`;
|
|
81
|
+
- to review the map in the dashboard;
|
|
82
|
+
- to leave the approved drafts in the backlog.
|
|
83
|
+
|
|
84
|
+
Never begin the fourteen-stage delivery cycle from this skill.
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Intent mapping contract
|
|
2
|
+
|
|
3
|
+
## Durable outputs
|
|
4
|
+
|
|
5
|
+
An approved map creates:
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
SPECS/2.Purpose/explorations/intent-maps/<map-slug>.md
|
|
9
|
+
SPECS/2.Purpose/explorations/intent-maps/<map-slug>.json
|
|
10
|
+
SPECS/2.Purpose/intents/<domain>/<intent-slug>.md
|
|
11
|
+
SPECS/2.Purpose/intents/<domain>/<intent-slug>.json
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
The map captures the shaping conversation and approval. Each intent repeats its map identifier and direct relationships so it remains intelligible when read alone. SQLite is a rebuildable projection of those project-owned files.
|
|
15
|
+
|
|
16
|
+
## Request schema
|
|
17
|
+
|
|
18
|
+
Pass an `ewai.intent-map-request/v1` object:
|
|
19
|
+
|
|
20
|
+
```yaml
|
|
21
|
+
schema: ewai.intent-map-request/v1
|
|
22
|
+
slug: safer-alerting
|
|
23
|
+
title: Safer alerting
|
|
24
|
+
idea: Improve the reliability and visibility of emergency alert delivery.
|
|
25
|
+
desiredOutcome: Operators can trust that every intended recipient is accounted for.
|
|
26
|
+
users:
|
|
27
|
+
- Alert operator
|
|
28
|
+
evidence:
|
|
29
|
+
- SPECS/3.Evidence/archaeology/dispatch-findings.md
|
|
30
|
+
boundaries:
|
|
31
|
+
- Preserve blind-relay privacy.
|
|
32
|
+
nonGoals:
|
|
33
|
+
- Replace the messaging provider.
|
|
34
|
+
assumptions: []
|
|
35
|
+
openQuestions:
|
|
36
|
+
- Who owns failed-delivery escalation?
|
|
37
|
+
shapingPersonas:
|
|
38
|
+
- ref: product-owner
|
|
39
|
+
role: facilitator
|
|
40
|
+
depth: 4
|
|
41
|
+
intents:
|
|
42
|
+
- domain: alerts
|
|
43
|
+
slug: accountable-dispatch
|
|
44
|
+
title: Accountable dispatch
|
|
45
|
+
problem: Some intended recipients can disappear from dispatch without a durable outcome.
|
|
46
|
+
desiredOutcome: Every intended recipient has an observable delivery disposition.
|
|
47
|
+
users:
|
|
48
|
+
- Alert operator
|
|
49
|
+
journeys: []
|
|
50
|
+
acceptanceCriteria:
|
|
51
|
+
- Every targeted recipient produces a durable delivery or skip record.
|
|
52
|
+
constraints:
|
|
53
|
+
- Raw recipient contact details remain hidden from administrators.
|
|
54
|
+
evidence:
|
|
55
|
+
- SPECS/3.Evidence/archaeology/dispatch-findings.md
|
|
56
|
+
openDecisions: []
|
|
57
|
+
personas: []
|
|
58
|
+
relationships:
|
|
59
|
+
- type: enables
|
|
60
|
+
target: alerts/delivery-reconciliation
|
|
61
|
+
rationale: Reconciliation requires a complete dispatch ledger.
|
|
62
|
+
deliveryShape:
|
|
63
|
+
recommendation: single
|
|
64
|
+
reason: This is one independently valuable delivery outcome with a clear acceptance boundary.
|
|
65
|
+
suggested_children: []
|
|
66
|
+
blocking_questions: []
|
|
67
|
+
reviewed_decision: keep-as-one
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Relationship direction
|
|
71
|
+
|
|
72
|
+
- `depends-on`: the source cannot responsibly deliver its outcome before the target.
|
|
73
|
+
- `enables`: completing the source makes the target possible or materially safer.
|
|
74
|
+
- `complements`: the intents are independently useful but stronger together.
|
|
75
|
+
- `conflicts-with`: the intents express incompatible choices requiring resolution.
|
|
76
|
+
- `supersedes`: the source replaces the target's intended outcome.
|
|
77
|
+
- `relates-to`: a meaningful connection exists without a stronger semantic claim.
|
|
78
|
+
|
|
79
|
+
Targets use exact `<domain>/<slug>` references. `depends-on` relationships among newly created intents must be acyclic.
|
|
80
|
+
|
|
81
|
+
`depends-on` may also record `required_before: build|delivery` and `required_state: plan-complete|delivered`. When omitted, EWAI defaults to `required_before: delivery` and `required_state: delivered`, allowing related intents to be explored and planned in parallel without pretending their delivered outcomes are independent.
|
|
82
|
+
|
|
83
|
+
## Slicing rules
|
|
84
|
+
|
|
85
|
+
A good intent:
|
|
86
|
+
|
|
87
|
+
- produces a user, business, operational, or assurance outcome that can be evaluated;
|
|
88
|
+
- can pass through the complete EWAI lifecycle without pretending a technical layer is a product outcome;
|
|
89
|
+
- has a defensible boundary and acceptance evidence;
|
|
90
|
+
- names dependencies without hiding scope inside another intent.
|
|
91
|
+
- includes a delivery-shape preview showing whether it should be delivered as-is, split first, or paused for a split decision.
|
|
92
|
+
|
|
93
|
+
Do not force a large idea into many intents. Do not combine unrelated outcomes merely to reduce the count. Avoid tasks such as “build API,” “create database,” or “make frontend” unless the technical capability itself is the independently valuable outcome.
|
|
94
|
+
|
|
95
|
+
If an intent remains large, record `deliveryShape.recommendation: split` with suggested child outcomes and dependencies, or `decision-required` with the owner questions that block a safe split. Do not send an oversized parent intent into delivery merely because it has a dependency map.
|
|
96
|
+
|
|
97
|
+
## Completion gate
|
|
98
|
+
|
|
99
|
+
The map is ready to create only when:
|
|
100
|
+
|
|
101
|
+
- the user has reviewed and explicitly approved it;
|
|
102
|
+
- every intent has a title, problem, desired outcome, and stable domain/slug;
|
|
103
|
+
- relationships point to proposed or already existing intents;
|
|
104
|
+
- every proposed intent has a delivery-shape preview;
|
|
105
|
+
- overlaps and conflicts with existing intents are visible;
|
|
106
|
+
- assumptions, exclusions, and materially blocking questions are recorded;
|
|
107
|
+
- the proposed set is small enough to understand and complete enough to represent the user's idea.
|
|
108
|
+
|
|
109
|
+
Creation is atomic. If any intent fails validation or collides with existing files, no part of the new map should remain.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ewai-solution-readiness
|
|
3
|
+
description: Prepare and complete a governed, evidence-bound Solution Readiness Review for an EWAI delivery. Use when an owner asks whether a solution has proportionate evidence for internal, sensitive, client-facing, public-service, critical or regulated use; when release evidence must be composed across intent, impact, standards, tests, Manual QA, security, hosting, operations, documentation and specialist assurance; or when an earlier readiness report may have become stale.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# EWAI Solution Readiness
|
|
7
|
+
|
|
8
|
+
Use the CLI/domain contract to prepare evidence. Facilitate a named human review. Never turn the result into certification or release permission.
|
|
9
|
+
|
|
10
|
+
## Method
|
|
11
|
+
|
|
12
|
+
1. List profiles with `ewai readiness profiles --project . --json`.
|
|
13
|
+
2. Ask the accountable owner to choose `internal-only`, `internal-sensitive`, `client-facing`, `public-service`, or `critical-regulated`.
|
|
14
|
+
3. Prepare current evidence with `ewai readiness prepare SLUG --profile PROFILE --project . --json`.
|
|
15
|
+
4. Show every dimension, state, limitation and citation. Never collapse them into a score.
|
|
16
|
+
When an organisation policy baseline is enabled, include the current policy design gate as an evidence dimension with its exact baseline, fact and evaluation digests, matched controls, decisions and staleness. `not-configured` stays visible where policy is not required; never relabel it as satisfied.
|
|
17
|
+
5. Show **Active personas** with safe ID, name, tier, matched concern and engagement reason.
|
|
18
|
+
6. Review the generated `readiness-review.template.json` with a named human. Every required dimension needs an explicit disposition and reason. Conditions and residual risks need an owner and future review date.
|
|
19
|
+
7. Record it with `ewai readiness review ASSESSMENT --input FILE --reviewed-by NAME --project . --json`.
|
|
20
|
+
8. Explain the result and every contributing condition or blocker.
|
|
21
|
+
9. Check currency with `ewai readiness status ASSESSMENT --project . --json`. When stale, prepare a new assessment; never overwrite history.
|
|
22
|
+
|
|
23
|
+
## Evidence vocabulary
|
|
24
|
+
|
|
25
|
+
- Prepared states: `satisfied`, `conditional`, `blocking`, `missing`, `stale`, `not-applicable`, `not-configured`.
|
|
26
|
+
- Human dispositions: `accepted`, `conditional`, `blocked`, `insufficient-evidence`, `not-applicable`.
|
|
27
|
+
- Advisory results: `ready-for-human-decision`, `conditional`, `blocked`, `insufficient-evidence`.
|
|
28
|
+
|
|
29
|
+
Never accept `missing`, `stale`, `blocking` or `not-configured` required evidence as satisfied. `ready-for-human-decision` means the evidence is coherent enough for accountable human judgement; it does not mean approved or released.
|
|
30
|
+
|
|
31
|
+
## Persona method
|
|
32
|
+
|
|
33
|
+
- Use standard model reasoning plus installed core and project personas as the complete baseline.
|
|
34
|
+
- Swap in relevant installed project, personal and premium personas as the profile and evidence gaps change.
|
|
35
|
+
- Keep project, personal and core persona provenance visible alongside any optional premium enrichment.
|
|
36
|
+
- Premium personas are optional enrichment. Never sync, download or imitate premium content during this skill.
|
|
37
|
+
- Keep active personas visible at preparation and review.
|
|
38
|
+
- Treat personas as advisory lenses. They do not supply stakeholder evidence, accept risk or approve release.
|
|
39
|
+
|
|
40
|
+
## Stop conditions
|
|
41
|
+
|
|
42
|
+
- Stop if the delivery slug or cited path escapes the configured project.
|
|
43
|
+
- Stop if the preparation, repository revision or cited evidence is stale.
|
|
44
|
+
- Stop if a required dimension lacks a decision or a condition lacks accountable ownership.
|
|
45
|
+
- Stop if anyone asks the skill to rewrite source evidence, approve Manual QA, change a security disposition, deploy or release.
|
|
46
|
+
- The skill does not approve Manual QA or release.
|
|
47
|
+
- Preserve blockers and uncertainty. Do not manufacture evidence, a percentage score or a certificate.
|
|
48
|
+
|
|
49
|
+
## Mandatory notices
|
|
50
|
+
|
|
51
|
+
Repeat both notices on every presentation path:
|
|
52
|
+
|
|
53
|
+
Security validation is evidence, not certification or proof that this system is secure. Tools can miss vulnerabilities and produce false positives. A qualified human must review the scope, findings, limitations and residual risk before release.
|
|
54
|
+
|
|
55
|
+
Solution Readiness Review is advisory evidence, not certification, business acceptance, Manual QA approval, security approval, deployment permission or release authorisation. Accountable humans retain every approval and risk decision.
|