kin: auto-commit after pipeline
This commit is contained in:
parent
0ccd451b4b
commit
04cbbc563b
7 changed files with 324 additions and 7 deletions
|
|
@ -52,8 +52,8 @@ You receive:
|
|||
|
||||
Set `completion_mode` based on the following rules (in priority order):
|
||||
|
||||
1. If `project.execution_mode` is set — use it as the default.
|
||||
2. Override by `route_type`:
|
||||
1. If `project.execution_mode` is set — use it. Do NOT override with `route_type`.
|
||||
2. If `project.execution_mode` is NOT set, use `route_type` as heuristic:
|
||||
- `debug`, `hotfix`, `feature` → `"auto_complete"` (only if the last pipeline step is `tester` or `reviewer`)
|
||||
- `research`, `new_project`, `security_audit` → `"review"`
|
||||
3. Fallback: `"review"`
|
||||
|
|
|
|||
|
|
@ -1472,7 +1472,7 @@ def run_pipeline(
|
|||
pass
|
||||
else:
|
||||
# Review mode: wait for manual approval
|
||||
models.update_task(conn, task_id, status="review", execution_mode="review")
|
||||
models.update_task(conn, task_id, status="review")
|
||||
|
||||
# Run post-pipeline hooks (failures don't affect pipeline status)
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue