Harden writing pipeline: warning vs error distinction, flexible file structure#14
Open
CMander02 wants to merge 1 commit intoziyan-todo-4from
Open
Harden writing pipeline: warning vs error distinction, flexible file structure#14CMander02 wants to merge 1 commit intoziyan-todo-4from
CMander02 wants to merge 1 commit intoziyan-todo-4from
Conversation
…structure - sections/ directory no longer required (single-file main.tex is valid) - build_log.txt missing with PDF present is now a warning, not a blocking error - citation_verification.json and self_review.json missing are now warnings - Manager separates [warning] from errors: warnings display but don't trigger repair - Prompt updated: explicit .bib guidance, JSON schema for verification artifacts - 5 new tests, 2 existing tests updated for warning/error distinction Addresses TODO 7 (V7-1 through V7-4) from vulnerability analysis. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sections/directory no longer required — single-filemain.texis validbuild_log.txtmissing with PDF present is now a warning, not a blocking errorcitation_verification.jsonandself_review.jsonmissing are now warnings[warning]from errors: warnings display but don't trigger repair.bibguidance and JSON schema for verification artifactsContext
Example run produced a single-file
main.texwithoutsections/, used inline\begin{thebibliography}instead of.bib, and lackedbuild_log.txt. Validation triggered unnecessary repair cycles for issues that weren't real blockers.Depends on #13.
Test plan
tests/test_writing_pipeline.py— all passingtest_stage07_validation_passes_with_expected_outputsstill passes🤖 Generated with Claude Code