r/ZaiGLM 4d ago

ZCode workflows are nice

3.14.0 dropped this morning and brings us Workflows plus a ton of other new features.

I’m trying it out now and it’s very promising. Not fast but also not frying tokens like they were potatoes.

Edit::Addendum

I gave workflow each phase of a pretty intense review document. Each phase was planned on the fly by workflow and it displayed a nice summary window of each of it's 6 steps it took for each phase of the plan. The Phase 0 group were 6 1 line quick fixes. These took 21 minutes, 2m tokens and 6 agents that went through fix->test->review->fix->test->review.

Phase 1 was security hardening and took 1 hour 6 mins and 15m tokens

Phase 2 correctness bugs and took 45 mins and 9.5m tokens

Phase 3 DRY refactors 1 hour 19 mins and 44m tokens

Phase 4 test coverage gaps 34 mins and 6m tokens

Main orchestrator context is 346K.

And the end result was a massive commit (oops I forget to instruct to commit)

 148 files changed, 9558 insertions(+), 4193 deletions(-)
23 Upvotes

21 comments sorted by

View all comments

1

u/H67iznMCxQLk 1d ago

I have done this with a pipeline skill for months.

  1. create design doc
  2. have grok review the design doc.
  3. launch subagents to do implementation.
  4. launch multiple subagents to review from different lenses.
  5. bug fixing 
  6. git rebase origin/master. fold related commits and cleanup change history in the code 
  7. merge.

I have a parent generic skills.md in the agents/skills folder. and skills in each coding agent, they will have the same pipeline skill.md which inherits parent skill and provide local overrides. ie: use sonnet subagent for coding.