uv run ruff check . currently fails with two E501 errors in src/video_analyse/synthesis.py — the repo fails the lint gate that CONTRACTS.md 1.6 itself mandates ("uv run ruff check . must pass"). This is the first thing anyone running the documented gate sees.
Problem
src/video_analyse/synthesis.py:345 — E501, 309 > 100 (prompt line inside an implicitly-concatenated string literal)
Split the offending string literals across lines with implicit concatenation inside parentheses. The rendered prompt text must stay byte-identical — the strings are part of the synthesis prompt, so their content is behaviour, not formatting.
Acceptance
uv run ruff check . passes with zero errors
uv run pytest tests/ -q stays green (331 passed, 2 skipped)
Concatenated prompt text unchanged (a snapshot/prompt-content test in tests/test_synthesis.py pins it, add one if none exists)
Notes
Tiny and self-contained; safe for an AFK agent.
Do not reformat PLAN.md/CONTRACTS.md (per CONTRACTS.md 1.6).
## Summary
`uv run ruff check .` currently fails with two E501 errors in `src/video_analyse/synthesis.py` — the repo fails the lint gate that CONTRACTS.md 1.6 itself mandates ("`uv run ruff check .` must pass"). This is the first thing anyone running the documented gate sees.
## Problem
- `src/video_analyse/synthesis.py:345` — E501, 309 > 100 (prompt line inside an implicitly-concatenated string literal)
- `src/video_analyse/synthesis.py:372` — E501, 121 > 100 (same pattern)
## Fix
Split the offending string literals across lines with implicit concatenation inside parentheses. **The rendered prompt text must stay byte-identical** — the strings are part of the synthesis prompt, so their content is behaviour, not formatting.
## Acceptance
- [ ] `uv run ruff check .` passes with zero errors
- [ ] `uv run pytest tests/ -q` stays green (331 passed, 2 skipped)
- [ ] Concatenated prompt text unchanged (a snapshot/prompt-content test in `tests/test_synthesis.py` pins it, add one if none exists)
## Notes
- Tiny and self-contained; safe for an AFK agent.
- Do not reformat `PLAN.md`/`CONTRACTS.md` (per CONTRACTS.md 1.6).
Landed on main in 593a29e: both E501 lines split via implicit concatenation, prompt text verified byte-identical (sha256 pre/post) and now pinned by a snapshot test so prompt drift fails the suite. Gates 3/3 green (lint, format, 332 passed at merge).
Landed on main in 593a29e: both E501 lines split via implicit concatenation, prompt text verified byte-identical (sha256 pre/post) and now pinned by a snapshot test so prompt drift fails the suite. Gates 3/3 green (lint, format, 332 passed at merge).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
uv run ruff check .currently fails with two E501 errors insrc/video_analyse/synthesis.py— the repo fails the lint gate that CONTRACTS.md 1.6 itself mandates ("uv run ruff check .must pass"). This is the first thing anyone running the documented gate sees.Problem
src/video_analyse/synthesis.py:345— E501, 309 > 100 (prompt line inside an implicitly-concatenated string literal)src/video_analyse/synthesis.py:372— E501, 121 > 100 (same pattern)Fix
Split the offending string literals across lines with implicit concatenation inside parentheses. The rendered prompt text must stay byte-identical — the strings are part of the synthesis prompt, so their content is behaviour, not formatting.
Acceptance
uv run ruff check .passes with zero errorsuv run pytest tests/ -qstays green (331 passed, 2 skipped)tests/test_synthesis.pypins it, add one if none exists)Notes
PLAN.md/CONTRACTS.md(per CONTRACTS.md 1.6).Landed on main in
593a29e: both E501 lines split via implicit concatenation, prompt text verified byte-identical (sha256 pre/post) and now pinned by a snapshot test so prompt drift fails the suite. Gates 3/3 green (lint, format, 332 passed at merge).