chati-dev 4.2.2 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -53
- package/bin/chati.js +170 -5
- package/framework/agents/build/dev.md +509 -76
- package/framework/agents/deploy/devops.md +40 -25
- package/framework/agents/discover/brief.md +158 -22
- package/framework/agents/discover/brownfield-wu.md +26 -14
- package/framework/agents/discover/greenfield-wu.md +102 -14
- package/framework/agents/plan/architect-data-engineer.md +6 -6
- package/framework/agents/plan/architect-system.md +46 -12
- package/framework/agents/plan/architect.md +40 -20
- package/framework/agents/plan/detail.md +38 -24
- package/framework/agents/plan/phases.md +36 -26
- package/framework/agents/plan/tasks.md +114 -33
- package/framework/agents/plan/ux-brand-architect.md +240 -8
- package/framework/agents/plan/ux-component-engineer.md +28 -13
- package/framework/agents/plan/ux-researcher.md +7 -6
- package/framework/agents/plan/ux.md +55 -22
- package/framework/agents/quality/qa-implementation.md +143 -74
- package/framework/agents/quality/qa-planning.md +115 -42
- package/framework/agents/quality/qa-visual.md +448 -0
- package/framework/agents/shared/visualizer.md +128 -0
- package/framework/config.yaml +7 -6
- package/framework/constitution.md +127 -44
- package/framework/context/governance.md +12 -7
- package/framework/context/quality.md +6 -5
- package/framework/context/root.md +6 -6
- package/framework/data/entity-registry.yaml +377 -4
- package/framework/data/model-limits.json +19 -0
- package/framework/domains/agents/qa-visual.yaml +74 -0
- package/framework/domains/constitution.yaml +46 -2
- package/framework/domains/workflows/greenfield-fullstack.yaml +2 -2
- package/framework/hooks/advance-trigger.js +131 -0
- package/framework/hooks/brief-validator.js +83 -0
- package/framework/hooks/constitution-guard.js +24 -5
- package/framework/hooks/license-guard.js +62 -27
- package/framework/hooks/mode-governance.js +13 -2
- package/framework/hooks/model-governance.js +1 -0
- package/framework/hooks/post-dev.js +207 -0
- package/framework/hooks/prism-engine.js +274 -105
- package/framework/hooks/reasoning-escalator.js +371 -0
- package/framework/hooks/reference-trigger.js +117 -0
- package/framework/hooks/session-digest.js +50 -1
- package/framework/hooks/settings.json +32 -1
- package/framework/hooks/style-guard.js +25 -6
- package/framework/hooks/team-quality-gate.js +19 -12
- package/framework/hooks/undercover-guard.js +4 -2
- package/framework/i18n/en.yaml +3 -3
- package/framework/i18n/es.yaml +3 -3
- package/framework/i18n/fr.yaml +3 -3
- package/framework/i18n/pt.yaml +3 -3
- package/framework/intelligence/context-engine.md +4 -5
- package/framework/intelligence/decision-engine.md +1 -1
- package/framework/intelligence/hooks-performance.md +3 -3
- package/framework/migrations/v1.0-to-v1.1.yaml +1 -1
- package/framework/migrations/v1.4-to-v2.0.yaml +11 -11
- package/framework/migrations/v4.0-to-v4.1.yaml +2 -2
- package/framework/migrations/v4.2-to-v4.3.yaml +29 -0
- package/framework/orchestrator/chati-router.js +441 -0
- package/framework/orchestrator/chati-update.md +40 -40
- package/framework/orchestrator/chati.md +295 -94
- package/framework/rules/human-writing-style.md +47 -0
- package/framework/scaffold/motion-premium/README.md +99 -0
- package/framework/scaffold/motion-premium/app/globals.css.template +400 -0
- package/framework/scaffold/motion-premium/app/layout.tsx.template +110 -0
- package/framework/scaffold/motion-premium/components/animation/BackgroundCrossfadeProvider.tsx.template +170 -0
- package/framework/scaffold/motion-premium/components/animation/LenisProvider.tsx.template +49 -0
- package/framework/scaffold/motion-premium/components/animation/PageTransitionWrapper.tsx.template +83 -0
- package/framework/scaffold/motion-premium/components/animation/Preloader.tsx.template +171 -0
- package/framework/scaffold/motion-premium/components/ui/Container.tsx.template +69 -0
- package/framework/scaffold/motion-premium/components/ui/PageSection.tsx.template +74 -0
- package/framework/scaffold/motion-premium/lib/animations/gsap.ts.template +112 -0
- package/framework/scaffold/motion-premium/lib/animations/refreshCoordinator.ts.template +75 -0
- package/framework/scaffold/motion-premium/lib/animations/tokens.ts.template +119 -0
- package/framework/scaffold/motion-premium/lib/animations/useGsapContext.ts.template +92 -0
- package/framework/scaffold/motion-premium/lib/animations/useScrollSnapStepper.ts.template +265 -0
- package/framework/scaffold/motion-premium/lib/animations/useSmoothScroll.ts.template +67 -0
- package/framework/scaffold/motion-premium/lib/brand.ts.template +43 -0
- package/framework/scaffold/motion-premium/scaffold.yaml +178 -0
- package/framework/scaffold/motion-premium-3d/README.md +90 -0
- package/framework/scaffold/motion-premium-3d/app/(3d)/scroll-demo/ScrollDemoCanvas.tsx.template +81 -0
- package/framework/scaffold/motion-premium-3d/app/(3d)/scroll-demo/ScrollDemoClient.tsx.template +75 -0
- package/framework/scaffold/motion-premium-3d/app/(3d)/scroll-demo/page.tsx.template +26 -0
- package/framework/scaffold/motion-premium-3d/components/3d/CameraRig.tsx.template +100 -0
- package/framework/scaffold/motion-premium-3d/components/3d/CanvasProvider.tsx.template +85 -0
- package/framework/scaffold/motion-premium-3d/components/3d/InvalidateOnScroll.tsx.template +51 -0
- package/framework/scaffold/motion-premium-3d/components/3d/MeshCrossfade.tsx.template +79 -0
- package/framework/scaffold/motion-premium-3d/components/3d/ScrollCrossfade.tsx.template +88 -0
- package/framework/scaffold/motion-premium-3d/components/3d/ScrollScene.tsx.template +121 -0
- package/framework/scaffold/motion-premium-3d/components/webgl/SceneFallback.tsx.template +65 -0
- package/framework/scaffold/motion-premium-3d/components/webgl/WebGLContext.tsx.template +68 -0
- package/framework/scaffold/motion-premium-3d/lib/webgl/detect.ts.template +69 -0
- package/framework/scaffold/motion-premium-3d/scaffold.yaml +136 -0
- package/framework/schemas/session.schema.json +109 -21
- package/framework/scripts/reference-capture.js +430 -0
- package/framework/scripts/visual-qa.js +686 -0
- package/framework/tasks/orchestrator-handoff.md +1 -1
- package/framework/tasks/orchestrator-resume.md +1 -1
- package/framework/tasks/orchestrator-route.md +1 -1
- package/framework/tasks/orchestrator-status.md +3 -3
- package/framework/tasks/qa-planning-gate-define.md +1 -1
- package/framework/templates/brandbook-html-tmpl.md +2 -2
- package/framework/templates/brandbook-tmpl.yaml +1 -1
- package/framework/templates/component-spec-tmpl.yaml +1 -1
- package/framework/templates/design-token-tmpl.yaml +1 -1
- package/framework/templates/icon-system-tmpl.yaml +1 -1
- package/framework/templates/team-planning-tasks.yaml +6 -5
- package/framework/workflows/brownfield-discovery.yaml +2 -2
- package/framework/workflows/brownfield-fullstack.yaml +15 -11
- package/framework/workflows/brownfield-service.yaml +14 -10
- package/framework/workflows/brownfield-ui.yaml +15 -11
- package/framework/workflows/greenfield-fullstack.yaml +16 -13
- package/framework/workflows/quick-flow.yaml +3 -3
- package/framework/workflows/standard-flow.yaml +12 -9
- package/package.json +12 -6
- package/src/autonomy/autonomous-gate.js +1 -0
- package/src/autonomy/build-state.js +1 -2
- package/src/autonomy/progress-reporter.js +1 -1
- package/src/config/agent-customizer.js +11 -3
- package/src/config/claude-settings-generator.js +27 -7
- package/src/config/context-file-generator.js +41 -21
- package/src/config/framework-adapter.js +1 -0
- package/src/config/gemini-hooks-generator.js +19 -7
- package/src/config/mcp-configs.js +1 -0
- package/src/context/layers/l1-global.js +2 -1
- package/src/dashboard/data-reader.js +4 -3
- package/src/dashboard/layout.js +2 -1
- package/src/decision/analyzer.js +6 -30
- package/src/decision/engine.js +4 -28
- package/src/decision/registry-healer.js +3 -2
- package/src/decision/registry-updater.js +23 -14
- package/src/extensions/loader.js +2 -8
- package/src/gates/g1-planning-complete.js +2 -1
- package/src/gates/g2-qa-planning.js +2 -1
- package/src/gates/g3-implementation.js +2 -1
- package/src/gates/g4-qa-implementation.js +3 -2
- package/src/gates/g5-deploy-ready.js +2 -1
- package/src/health/engine.js +4 -3
- package/src/installer/core.js +431 -81
- package/src/installer/preflight.js +131 -0
- package/src/installer/provider-overlay.js +3 -3
- package/src/installer/scaffold-applier.js +358 -0
- package/src/installer/templates.js +46 -29
- package/src/installer/validator.js +17 -12
- package/src/intelligence/registry-manager.js +22 -29
- package/src/intelligence/timeline.js +11 -6
- package/src/license/commands.js +1 -1
- package/src/license/wait.js +102 -0
- package/src/memory/agent-memory.js +81 -0
- package/src/memory/dream.js +32 -1
- package/src/merger/replace-merger.js +28 -15
- package/src/orchestrator/agent-selector.js +2 -1
- package/src/orchestrator/cli.js +1880 -71
- package/src/orchestrator/doctor.js +270 -0
- package/src/orchestrator/handoff-engine.js +4 -3
- package/src/orchestrator/index.js +2 -0
- package/src/orchestrator/pipeline-manager.js +306 -15
- package/src/orchestrator/session-manager.js +339 -6
- package/src/tasks/handoff.js +3 -2
- package/src/telemetry/config.js +4 -3
- package/src/telemetry/schema.js +1 -0
- package/src/terminal/collector.js +3 -2
- package/src/terminal/index.js +1 -2
- package/src/terminal/isolation.js +52 -18
- package/src/terminal/prompt-builder.js +42 -25
- package/src/terminal/run-parallel.js +1 -1
- package/src/terminal/run-team.js +3 -3
- package/src/terminal/team-task-list.js +43 -4
- package/src/upgrade/backup.js +3 -2
- package/src/upgrade/checker.js +3 -2
- package/src/upgrade/migrator.js +65 -7
- package/src/upgrade/tracked-files-detector.js +86 -0
- package/src/upgrade/user-messages.js +94 -0
- package/src/utils/config-parser.js +2 -1
- package/src/utils/feature-flags.js +2 -1
- package/src/utils/flatten-entities.js +69 -0
- package/src/utils/framework-dir.js +16 -0
- package/src/utils/model-id.js +85 -0
- package/src/utils/provider-limits.js +84 -23
- package/src/utils/schema-validator.js +1 -1
- package/src/wizard/i18n.js +5 -4
- package/src/wizard/index.js +14 -0
- package/assets/logo - c/303/263pia.png +0 -0
- package/assets/logo.svg +0 -42
- package/assets/logo2.png +0 -0
- package/assets/social-preview.png +0 -0
- package/scripts/bundle-framework.js +0 -69
- package/scripts/changelog-generator.js +0 -222
- package/scripts/codebase-mapper.js +0 -728
- package/scripts/commit-message-generator.js +0 -167
- package/scripts/coverage-analyzer.js +0 -260
- package/scripts/dependency-analyzer.js +0 -280
- package/scripts/doctor/checks/agents.js +0 -77
- package/scripts/doctor/checks/constitution.js +0 -41
- package/scripts/doctor/checks/domain-alignment.js +0 -58
- package/scripts/doctor/checks/prism-layers.js +0 -84
- package/scripts/doctor/checks/registry.js +0 -55
- package/scripts/doctor/checks/schemas.js +0 -61
- package/scripts/doctor/fixes/reference-fix.js +0 -100
- package/scripts/doctor/fixes/registry-fix.js +0 -56
- package/scripts/doctor/index.js +0 -212
- package/scripts/framework-analyzer.js +0 -308
- package/scripts/generate-constitution-domain.js +0 -253
- package/scripts/generate-signing-key.js +0 -33
- package/scripts/health-check.js +0 -481
- package/scripts/ide-sync.js +0 -326
- package/scripts/performance-analyzer.js +0 -325
- package/scripts/plan-tracker.js +0 -278
- package/scripts/populate-entity-registry.js +0 -481
- package/scripts/pr-review.js +0 -317
- package/scripts/rollback-manager.js +0 -310
- package/scripts/semantic-lint.js +0 -328
- package/scripts/sign-manifest.js +0 -53
- package/scripts/stuck-detector.js +0 -343
- package/scripts/test-quality-assessment.js +0 -257
- package/scripts/validate-agents.js +0 -368
- package/scripts/validate-package.js +0 -505
- package/scripts/validate-tasks.js +0 -465
- package/src/autonomy/worktree-manager.js +0 -250
- package/src/intelligence/decision-engine.js +0 -256
- package/src/intelligence/document-sharder.js +0 -221
- package/src/intelligence/elicitation.js +0 -265
|
@@ -77,7 +77,7 @@ Modify `.chati/session.yaml`:
|
|
|
77
77
|
|
|
78
78
|
### 7. Determine Next Agent
|
|
79
79
|
Based on pipeline position and mode:
|
|
80
|
-
- **DISCOVER → PLAN**: Follow sequence (wu → brief → detail
|
|
80
|
+
- **DISCOVER → PLAN**: Follow sequence (wu → brief → [Planning Team: detail + architect + ux + qa-planning] → phases → tasks)
|
|
81
81
|
- **BUILD**: dev → qa-implementation
|
|
82
82
|
- **DEPLOY**: devops
|
|
83
83
|
- Handle special transitions (e.g., qa-planning → dev requires mode switch)
|
|
@@ -50,7 +50,7 @@ Find the most recent agent with `status: completed`:
|
|
|
50
50
|
|
|
51
51
|
### 4. Determine Next Agent
|
|
52
52
|
Based on pipeline position and last completed agent:
|
|
53
|
-
- **DISCOVER → PLAN pipeline**: greenfield-wu → brief → detail
|
|
53
|
+
- **DISCOVER → PLAN pipeline**: greenfield-wu → brief → [Planning Team: detail + architect + ux + qa-planning] → phases → tasks
|
|
54
54
|
- **BUILD pipeline**: dev → qa-implementation
|
|
55
55
|
- **DEPLOY pipeline**: devops
|
|
56
56
|
- Handle special cases (skipped, needs_revalidation)
|
|
@@ -59,7 +59,7 @@ Check if the requested action is valid for current position:
|
|
|
59
59
|
### 5. Select Target Agent
|
|
60
60
|
Based on intent and position, identify the appropriate agent:
|
|
61
61
|
- **DISCOVER agents**: greenfield-wu, brownfield-wu, brief, detail
|
|
62
|
-
- **PLAN agents**: architect, ux, phases, tasks
|
|
62
|
+
- **PLAN agents**: architect, ux, phases, tasks (qa-planning runs inside the Planning Team after detail+architect+ux complete, not as a standalone sequential agent)
|
|
63
63
|
- **BUILD agents**: dev, qa-implementation
|
|
64
64
|
- **DEPLOY agents**: devops
|
|
65
65
|
- **Orchestrator actions**: status, health, deviation
|
|
@@ -46,7 +46,7 @@ For each agent in the pipeline, gather:
|
|
|
46
46
|
|
|
47
47
|
### 3. Calculate Pipeline Progress
|
|
48
48
|
Determine overall completion for each mode:
|
|
49
|
-
- **DISCOVER + PLAN**:
|
|
49
|
+
- **DISCOVER + PLAN**: 8 agents (greenfield-wu OR brownfield-wu, brief, detail, architect, ux, phases, tasks) — qa-planning runs inside the Planning Team alongside detail+architect+ux, not as a separate sequential agent
|
|
50
50
|
- **BUILD**: 2 agents (dev, qa-implementation)
|
|
51
51
|
- **DEPLOY**: 1 agent (devops)
|
|
52
52
|
- Calculate percentage: completed / total
|
|
@@ -166,7 +166,7 @@ status_report:
|
|
|
166
166
|
|
|
167
167
|
pipeline_progress:
|
|
168
168
|
planning:
|
|
169
|
-
total_agents:
|
|
169
|
+
total_agents: 7 # brownfield-wu counted, greenfield-wu skipped; qa-planning is inside Planning Team, not a standalone sequential agent
|
|
170
170
|
completed: 3
|
|
171
171
|
percentage: 37.5
|
|
172
172
|
agents:
|
|
@@ -244,7 +244,7 @@ status_report:
|
|
|
244
244
|
╚════════════════════════════════════════════════════════════╝
|
|
245
245
|
|
|
246
246
|
DISCOVER / PLAN Pipeline (37.5%)
|
|
247
|
-
✓ brownfield-wu ✓ brief ✓ detail ◐ architect ○ ux ○
|
|
247
|
+
✓ brownfield-wu ✓ brief ✓ detail ◐ architect ○ ux [○ qa-planning — runs inside Planning Team] ○ phases ○ tasks
|
|
248
248
|
|
|
249
249
|
BUILD Pipeline (0%)
|
|
250
250
|
○ dev ○ qa-implementation
|
|
@@ -42,7 +42,7 @@ Define quality gates and enforcement thresholds for each stage of the chati.dev
|
|
|
42
42
|
- **Bypass**: Not allowed (ensures baseline quality)
|
|
43
43
|
|
|
44
44
|
3. **Define Planning Phase Gates**
|
|
45
|
-
- **Agent Completion**: All
|
|
45
|
+
- **Agent Completion**: All DISCOVER + PLAN agents must complete: WU → brief → [Planning Team: detail + architect + ux + qa-planning] → phases → tasks
|
|
46
46
|
- **Specification Completeness**: 100% of required sections filled
|
|
47
47
|
- **QA Planning Score**: >= 95% for autonomous transition to build phase
|
|
48
48
|
- **Manual Override**: Available if score 90-94% with justification
|
|
@@ -11,7 +11,7 @@ sections must exist and what each must contain.
|
|
|
11
11
|
- **CSS**: All styles in a single `<style>` tag (no external stylesheets)
|
|
12
12
|
- **Fonts**: Google Fonts via `<link>` tags (only external dependency allowed)
|
|
13
13
|
- **JavaScript**: Minimal (only for theme toggle and smooth scroll)
|
|
14
|
-
- **Output path**: `
|
|
14
|
+
- **Output path**: `artifacts/4-UX/brandbook.html`
|
|
15
15
|
|
|
16
16
|
## Mandatory Sections (14)
|
|
17
17
|
|
|
@@ -103,5 +103,5 @@ sections must exist and what each must contain.
|
|
|
103
103
|
|
|
104
104
|
## Reference
|
|
105
105
|
|
|
106
|
-
See
|
|
106
|
+
See `<your-project>/docs/brand/brandbook.html` for a production
|
|
107
107
|
example with 14 sections, sticky nav, dark mode toggle, and complete token rendering.
|
|
@@ -10,7 +10,7 @@ template:
|
|
|
10
10
|
typography rationale, color philosophy, spacing rhythm, and iconography
|
|
11
11
|
style. Must be completed BEFORE design tokens.
|
|
12
12
|
|
|
13
|
-
output_path:
|
|
13
|
+
output_path: artifacts/4-UX/brandbook.md
|
|
14
14
|
|
|
15
15
|
sections:
|
|
16
16
|
- brand_voice
|
|
@@ -9,7 +9,7 @@ template:
|
|
|
9
9
|
Structured design token system with 4 layers: primitive, semantic,
|
|
10
10
|
component, and utility. Derived from brandbook decisions.
|
|
11
11
|
|
|
12
|
-
output_path:
|
|
12
|
+
output_path: artifacts/4-UX/design-tokens.md
|
|
13
13
|
|
|
14
14
|
layers:
|
|
15
15
|
- primitive
|
|
@@ -9,7 +9,7 @@ template:
|
|
|
9
9
|
Icon library selection, sizing scale, usage guidelines, and inventory.
|
|
10
10
|
Aligned with brandbook iconography style.
|
|
11
11
|
|
|
12
|
-
output_path:
|
|
12
|
+
output_path: artifacts/4-UX/icon-system.md
|
|
13
13
|
|
|
14
14
|
sections:
|
|
15
15
|
library_selection:
|
|
@@ -60,14 +60,15 @@ tasks:
|
|
|
60
60
|
- brandbook.html
|
|
61
61
|
threshold: 90
|
|
62
62
|
|
|
63
|
-
- id: TT-PLN-
|
|
64
|
-
title: "
|
|
65
|
-
assigned_to:
|
|
63
|
+
- id: TT-PLN-005
|
|
64
|
+
title: "QA-Planning: Validate traceability, criteria quality, cross-artifact consistency"
|
|
65
|
+
assigned_to: qa-planning
|
|
66
66
|
status: pending
|
|
67
67
|
score: null
|
|
68
68
|
blocker: null
|
|
69
69
|
depends_on: [TT-PLN-001, TT-PLN-002, TT-PLN-003]
|
|
70
70
|
cross_review: null
|
|
71
|
-
artifacts_produced:
|
|
71
|
+
artifacts_produced:
|
|
72
|
+
- qa-planning-report.md
|
|
72
73
|
threshold: 95
|
|
73
|
-
notes: "
|
|
74
|
+
notes: "Activates after Detail, Architect, UX complete. Reviews PRD + Architecture + UX for traceability and consistency. Sends qa_review_finding via mailbox if ERRORs found. Team dissolves only when QA-Planning approves (score >= 95%)."
|
|
@@ -67,9 +67,9 @@ phases:
|
|
|
67
67
|
sequence:
|
|
68
68
|
- agent: brownfield-wu
|
|
69
69
|
action: compile-report
|
|
70
|
-
creates: [
|
|
70
|
+
creates: [artifacts/0-WU/wu-full-report.md]
|
|
71
71
|
notes: "Consolidate all findings into comprehensive report"
|
|
72
72
|
|
|
73
73
|
output:
|
|
74
|
-
primary:
|
|
74
|
+
primary: artifacts/0-WU/wu-full-report.md
|
|
75
75
|
duration: "1-4 hours depending on codebase size"
|
|
@@ -19,7 +19,7 @@ phases:
|
|
|
19
19
|
sequence:
|
|
20
20
|
- agent: brownfield-wu
|
|
21
21
|
action: full-discovery
|
|
22
|
-
creates: [
|
|
22
|
+
creates: [artifacts/0-WU/wu-full-report.md]
|
|
23
23
|
notes: >
|
|
24
24
|
Both axes (technical + operational). ALWAYS runs Deep Discovery
|
|
25
25
|
with 3 scout calls: Architect, UX, QA in scout mode.
|
|
@@ -30,7 +30,7 @@ phases:
|
|
|
30
30
|
sequence:
|
|
31
31
|
- agent: brief
|
|
32
32
|
action: problem-extraction
|
|
33
|
-
creates: [
|
|
33
|
+
creates: [artifacts/1-Brief/brief-report.md]
|
|
34
34
|
notes: "Informed by existing codebase context from WU"
|
|
35
35
|
|
|
36
36
|
- phase: 2
|
|
@@ -39,7 +39,7 @@ phases:
|
|
|
39
39
|
sequence:
|
|
40
40
|
- agent: architect
|
|
41
41
|
action: assess-architecture
|
|
42
|
-
creates: [
|
|
42
|
+
creates: [artifacts/3-Architecture/architecture.md]
|
|
43
43
|
template: fullstack-architecture-tmpl.yaml
|
|
44
44
|
notes: >
|
|
45
45
|
Architect comes BEFORE Detail in brownfield.
|
|
@@ -51,12 +51,12 @@ phases:
|
|
|
51
51
|
sequence:
|
|
52
52
|
- agent: detail
|
|
53
53
|
action: create-prd
|
|
54
|
-
creates: [
|
|
54
|
+
creates: [artifacts/2-PRD/prd.md]
|
|
55
55
|
template: brownfield-prd-tmpl.yaml
|
|
56
56
|
notes: "PRD informed by architectural constraints"
|
|
57
57
|
- agent: ux
|
|
58
58
|
action: define-experience
|
|
59
|
-
creates: [
|
|
59
|
+
creates: [artifacts/4-UX/ux-specification.md]
|
|
60
60
|
notes: "Includes Design System audit of existing code"
|
|
61
61
|
|
|
62
62
|
- phase: 4
|
|
@@ -65,20 +65,24 @@ phases:
|
|
|
65
65
|
sequence:
|
|
66
66
|
- agent: phases
|
|
67
67
|
action: create-roadmap
|
|
68
|
-
creates: [
|
|
68
|
+
creates: [artifacts/5-Phases/phases.md]
|
|
69
69
|
- agent: tasks
|
|
70
70
|
action: create-tasks
|
|
71
|
-
creates: [
|
|
71
|
+
creates: [artifacts/6-Tasks/tasks.md]
|
|
72
72
|
template: task-tmpl.yaml
|
|
73
73
|
|
|
74
74
|
- phase: 5
|
|
75
|
-
name: Planning Quality Gate
|
|
75
|
+
name: Planning Quality Gate (Planning Team)
|
|
76
76
|
category: PLAN
|
|
77
77
|
sequence:
|
|
78
78
|
- agent: qa-planning
|
|
79
79
|
action: validate-traceability
|
|
80
|
-
creates: [
|
|
80
|
+
creates: [artifacts/7-QA-Planning/qa-planning-report.md]
|
|
81
81
|
template: qa-gate-tmpl.yaml
|
|
82
|
+
notes: >
|
|
83
|
+
Runs inside Planning Team (Article XXI), not as a standalone step.
|
|
84
|
+
Activates after Detail, Architect, and UX complete their tasks.
|
|
85
|
+
Score synced to session.yaml by orchestrator on team dissolution.
|
|
82
86
|
|
|
83
87
|
- phase: 6
|
|
84
88
|
name: Implementation
|
|
@@ -88,7 +92,7 @@ phases:
|
|
|
88
92
|
action: implement-tasks
|
|
89
93
|
- agent: qa-implementation
|
|
90
94
|
action: validate-code
|
|
91
|
-
creates: [
|
|
95
|
+
creates: [artifacts/9-QA-Implementation/qa-implementation-report.md]
|
|
92
96
|
|
|
93
97
|
- phase: 7
|
|
94
98
|
name: Deployment
|
|
@@ -96,7 +100,7 @@ phases:
|
|
|
96
100
|
sequence:
|
|
97
101
|
- agent: devops
|
|
98
102
|
action: deploy
|
|
99
|
-
creates: [
|
|
103
|
+
creates: [artifacts/10-Deploy/deploy-report.md]
|
|
100
104
|
|
|
101
105
|
transitions:
|
|
102
106
|
discover_to_plan:
|
|
@@ -20,7 +20,7 @@ phases:
|
|
|
20
20
|
sequence:
|
|
21
21
|
- agent: brownfield-wu
|
|
22
22
|
action: full-discovery
|
|
23
|
-
creates: [
|
|
23
|
+
creates: [artifacts/0-WU/wu-full-report.md]
|
|
24
24
|
|
|
25
25
|
- phase: 1
|
|
26
26
|
name: Problem Definition
|
|
@@ -28,7 +28,7 @@ phases:
|
|
|
28
28
|
sequence:
|
|
29
29
|
- agent: brief
|
|
30
30
|
action: problem-extraction
|
|
31
|
-
creates: [
|
|
31
|
+
creates: [artifacts/1-Brief/brief-report.md]
|
|
32
32
|
|
|
33
33
|
- phase: 2
|
|
34
34
|
name: Architecture & Specification
|
|
@@ -36,11 +36,11 @@ phases:
|
|
|
36
36
|
sequence:
|
|
37
37
|
- agent: architect
|
|
38
38
|
action: assess-architecture
|
|
39
|
-
creates: [
|
|
39
|
+
creates: [artifacts/3-Architecture/architecture.md]
|
|
40
40
|
notes: "Focus on API design, data model, service patterns"
|
|
41
41
|
- agent: detail
|
|
42
42
|
action: create-prd
|
|
43
|
-
creates: [
|
|
43
|
+
creates: [artifacts/2-PRD/prd.md]
|
|
44
44
|
template: brownfield-prd-tmpl.yaml
|
|
45
45
|
|
|
46
46
|
- phase: 3
|
|
@@ -49,18 +49,22 @@ phases:
|
|
|
49
49
|
sequence:
|
|
50
50
|
- agent: phases
|
|
51
51
|
action: create-roadmap
|
|
52
|
-
creates: [
|
|
52
|
+
creates: [artifacts/5-Phases/phases.md]
|
|
53
53
|
- agent: tasks
|
|
54
54
|
action: create-tasks
|
|
55
|
-
creates: [
|
|
55
|
+
creates: [artifacts/6-Tasks/tasks.md]
|
|
56
56
|
|
|
57
57
|
- phase: 4
|
|
58
|
-
name: Planning Quality Gate
|
|
58
|
+
name: Planning Quality Gate (Planning Team)
|
|
59
59
|
category: PLAN
|
|
60
60
|
sequence:
|
|
61
61
|
- agent: qa-planning
|
|
62
62
|
action: validate-traceability
|
|
63
|
-
creates: [
|
|
63
|
+
creates: [artifacts/7-QA-Planning/qa-planning-report.md]
|
|
64
|
+
notes: >
|
|
65
|
+
Runs inside Planning Team (Article XXI), not as a standalone step.
|
|
66
|
+
Activates after Detail and Architect complete their tasks.
|
|
67
|
+
Score synced to session.yaml by orchestrator on team dissolution.
|
|
64
68
|
|
|
65
69
|
- phase: 5
|
|
66
70
|
name: Implementation
|
|
@@ -70,7 +74,7 @@ phases:
|
|
|
70
74
|
action: implement-tasks
|
|
71
75
|
- agent: qa-implementation
|
|
72
76
|
action: validate-code
|
|
73
|
-
creates: [
|
|
77
|
+
creates: [artifacts/9-QA-Implementation/qa-implementation-report.md]
|
|
74
78
|
|
|
75
79
|
- phase: 6
|
|
76
80
|
name: Deployment
|
|
@@ -78,7 +82,7 @@ phases:
|
|
|
78
82
|
sequence:
|
|
79
83
|
- agent: devops
|
|
80
84
|
action: deploy
|
|
81
|
-
creates: [
|
|
85
|
+
creates: [artifacts/10-Deploy/deploy-report.md]
|
|
82
86
|
|
|
83
87
|
transitions:
|
|
84
88
|
discover_to_plan:
|
|
@@ -20,7 +20,7 @@ phases:
|
|
|
20
20
|
sequence:
|
|
21
21
|
- agent: brownfield-wu
|
|
22
22
|
action: full-discovery
|
|
23
|
-
creates: [
|
|
23
|
+
creates: [artifacts/0-WU/wu-full-report.md]
|
|
24
24
|
notes: "UX scout call gets extra attention for component audit"
|
|
25
25
|
|
|
26
26
|
- phase: 1
|
|
@@ -29,7 +29,7 @@ phases:
|
|
|
29
29
|
sequence:
|
|
30
30
|
- agent: brief
|
|
31
31
|
action: problem-extraction
|
|
32
|
-
creates: [
|
|
32
|
+
creates: [artifacts/1-Brief/brief-report.md]
|
|
33
33
|
|
|
34
34
|
- phase: 2
|
|
35
35
|
name: Architecture & Experience
|
|
@@ -37,15 +37,15 @@ phases:
|
|
|
37
37
|
sequence:
|
|
38
38
|
- agent: architect
|
|
39
39
|
action: assess-architecture
|
|
40
|
-
creates: [
|
|
40
|
+
creates: [artifacts/3-Architecture/architecture.md]
|
|
41
41
|
notes: "Focus on frontend architecture, state management, component patterns"
|
|
42
42
|
- agent: detail
|
|
43
43
|
action: create-prd
|
|
44
|
-
creates: [
|
|
44
|
+
creates: [artifacts/2-PRD/prd.md]
|
|
45
45
|
template: brownfield-prd-tmpl.yaml
|
|
46
46
|
- agent: ux
|
|
47
47
|
action: define-experience
|
|
48
|
-
creates: [
|
|
48
|
+
creates: [artifacts/4-UX/ux-specification.md]
|
|
49
49
|
notes: "Full Design System audit + new token definitions"
|
|
50
50
|
|
|
51
51
|
- phase: 3
|
|
@@ -54,18 +54,22 @@ phases:
|
|
|
54
54
|
sequence:
|
|
55
55
|
- agent: phases
|
|
56
56
|
action: create-roadmap
|
|
57
|
-
creates: [
|
|
57
|
+
creates: [artifacts/5-Phases/phases.md]
|
|
58
58
|
- agent: tasks
|
|
59
59
|
action: create-tasks
|
|
60
|
-
creates: [
|
|
60
|
+
creates: [artifacts/6-Tasks/tasks.md]
|
|
61
61
|
|
|
62
62
|
- phase: 4
|
|
63
|
-
name: Planning Quality Gate
|
|
63
|
+
name: Planning Quality Gate (Planning Team)
|
|
64
64
|
category: PLAN
|
|
65
65
|
sequence:
|
|
66
66
|
- agent: qa-planning
|
|
67
67
|
action: validate-traceability
|
|
68
|
-
creates: [
|
|
68
|
+
creates: [artifacts/7-QA-Planning/qa-planning-report.md]
|
|
69
|
+
notes: >
|
|
70
|
+
Runs inside Planning Team (Article XXI), not as a standalone step.
|
|
71
|
+
Activates after Architect, Detail, and UX complete their tasks.
|
|
72
|
+
Score synced to session.yaml by orchestrator on team dissolution.
|
|
69
73
|
|
|
70
74
|
- phase: 5
|
|
71
75
|
name: Implementation
|
|
@@ -76,7 +80,7 @@ phases:
|
|
|
76
80
|
notes: "Design System token enforcement is critical for UI work"
|
|
77
81
|
- agent: qa-implementation
|
|
78
82
|
action: validate-code
|
|
79
|
-
creates: [
|
|
83
|
+
creates: [artifacts/9-QA-Implementation/qa-implementation-report.md]
|
|
80
84
|
|
|
81
85
|
- phase: 6
|
|
82
86
|
name: Deployment
|
|
@@ -84,7 +88,7 @@ phases:
|
|
|
84
88
|
sequence:
|
|
85
89
|
- agent: devops
|
|
86
90
|
action: deploy
|
|
87
|
-
creates: [
|
|
91
|
+
creates: [artifacts/10-Deploy/deploy-report.md]
|
|
88
92
|
|
|
89
93
|
transitions:
|
|
90
94
|
discover_to_plan:
|
|
@@ -20,7 +20,7 @@ phases:
|
|
|
20
20
|
sequence:
|
|
21
21
|
- agent: greenfield-wu
|
|
22
22
|
action: operational-discovery
|
|
23
|
-
creates: [
|
|
23
|
+
creates: [artifacts/0-WU/wu-operational-report.md]
|
|
24
24
|
notes: "Operational context only (no codebase to analyze)"
|
|
25
25
|
|
|
26
26
|
- phase: 1
|
|
@@ -29,7 +29,7 @@ phases:
|
|
|
29
29
|
sequence:
|
|
30
30
|
- agent: brief
|
|
31
31
|
action: problem-extraction
|
|
32
|
-
creates: [
|
|
32
|
+
creates: [artifacts/1-Brief/brief-report.md]
|
|
33
33
|
notes: "5-phase extraction process"
|
|
34
34
|
|
|
35
35
|
- phase: 2
|
|
@@ -38,7 +38,7 @@ phases:
|
|
|
38
38
|
sequence:
|
|
39
39
|
- agent: detail
|
|
40
40
|
action: create-prd
|
|
41
|
-
creates: [
|
|
41
|
+
creates: [artifacts/2-PRD/prd.md]
|
|
42
42
|
template: prd-tmpl.yaml
|
|
43
43
|
notes: "Detail comes BEFORE Architect in greenfield"
|
|
44
44
|
|
|
@@ -48,16 +48,16 @@ phases:
|
|
|
48
48
|
sequence:
|
|
49
49
|
- agent: architect
|
|
50
50
|
action: design-architecture
|
|
51
|
-
creates: [
|
|
51
|
+
creates: [artifacts/3-Architecture/architecture.md]
|
|
52
52
|
template: fullstack-architecture-tmpl.yaml
|
|
53
53
|
notes: "Tech stack selection, data model, deployment strategy"
|
|
54
54
|
- agent: architect
|
|
55
55
|
action: dep-audit
|
|
56
|
-
creates: [
|
|
56
|
+
creates: [artifacts/3-Architecture/dep-audit.yaml]
|
|
57
57
|
notes: "Verify dependency versions, vulnerabilities, and compatibility before implementation"
|
|
58
58
|
- agent: ux
|
|
59
59
|
action: define-experience
|
|
60
|
-
creates: [
|
|
60
|
+
creates: [artifacts/4-UX/ux-specification.md]
|
|
61
61
|
notes: "UX follows Architect (needs to know the stack)"
|
|
62
62
|
|
|
63
63
|
- phase: 4
|
|
@@ -66,23 +66,26 @@ phases:
|
|
|
66
66
|
sequence:
|
|
67
67
|
- agent: phases
|
|
68
68
|
action: create-roadmap
|
|
69
|
-
creates: [
|
|
69
|
+
creates: [artifacts/5-Phases/phases.md]
|
|
70
70
|
notes: "MVP-first phase breakdown"
|
|
71
71
|
- agent: tasks
|
|
72
72
|
action: create-tasks
|
|
73
|
-
creates: [
|
|
73
|
+
creates: [artifacts/6-Tasks/tasks.md]
|
|
74
74
|
template: task-tmpl.yaml
|
|
75
75
|
notes: "Atomic tasks with Given-When-Then criteria"
|
|
76
76
|
|
|
77
77
|
- phase: 5
|
|
78
|
-
name: Planning Quality Gate
|
|
78
|
+
name: Planning Quality Gate (Planning Team)
|
|
79
79
|
category: PLAN
|
|
80
80
|
sequence:
|
|
81
81
|
- agent: qa-planning
|
|
82
82
|
action: validate-traceability
|
|
83
|
-
creates: [
|
|
83
|
+
creates: [artifacts/7-QA-Planning/qa-planning-report.md]
|
|
84
84
|
template: qa-gate-tmpl.yaml
|
|
85
|
-
notes:
|
|
85
|
+
notes: >
|
|
86
|
+
Runs inside Planning Team (Article XXI), not as a standalone step.
|
|
87
|
+
Activates after Detail, Architect, and UX complete their tasks.
|
|
88
|
+
Must score >= 95% to proceed to BUILD. Score synced to session.yaml by orchestrator on team dissolution.
|
|
86
89
|
|
|
87
90
|
- phase: 6
|
|
88
91
|
name: Implementation
|
|
@@ -93,7 +96,7 @@ phases:
|
|
|
93
96
|
notes: "Interactive or autonomous (Ralph Wiggum) mode"
|
|
94
97
|
- agent: qa-implementation
|
|
95
98
|
action: validate-code
|
|
96
|
-
creates: [
|
|
99
|
+
creates: [artifacts/9-QA-Implementation/qa-implementation-report.md]
|
|
97
100
|
template: qa-gate-tmpl.yaml
|
|
98
101
|
notes: "Tests + SAST + code review. Must pass to deploy"
|
|
99
102
|
|
|
@@ -103,7 +106,7 @@ phases:
|
|
|
103
106
|
sequence:
|
|
104
107
|
- agent: devops
|
|
105
108
|
action: deploy
|
|
106
|
-
creates: [
|
|
109
|
+
creates: [artifacts/10-Deploy/deploy-report.md]
|
|
107
110
|
notes: "Git operations, deployment, documentation"
|
|
108
111
|
|
|
109
112
|
transitions:
|
|
@@ -45,7 +45,7 @@ phases:
|
|
|
45
45
|
sequence:
|
|
46
46
|
- agent: brief
|
|
47
47
|
action: quick-extraction
|
|
48
|
-
creates: [
|
|
48
|
+
creates: [artifacts/1-Brief/quick-brief.md]
|
|
49
49
|
notes: >
|
|
50
50
|
Condensed extraction: single-pass, no 5-phase process.
|
|
51
51
|
Capture: what, why, constraints, acceptance criteria.
|
|
@@ -72,7 +72,7 @@ phases:
|
|
|
72
72
|
sequence:
|
|
73
73
|
- agent: qa-implementation
|
|
74
74
|
action: validate-code
|
|
75
|
-
creates: [
|
|
75
|
+
creates: [artifacts/9-QA-Implementation/qa-implementation-report.md]
|
|
76
76
|
notes: >
|
|
77
77
|
Full QA-Implementation validation still applies (no shortcuts on quality).
|
|
78
78
|
Adversarial review still mandatory.
|
|
@@ -87,7 +87,7 @@ phases:
|
|
|
87
87
|
sequence:
|
|
88
88
|
- agent: devops
|
|
89
89
|
action: deploy
|
|
90
|
-
creates: [
|
|
90
|
+
creates: [artifacts/10-Deploy/deploy-report.md]
|
|
91
91
|
notes: "Standard deployment process"
|
|
92
92
|
|
|
93
93
|
transitions:
|
|
@@ -40,7 +40,7 @@ agents:
|
|
|
40
40
|
- detail
|
|
41
41
|
- architect
|
|
42
42
|
- tasks
|
|
43
|
-
- qa-planning
|
|
43
|
+
- qa-planning # runs inside Planning Team; score synced via team dissolution
|
|
44
44
|
- dev
|
|
45
45
|
- qa-implementation
|
|
46
46
|
- devops
|
|
@@ -57,7 +57,7 @@ phases:
|
|
|
57
57
|
sequence:
|
|
58
58
|
- agent: brief
|
|
59
59
|
action: extract-requirements
|
|
60
|
-
creates: [
|
|
60
|
+
creates: [artifacts/1-Brief/brief.md]
|
|
61
61
|
notes: >
|
|
62
62
|
Full brief extraction (5 phases). Since no WU precedes it,
|
|
63
63
|
Brief must also capture codebase context from user input.
|
|
@@ -71,27 +71,30 @@ phases:
|
|
|
71
71
|
sequence:
|
|
72
72
|
- agent: detail
|
|
73
73
|
action: expand-requirements
|
|
74
|
-
creates: [
|
|
74
|
+
creates: [artifacts/2-Detail/prd.md]
|
|
75
75
|
notes: "Full PRD from brief output"
|
|
76
76
|
parallel_with: [architect]
|
|
77
77
|
|
|
78
78
|
- agent: architect
|
|
79
79
|
action: design-architecture
|
|
80
|
-
creates: [
|
|
80
|
+
creates: [artifacts/3-Architecture/architecture.md]
|
|
81
81
|
notes: "Architecture decisions, no UX constraints needed"
|
|
82
82
|
parallel_with: [detail]
|
|
83
83
|
|
|
84
84
|
- agent: tasks
|
|
85
85
|
action: create-tasks
|
|
86
|
-
creates: [
|
|
86
|
+
creates: [artifacts/5-Tasks/tasks.md]
|
|
87
87
|
notes: >
|
|
88
88
|
Tasks agent works directly from PRD + Architecture.
|
|
89
89
|
No phases agent — tasks agent determines task breakdown directly.
|
|
90
90
|
|
|
91
91
|
- agent: qa-planning
|
|
92
92
|
action: validate-plan
|
|
93
|
-
creates: [
|
|
94
|
-
notes:
|
|
93
|
+
creates: [artifacts/6-QA-Planning/qa-planning-report.md]
|
|
94
|
+
notes: >
|
|
95
|
+
Runs inside Planning Team (Article XXI), not as a standalone step.
|
|
96
|
+
Activates after Detail, Architect complete. Score >= 95% required to advance.
|
|
97
|
+
Score synced to session.yaml by orchestrator on team dissolution.
|
|
95
98
|
config:
|
|
96
99
|
minimum_score: 95
|
|
97
100
|
|
|
@@ -105,7 +108,7 @@ phases:
|
|
|
105
108
|
|
|
106
109
|
- agent: qa-implementation
|
|
107
110
|
action: validate-code
|
|
108
|
-
creates: [
|
|
111
|
+
creates: [artifacts/9-QA-Implementation/qa-implementation-report.md]
|
|
109
112
|
notes: >
|
|
110
113
|
Full QA-Implementation validation. Score >= 95% required.
|
|
111
114
|
Adversarial review mandatory.
|
|
@@ -120,7 +123,7 @@ phases:
|
|
|
120
123
|
sequence:
|
|
121
124
|
- agent: devops
|
|
122
125
|
action: deploy
|
|
123
|
-
creates: [
|
|
126
|
+
creates: [artifacts/10-Deploy/deploy-report.md]
|
|
124
127
|
notes: "Standard deployment process"
|
|
125
128
|
|
|
126
129
|
transitions:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chati-dev",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"description": "AI-Powered Multi-Agent Orchestration System
|
|
3
|
+
"version": "4.3.1",
|
|
4
|
+
"description": "AI-Powered Multi-Agent Orchestration System - Structured vibe coding for Full Stack Development",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"chati": "bin/chati.js",
|
|
@@ -18,19 +18,22 @@
|
|
|
18
18
|
"files": [
|
|
19
19
|
"bin/",
|
|
20
20
|
"src/",
|
|
21
|
-
"assets/",
|
|
21
|
+
"assets/logo.txt",
|
|
22
22
|
"framework/",
|
|
23
|
-
"scripts/",
|
|
24
23
|
"LICENSE",
|
|
25
24
|
"TERMS_OF_USE.md"
|
|
26
25
|
],
|
|
27
26
|
"scripts": {
|
|
28
27
|
"start": "node bin/chati.js",
|
|
29
28
|
"bundle": "node scripts/bundle-framework.js",
|
|
30
|
-
"
|
|
29
|
+
"sync": "node scripts/sync-framework.js",
|
|
30
|
+
"scan": "node scripts/scan-stale.js",
|
|
31
|
+
"install-to": "node scripts/install-to.js",
|
|
32
|
+
"prepublishOnly": "node scripts/sync-framework.js && node scripts/scan-stale.js && node scripts/validate-package.js && node scripts/sign-manifest.js",
|
|
31
33
|
"test": "node --test test/**/*.test.js",
|
|
32
34
|
"lint": "eslint src/ bin/",
|
|
33
|
-
"lint:fix": "eslint src/ bin/ --fix"
|
|
35
|
+
"lint:fix": "eslint src/ bin/ --fix",
|
|
36
|
+
"verify-v431": "npm test && node scripts/scan-stale.js && npm run sync && node scripts/validate-package.js && node test/fixtures/manual-smoke-v430-upgrade.mjs"
|
|
34
37
|
},
|
|
35
38
|
"keywords": [
|
|
36
39
|
"ai",
|
|
@@ -68,6 +71,9 @@
|
|
|
68
71
|
"engines": {
|
|
69
72
|
"node": ">=20.0.0"
|
|
70
73
|
},
|
|
74
|
+
"optionalDependencies": {
|
|
75
|
+
"playwright": "^1.50.0"
|
|
76
|
+
},
|
|
71
77
|
"devDependencies": {
|
|
72
78
|
"@eslint/js": "^10.0.1",
|
|
73
79
|
"eslint": "^10.1.0",
|
|
@@ -18,6 +18,7 @@ export const GATE_RESULTS = {
|
|
|
18
18
|
const GATE_THRESHOLDS = {
|
|
19
19
|
'qa-planning': 95, // Highest — gates planning→build transition
|
|
20
20
|
'qa-implementation': 95, // Gates build→deploy transition
|
|
21
|
+
'qa-visual': 90, // Visual quality gate
|
|
21
22
|
'brief': 90, // Requirements are critical
|
|
22
23
|
'detail': 90,
|
|
23
24
|
'architect': 90,
|