@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,678 @@
|
|
|
1
|
+
# Capabilities and project layout
|
|
2
|
+
|
|
3
|
+
Use this reference when you need the detail behind a particular EWAI capability or want to understand its project files. For first use, follow [your first session](../tutorials/first-session.md). The [guide catalogue](../guide-catalogue.md) links the focused operating guides.
|
|
4
|
+
|
|
5
|
+
Use the section links to look up a capability, its boundaries and the relevant files. You don't need to configure every optional capability before you start. Operating guides explain the user workflow; linked implementation references describe the host and integration contracts.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
<!-- editorial: contents -->
|
|
9
|
+
## On this page
|
|
10
|
+
|
|
11
|
+
- [Initialise a project](#initialise-a-project)
|
|
12
|
+
- [Enrich a project from supplied context](#enrich-a-project-from-supplied-context)
|
|
13
|
+
- [Understand an existing project with Archaeology](#understand-an-existing-project-with-archaeology)
|
|
14
|
+
- [Shape enterprise and solution architecture](#shape-enterprise-and-solution-architecture)
|
|
15
|
+
- [Check code against project standards](#check-code-against-project-standards)
|
|
16
|
+
- [Discover and define the project](#discover-and-define-the-project)
|
|
17
|
+
- [Create an intent](#create-an-intent)
|
|
18
|
+
- [Discover packs and personas](#discover-packs-and-personas)
|
|
19
|
+
- [Project configuration](#project-configuration)
|
|
20
|
+
- [Delivery stages and retrospective learning](#delivery-stages-and-retrospective-learning)
|
|
21
|
+
- [The EWAI companion](#the-ewai-companion)
|
|
22
|
+
- [Technology and stack packs](#technology-and-stack-packs)
|
|
23
|
+
- [Design-system capabilities](#design-system-capabilities)
|
|
24
|
+
- [Portfolio and rollout coordination](#portfolio-and-rollout-coordination)
|
|
25
|
+
- [Project-local SQLite, dashboard, and MCP](#project-local-sqlite-dashboard-and-mcp)
|
|
26
|
+
- [Why SPECS/ and SQLite are separate](#why-specs-and-sqlite-are-separate)
|
|
27
|
+
|
|
28
|
+
## Initialise a project
|
|
29
|
+
|
|
30
|
+
From anywhere, provide the project path explicitly:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
ewai init --project /path/to/project --name "Example Product" --codex
|
|
34
|
+
ewai doctor --project /path/to/project
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Or run from inside a Git repository:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
cd /path/to/project
|
|
41
|
+
ewai init
|
|
42
|
+
ewai doctor
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
For a workspace containing several independent repositories, keep the runtime locator at the workspace root and place SPECS in a dedicated knowledge repository:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
cd /path/to/workspace
|
|
49
|
+
ewai init --name "Example Product" --specs project-knowledge/SPECS --init-specs-repo
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
EWAI records `project-knowledge/SPECS` in `.ewai-pipeline/project.json`, so launching from `workspace/api`, `workspace/web`, or another child repository still resolves the shared project. The generated pipeline initially registers `project-knowledge` as the `knowledge-and-delivery` repository; add the workspace's application, infrastructure, and documentation repositories during setup. `--init-specs-repo` initializes that containing folder as a local Git repository but does not create or publish a remote. EWAI recommends this dedicated-repository layout for multi-repository products. A single repository or monorepo should normally keep the default `./SPECS` layout.
|
|
53
|
+
|
|
54
|
+
Default initialisation creates:
|
|
55
|
+
|
|
56
|
+
```text
|
|
57
|
+
project/
|
|
58
|
+
├── SPECS/
|
|
59
|
+
│ ├── pipeline.yaml
|
|
60
|
+
│ ├── 1.Scope/{domain,personas,api,research,handoffs,templates}/
|
|
61
|
+
│ ├── 2.Purpose/{intents,journeys,explorations,discussions,requirements}/
|
|
62
|
+
│ ├── 3.Evidence/{archaeology,context-imports,retros,postmortems,gates,iteration-logs,risk}/
|
|
63
|
+
│ ├── 4.Constraints/compliance/
|
|
64
|
+
│ ├── 5.Strategy/{architecture,decisions,options,sops,runbooks,capsules}/
|
|
65
|
+
│ └── 6.Build/
|
|
66
|
+
└── .ewai-pipeline/
|
|
67
|
+
├── .gitignore
|
|
68
|
+
├── data/pipeline.sqlite
|
|
69
|
+
├── logs/
|
|
70
|
+
├── runtime/
|
|
71
|
+
└── project.json
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Initialisation preserves existing files unless `--force` is explicitly supplied.
|
|
75
|
+
|
|
76
|
+
It also safely merges project MCP entries for the three supported hosts:
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
.mcp.json Claude Code
|
|
80
|
+
.codex/config.toml Codex
|
|
81
|
+
.agents/mcp_config.json Google Antigravity / AGY CLI
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Each host launches the same project-bound `ewai mcp --project .` stdio server. Existing host settings and MCP servers are preserved.
|
|
85
|
+
|
|
86
|
+
Before creating EWAI artefacts, initialization checks for existing source files, manifests, and project definitions. The conversational companion first captures a human project briefing, then optionally asks whether the user has a folder of emails, meeting transcripts, documentation, research, requirements, or other project material that could enrich the project. For an existing codebase, EWAI offers optional Archaeology. If the owner accepts, it compares the confirmed purpose and reviewed imported context with repository evidence before deeper reconstruction. A fresh project uses the same context to make discovery more specific.
|
|
87
|
+
|
|
88
|
+
`--claude`, `--codex`, and `--antigravity` record validation CLIs that the user has explicitly confirmed are available and initially enabled. Antigravity access uses the `agy` executable. These flags do not install or authenticate those services. At delivery time EWAI excludes the active orchestrator from the independent reviewer set.
|
|
89
|
+
|
|
90
|
+
## Enrich a project from supplied context
|
|
91
|
+
|
|
92
|
+
During setup, EWAI can register a user-supplied folder of project material without copying its raw contents into the repository. It asks about authority, exclusions, data classification, and whether the current AI provider may process the content before opening any files. Absolute paths and detailed filenames stay in the gitignored `.ewai-pipeline/` runtime; SPECS receives sanitized source metadata, evidence-backed findings, and reviewed knowledge.
|
|
93
|
+
|
|
94
|
+
After a bounded initial scan, EWAI compares the perspectives needed by the material with a compact index of the core, premium, personal, and project personas actually installed. It tells the user which available personas would improve the analysis, assigns a small ensemble to different passes, records missing perspectives, and switches lenses as the evidence moves between product, user, architecture, operations, security, data, and assurance concerns.
|
|
95
|
+
|
|
96
|
+
Installed personas are analysis aids. They are not evidence about the project's users. When emails, transcripts, or documents reveal real actors, responsibilities, goals, frustrations, environments, or decision authority, EWAI proposes evidence-linked project personas for review under the Context Import bundle. Accepted personas are promoted into `SPECS/1.Scope/personas/project/`.
|
|
97
|
+
|
|
98
|
+
Context Import can reconstruct:
|
|
99
|
+
|
|
100
|
+
- project language, actors and stakeholder relationships;
|
|
101
|
+
- intents, journeys, workflows, requirements and success measures;
|
|
102
|
+
- options, decisions, rationale and later supersession;
|
|
103
|
+
- constraints, risks, incidents, dependencies and open questions;
|
|
104
|
+
- candidate architecture records, ADRs, standards, SOPs and runbooks.
|
|
105
|
+
|
|
106
|
+
It distinguishes something being stated, proposed, agreed, decided, implemented, superseded, contradicted, inferred, or unknown. This prevents meeting conversation from silently becoming project truth.
|
|
107
|
+
|
|
108
|
+
```text
|
|
109
|
+
SPECS/3.Evidence/context-imports/<date>-<subject>/
|
|
110
|
+
├── source-registration.yaml
|
|
111
|
+
├── report.md
|
|
112
|
+
├── evidence-ledger.yaml
|
|
113
|
+
├── persona-routing.yaml
|
|
114
|
+
├── actors-and-persona-candidates.md
|
|
115
|
+
├── decisions-and-options.md
|
|
116
|
+
├── open-questions.md
|
|
117
|
+
└── proposals/SPECS/
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Understand an existing project with Archaeology
|
|
121
|
+
|
|
122
|
+
Archaeology is optional. If you decline it, continue Discovery with known gaps recorded; the reconstruction and curation steps below don't apply. See [existing-project onboarding](../existing-project-onboarding-guide.md).
|
|
123
|
+
|
|
124
|
+
When EWAI detects existing code, it establishes why the project exists, who it serves, desired outcomes, business context, constraints, and non-goals before deep investigation. Archaeology starts with reconnaissance, presents its inferred understanding for correction, and proceeds only when material purpose differences have been resolved.
|
|
125
|
+
|
|
126
|
+
Archaeology uses the free **EWAI Archaeologist** and **SPECS Knowledge Curator** personas. After initial reconnaissance—and before deep agents run—it inventories the installed core, premium, personal, and project persona libraries, assesses which perspectives would improve each bounded pass, shows the user a concise recommended ensemble, records gaps, and asks for confirmation. The complete persona-routing checkpoint is retained as evidence and must validate before deep analysis proceeds. Installed personas are reasoning lenses rather than evidence about real users.
|
|
127
|
+
|
|
128
|
+
After the Source Map and technology/hosting evidence are current, Archaeology prepares a seven-dimensional evidence-depth run. A named owner selects depth independently for each concern and explicitly groups every stable gap before the deep passes claim an agreed boundary. Repeated runs compare governed inputs, evidence, personas, depth, coverage, gaps, and grouping in causal order. The standard model with core and project personas remains complete without premium content; premium personas are used only when already installed and relevant.
|
|
129
|
+
|
|
130
|
+
### What reconstruction covers
|
|
131
|
+
|
|
132
|
+
Archaeology examines the agreed project boundary using source code, tests, schemas, configuration, Git history, existing and deleted documentation, imported context, supplied operational evidence and attributed human testimony. For a whole-project request, reconnaissance is only the first pass: the goal is detailed reconstruction of every material capability, not a lightweight assessment.
|
|
133
|
+
|
|
134
|
+
The proposed SPECS records cover:
|
|
135
|
+
|
|
136
|
+
- people and purpose: personas, intents, workflows, journeys and requirements;
|
|
137
|
+
- engineering and governance: risks, constraints, architecture, integrations, patterns, ADRs, decisions and options;
|
|
138
|
+
- operation and history: SOPs, runbooks, operational procedures, historical Build records, incidents, retrospectives and learning.
|
|
139
|
+
|
|
140
|
+
Security and code quality receive separate evidence-led reviews. These are static reviews, not penetration testing or certification. Material findings become proposed risks, constraints, technical-debt entries, patterns, decisions and remediation candidates, as appropriate.
|
|
141
|
+
|
|
142
|
+
In Claude Code, the bounded defensive security pass uses the current `opus` alias and retries once with `sonnet` if Opus is unavailable or refuses the pass. A refused pass remains incomplete, rather than being reported as a successful review.
|
|
143
|
+
|
|
144
|
+
Reports, catalogues, indexes and ledgers help you navigate the reconstruction; they aren't substitutes for the individual records. Each capability is examined across Scope, Purpose, Evidence, Constraints, Strategy, Build and the applicable fourteen delivery stages.
|
|
145
|
+
|
|
146
|
+
Project-wide reconstruction also covers the risk register, integration catalogue, persona library, architecture set, pattern library, ADR index, options register, standards, SOPs, runbooks, observability, recovery, deployment history, technical debt and incidents. Missing evidence remains a recorded gap or owned exception, not invented history.
|
|
147
|
+
|
|
148
|
+
Progress updates describe the investigation in human terms—for example, “Looking for user processes” or “Reviewing the database structure”. Detailed commands and scan output are available when needed to understand a decision or failure.
|
|
149
|
+
|
|
150
|
+
It also reconstructs the evidenced technology stack: languages, frameworks, runtimes, package managers, data stores, infrastructure, CI, deployment targets, and versions. Technology is labelled as declared, observed, inferred, inactive, or unknown. Matching EWAI technology packs are proposed, not silently enabled.
|
|
151
|
+
|
|
152
|
+
Each investigation creates a review bundle:
|
|
153
|
+
|
|
154
|
+
```text
|
|
155
|
+
SPECS/3.Evidence/archaeology/<date>-<subject>/
|
|
156
|
+
├── report.md
|
|
157
|
+
├── evidence-ledger.yaml
|
|
158
|
+
├── coverage-ledger.yaml
|
|
159
|
+
├── capability-catalog.yaml
|
|
160
|
+
├── specs-reconstruction-ledger.yaml
|
|
161
|
+
├── archaeology-artifact-manifest.yaml
|
|
162
|
+
├── persona-routing.yaml
|
|
163
|
+
├── review-guide.md
|
|
164
|
+
├── review-decisions.yaml
|
|
165
|
+
├── review-question-plan.yaml
|
|
166
|
+
├── open-questions.md
|
|
167
|
+
├── analysis/
|
|
168
|
+
└── proposals/SPECS/{1.Scope,2.Purpose,3.Evidence,4.Constraints,5.Strategy,6.Build}/
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
Observed facts, corroborated findings, inferences, contradictions, and unknowns remain distinct. Implemented choices can become proposed reconstructed decisions, but alternatives are described as historically considered only when repository or human evidence supports that claim. Before review, a validator requires every capability and project-wide record family to have an individual detailed proposal or an evidenced, owned exception. It rejects summary-only bundles and reused composite proposal paths.
|
|
172
|
+
|
|
173
|
+
Once validation passes, EWAI offers either self-review and manual filing or an AI-guided high-level walkthrough with drill-down into every proposed record. For the guided route, it synthesizes cross-record questions so one answer can resolve the same underlying decision across a clearly listed set of personas, workflows, ADRs, constraints, and risks. It distinguishes clarification from approval and splits records when the answer does not genuinely apply to all of them. The user can accept, correct, reject, or defer findings. If the user then asks EWAI to file accepted material, automatic curation preflights every destination, refuses to overwrite differing canonical knowledge, and records provenance in a curation ledger.
|
|
174
|
+
|
|
175
|
+
### Choosing future work
|
|
176
|
+
|
|
177
|
+
After curation, you can choose a separate discussion of future work—even if the findings have already produced remediation intents. EWAI offers to:
|
|
178
|
+
|
|
179
|
+
- interview you about upcoming work;
|
|
180
|
+
- interpret a roadmap or feature list you supply;
|
|
181
|
+
- suggest evidence-based improvements to features, experience, integrations, operations, security, resilience, testing, observability, code quality and maintainability.
|
|
182
|
+
|
|
183
|
+
Your choice or decline is recorded in `future-work-transition.yaml`. Recommendations remain proposals in the Archaeology bundle until you accept them. Accepted ideas that still need shaping become discovery requests under `SPECS/2.Purpose/explorations/feature-candidates/`. Full intents require your approval and testable outcomes, personas, journeys, acceptance evidence, constraints, dependencies and open decisions. Archaeology doesn't modify application code.
|
|
184
|
+
|
|
185
|
+
## Shape enterprise and solution architecture
|
|
186
|
+
|
|
187
|
+
Ask the AI companion to use `$ewai-architecture` when the project needs to understand or decide architecture for the whole enterprise or solution, a bounded capability or domain, one or more intents, or a cross-cutting concern such as data, integration, security, resilience, identity, observability, or deployment.
|
|
188
|
+
|
|
189
|
+
The walkthrough begins with business purpose and scope, then assesses applicable business/capability, domain/information, application/service, integration, technology/deployment, security/trust, operations/resilience, and governance/evolution viewpoints. It can describe an evidenced current state, develop a proposed target state, or map the transition between them. Existing code and reviewed Archaeology evidence prove current implementation; they do not silently become intended policy.
|
|
190
|
+
|
|
191
|
+
If the entitled premium library is installed, EWAI prefers its `enterprise-architect` persona and can add a small ensemble of other installed perspectives. It never reconstructs a missing premium persona or treats persona opinion as project evidence.
|
|
192
|
+
|
|
193
|
+
Each walkthrough creates a review bundle:
|
|
194
|
+
|
|
195
|
+
```text
|
|
196
|
+
SPECS/3.Evidence/architecture/<date>-<scope>/
|
|
197
|
+
├── scope.yaml
|
|
198
|
+
├── evidence-ledger.yaml
|
|
199
|
+
├── viewpoint-matrix.yaml
|
|
200
|
+
├── persona-routing.yaml
|
|
201
|
+
├── current-state.md
|
|
202
|
+
├── target-state.md
|
|
203
|
+
├── transition-and-gaps.md
|
|
204
|
+
├── open-questions.md
|
|
205
|
+
├── review-ledger.yaml
|
|
206
|
+
└── proposals/SPECS/
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
EWAI produces individual proposed standards, patterns, ADRs, options, risks, integration records, architecture views, diagrams, runbooks, and transition decisions rather than hiding them in one narrative report. Every diagram retains an editable text source and an accessible explanation. The user can review and file records manually or use a guided walkthrough; only records receiving explicit accountable approval move into canonical SPECS. Accepted constraints and standards become binding inputs to `$ewai-deliver` and `$ewai-standards-check`. Architecture never starts Build or implementation by itself.
|
|
210
|
+
|
|
211
|
+
## Check code against project standards
|
|
212
|
+
|
|
213
|
+
Ask the AI companion to use `$ewai-standards-check` against code pasted into the conversation, one or more files, a directory, a change set, or the whole repository. The skill builds an applicability matrix from accepted project constraints, standards, architecture, patterns, decisions, requirements, and gate evidence under `SPECS/`; it does not invent a generic baseline when project standards are missing.
|
|
214
|
+
|
|
215
|
+
Every run creates a Markdown report under:
|
|
216
|
+
|
|
217
|
+
```text
|
|
218
|
+
SPECS/3.Evidence/reviews/standards/<date>-<target>-standards-check.md
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
The report records the standards baseline, code revision, inspected scope, exclusions, validation commands, passes, non-conformities, warnings, unresolved evidence, and conflicting standards. Repository-wide reviews must disclose partial or sampled coverage and cannot report unqualified compliance. A standards check is review-only unless the user also asks for fixes, and its report supports a delivery gate without silently passing that gate.
|
|
222
|
+
|
|
223
|
+
## Discover and define the project
|
|
224
|
+
|
|
225
|
+
After initialization, run the structured project interview:
|
|
226
|
+
|
|
227
|
+
```bash
|
|
228
|
+
ewai discover --project /path/to/project
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
For repeatable or automated setup, copy `templates/discovery-answers.yaml`, complete it, and run:
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
ewai discover --project /path/to/project --answers discovery-answers.yaml
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
Discovery populates the established Engineering With AI Project SPECS: scope and context in `1.Scope`, intent and discovery notes in `2.Purpose`, success and risk evidence in `3.Evidence`, confirmed project rules in `4.Constraints`, and approach/stack/options in `5.Strategy`.
|
|
238
|
+
|
|
239
|
+
For an existing repository, a repeated interview, or a context-cost review, use the optional evidence-depth workflow from Guided Setup or run `ewai archaeology depth-prepare`. It makes the seven concern-specific recommendations, coverage, stable gaps, adaptive questions, and actively engaged personas visible before a named person records the exact investigation boundary. Use `depth-compare` to explain repeated-run differences without rerunning repository analysis.
|
|
240
|
+
|
|
241
|
+
Candidate minimum standards stay under `5.Strategy/options/` until accepted. Candidate compliance obligations stay under `3.Evidence/risk/` until a qualified owner confirms and promotes them into `4.Constraints/compliance/`.
|
|
242
|
+
|
|
243
|
+
When the owner chooses Archaeology for an existing codebase, it discovers the observed stack and presents it for confirmation. For a new project, Discovery first establishes product shape, deployment needs, team capability, data and integration constraints, assurance, scale, and operational ownership. It then explains suitable installed packs and trade-offs, allowing the owner to select a pack, record custom technology, or keep the decision explicitly open. Laravel, Nuxt, and Laravel-Nuxt provide framework detection and baseline commands. Power Platform and Salesforce provide suggestion-only format detection and bounded local metadata analysis after explicit selection; they do not extract, connect, import, or deploy. Accepted project standards, patterns, and ADRs remain the binding source.
|
|
244
|
+
|
|
245
|
+
External-validation availability can be changed later without rerunning discovery:
|
|
246
|
+
|
|
247
|
+
```bash
|
|
248
|
+
ewai validation list --project /path/to/project --orchestrator claude
|
|
249
|
+
ewai validation set claude available --enabled --project /path/to/project
|
|
250
|
+
ewai validation set codex available --enabled --project /path/to/project
|
|
251
|
+
ewai validation set antigravity available --enabled --project /path/to/project
|
|
252
|
+
ewai validation checkpoint implementation-plan --cycles 2 \
|
|
253
|
+
--validators codex,antigravity \
|
|
254
|
+
--breadth capability \
|
|
255
|
+
--depth issues-and-fixes \
|
|
256
|
+
--output medium \
|
|
257
|
+
--project /path/to/project
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
Availability records what the project can access; `enabled` records what the project chooses to spend. Each implementation-plan, test-plan, and code checkpoint independently controls its reviewers, maximum review/fix cycles, breadth, analysis depth, and output size. The active orchestrator is excluded from independent validation. Unsupported stages remain visible in delivery state and must not be marked passed.
|
|
261
|
+
|
|
262
|
+
The EWAI method is provider-neutral. One capable AI can run the workflow without pretending self-review is independent; additional Claude CLI, Codex CLI, or Antigravity (`agy`) systems can provide independent perspectives where available and proportionate. Standards compliance is always required, even when no external validator is configured.
|
|
263
|
+
|
|
264
|
+
## Create an intent
|
|
265
|
+
|
|
266
|
+
Create a project-local intent and attach one or more personas:
|
|
267
|
+
|
|
268
|
+
```bash
|
|
269
|
+
ewai intent create supplier-renewal \
|
|
270
|
+
--project /path/to/project \
|
|
271
|
+
--domain supplier-management \
|
|
272
|
+
--title "Supplier Renewal" \
|
|
273
|
+
--persona ewai.core.end-user:primary:5 \
|
|
274
|
+
--persona project.finance-controller:consulted:3
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
Persona attachments use this form:
|
|
278
|
+
|
|
279
|
+
```text
|
|
280
|
+
<persona-reference>:<role>:<depth>
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
Depth ranges from `1`, awareness, to `5`, a burning evidence-grade need. Persona attachments inform design and acceptance; they do not grant application permissions.
|
|
284
|
+
|
|
285
|
+
Personas are focused lenses, not substitutes for stakeholders. They help surface relevant questions and specialist perspectives when the right people cannot be present throughout a delivery cycle. Evidence from real people always takes priority, and personas should make uncertainty visible rather than inventing user authority.
|
|
286
|
+
|
|
287
|
+
The resulting intent is written to:
|
|
288
|
+
|
|
289
|
+
```text
|
|
290
|
+
SPECS/2.Purpose/intents/supplier-management/supplier-renewal.md
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
For a broader idea or workflow, ask the companion to **explore the idea and shape connected intents**. `$ewai-shape-intents` uses project evidence and, when installed, the premium Product Owner persona to lead a one-question-at-a-time conversation. It proposes outcome-led slices and their dependencies, asks the user to revise or approve the map, then atomically creates:
|
|
294
|
+
|
|
295
|
+
```text
|
|
296
|
+
SPECS/2.Purpose/explorations/intent-maps/<map>.{md,json}
|
|
297
|
+
SPECS/2.Purpose/intents/<domain>/<intent>.{md,json}
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
Each intent stores its map membership and direct relationships in both Markdown frontmatter and adjacent JSON. SQLite projects the same state for the dashboard, where the slideout shows the intent map and connections. The resulting intents remain drafts; the user chooses which one to refine through `$ewai-intent`, and delivery does not begin automatically.
|
|
301
|
+
|
|
302
|
+
## Discover packs and personas
|
|
303
|
+
|
|
304
|
+
List installed packs:
|
|
305
|
+
|
|
306
|
+
```bash
|
|
307
|
+
ewai pack list
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
Search free personas:
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
ewai persona list --query operator
|
|
314
|
+
ewai persona list --query archaeology
|
|
315
|
+
ewai persona list --query specs
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
Create a reusable persona in your own library, or create one that belongs to a specific project:
|
|
319
|
+
|
|
320
|
+
```bash
|
|
321
|
+
ewai persona create security-reviewer --name "Security Reviewer" --category engineering
|
|
322
|
+
ewai persona create finance-controller \
|
|
323
|
+
--scope project \
|
|
324
|
+
--project /path/to/project \
|
|
325
|
+
--name "Finance Controller" \
|
|
326
|
+
--category finance
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
Use `ewai persona path` to locate your personal library at `~/.ewai/personas/`. Project personas live in `SPECS/1.Scope/personas/project/` and can be shared through the project's version control.
|
|
330
|
+
|
|
331
|
+
EWAI keeps persona ownership explicit:
|
|
332
|
+
|
|
333
|
+
- Core personas are maintained by EWAI and included with the framework.
|
|
334
|
+
- Premium personas are installed from an entitled pack whose source directory is named `premium-personas`.
|
|
335
|
+
- Personal personas are owned by an individual and reusable across their projects.
|
|
336
|
+
- Project personas are owned by a project or team and stored in its SPECS structure.
|
|
337
|
+
|
|
338
|
+
Commercial persona packs are not included in the public repository. They are distributed separately through the entitlement and pack-distribution mechanism, keeping premium content out of public Git history. Installed premium files are managed as a local pack cache rather than copied into project-owned SPECS.
|
|
339
|
+
|
|
340
|
+
Inspect access, installation and local verification without downloading content:
|
|
341
|
+
|
|
342
|
+
```bash
|
|
343
|
+
ewai persona premium status --project . --json
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
After explicit user consent, the existing synchronisation command acquires and verifies the offered install, repair or update:
|
|
347
|
+
|
|
348
|
+
```bash
|
|
349
|
+
ewai persona premium sync --project . --yes
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
Premium personas are delivered exclusively by Conversational Coding using your licence key. Run `ewai persona premium configure --project .` for private setup. A missing key offers setup without blocking the core harness. Website acquisition remains separate from core staging, manifest/content validation, receipts, atomic promotion and recovery. See the [persona entitlement and pack provider guide](../persona-entitlement-provider-guide.md).
|
|
353
|
+
|
|
354
|
+
## Project configuration
|
|
355
|
+
|
|
356
|
+
The configured SPECS root's `pipeline.yaml` binds EWAI to the project. `.ewai-pipeline/project.json` is the lightweight workspace locator:
|
|
357
|
+
|
|
358
|
+
```yaml
|
|
359
|
+
schema: ewai.project/v1
|
|
360
|
+
project:
|
|
361
|
+
name: Example Product
|
|
362
|
+
specs:
|
|
363
|
+
root: project-knowledge/SPECS
|
|
364
|
+
repositories:
|
|
365
|
+
- name: knowledge
|
|
366
|
+
path: project-knowledge
|
|
367
|
+
role: knowledge-and-delivery
|
|
368
|
+
- name: api
|
|
369
|
+
path: api
|
|
370
|
+
role: backend
|
|
371
|
+
skills:
|
|
372
|
+
namespace: ewai
|
|
373
|
+
profile: full
|
|
374
|
+
packs:
|
|
375
|
+
- ewai.core
|
|
376
|
+
approvals:
|
|
377
|
+
build: required
|
|
378
|
+
destructive_operations: required
|
|
379
|
+
validation:
|
|
380
|
+
standards:
|
|
381
|
+
required: true
|
|
382
|
+
allow_waiver: false
|
|
383
|
+
external:
|
|
384
|
+
policy: configured
|
|
385
|
+
independent_only: true
|
|
386
|
+
providers:
|
|
387
|
+
claude:
|
|
388
|
+
state: available
|
|
389
|
+
enabled: true
|
|
390
|
+
codex:
|
|
391
|
+
state: available
|
|
392
|
+
enabled: true
|
|
393
|
+
antigravity:
|
|
394
|
+
state: unavailable
|
|
395
|
+
enabled: false
|
|
396
|
+
checkpoints:
|
|
397
|
+
implementation-plan:
|
|
398
|
+
enabled: true
|
|
399
|
+
max_cycles: 2
|
|
400
|
+
validators: auto
|
|
401
|
+
review:
|
|
402
|
+
breadth: capability
|
|
403
|
+
depth: issues-and-fixes
|
|
404
|
+
output: medium
|
|
405
|
+
test-plan:
|
|
406
|
+
enabled: true
|
|
407
|
+
max_cycles: 2
|
|
408
|
+
validators: [codex]
|
|
409
|
+
review:
|
|
410
|
+
breadth: capability
|
|
411
|
+
depth: issues-and-fixes
|
|
412
|
+
output: medium
|
|
413
|
+
code:
|
|
414
|
+
enabled: true
|
|
415
|
+
max_cycles: 3
|
|
416
|
+
validators: auto
|
|
417
|
+
review:
|
|
418
|
+
breadth: change-set
|
|
419
|
+
depth: analysis-and-recommendations
|
|
420
|
+
output: large
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
Multi-repository products can register separate frontend, backend, infrastructure, and documentation repositories using paths relative to the project root.
|
|
424
|
+
|
|
425
|
+
## Delivery stages and retrospective learning
|
|
426
|
+
|
|
427
|
+
`config/delivery-stages.yaml` is the portable contract for the fourteen-stage EWAI delivery loop:
|
|
428
|
+
|
|
429
|
+
```text
|
|
430
|
+
Ideate → Intent → Reconcile → Plan → Pattern Validation → Test Plan
|
|
431
|
+
→ External Plan Validation → External Test-Plan Validation → Build
|
|
432
|
+
→ Standards Sweep → Test Execute → External Code Validation → Delivery → Retro
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
UI Design and Fit Check are conditional adjuncts. Manual QA is the human gate between Delivery and Retro.
|
|
436
|
+
|
|
437
|
+
Definition of Ready and Definition of Done are project-owned contracts. EWAI can recommend a baseline from the selected technology and assurance context, but the team decides what evidence its work must satisfy.
|
|
438
|
+
|
|
439
|
+
External-validation stages use only providers explicitly marked `available` and `enabled` in the project's `SPECS/pipeline.yaml`, filtered per checkpoint and with the active orchestrator removed. Each delivery snapshots that resolved policy into `SPECS/6.Build/<slug>/delivery-state.json`; each review/fix cycle is then hashed into the phase's `validation-cycles.json`. When no independent provider remains, the stage is `not-supported`; EWAI does not pretend that self-review was independent validation.
|
|
440
|
+
|
|
441
|
+
The Phase 10 Standards Sweep is separate and non-negotiable. It always verifies delivered code against accepted project-local SPECS standards, regardless of external-provider availability or token-efficiency settings.
|
|
442
|
+
|
|
443
|
+
### Bounded unattended Build execution
|
|
444
|
+
|
|
445
|
+
After explicit Build approval and entry into Phase 9 Build, EWAI can run validated AFK tasks through a local conductor. This is not a second workflow and it does not ask an AI whether work is “done.” It derives readiness from `task-graph.json`, granular task evidence, durable delivery state, and execution leases.
|
|
446
|
+
|
|
447
|
+
```bash
|
|
448
|
+
ewai afk preflight my-intent --provider auto --parallel 2
|
|
449
|
+
ewai afk start my-intent --provider auto --parallel 2 --timeout-minutes 45
|
|
450
|
+
ewai afk status
|
|
451
|
+
ewai afk pause <run-id>
|
|
452
|
+
ewai afk resume <run-id>
|
|
453
|
+
ewai afk cancel <run-id>
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
Each task runs on a real task branch in an isolated Git worktree using an enabled local Claude, Codex, or Antigravity CLI. Concurrency never exceeds the validated task graph. Workers cannot own central delivery state or merges; the conductor enforces write sets, captures structured evidence, obtains a fresh-context review, merges in declared order, and runs post-merge verification before committing. Runtime state and raw provider logs live under ignored `.ewai-pipeline/afk/`; task reports and hashed evidence remain under `6.Build/<slug>/tasks/` in the configured SPECS repository.
|
|
457
|
+
|
|
458
|
+
AFK detects topology from the configured `pipeline.yaml`. A simple project maps tasks to its single repository. A multi-repository project maps each task's `repo` to a named configured repository, creates and integrates its task branch there, and commits canonical evidence in the repository containing the configured SPECS root. The workspace itself does not need to be a Git repository. `task-graph.json.repository_branches` can declare different integration branches per repository; its scalar `parent_branch` remains the backwards-compatible default. When a declared integration branch does not exist, `afk start` creates it from that repository's clean current branch. Preflight blocks missing mappings, ambiguous SPECS ownership, nested non-root repository paths, dirty repositories, detached heads, or drift from an integration branch that already exists instead of guessing. A completed AFK run means eligible Build tasks were integrated; the canonical Build gate, Standards Sweep, Test Execute, external code validation, Delivery, Manual QA, and Retro still run normally.
|
|
459
|
+
|
|
460
|
+
Retro writes its evidence under `SPECS/3.Evidence/retros/` and routes accepted learning back into the applicable project-local context, personas, intents, journeys, constraints, standards, patterns, ADRs, stack guidance, templates, validators, and technology packs. Retrospective learning happens for each completed unit of work, not only at the end of a sprint or programme. The `ewai-deliver` runtime enforces the fourteen-stage order and will not enter Build without durable, explicit human approval.
|
|
461
|
+
|
|
462
|
+
## The EWAI companion
|
|
463
|
+
|
|
464
|
+
The primary interface is one command:
|
|
465
|
+
|
|
466
|
+
```bash
|
|
467
|
+
ewai
|
|
468
|
+
```
|
|
469
|
+
|
|
470
|
+
For a new workspace, EWAI first asks where to keep SPECS and initializes it after you agree. Check-in follows initialization and returns the local dashboard link, framework update status and premium-persona status.
|
|
471
|
+
|
|
472
|
+
First-run onboarding then covers your optional persona learning or setup choice, the project briefing and source-processing decisions. For existing code, EWAI offers Archaeology; you can decline and continue with Discovery and Doctor. Chosen licence setup is settled before an accepted investigation starts. See [your first session](../tutorials/first-session.md) and [existing-project onboarding](../existing-project-onboarding-guide.md) for the full walkthrough.
|
|
473
|
+
|
|
474
|
+
For a returning project, check-in uses the existing configuration and recent work. It doesn't repeat first-run onboarding or download premium updates without your approval. Configuring a licence is an explicitly chosen action that verifies and installs immediately; routine check-in isn't that action.
|
|
475
|
+
|
|
476
|
+
At a session decision point, you see the returned status and numbered actions. For example, when work exists but no premium licence is configured:
|
|
477
|
+
|
|
478
|
+
```text
|
|
479
|
+
What would you like to do?
|
|
480
|
+
|
|
481
|
+
[1] Capture something new
|
|
482
|
+
[2] Pick up an intent that can move forward
|
|
483
|
+
[3] Explore an idea and shape connected intents
|
|
484
|
+
[4] Explore the Mind Palace, risks, or standards
|
|
485
|
+
[5] See recommendations and possible next work
|
|
486
|
+
[6] Continue a piece of work
|
|
487
|
+
[7] Read about premium personas
|
|
488
|
+
[8] Set up premium personas
|
|
489
|
+
[9] Configure the dashboard
|
|
490
|
+
|
|
491
|
+
What's on your mind?
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
You can respond naturally: “continue that”, “what is blocking it?”, “I want to add audit logging”, “pick up this intent”, or “move this forward”. The numbered actions provide shortcuts; they don't limit the conversation.
|
|
495
|
+
|
|
496
|
+
Without existing work, [6] is absent. With available premium access and a verified installed pack, [7] and [8] are absent; licence management remains in Configuration. [9] remains available, and the remaining identifiers aren't renumbered. A missing-licence setup question can follow the menu, but you can decline it.
|
|
497
|
+
|
|
498
|
+
Conversational actions use the same guarded project-local operations as the dashboard and optional commands. Before moving work forward, EWAI checks the current stage, required documents, evidence, approvals, tests and configured external validators, then explains the proposed next step.
|
|
499
|
+
|
|
500
|
+
Running `ewai` refreshes the selected host's managed EWAI skills and launches the conversational companion in an available Claude Code, Codex or Google Antigravity host. Initialization adds a small managed instruction block so directly opened agent sessions use the same check-in. The lower-level commands remain available for scripts and integrations; you don't need to learn them to work conversationally.
|
|
501
|
+
|
|
502
|
+
## Technology and stack packs
|
|
503
|
+
|
|
504
|
+
A technology pack can provide:
|
|
505
|
+
|
|
506
|
+
- Repository detection rules.
|
|
507
|
+
- Framework and language compatibility.
|
|
508
|
+
- Install, build, lint, test, and deployment commands.
|
|
509
|
+
- Standards and validation guidance.
|
|
510
|
+
- Deployment-target references.
|
|
511
|
+
|
|
512
|
+
The Power Platform and Salesforce technology packs also select reviewed,
|
|
513
|
+
EWAI-owned metadata analysers for already-extracted local source. Detection only
|
|
514
|
+
suggests these packs. Selection is human-controlled, and the packs cannot run
|
|
515
|
+
vendor tools or supply executable analyser modules. See
|
|
516
|
+
[Power Platform and Salesforce export analysis](../platform-export-analysis-guide.md).
|
|
517
|
+
|
|
518
|
+
A stack pack composes several technology packs. For example, `ewai.stack.laravel-nuxt` combines independently deployable Laravel and Nuxt repositories without duplicating their individual guidance.
|
|
519
|
+
|
|
520
|
+
Technology and stack packs do not own project starting content. Organisation Blueprint Governed Starter Packs carry the reviewed source receipt, canonical logical-tree digest, licence, compatibility, and target roles. Project topology then maps those roles into a single repository, a monorepo, or a folder containing multiple Git repositories. See [Governed Starter-Project Materialisation](../governed-starter-project-materialisation-guide.md).
|
|
521
|
+
|
|
522
|
+
## Design-system capabilities
|
|
523
|
+
|
|
524
|
+
Design-system packs are separate from technology stacks and governed starter content. They carry reusable experience, principle, foundation, token, component, interaction, content, state, responsive, accessibility, motion, prohibited-pattern, and review guidance. Projects can use the clearly labelled bundled fallback or explicitly select a project root and dependency graph by reviewed digest. Organisation Blueprints may recommend design-system IDs but never install or select them.
|
|
525
|
+
|
|
526
|
+
During UI Design, the guided workflow has separate preparation and review steps:
|
|
527
|
+
|
|
528
|
+
1. `ewai-design-system-apply` prepares bounded design context, shows the relevant installed personas and saves an immutable receipt without persisting the model payload.
|
|
529
|
+
2. `ewai-prototype-iteration` reviews the plan, then selects relevant personas independently for each rendered-design cycle. Findings stay separate from their assessed responses.
|
|
530
|
+
3. You review material trade-offs and choose a design. Iteration is bounded; unresolved concerns don't become approval merely because the cycle limit was reached.
|
|
531
|
+
4. `ewai.prototype-manifest/v3` links the design receipt, reviewed plan and final cycle.
|
|
532
|
+
5. `ewai-design-system-review` compares the result with the recorded guidance, distinguishing alignment, separately approved deviations, unresolved findings and missing evidence.
|
|
533
|
+
|
|
534
|
+
Start with the [screen prototype creation guide](../screen-prototype-creation-guide.md), [design-system user guide](../design-systems/design-system-user-guide.md) or [prototype iteration guide](../persona-guided-prototype-iteration.md). The [implementation guide](../design-systems/design-system-implementation-guide.md) contains the host integration contracts.
|
|
535
|
+
|
|
536
|
+
## Portfolio and rollout coordination
|
|
537
|
+
|
|
538
|
+
Project and Portfolio Orchestration is a separate read-only coordination layer. A canonical portfolio manifest maps portfolio, programme and project ownership onto those configured repositories without centralising child approvals or delivery state. Standard host-model reasoning works with the bounded snapshot and installed project/core personas; relevant installed premium personas can enrich the active ensemble. See [Project and Portfolio Orchestration](../project-portfolio-orchestration-guide.md).
|
|
539
|
+
|
|
540
|
+
The Consultancy and Network Rollout Control Plane builds on that safe Portfolio topology. A canonical rollout policy assigns project IDs to cohorts and exact Organisation Blueprint baselines, projects structural evidence without raw client content, and routes every unresolved adoption or assurance decision to a named human. Standard host-model reasoning is sufficient; relevant premium personas can enrich the review only when already installed. See [Consultancy and Network Rollout Control Plane](../consultancy-network-rollout-control-plane-guide.md).
|
|
541
|
+
|
|
542
|
+
## Project-local SQLite, dashboard, and MCP
|
|
543
|
+
|
|
544
|
+
EWAI ships a Node runtime and database migrations; it does not ship a pre-populated customer database. `ewai init` creates a fresh project-local SQLite database, and `ewai checkin` starts or reuses a loopback Node server for that project.
|
|
545
|
+
|
|
546
|
+
The current runtime layout is:
|
|
547
|
+
|
|
548
|
+
```text
|
|
549
|
+
.ewai-pipeline/
|
|
550
|
+
├── data/
|
|
551
|
+
│ └── pipeline.sqlite
|
|
552
|
+
├── logs/
|
|
553
|
+
├── runtime/
|
|
554
|
+
└── project.json
|
|
555
|
+
```
|
|
556
|
+
|
|
557
|
+
The SQLite database belongs to the project runtime and is gitignored. SQLite WAL files, future repository indexes, process logs, and active-session records are not suitable for Git merging.
|
|
558
|
+
|
|
559
|
+
The Node server resolves the current project, reads `SPECS/pipeline.yaml`, and opens that project's `.ewai-pipeline/data/pipeline.sqlite`. This prevents one global installation from mixing data between businesses or repositories.
|
|
560
|
+
|
|
561
|
+
The normal route is to run `ewai`, which opens the selected AI host and performs an interpreted check-in before beginning the conversation. A directly opened agent session uses the managed project instruction to perform the same check-in. The runtime can also be controlled explicitly:
|
|
562
|
+
|
|
563
|
+
```bash
|
|
564
|
+
cd /path/to/project
|
|
565
|
+
ewai dashboard
|
|
566
|
+
ewai server status
|
|
567
|
+
ewai server stop
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
### Dashboard navigation and delivery actions
|
|
571
|
+
|
|
572
|
+
The dashboard binds only to `127.0.0.1`, chooses a stable project-specific port and reuses a healthy existing process. Use its category counts, search, sprint and completion filters, compact Kanban cards, independently scrolling lanes and intent drawer to find work in a large project.
|
|
573
|
+
|
|
574
|
+
The drawer's **Move this forward** rail shows the actions permitted by the recorded evidence. Depending on the work's current state, you can queue it for the companion, record explicit Build approval, enter guarded Build, run AFK preflight or start bounded unattended delivery. Active conductor controls let you pause, resume or cancel safely.
|
|
575
|
+
|
|
576
|
+
These actions use the same guarded domain functions as MCP and CLI. They don't allow raw phase or completion edits. Optional views are enabled in **Configuration**; you don't need all of them for an ordinary project.
|
|
577
|
+
|
|
578
|
+
### Optional coordination views
|
|
579
|
+
|
|
580
|
+
The dashboard’s **Portfolio** workspace uses a responsive programme line and selected-context rail to show hierarchy, declared dependency direction, child evidence freshness, attention ownership, standard LLM review questions and actively engaged persona names, tiers, matched signals and reasons. It is read-only and exposes no child Build, Manual QA, risk, deployment or release action.
|
|
581
|
+
|
|
582
|
+
The dashboard's **Team Hub** workspace keeps single-contributor mode as the default. It exposes the exact outbound disclosure contract, stores only an endpoint and token environment-variable name, requires deliberate publication, and shows failed attempts separately from accepted transport receipts. Connected contributors can also discover, inspect and explicitly install exact immutable Organisation Blueprint and design-system releases from the optional registry. The separately operated hub does not centralise SPECS, source code, gate authority or production execution, and resource installation never selects or applies a pack. See the [Team Hub guide](../team-hub-guide.md) and [Resource Registry guide](../team-hub-resource-registry-guide.md).
|
|
583
|
+
|
|
584
|
+
The dashboard's **Companion** workspace provides a responsive decision runway over the same bounded `ewai.companion-guidance/v1` contract exposed by check-in, CLI, MCP and loopback HTTP. Selecting or focusing work replaces the active persona ensemble and review questions. Standard host-model reasoning with installed project/core personas is complete; relevant installed personal or premium personas can add optional depth. Human approval, Manual QA, security disposition, accepted risk, deploy and release remain outside the Companion. Start with the [Companion user guide](../context-aware-delivery-companion-user-guide.md), or use the [operating and implementation guide](../context-aware-delivery-companion-guide.md) for the technical contract.
|
|
585
|
+
|
|
586
|
+
### Contributions and prototype review
|
|
587
|
+
|
|
588
|
+
**Contributions** lets business-facing owners, technical owners and shared reviewers work on one attributed thread, with different evidence emphasis for each responsibility. It shows active persona names, tiers, signals and reasons; installed premium and personal personas remain optional.
|
|
589
|
+
|
|
590
|
+
During UI Design, the prototype review panel shows the plan or rendered-design personas, tier availability, findings, responses and bounded next action. Hand-offs retain attribution and refer to the prior digest. Host review remains advisory (`authority: none`). Confirming evidence or recording a persona review doesn't complete a phase, approve Build or accept Manual QA.
|
|
591
|
+
|
|
592
|
+
See [Guided Phase Evidence Drafting](../guided-phase-evidence-drafting-guide.md) and [Persona-guided prototype iteration](../persona-guided-prototype-iteration.md).
|
|
593
|
+
|
|
594
|
+
### Local error reporting
|
|
595
|
+
|
|
596
|
+
The dashboard's **Error Reporting** workspace creates and displays privacy-bounded local drafts, deterministic ZIP packages, redaction summaries, attempts and receipts. Automatic draft capture is opt-in and local-only. Preparing email reveals the ZIP and opens the default email client but remains `prepared-not-sent`; provider transport requires a separately registered trusted adapter, exact digest and explicit confirmation. See the [Local Error Reporting guide](../error-reporting-guide.md) and [provider guide](../error-reporting-provider-guide.md).
|
|
597
|
+
|
|
598
|
+
A conversational dashboard handoff changes no delivery state by itself. The next `ewai` companion check-in names the selected intent, treats “go” as confirmation to claim it, and invokes the canonical `$ewai-deliver` skill. AFK start is available only after durable Build approval, entry into Build, a valid task graph, clean configured repositories, safe branch topology, and an enabled local provider all pass preflight. Material progress then appears in the intent drawer and Live work view.
|
|
599
|
+
|
|
600
|
+
### Personas and project knowledge
|
|
601
|
+
|
|
602
|
+
The drawer's **Personas** workspace searches core, premium, personal and project libraries. You can attach a perspective to intent frontmatter with an explicit role and depth, or create a missing project-owned persona. The persona's definition and its attachment to an intent remain distinct.
|
|
603
|
+
|
|
604
|
+
**Mind Palace** navigates the project-owned SPECS hierarchy, searches inside document sections, shows tidiness findings and renders Markdown or supported text sources. Canonical knowledge stays in the files, not the operational database.
|
|
605
|
+
|
|
606
|
+
Its secondary evidence modes provide different workflows:
|
|
607
|
+
|
|
608
|
+
- **Meeting evidence** shows safe registered-source state, the source-to-review-to-evidence route and active personas, without raw transcript text or absolute paths.
|
|
609
|
+
- **Knowledge proposals** turns promoted meeting evidence and retrospectives into proposals from a closed set of record types. You inspect provenance and personas, record a complete named review and separately approve additive-only materialisation. Differing existing knowledge remains a conflict.
|
|
610
|
+
|
|
611
|
+
The standard host model and project/core personas support these workflows. Relevant installed personal or premium personas may add depth, not approval authority. See the [Meeting evidence guide](../meeting-evidence-user-guide.md), [Knowledge Proposals guide](../knowledge-proposals-user-guide.md) and [integration reference](../knowledge-proposals-implementer-guide.md).
|
|
612
|
+
|
|
613
|
+
If check-in confirms unavailable premium access and no installed premium pack, the category rail shows the project-configured upgrade link. Unknown connectivity doesn't trigger an upsell.
|
|
614
|
+
|
|
615
|
+
### MCP access
|
|
616
|
+
|
|
617
|
+
The MCP server uses stdio and is started by Codex, Claude Code, or Antigravity from the project configuration written during initialization. It exposes intent and work-item reads, guarded intent creation, operational updates, phase and material registration, runtime status, and active-work events. It does not require the HTTP dashboard to be running.
|
|
618
|
+
|
|
619
|
+
### Current runtime scope
|
|
620
|
+
|
|
621
|
+
The public-safe runtime now covers intents, grouped work items, sprint membership, lanes, progress, phase state, linked artefacts, active sessions, material activity events, and a read-only Mind Palace projection of the `SPECS/` tree. Palace search uses a disposable SQLite FTS5 section index; tidiness deterministically reports broken internal links, identical content, orphaned records, empty documents, and missing Markdown titles. `ewai palace housekeeping` prepares a review plan and changes no files. The `$ewai-palace-housekeeping` skill then offers a walkthrough or explicit approval route before canonical knowledge changes. `SPECS/` Markdown remains authoritative throughout, so the Palace index can be rebuilt rather than becoming a second source of truth.
|
|
622
|
+
|
|
623
|
+
Explicit Mind Palace commands are available for people, scripts, and agent integrations:
|
|
624
|
+
|
|
625
|
+
```bash
|
|
626
|
+
ewai palace refresh
|
|
627
|
+
ewai palace status
|
|
628
|
+
ewai palace search "alert escalation"
|
|
629
|
+
ewai palace tidiness
|
|
630
|
+
ewai palace housekeeping
|
|
631
|
+
```
|
|
632
|
+
|
|
633
|
+
`tidiness` is always read-only. `housekeeping` is also read-only at the CLI layer: it groups possible problems and directs the companion to the review-led skill. A tidy Palace may correctly produce a no-op.
|
|
634
|
+
|
|
635
|
+
## Why `SPECS/` and SQLite are separate
|
|
636
|
+
|
|
637
|
+
`SPECS/` contains durable project truth:
|
|
638
|
+
|
|
639
|
+
- Intents and journeys.
|
|
640
|
+
- Constraints and standards.
|
|
641
|
+
- Plans and task graphs.
|
|
642
|
+
- Gate evidence.
|
|
643
|
+
- Test reports.
|
|
644
|
+
- Delivery records and retrospectives.
|
|
645
|
+
- Persona references and intent attachments.
|
|
646
|
+
|
|
647
|
+
SQLite contains rebuildable operational projections, including:
|
|
648
|
+
|
|
649
|
+
- Work-item status and ordering.
|
|
650
|
+
- Phase transitions.
|
|
651
|
+
- Active sessions and questions.
|
|
652
|
+
- Registered artefacts.
|
|
653
|
+
- Command runs and their durable run UUIDs.
|
|
654
|
+
- Repository files, symbols, spans, imports, relationships, and index runs.
|
|
655
|
+
- Standards applicability, capability fingerprints, and validation findings.
|
|
656
|
+
- Mind Palace documents, sections, links, index runs, and derived tidiness evidence.
|
|
657
|
+
|
|
658
|
+
For an active intent, delivery status is written to three committed sources: the intent Markdown frontmatter, its adjacent structured intent JSON, and `SPECS/6.Build/<slug>/delivery-state.json`. SQLite is a fourth, rebuildable operational projection. Check-in audits these copies, backfills a missing adjacent JSON file, and blocks delivery if existing copies disagree.
|
|
659
|
+
|
|
660
|
+
Design-phase HTML prototypes and their design-system application evidence are stored with their intent:
|
|
661
|
+
|
|
662
|
+
```text
|
|
663
|
+
SPECS/6.Build/<intent-slug>/ui-design-assets/
|
|
664
|
+
├── design-system/
|
|
665
|
+
│ ├── receipt-<digest>.json
|
|
666
|
+
│ └── summary-<digest>.md
|
|
667
|
+
├── prototype-iterations/
|
|
668
|
+
│ ├── plans/plan-<digest>.json
|
|
669
|
+
│ └── cycles/cycle-<number>-<digest>.json
|
|
670
|
+
└── prototypes/
|
|
671
|
+
├── manifest.json
|
|
672
|
+
├── selected.html
|
|
673
|
+
└── variants/<variant-name>/index.html
|
|
674
|
+
```
|
|
675
|
+
|
|
676
|
+
The selected file is registered as a `prototype` artefact. New UI deliveries use `ewai.prototype-manifest/v3` at `ui-design-assets/prototypes/manifest.json` to link an immutable design-system receipt at `ui-design-assets/design-system/receipt-<digest>.json`, the reviewed prototype plan, and the final persona-guided design cycle; historical v1 and v2 manifests remain readable. The intent slideout hotlinks the selected HTML entry point in a sandboxed preview, provides a full-size link, and keeps variants and source paths visible alongside the other delivery materials.
|
|
677
|
+
|
|
678
|
+
The design goal is that losing `.ewai-pipeline/` should not lose the project's approved intent, plan, decisions, or delivery evidence. The operational database can be migrated, repaired, or rebuilt without replacing the committed `SPECS/` record.
|