Skip to content

2.2.0: prompt-builder settings for prompt mode - #31

Merged
agr77one merged 1 commit into
mainfrom
feat/2.2.0-prompt-builder
Jul 9, 2026
Merged

2.2.0: prompt-builder settings for prompt mode#31
agr77one merged 1 commit into
mainfrom
feat/2.2.0-prompt-builder

Conversation

@agr77one

@agr77one agr77one commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • add bounded prompt-builder settings for built-in prompt: mode while keeping the Claude Code default byte-identical
  • add generic_chat Markdown adapter with target-aware validation, deterministic repair/fallback, and dashboard preview
  • bump release metadata to 2.2.0 and document the prompt-builder runbook/results

Validation

  • python -m ruff check scripts tests tools
  • python -m pytest tests -q (345 passed)
  • bundled Node --check scripts/ui/web/app.js
  • python -m py_compile scripts\ffp_prompt_builder.py scripts\ffp_config.py scripts\ffp_llm_client.py scripts\grammar_fix.py scripts\ffp_daemon.py tools\prompt_builder_eval.py
  • python tools\prompt_builder_eval.py -> claude_code 2/2, generic_chat 10/10
  • live FLM eval on qwen3.5:4b -> claude_code 2/2, generic_chat 10/10 (data\benchmarks\prompt_builder_eval_flm_20260709.json, local ignored artifact)

@agr77one
agr77one merged commit 25b8794 into main Jul 9, 2026
5 checks passed
@agr77one
agr77one deleted the feat/2.2.0-prompt-builder branch July 9, 2026 19:28

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 88c5f3dd29

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/ffp_llm_client.py
Comment on lines +182 to 183
if has_target_structure(out, settings):
return False

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Run anti-echo checks on structured generic prompts

When generic_chat is selected, a local model can return the original request merely wrapped in the required Markdown headings (for example ## Task/## Context/## Constraints/## Output). This early return treats that as non-weak before the word/line overlap checks run, and the later contract gate only validates section presence, so call_flm emits a near-verbatim echo instead of retrying or falling back.

Useful? React with 👍 / 👎.

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