92% fewer subshell forks (combined with v9.4.1)
Two rounds of runtime optimization cut orchestrate.sh from ~900 subshell forks per workflow to ~70.
Round 2 (this release)
- 26
echo|grep→ bash builtins (nocasematch,[[ =~ ]], word boundary) - 22
$(cat)→$(<)with safety guards $(date +%s)caching in 5 hot functions- 124 separator literals → 5 box-drawing variables
- Dead code removal:
archive_usage_session()+cost-archive
Review-driven fixes
3-agent review fleet (correctness, security, architecture) caught and fixed:
- Missing file guard on
generate_factory_scenarios() - Newline regression in keyword matching
- Redundant
nocasematchblocks merged - Subshell safety for
_classify_smoke_error - Timing accuracy for
start_time_msmetrics
Test results
- 92/92 test suites pass
- 203/203 individual tests pass
- 82/82 pre-push checks pass
Full changelog: https://github.com/nyldn/claude-octopus/blob/main/CHANGELOG.md