Commit Graph
113 Commits
Author SHA1 Message Date
Yota Hamada 6fb535f871 Merge main after the skill slices
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.
2026-12-03 23:20:35 +09:00
Yota HamadaandSCcagg5 1e9656a627 Send the skills of a DAG to the worker (#4574)
Co-authored-by: SCcagg5 <sccagg5@gmail.com>
2026-12-03 23:09:41 +09:00
Yota HamadaandSCcagg5 ecf3b9958a Record the tools and skills that a step offered (#4572)
Co-authored-by: SCcagg5 <sccagg5@gmail.com>
2026-12-03 22:52:17 +09:00
Yota Hamada a07ec7a00f Merge main after tool limits and untrusted key
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.
2026-12-03 19:09:08 +09:00
Ryo KusnadiandYota Hamada 584a2962d2 Give a failed repeat check's output to the next harness attempt (#4383)
Signed-off-by: Ryo Kusnadi <ryokusnadi@gmail.com>
Co-authored-by: Yota Hamada <yohamta@gmail.com>
2026-12-03 16:52:40 +09:00
Yota Hamada 3980c9e2e0 Merge main after the model connection specs
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.
2026-12-01 23:46:18 +09:00
Yota Hamada a0d928bd55 Record connections on runs and skip their failures (C31) (#4340) 2026-11-29 00:26:28 +09:00
Yota Hamada 23b53be781 Merge main after R30 and the skill write PR
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.
2026-11-27 20:08:53 +09:00
Yota Hamada f8e4ce8e7e Use connections in mcp.call (C14) (#4271) 2026-11-27 19:41:19 +09:00
Yota Hamada 3393a6fa7a Merge main after R34 and four agent-track PRs
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.
2026-11-27 16:47:17 +09:00
Yota Hamada 095758dc5c Run bound children on worker nodes (N27 part 2) (#4210) 2026-11-27 12:03:34 +09:00
Yota Hamada c1f7063b1d Keep library DAG runs apart in each project (P9 part 2) (#4227)
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.
2026-11-27 10:45:42 +09:00
Yota Hamada 5a00fcb06f Run node steps and bound runs on workers (N27 part 1) (#4211)
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.
2026-11-26 18:05:47 +09:00
Yota Hamada 8202455592 Merge main after four list and agent-track PRs
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.
2026-11-26 16:31:54 +09:00
Yota HamadaandSCcagg5 879f9fb9e3 Route untrusted steps through one runtime path (#4205)
Co-authored-by: SCcagg5 <sccagg5@gmail.com>
2026-11-26 16:17:28 +09:00
Yota Hamada 33cd4ec660 Retry only the nodes that did not succeed (N24) (#4176) 2026-11-25 22:13:39 +09:00
Yota Hamada 39e2e4b2a0 Merge main after four gate and toolbar PRs 2026-11-25 16:19:42 +09:00
Yota Hamada dbbab04681 Narrow a run to listed nodes (N20 part 1) (#4148) 2026-11-25 12:45:32 +09:00
Yota Hamada 03dcd3095b Merge main into restack/target
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.
2026-11-23 13:59:53 +09:00
Yota Hamada ab16bc115b Publish every named output from a mock (#4055) 2026-11-23 12:58:18 +09:00
Yota Hamada 43f7f58174 Merge main into restack/target
Bring in the review fixes of #4020-#4023 and RFC 012's node binding.
2026-11-22 22:24:53 +09:00
Yota Hamada a1c0136050 Run node steps as one bound child per node (N11) (#3946)
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.
2026-11-22 18:43:11 +09:00
Yota Hamada 28339fa62e Squash the agent stack onto main as the restack target
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.
2026-11-21 18:26:44 +09:00
Yota Hamada e6be8cf8ce Resolve and record run dates, and read them as ${dates.NAME} (#3867) 2026-11-14 00:52:34 +09:00
Yota Hamada 540c33840e Carry the schedule slot into sub-DAGs and reruns (#3729) 2026-11-12 04:04:39 +09:00
Yota Hamada bd5122bf65 Add --scheduled-at to start a run for a schedule slot (#3719) 2026-11-12 00:15:45 +09:00
Yumin Kim 304a340ae4 Record the trigger type of directly dispatched runs (#3649) 2026-11-07 23:57:25 +09:00
Yota Hamada 00ac8a7d53 Keep push-back feedback out of first-run prompts (#3619)
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
2026-11-06 15:36:02 +09:00
Yota Hamada 967e9bd137 Count sub-runs' and foreach bodies' model usage toward their step (#3332) 2026-10-26 16:40:39 +09:00
Yota Hamada 02a0bb1239 fix(runtime): decode a non-UTF-8 stderr tail with the console code page (#3019) 2026-10-05 20:48:23 +09:00
2976f7c950 feat: publish parallel sub-DAG outputs on the step outputs channel (#2787)
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Yota Hamada <yohamta@gmail.com>
2026-09-21 20:10:48 +09:00
Louis DeconinckandYota Hamada 4a693ad013 feat: add opt-in pass_env for sub-DAG runs (#2783)
Co-authored-by: Yota Hamada <yohamta@gmail.com>
2026-09-19 20:03:43 +09:00
b90ce4c652 feat: add retry --bypass-preconditions flag (#2785)
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Yota Hamada <yohamta@gmail.com>
2026-09-19 12:28:22 +09:00
Yota Hamada 48e63aa525 fix: omit inherited SMTP from run snapshots (#2773) 2026-09-15 17:41:49 +09:00
Bruno Hammerschmidt 9e5f3fb540 Fix/named child file dependencies (#2657) 2026-08-30 10:53:06 +09:00
Yota Hamada 793f6e0ab6 fix: align file dependency workspaces across execution modes (#2609) 2026-08-23 20:39:09 +09:00
Yota Hamada 1672ba13d3 fix: prevent scheduler memory growth during worker outages (#2607) 2026-08-23 17:37:33 +09:00
Yota Hamada dc0fc26815 feat: transfer step file dependencies to workers (#2601) 2026-08-22 00:32:14 +09:00
Kriyanshi a898297baf Feat/retry step with downstream (#2582) 2026-08-20 19:12:17 +09:00
Yota Hamada 1d23497e4b feat: add managed OpenCode sessions (#2570) 2026-08-16 16:32:29 +09:00
Yota Hamada 585a6f008d refactor: simplify control-plane persistence wiring (#2559) 2026-08-14 14:23:40 +09:00
Yota Hamada 8a6fbd363b refactor: separate DAG-run repository and storage (#2554) 2026-08-13 00:03:21 +09:00
Yota Hamada 0dc5df4297 refactor: simplify DAG definition persistence (#2552) 2026-08-12 00:03:09 +09:00
Yota Hamada a208ba8184 refactor: simplify internal package ownership (#2539) 2026-08-09 10:31:46 +09:00
Yota Hamada 739cf37682 refactor: separate workflow IR and domain contracts (#2537) 2026-08-08 17:25:04 +09:00
Yota Hamada c01c18e234 refactor: simplify workflow log output (#2512) 2026-08-06 22:37:18 +09:00
Yota Hamada 8f715594fd refactor(exec): remove unreachable declarations from internal/core/exec (#2510) 2026-08-06 21:41:59 +09:00
Yota Hamada 0e4f321301 feat: expose step status lists in notification templates (#2499) 2026-08-05 10:21:47 +09:00
Yota Hamada 8f1f566356 fix: align v2 distribution paths (#2464) 2026-07-31 17:10:54 +09:00
GiebischandYota Hamada cba1426b1c feat: support variable substitution in worker_selector keys and values (#2417)
Co-authored-by: Yota Hamada <yohamta@gmail.com>
2026-07-30 20:45:22 +09:00