[autodev] Update configuration and documentation for cycle-1
ci/woodpecker/push/02-build-push Pipeline failed

- Enhanced `.env.example` with detailed CMake build flags and replay-mode strategy flags for development and CI environments.
- Updated `.gitignore` to include a new deploy rollback bookmark.
- Revised `_docs/_autodev_state.md` to reflect the current task status and steps.
- Added new lessons to `_docs/LESSONS.md` regarding testing and architectural improvements.
- Documented changes in `_docs/02_document/deployment/ci_cd_pipeline.md` to reflect the relaxed OpenCV version pin.
- Updated test data documentation in `_docs/02_document/tests/test-data.md` to clarify fixture usage and paths.

This commit continues the cycle-1 documentation sync and addresses various configuration updates for improved clarity and functionality.
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-05-20 08:05:35 +03:00
parent ab92946833
commit bf13549b32
34 changed files with 3689 additions and 42 deletions
@@ -1,11 +1,12 @@
# D-CROSS-CVE-1 opencv-python pin deferred — gtsam/numpy ABI block
**Recorded**: 2026-05-11T02:55+03:00 (Europe/Kyiv)
**Last replay attempt**: 2026-05-19T17:26+03:00 (Europe/Kyiv) — replay re-checked
at start of next `/autodev` invocation (8 min after prior check). PyPI not
re-queried this round (debounced — `gtsam` upstream state cannot change in
8 minutes). Replay condition (numpy>=2 stable wheels) still NOT met.
Leftover remains open.
**Last replay attempt**: 2026-05-19T20:04+03:00 (Europe/Kyiv) — replay re-checked
at start of next `/autodev` invocation (~55 minutes after prior check at 19:09).
PyPI not re-queried this round (debounced — `gtsam` upstream state is highly
unlikely to publish numpy-2 wheels within a <2-hour window of the prior check,
and the previous check confirmed no movement). Replay condition (numpy>=2
stable wheels) still NOT met. Leftover remains open.
**Status**: deferred-non-user (replay when upstream gtsam wheels target numpy>=2)
## What is blocked
@@ -48,6 +49,26 @@ before this leftover is closed; if any of those CVE fixes shipped in
4.12+ only, document them in this entry and gate the replay on the
gtsam upgrade.
**Re-validation result (2026-05-19, greenfield Step 14 Phase 1)**:
`pip-audit` against the `.venv` returned `opencv-python==4.11.0.86`
with `"vulns": []` — neither PyPI's advisory feed nor OSV.dev has a
published advisory tying CVE-2025-53644 to the 4.11.0.86 pin band.
The 4.x-line supported branch appears to have absorbed the relevant
patch in 4.11.0.86. Runtime evidence: NFT-SEC-04 (which feeds
`cve-jpeg-fixture` to every OpenCV imread/imdecode path under
AddressSanitizer) is the executable confirmation in the test suite.
The leftover remains OPEN because the upstream constraint (gtsam
4.2 → numpy<2) has not changed, but the CVE-2025-53644 exposure
window has effectively closed at the current pin. Replay condition
unchanged: numpy-2-compatible gtsam (or alternate SE(3) backend).
See `_docs/05_security/dependency_scan.md` for the full scan output.
**Coupled bump (Phase 1 finding F1)**: when the replay lands, also
bump `cryptography>=46.0.7` in the same change — CVE-2026-39892
re-exposes for Python >3.11, and lifting the gtsam constraint will
also lift the `requires-python = ">=3.10,<3.12"` cap that currently
masks the exposure.
## Replay procedure
1. Confirm a `gtsam` package with numpy-2 wheels is on PyPI **or** swap