Skip to content

Fold SafeFeedback into Feedback delay options - #166

Merged
jamestjsp merged 1 commit into
mainfrom
claude/fold-safefeedback-into-feedback
Jul 31, 2026
Merged

Fold SafeFeedback into Feedback delay options#166
jamestjsp merged 1 commit into
mainfrom
claude/fold-safefeedback-into-feedback

Conversation

@jamestjsp

Copy link
Copy Markdown
Owner

Summary

  • Feedback is now the single closed-loop entry point; SafeFeedback is removed
  • Delay handling is a visible policy option instead of a sibling function: exact by default (internal LFT delays when the topology allows), WithApproximatedDelays() / WithPadeOrder(n) / WithThiranOrder(n) for a delay-free rational model
  • Variadic options keep existing Feedback call sites source-compatible; safe_feedback.go renamed to feedback_delay.go; README, interface diagram, mutation audit, and generated SVG updated

Testing

  • go fix ./... and go vet ./... clean
  • Full suite: 1563 tests pass (go test -count=1), including migrated TestFeedbackApprox_* behavior tests asserting the same error sentinels (ErrFractionalDelay, ErrSingularTransform, ErrDomainMismatch) and Padé/Thiran/absorb semantics as before

🤖 Generated with Claude Code

Feedback is now the single closed-loop entry point. The delay policy
is a visible option instead of a sibling function: exact by default
(internal LFT delays), WithApproximatedDelays/WithPadeOrder/
WithThiranOrder for a delay-free rational model. Variadic options
keep existing Feedback callers source-compatible.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jamestjsp
jamestjsp merged commit 63ae856 into main Jul 31, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant