Skip to content

Stop article sections from rewriting the whole brief in comment cadence - #52

Merged
telivity-otaip merged 1 commit into
mainfrom
feature/article-section-focus
Aug 1, 2026
Merged

Stop article sections from rewriting the whole brief in comment cadence#52
telivity-otaip merged 1 commit into
mainfrom
feature/article-section-focus

Conversation

@telivity-otaip

Copy link
Copy Markdown
Contributor

Summary

  • Scope each article section to its own bullet (plus other-section titles), so section 1 cannot dump the full brief and later sections cannot paraphrase it.
  • Drop paraphrased restated section drafts before stitch; strip LinkedIn export chrome from article exemplar clips so the word budget is real prose.
  • Measure article-only cadence (CSS-normalized) for the article style card; bare-base eval arm stays in parity. README documents the behavior.

Test plan

  • ruff check on touched modules
  • pytest -q tests/test_write_article.py tests/test_draft_trim.py tests/test_style_profile.py tests/test_eval_write_article.py (65 passed)
  • Contoso coverage: section prompt has no full-brief dump; paraphrase restates drop; exemplar chrome stripped; article cadence ignores comment slop; control arm lists other sections

Made with Cursor

Each section was handed every bullet, so the first call dumped the article and
later ones paraphrased it; the style card and exemplar clips were also dominated
by short comments and LinkedIn export chrome, which pushed longform toward
one-line slop. Scope each section to its own bullet, drop paraphrased restates,
measure article-only cadence, and spend the exemplar budget on prose.

Co-authored-by: Cursor <cursoragent@cursor.com>
@telivity-otaip
telivity-otaip merged commit f0fc7a3 into main Aug 1, 2026
5 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