“I think it's fair to ask Apple about what is the current state of macOS automation?”
As others have said: you can ask, but Apple won’t answer. Certainly not in public. I agree that not communicating with their automation users and developers (especially those of us who understand it better than they do) about its current status and future plans ultimately undermines their ability to deliver customers high-quality software that serves their needs, but that’s standard company policy. Remember, Apple’s a hugely successful consumer product company now, so everything they do is geared to serve that. Their only motive for producing “professional” products is to enable iOS App developers to deliver more consumer software. For B2B, you’re a lot better off with Microsoft.
That said, it’s not hard to make some educated guesses about where Apple is heading. The old Mac Automation team was disbanded because it repeatedly failed to deliver products that created new markets and won new users. So as far as Apple is concerned, that evolutionary path is dead. Yes, I make no bones that this was ultimately human failure, while many of the core ideas and technology are still totally sound and a vast untapped pot of potential gold, but an organization the size of Apple is unlikely to make such fine distinction, for the same reason that all your favorite shows get canceled every time Fox reshuffles its TV executives. Big business managers don’t make their name servicing their predecessor’s works; they do it by eliminating those and replacing them with their own hot new shiny products.
End-user automation now falls under the Siri team’s remit, and with full Marzipan due this year I would be very surprised (and concerned) if Siri Shortcuts is not included in 10.15 as a direct successor and replacement to the old Automator app. I believe the engineer who wrote Automator is now on the Siri team, so I’d hope they’re wise enough to include a shim layer that enables Shortcuts to run Automator Actions as part of its own workflows, allowing macOS Shortcuts users to take advantage of the Automator Actions that do exist today, but again I would hope and expect that this would only be a temporary stopgap until developers port to Shortcuts. Plus a backwards compatibility layer means that the Automator application can be immediately eliminated in 10.15, which is important from a marketing POV as nothing says your new product isn’t ready for use yet (even if true) like having its dead-code-walking predecessor still hanging around.
Siri Shortcuts is far from being a brilliant or complete technology solution, but if it can smash it on the public perception and popular adoption that won’t matter in the slightest: it will still wipe the floor with all its predecessors which, regardless of any technical merit, never built an audience worth a ****.
...
As to other Mac Automation technologies:
* Traditional desktop application automation right now looks pretty boned. It’s unlikely to go away any time soon—it’s already a sunk cost and there are thousands of pro customers who absolutely depend on it, and even Apple’s own products still use Apple event IPC to get stuff done—so no sense pulling the plug as long as they don’t have to. But it’s clear that the AppleScript language is 100% legacy product well into the long tail of its lifecycle now, while Apple’s attempts to create more successful alternatives—Scripting Bridge and JavaScript for Automation—were so poorly implemented and supported they made even AppleScript look good by comparison.
As further indication of their new direction, 10.14 moved the AppleScript and JXA documentation to legacy/retired status, so it’s clear that Apple see no future in those. The SB documentation still remains active, though whether that’s by oversight or intent I can’t tell. If the latter, it suggests Apple envisage Shortcuts developers using SB to control Mac apps via those apps’ existing Apple event APIs, as a quicker cheaper alternative to implementing App Extension APIs from scratch. (In which case they really should’ve kept AppleScript active and show how to call it via the AppleScript-ObjC bridge, which is a far superior solution to struggling with the crapware that is SB.)
* The traditional *nix shell environment is increasingly out of date, partly because newer FOSS releases are often under GPL v3 which Apple does not want to deal with, though probably again primarily because it is not relevant to its consumer business model, and developers who do heavily rely on CLI will tend to install their own tools from current third-party sources like Homebrew or MacPorts. Personally I think Apple should actively deprecate most of their shell tools with a view to removing them entirely in a few years (unused neglected code on macOS just adds cost and risk for no benefit), and bless one of the above package managers for the subset Mac users who do need a full shell.
* Dashboard…yeah. Please just go away already.
* As to NeXTStep-derived Services, these have never received much—or really any—attention. But I can see these merging with Shortcuts.
..
In fact, the real trick to making Shortcuts a popular success on macOS will be going through the *entire* desktop experience, identifying all the current points where end user automation is currently found (e.g. folder actions, Mail rules, Calendar alarms, etc, etc) and replacing that current sprawling mismash of UIs and UXs with a single, standard Shortcuts interface. One of the reasons Automator failed was because it was a standalone app (which almost no-one ever opened), instead of just a humble Cocoa control that App developers could drop into their UIs as a matter of course. There are significant potential wins to be had in simplifying and unifying the macOS experience, making Shortcuts and Siri commands a familiar everyday part of the macOS experience for millions of regular users, not just the subset of gnarly power-users and geeks who traditionally inhabit such spheres and tend to chase the rest away.
And perhaps most importantly, macOS is the natural environment to grow an expert-user community who will feed back into the far larger iOS market and drive Shortcuts adoption there. (Good read here is Bonnie A Nardie’s A Small Matter of Programming, particularly the chapter on collaborative programming which describes how to cultivate bi-directional learning and support between novice users and expert users, and expert users and professional developers, so that each group assists and encourages the others to grow.
...
I’ve a bit more to say on how and where Shortcuts today falls frustratingly short on delivering its full and true potential (and how to solve that), as well as why Apple should write off neither text-based end-user languages nor the core principles and existing (albeit aged and flawed) implementations of Apple event IPC and its user-query powered Apple Event Object Model (a real diamond-in-the-rough). But I think that’ll do for now.