Skip to content

Restore article size - #18

Merged
JesseLiberty merged 1 commit into
mainfrom
Restore-Article-Size
Aug 30, 2026
Merged

Restore article size#18
JesseLiberty merged 1 commit into
mainfrom
Restore-Article-Size

Conversation

@JesseLiberty

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings August 30, 2026 14:59
@JesseLiberty
JesseLiberty merged commit d6ec314 into main Aug 30, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The revision cap is now inconsistent between ResearchState.MaxRevisions (2) and the prompt text (still 4), which should be aligned before merging.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR adjusts the workflow to generate longer blog posts and increases the token budget to accommodate the larger outputs, while also tightening the maximum revision loop cap.

Changes:

  • Increase target post length from 500–1000 words to 1000–2000 words in author/reviewer prompts.
  • Increase the default cumulative token cap (MAX_TOTAL_TOKENS) from 20k to 40k.
  • Reduce the workflow revision cap (ResearchState.MaxRevisions) from 4 to 2.
File summaries
File Description
ResearchState.cs Lowers the maximum allowed revision cycles by updating MaxRevisions.
Prompts.cs Updates author and reviewer prompt text to target longer posts (1000–2000 words).
Program.cs Raises the default total token budget to support longer generation runs.
Review details
  • Files reviewed: 3/3 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 6 to +7
/// <summary>Hard upper bound on author/review revision cycles. Guarantees the workflow terminates.</summary>
public const int MaxRevisions = 4;
public const int MaxRevisions = 2;
Comment thread Program.cs
@@ -26,7 +26,7 @@ string GetRequired(string key) =>
// Overridable via user-secrets/env vars; these defaults match the original behaviour.
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