@atlashub/smartstack-cli 3.33.0 → 3.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.documentation/agents.html +5 -1
- package/.documentation/apex.html +644 -0
- package/.documentation/business-analyse.html +81 -1
- package/.documentation/cli-commands.html +5 -1
- package/.documentation/commands.html +5 -1
- package/.documentation/efcore.html +5 -1
- package/.documentation/gitflow.html +5 -1
- package/.documentation/hooks.html +5 -1
- package/.documentation/index.html +60 -2
- package/.documentation/init.html +414 -1
- package/.documentation/installation.html +5 -1
- package/.documentation/ralph-loop.html +365 -216
- package/.documentation/test-web.html +5 -1
- package/dist/index.js +32 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp-entry.mjs +7 -24
- package/dist/mcp-entry.mjs.map +1 -1
- package/package.json +1 -2
- package/templates/agents/ba-writer.md +142 -15
- package/templates/mcp-scaffolding/controller.cs.hbs +5 -1
- package/templates/skills/apex/SKILL.md +9 -3
- package/templates/skills/apex/_shared.md +49 -4
- package/templates/skills/{ralph-loop → apex}/references/core-seed-data.md +20 -11
- package/templates/skills/{ralph-loop → apex}/references/error-classification.md +2 -1
- package/templates/skills/apex/references/post-checks.md +463 -3
- package/templates/skills/apex/references/smartstack-api.md +76 -8
- package/templates/skills/apex/references/smartstack-frontend.md +74 -1
- package/templates/skills/apex/references/smartstack-layers.md +21 -3
- package/templates/skills/apex/steps/step-00-init.md +121 -1
- package/templates/skills/apex/steps/step-01-analyze.md +58 -0
- package/templates/skills/apex/steps/step-02-plan.md +36 -0
- package/templates/skills/apex/steps/step-03-execute.md +114 -7
- package/templates/skills/apex/steps/step-04-examine.md +116 -2
- package/templates/skills/business-analyse/SKILL.md +31 -20
- package/templates/skills/business-analyse/_module-loop.md +68 -9
- package/templates/skills/business-analyse/_shared.md +80 -21
- package/templates/skills/business-analyse/questionnaire/00-application.md +4 -2
- package/templates/skills/business-analyse/questionnaire/00b-project.md +85 -0
- package/templates/skills/business-analyse/references/deploy-modes.md +69 -0
- package/templates/skills/business-analyse/references/team-orchestration.md +158 -7
- package/templates/skills/business-analyse/schemas/application-schema.json +15 -1
- package/templates/skills/business-analyse/schemas/project-schema.json +490 -0
- package/templates/skills/business-analyse/schemas/sections/metadata-schema.json +2 -1
- package/templates/skills/business-analyse/steps/step-00-init.md +220 -38
- package/templates/skills/business-analyse/steps/step-01-cadrage.md +184 -5
- package/templates/skills/business-analyse/steps/step-01b-applications.md +423 -0
- package/templates/skills/business-analyse/steps/step-02-decomposition.md +23 -6
- package/templates/skills/business-analyse/steps/step-03c-compile.md +14 -2
- package/templates/skills/business-analyse/steps/step-03d-validate.md +32 -7
- package/templates/skills/business-analyse/steps/step-04a-collect.md +111 -0
- package/templates/skills/business-analyse/steps/step-05a-handoff.md +296 -103
- package/templates/skills/business-analyse/steps/step-05b-deploy.md +46 -14
- package/templates/skills/documentation/SKILL.md +92 -2
- package/templates/skills/ralph-loop/SKILL.md +14 -17
- package/templates/skills/ralph-loop/references/category-rules.md +63 -683
- package/templates/skills/ralph-loop/references/compact-loop.md +188 -428
- package/templates/skills/ralph-loop/references/section-splitting.md +439 -0
- package/templates/skills/ralph-loop/references/team-orchestration.md +13 -14
- package/templates/skills/ralph-loop/steps/step-01-task.md +27 -0
- package/templates/skills/ralph-loop/steps/step-02-execute.md +80 -691
- package/templates/skills/ralph-loop/steps/step-03-commit.md +38 -79
- package/templates/skills/ralph-loop/steps/step-04-check.md +39 -58
- package/templates/skills/ralph-loop/steps/step-05-report.md +31 -123
- package/scripts/health-check.sh +0 -168
- package/scripts/postinstall.js +0 -18
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<header class="global-header">
|
|
13
13
|
<div class="logo">SS</div>
|
|
14
14
|
<span class="site-title">SmartStack CLI</span>
|
|
15
|
-
<span class="version-badge">v3.
|
|
15
|
+
<span class="version-badge">v3.34.0</span>
|
|
16
16
|
<div class="header-divider"></div>
|
|
17
17
|
<span class="page-title">Test Web</span>
|
|
18
18
|
<nav class="breadcrumb">
|
|
@@ -90,6 +90,10 @@
|
|
|
90
90
|
<span class="icon">🔄</span>
|
|
91
91
|
<span class="nav-text">Ralph Loop</span>
|
|
92
92
|
</a>
|
|
93
|
+
<a href="apex.html" class="nav-item">
|
|
94
|
+
<span class="icon">⚙</span>
|
|
95
|
+
<span class="nav-text">APEX</span>
|
|
96
|
+
</a>
|
|
93
97
|
</div>
|
|
94
98
|
|
|
95
99
|
<div class="nav-section">
|
package/dist/index.js
CHANGED
|
@@ -126947,6 +126947,7 @@ var LAYER_ORDER = [
|
|
|
126947
126947
|
{ key: "tests", category: "test" }
|
|
126948
126948
|
];
|
|
126949
126949
|
function createTask(ctx, category, description, deps, acceptanceCriteria, filesCreated = [], meta) {
|
|
126950
|
+
const section = resolveSection(ctx.entityToSection, filesCreated, description);
|
|
126950
126951
|
const task = {
|
|
126951
126952
|
id: ctx.nextId++,
|
|
126952
126953
|
description,
|
|
@@ -126962,6 +126963,7 @@ function createTask(ctx, category, description, deps, acceptanceCriteria, filesC
|
|
|
126962
126963
|
validation: null,
|
|
126963
126964
|
error: null,
|
|
126964
126965
|
module: ctx.moduleCode,
|
|
126966
|
+
...section ? { section } : {},
|
|
126965
126967
|
...meta ?? {}
|
|
126966
126968
|
};
|
|
126967
126969
|
ctx.lastIdByCategory[category] = task.id;
|
|
@@ -127218,10 +127220,12 @@ function generateValidationTask(ctx) {
|
|
|
127218
127220
|
}
|
|
127219
127221
|
function generateTasks(prd) {
|
|
127220
127222
|
const moduleCode = prd.project.module;
|
|
127223
|
+
const entityToSection = buildEntityToSectionMap(prd.architecture?.sections ?? []);
|
|
127221
127224
|
const ctx = {
|
|
127222
127225
|
moduleCode,
|
|
127223
127226
|
lastIdByCategory: {},
|
|
127224
|
-
nextId: 1
|
|
127227
|
+
nextId: 1,
|
|
127228
|
+
entityToSection
|
|
127225
127229
|
};
|
|
127226
127230
|
const frontendFiles = [];
|
|
127227
127231
|
const i18nFiles = [];
|
|
@@ -127260,6 +127264,33 @@ function validateTaskIntegrity(tasks) {
|
|
|
127260
127264
|
}
|
|
127261
127265
|
return errors;
|
|
127262
127266
|
}
|
|
127267
|
+
function buildEntityToSectionMap(sections) {
|
|
127268
|
+
const map8 = /* @__PURE__ */ new Map();
|
|
127269
|
+
for (const section of sections) {
|
|
127270
|
+
for (const resource of section.resources ?? []) {
|
|
127271
|
+
if (resource.entity) {
|
|
127272
|
+
map8.set(resource.entity, section.code);
|
|
127273
|
+
}
|
|
127274
|
+
}
|
|
127275
|
+
}
|
|
127276
|
+
return map8;
|
|
127277
|
+
}
|
|
127278
|
+
function resolveSection(entityToSection, filePaths, description) {
|
|
127279
|
+
if (entityToSection.size === 0) return void 0;
|
|
127280
|
+
for (const filePath of filePaths) {
|
|
127281
|
+
const fileName = filePath.split("/").pop()?.replace(/\.cs$|\.tsx?$/, "") ?? "";
|
|
127282
|
+
const entityName = fileName.replace(/(Controller|Service|Validator|Configuration|Dto|Tests?|Page|Api)$/i, "").replace(/^(Create|Update|Delete|Get|List|Detail|Edit)/, "");
|
|
127283
|
+
if (entityName && entityToSection.has(entityName)) {
|
|
127284
|
+
return entityToSection.get(entityName);
|
|
127285
|
+
}
|
|
127286
|
+
}
|
|
127287
|
+
for (const [entity, section] of entityToSection) {
|
|
127288
|
+
if (description.includes(entity)) {
|
|
127289
|
+
return section;
|
|
127290
|
+
}
|
|
127291
|
+
}
|
|
127292
|
+
return void 0;
|
|
127293
|
+
}
|
|
127263
127294
|
function capitalize(s) {
|
|
127264
127295
|
return s.charAt(0).toUpperCase() + s.slice(1);
|
|
127265
127296
|
}
|