Main received the final versions of read_skill_file, the skill and
tool records, and the transfer of skills to a worker in the task.
Main's design replaces the side-file bundle of skills, so the bundle
code and its tests are removed. agent.run skills now travel with the
skills of the task, and required_capabilities moves to field 54.
Bring in #4547 (fixed inputs of DAG tools with params), #4548 (limits
of the tool catalog and the tool results) and #4549 (the untrusted
step key and config block), with the other main commits since the
last merge. The reviewed versions on main replace the carved code;
the agent.run, MCP, skills, AI block and agent-DAG trust default
parts of this branch stay and build against them.
Main's reviewed code wins where it and the target differ: the chat
tool input check of #4316 and #4319 replaces the older check of the
moved tool catalog, the specs 093 and 095 of #4313 replace the
endpoint drafts, and the end-to-end specs that main rewrote on its
new fixtures are taken from main.
The hint that sent chat steps to an endpoint of the AI page is
dropped, since the specs no longer have endpoints. Agent track fields
of HeartbeatRequest move to free numbers beside main's new field.
Brings in #4267 and #4269 with their review fixes. Main's version wins
in the files of those PRs. The delete of a skill, which #4269 moved to
a later slice, stays with its reviewed code, and the worker capability
checks are combined with main's connection token checks.
Brings in #4213, #4214, #4215, #4216 and #4239 with their review fixes.
Main's version wins in the files of those PRs. The parts that the PRs
moved to later slices stay: the work directory handoff, the folder
pass-through, the process watcher and the skill writes.
With projects on, a library DAG that ran in a project kept its runs
and DAG state under its name in the project's stores, so a project DAG
of the same name listed its runs and read its scope dag state. Each
project now opens a library store set of its own, in library/ of its
state directory or .projects/<name>.library/ under a path set apart.
A command given a library DAG file reads and records its runs there.
A dag.run child stays under its caller's run and keeps the state that
a library DAG's name namespaces in the library. Queueing a library DAG
and sending its runs to workers are refused, since no scheduler reads
library queues and a dispatch task does not carry the library. With
projects off, nothing changes.
Runs on workers failed before any step when they were bound to a node
or had a step with nodes, and a narrowed run was forced onto the Dagu
host. Workers now read nodes, node secrets, and trusted host keys from
the coordinator through ResolveNodes and check host keys themselves. A
narrowed run carries its node list to a worker in Task.target_nodes.
Take main with #4164, #4202, #4204 and #4205. The review fixes of
each PR win over the carved content, and the content of later slices
stays: the recent runs and the service strip of the list, the egress
credential, the restricted user of untrusted steps and the skill
read and write paths.
Bring in the reworked DAG activity of #4041, the fixes of #4042, peer
tokens, workflow tests and node inventories. The list UI still reads the
old activity of GET /dags; it moves to GET /dag-list-activity next.
A step with nodes now matches its selector against the project's
inventory when it starts, and runs one child bound to each enabled
node, in name order, through the parallel executor. A dag.run child
must declare node: required. A command step runs alone in each child,
so its timeout and retry policy apply per node rather than to the
whole fan-out.
max_concurrent and keep_going decide which nodes start: without
keep_going, no node starts after one fails. The aggregate adds the
node to each entry, lists disabled and unstarted nodes, and drops the
outputs when it would exceed max_output_size. References in the
selector must resolve to one label key or value, so a run value cannot
add, negate, or widen terms.
A bound child runs on its parent's host, even when the default
execution mode is distributed, and keeps its node and target through
retries. The node is not bound into the child over SSH yet, so a bound
child that runs commands fails before any step, and commands never
reach the Dagu host. Steps with nodes on workers, and node targeting
in workspace DAGs, fail before any step starts.
This branch holds every change of SCcagg5's stack (#3720 to #3835) in
its latest version, with the feature refusals of #3739 reverted. It is
the source for the feature-sized PRs and is never merged itself.
A push-back stamps every reset step, including steps that never ran, so
they can read the feedback from their environment. Executors treated the
same stamp as a request to revise earlier work.
A harness step got someone else's feedback appended to its prompt as an
instruction. A chat step lost its prompt entirely, because a push-back
resends only the feedback into a conversation it assumes already exists.
Executors now receive the context only when the step produced stdout
before. The environment is unchanged. A second reset before the step
reruns no longer loses that previous stdout path.
Closes#3614