Skip to content

fix: transparent static template framing for machine consumption#36

Merged
adaamko merged 2 commits into
KRLabsOrg:mainfrom
lesbass:fix/issue-35-static-template-machine-consumption
Jul 13, 2026
Merged

fix: transparent static template framing for machine consumption#36
adaamko merged 2 commits into
KRLabsOrg:mainfrom
lesbass:fix/issue-35-static-template-machine-consumption

Conversation

@lesbass

@lesbass lesbass commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Rewords StaticTemplate.DEFAULT_TEMPLATE to make explicit that static mode output is an unordered list of verbatim excerpts with no synthesis or ranking implied. The previous wording ("Based on the available documents, here are the key findings") implied a composed answer, which is misleading for machine consumers.

Changes

  • packages/core/verbatim_core/templates/static.py: Updated DEFAULT_TEMPLATE and create_simple() default intro to use transparent, machine-friendly language.
  • docs/guide/verbatim-core.md: Documented static mode as the recommended choice for pipeline and tool-chain use.

Verification

  • All 94 tests pass (pytest tests/ -v)
  • ruff check passes with no issues

Rights & sign-off (required)

  • I certify that I have the right to submit this code and that it may be
    distributed under the repository's MIT license
    (see CONTRIBUTING).

Closes #35

lesbass and others added 2 commits July 3, 2026 06:04
Reword DEFAULT_TEMPLATE to clarify output is an unordered list of
verbatim excerpts with no synthesis or ranking implied. Update
create_simple() default intro consistently. Document static mode
as recommended for pipeline/tool-chain use.

Closes KRLabsOrg#35
Co-Authored-By: Paperclip <noreply@paperclip.ing>
@lesbass

lesbass commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

Added a small docs readability fix to re-trigger CI. The workflow runs are pending approval from a repo admin — could you approve them? The contribution-rights checkbox is checked in the PR body. Thanks!

@adaamko adaamko 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.

Reviewed against #35's acceptance criteria: the default template and create_simple() intro now state plainly that output is an unordered list of verbatim excerpts, and the docs recommend static mode for pipeline use — both criteria met. Verified the diff is minimal and self-contained (no dependency or unrelated changes), and CI is green across 3.10–3.12 with lint and pip-audit. Nice first contribution, thanks @lesbass!

@adaamko adaamko merged commit 6e0a0e9 into KRLabsOrg:main Jul 13, 2026
7 checks passed
@lesbass lesbass deleted the fix/issue-35-static-template-machine-consumption branch July 13, 2026 09:14
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.

Static template: transparent 'unordered verbatim snippets' framing for machine consumption

2 participants