Skip to content

fix: final review pass — plain-text part, greeting theme, KO chrome, test gaps - #33

Merged
bits-bytes-nn merged 1 commit into
mainfrom
fix/final-review-2026-11-01
Nov 1, 2026
Merged

bits-bytes-nn merged 1 commit into
mainfrom
fix/final-review-2026-11-01

Conversation

@bits-bytes-nn

Copy link
Copy Markdown
Owner

Final adversarial pass (three reviewers: pipeline correctness, delivered email, structure/tests/docs). No MAJOR in pipeline correctness; MAJORs fixed: text/plain part broke code and tables, greeting invented a shared theme; test gaps fixed: the real shortening prompt is now formatted in a test and the golden test snapshots the plain part. Verified with ruff, mypy, pytest + coverage ratchet, and a local prod run sent only to the owner (greeting no longer forces a theme; KO alt texts and footer; tables and code readable in the plain part). See the commit message for the full list.

…test gaps

- The text/plain part collapsed every whitespace run, breaking code
  indentation and running table cells together; code blocks are kept
  verbatim, summary table cells are separated and list items marked. The
  golden test now snapshots the plain part too.
- Both test issues' greetings grouped all three articles under "AI
  agents" though one was not; a shared theme must now hold for every
  article, and the greeting may not reuse a figure from a card lede.
- KO issues get Korean logo alt text, a per-language footer
  (`footer_title: {ko, en}`) and Korean image alt text; lists must be
  real <ul>/<ol>; counted figures count as computed ones.
- Shortening is one attempt: retries could push a run past the Batch
  attempt timeout. The greeter is built inside its failure guard.
- A test formats the real shortening prompt for KO and EN; EN length
  comes from EN_LENGTH_BAND; shared helpers lose their underscore; a dead
  header field, an unused architecture allowance and f-string logging
  (now ruff G004) are gone; CI runs on every PR, stacked ones included.
@bits-bytes-nn
bits-bytes-nn merged commit b8925cc into main Nov 1, 2026
3 checks passed
@bits-bytes-nn
bits-bytes-nn deleted the fix/final-review-2026-11-01 branch November 1, 2026 07:05
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