Skip to content

feat: implement refinement state reset and enhance routing logic in research workflow - #38

Merged
JesseLiberty merged 1 commit into
mainfrom
fix-revision-loop
Sep 12, 2026
Merged

feat: implement refinement state reset and enhance routing logic in research workflow#38
JesseLiberty merged 1 commit into
mainfrom
fix-revision-loop

Conversation

@JesseLiberty

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings September 12, 2026 11:36
@JesseLiberty
JesseLiberty merged commit 5a92aa9 into main Sep 12, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A moderate follow-up routing defect and a documentation mismatch remain unresolved.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR resets follow-up workflow state, improves routing behavior, logs research queries, and adds test coverage.

Changes:

  • Clears stale draft, findings, review, and revision state.
  • Logs active research queries.
  • Updates reset and routing tests.
File summaries
File Summary
ResearchState.cs Implements follow-up reset. Moderate (3 votes): routing can overwrite the user’s follow-up before authoring. Nit (2 votes): follow-up documentation still describes the old behavior.
ResearcherAgent.cs Logs research queries.
BlogWriter.Tests/ResearchStateTests.cs Verifies reset behavior.
BlogWriter.Tests/BloggerAgentRoutingTests.cs Verifies researcher routing.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread ResearchState.cs
Comment on lines +102 to +103
Draft = "";
ResearchFindings.Clear();
Comment thread ResearchState.cs
Comment on lines +81 to +83
/// Prepares a user-requested follow-up as a fresh research cycle. Any prior
/// draft or completed research is discarded so the blogger re-enters the
/// researcher stage and the refined query becomes the new source of truth.
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.

2 participants