mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2699] [CLOSED] serve: use active template instructions for recovery #4220
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4220
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2699
Author: @allowq
Created: 10/15/2026
Status: ❌ Closed
Base:
main← Head:pr/active-template-recovery📝 Commits (1)
dc061a6serve: use active template instructions for recovery📊 Changes
2 files changed (+147 additions, -3 deletions)
View changed files
📝
serve/server.py(+29 -3)➕
serve/test_active_template_sentence.py(+118 -0)📄 Description
Issue: Loop recovery misses instructions from a custom template
Follow up #728. Enabled reasoning-loop recovery searches for a bundled
instruction even when the active template emits a different instruction.
PR: Resolve recovery instructions from the active template
Resolve executed high/low instructions per Service and replace only the first
system instruction. Preserve generated IDs and bundled fallback.
The existing recovery option remains disabled by default.
Validation:
serve.test_active_template_sentence; executed branches, computedinstructions, Service isolation, fallback and recovery.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.