nexarch 0.9.13 → 0.9.14
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.
|
@@ -1630,6 +1630,14 @@ export async function initProject(args) {
|
|
|
1630
1630
|
if (subPackages.length > 0) {
|
|
1631
1631
|
lines.push(` ${step++}. Update each sub-package listed under CLASSIFY_THESE above.`);
|
|
1632
1632
|
}
|
|
1633
|
+
if (entityTypeOverride === "application") {
|
|
1634
|
+
lines.push(` ${step++}. Identify functional subsystems from the README and architecture docs.`);
|
|
1635
|
+
lines.push(` Look for named logical areas (e.g. Billing System, Auth Subsystem, Data Layer, API Service Layer).`);
|
|
1636
|
+
lines.push(` Only register subsystems that are explicitly named or described — do not invent them.`);
|
|
1637
|
+
lines.push(` For each one found:`);
|
|
1638
|
+
lines.push(` nexarch update-entity --key "application_component:${projectExternalKey.split(":")[1] ?? "project"}-<subsystem-slug>" --entity-type application_component --subtype app_comp_subsystem --name "..." --description "..."`);
|
|
1639
|
+
lines.push(` nexarch add-relationship --from "application_component:${projectExternalKey.split(":")[1] ?? "project"}-<subsystem-slug>" --to "${projectExternalKey}" --type part_of`);
|
|
1640
|
+
}
|
|
1633
1641
|
lines.push(` ${step++}. Scan the READMEs for platforms/SaaS not auto-detected (Vercel, Neon, Stripe, etc.).`);
|
|
1634
1642
|
lines.push(` For each found: nexarch resolve-names --names "..." --json → nexarch update-entity → nexarch add-relationship`);
|
|
1635
1643
|
lines.push(` ${step++}. Look for ADRs (docs/adr/, decisions/, ADR-*.md) and register decision_record entities.`);
|