E501 Line too long (124 > 100)
   --> docs/hel-892/concat-document-evidence/build_definition.py:283:76
    |
281 |             "布尔",
282 |             "true/false；视频元数据分支",
283 |             "保存true在视频元数据条件分支写入信息；独立首帧workflow PNG由VHS_MetadataImage默认true控制。两者不是同一开关。",
    |                                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^
284 |         ),
285 |         (
    |

E501 Line too long (138 > 100)
   --> docs/hel-892/concat-document-evidence/build_definition.py:436:72
    |
434 | … 行。"
435 | …
436 | … 于无影响，身份/次序/动态选项未知。位置数组只按本版schema解释，不是最终prompt证明。",
    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
437 | …
438 | …
    |

F404 `from __future__` imports must occur at the beginning of the file
 --> docs/hel-892/concat-document-evidence/recompute.py:5:1
  |
3 | 'packages.'
4 |
5 | from __future__ import annotations
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 | import hashlib
  |

E402 Module level import not at top of file
 --> docs/hel-892/concat-document-evidence/recompute.py:5:1
  |
3 | 'packages.'
4 |
5 | from __future__ import annotations
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 | import hashlib
  |
help: Move module level imports to top of file

E402 Module level import not at top of file
 --> docs/hel-892/concat-document-evidence/recompute.py:7:1
  |
5 | from __future__ import annotations
6 |
7 | import hashlib
  | ^^^^^^^^^^^^^^
8 | import io
9 | import json
  |
help: Move module level imports to top of file

E402 Module level import not at top of file
  --> docs/hel-892/concat-document-evidence/recompute.py:8:1
   |
 7 | import hashlib
 8 | import io
   | ^^^^^^^^^
 9 | import json
10 | import os
   |
help: Move module level imports to top of file

E402 Module level import not at top of file
  --> docs/hel-892/concat-document-evidence/recompute.py:9:1
   |
 7 | import hashlib
 8 | import io
 9 | import json
   | ^^^^^^^^^^^
10 | import os
11 | import sqlite3
   |
help: Move module level imports to top of file

E402 Module level import not at top of file
  --> docs/hel-892/concat-document-evidence/recompute.py:10:1
   |
 8 | import io
 9 | import json
10 | import os
   | ^^^^^^^^^
11 | import sqlite3
12 | import subprocess
   |
help: Move module level imports to top of file

E402 Module level import not at top of file
  --> docs/hel-892/concat-document-evidence/recompute.py:11:1
   |
 9 | import json
10 | import os
11 | import sqlite3
   | ^^^^^^^^^^^^^^
12 | import subprocess
13 | import sys
   |
help: Move module level imports to top of file

E402 Module level import not at top of file
  --> docs/hel-892/concat-document-evidence/recompute.py:12:1
   |
10 | import os
11 | import sqlite3
12 | import subprocess
   | ^^^^^^^^^^^^^^^^^
13 | import sys
14 | import tarfile
   |
help: Move module level imports to top of file

E402 Module level import not at top of file
  --> docs/hel-892/concat-document-evidence/recompute.py:13:1
   |
11 | import sqlite3
12 | import subprocess
13 | import sys
   | ^^^^^^^^^^
14 | import tarfile
15 | import tempfile
   |
help: Move module level imports to top of file

E402 Module level import not at top of file
  --> docs/hel-892/concat-document-evidence/recompute.py:14:1
   |
12 | import subprocess
13 | import sys
14 | import tarfile
   | ^^^^^^^^^^^^^^
15 | import tempfile
16 | import zipfile
   |
help: Move module level imports to top of file

E402 Module level import not at top of file
  --> docs/hel-892/concat-document-evidence/recompute.py:15:1
   |
13 | import sys
14 | import tarfile
15 | import tempfile
   | ^^^^^^^^^^^^^^^
16 | import zipfile
17 | from pathlib import Path
   |
help: Move module level imports to top of file

E402 Module level import not at top of file
  --> docs/hel-892/concat-document-evidence/recompute.py:16:1
   |
14 | import tarfile
15 | import tempfile
16 | import zipfile
   | ^^^^^^^^^^^^^^
17 | from pathlib import Path
   |
help: Move module level imports to top of file

E402 Module level import not at top of file
  --> docs/hel-892/concat-document-evidence/recompute.py:17:1
   |
15 | import tempfile
16 | import zipfile
17 | from pathlib import Path
   | ^^^^^^^^^^^^^^^^^^^^^^^^
18 |
19 | from build_definition import OUT, PATHS, REPO, canonical
   |
help: Move module level imports to top of file

E402 Module level import not at top of file
  --> docs/hel-892/concat-document-evidence/recompute.py:19:1
   |
17 | from pathlib import Path
18 |
19 | from build_definition import OUT, PATHS, REPO, canonical
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 | from rebuild import BASE, RESOURCE, build_all
   |
help: Move module level imports to top of file

E402 Module level import not at top of file
  --> docs/hel-892/concat-document-evidence/recompute.py:20:1
   |
19 | from build_definition import OUT, PATHS, REPO, canonical
20 | from rebuild import BASE, RESOURCE, build_all
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21 |
22 | sys.path.insert(0, str(REPO / "calliope-backend"))
   |
help: Move module level imports to top of file

Found 18 errors (1 fixed, 17 remaining).
