Commit b306152
committed
feat: implement configurable execution pipeline with Step protocol
- Add pipeline types: Step, BaseStep, StepResult, PipelineContext, PipelineTrace,
ExecutionStrategy, StrategyInfo, PipelineEngine
- Extract 11 hardcoded executor steps into BuiltinStep classes
- Add build_standard/internal/testing/performance_strategy() factories
- Add Executor.strategy parameter (backward compatible, optional)
- Add call_with_trace() / call_async_with_trace() methods
- Add register_strategy(), list_strategies(), describe_pipeline() introspection
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: tercel <tercel.yi@gmail.com>1 parent 2bdc933 commit b306152
8 files changed
Lines changed: 2290 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
183 | 201 | | |
184 | 202 | | |
185 | 203 | | |
| |||
511 | 529 | | |
512 | 530 | | |
513 | 531 | | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
514 | 547 | | |
515 | 548 | | |
516 | 549 | | |
| |||
0 commit comments